Skip to content

Commit

Permalink
Generate version 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Smooch Bot committed Oct 29, 2018
1 parent 2c9865a commit e90dc5a
Show file tree
Hide file tree
Showing 92 changed files with 284 additions and 362 deletions.
135 changes: 72 additions & 63 deletions README.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/AppApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_app**](AppApi.md#create_app) | **POST** /v1/apps |
[**create_secret_key**](AppApi.md#create_secret_key) | **POST** /v1/apps/{appId}/keys |
[**delete_app**](AppApi.md#delete_app) | **DELETE** /v1/apps/{appId} |
[**delete_secret_key**](AppApi.md#delete_secret_key) | **DELETE** /v1/apps/{appId}/keys/{keyId} |
[**get_app**](AppApi.md#get_app) | **GET** /v1/apps/{appId} |
[**get_app_jwt**](AppApi.md#get_app_jwt) | **GET** /v1/apps/{appId}/keys/{keyId}/jwt |
[**get_secret_key**](AppApi.md#get_secret_key) | **GET** /v1/apps/{appId}/keys/{keyId} |
[**list_apps**](AppApi.md#list_apps) | **GET** /v1/apps |
[**list_secret_keys**](AppApi.md#list_secret_keys) | **GET** /v1/apps/{appId}/keys |
[**update_app**](AppApi.md#update_app) | **PUT** /v1/apps/{appId} |
[**create_app**](AppApi.md#create_app) | **POST** /v1.1/apps |
[**create_secret_key**](AppApi.md#create_secret_key) | **POST** /v1.1/apps/{appId}/keys |
[**delete_app**](AppApi.md#delete_app) | **DELETE** /v1.1/apps/{appId} |
[**delete_secret_key**](AppApi.md#delete_secret_key) | **DELETE** /v1.1/apps/{appId}/keys/{keyId} |
[**get_app**](AppApi.md#get_app) | **GET** /v1.1/apps/{appId} |
[**get_app_jwt**](AppApi.md#get_app_jwt) | **GET** /v1.1/apps/{appId}/keys/{keyId}/jwt |
[**get_secret_key**](AppApi.md#get_secret_key) | **GET** /v1.1/apps/{appId}/keys/{keyId} |
[**list_apps**](AppApi.md#list_apps) | **GET** /v1.1/apps |
[**list_secret_keys**](AppApi.md#list_secret_keys) | **GET** /v1.1/apps/{appId}/keys |
[**update_app**](AppApi.md#update_app) | **PUT** /v1.1/apps/{appId} |


# **create_app**
Expand Down
1 change: 0 additions & 1 deletion docs/AppUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Name | Type | Description | Notes
**signed_up_at** | **str** | A datetime string with the format *yyyy-mm-ddThh:mm:ssZ* representing the moment an appUser was created. | [optional]
**properties** | **object** | Custom properties for the app user. |
**conversation_started** | **bool** | Flag indicating if the conversation has started for the app user. |
**credential_required** | **bool** | Flag indicating if the appUser is secured by a JSON Web Token or not. | [optional]
**clients** | [**list[Client]**](Client.md) | List of clients associated with the app user. | [optional]
**pending_clients** | [**list[Client]**](Client.md) | As clients, but containing linked clients which have not been confirmed yet (i.e. Twilio SMS). | [optional]

Expand Down
24 changes: 12 additions & 12 deletions docs/AppUserApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_app_user**](AppUserApi.md#delete_app_user) | **DELETE** /v1/apps/{appId}/appusers/{userId} |
[**delete_app_user_profile**](AppUserApi.md#delete_app_user_profile) | **DELETE** /v1/apps/{appId}/appusers/{userId}/profile |
[**get_app_user**](AppUserApi.md#get_app_user) | **GET** /v1/apps/{appId}/appusers/{userId} |
[**get_app_user_auth_code**](AppUserApi.md#get_app_user_auth_code) | **GET** /v1/apps/{appId}/appusers/{userId}/authcode |
[**get_app_user_business_system_ids**](AppUserApi.md#get_app_user_business_system_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/businesssystems |
[**get_app_user_entity_ids**](AppUserApi.md#get_app_user_entity_ids) | **GET** /v1/apps/{appId}/appusers/{userId}/channels |
[**get_link_requests**](AppUserApi.md#get_link_requests) | **GET** /v1/apps/{appId}/appusers/{userId}/linkrequest |
[**link_app_user**](AppUserApi.md#link_app_user) | **POST** /v1/apps/{appId}/appusers/{userId}/channels |
[**post_image_message**](AppUserApi.md#post_image_message) | **POST** /v1/apps/{appId}/appusers/{userId}/images |
[**pre_create_app_user**](AppUserApi.md#pre_create_app_user) | **POST** /v1/apps/{appId}/appusers |
[**unlink_app_user**](AppUserApi.md#unlink_app_user) | **DELETE** /v1/apps/{appId}/appusers/{userId}/channels/{channel} |
[**update_app_user**](AppUserApi.md#update_app_user) | **PUT** /v1/apps/{appId}/appusers/{userId} |
[**delete_app_user**](AppUserApi.md#delete_app_user) | **DELETE** /v1.1/apps/{appId}/appusers/{userId} |
[**delete_app_user_profile**](AppUserApi.md#delete_app_user_profile) | **DELETE** /v1.1/apps/{appId}/appusers/{userId}/profile |
[**get_app_user**](AppUserApi.md#get_app_user) | **GET** /v1.1/apps/{appId}/appusers/{userId} |
[**get_app_user_auth_code**](AppUserApi.md#get_app_user_auth_code) | **GET** /v1.1/apps/{appId}/appusers/{userId}/authcode |
[**get_app_user_business_system_ids**](AppUserApi.md#get_app_user_business_system_ids) | **GET** /v1.1/apps/{appId}/appusers/{userId}/businesssystems |
[**get_app_user_entity_ids**](AppUserApi.md#get_app_user_entity_ids) | **GET** /v1.1/apps/{appId}/appusers/{userId}/channels |
[**get_link_requests**](AppUserApi.md#get_link_requests) | **GET** /v1.1/apps/{appId}/appusers/{userId}/linkrequest |
[**link_app_user**](AppUserApi.md#link_app_user) | **POST** /v1.1/apps/{appId}/appusers/{userId}/channels |
[**post_image_message**](AppUserApi.md#post_image_message) | **POST** /v1.1/apps/{appId}/appusers/{userId}/images |
[**pre_create_app_user**](AppUserApi.md#pre_create_app_user) | **POST** /v1.1/apps/{appId}/appusers |
[**unlink_app_user**](AppUserApi.md#unlink_app_user) | **DELETE** /v1.1/apps/{appId}/appusers/{userId}/channels/{channel} |
[**update_app_user**](AppUserApi.md#update_app_user) | **PUT** /v1.1/apps/{appId}/appusers/{userId} |


# **delete_app_user**
Expand Down
1 change: 0 additions & 1 deletion docs/AppUserLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Name | Type | Description | Notes
**given_name** | **str** | A String of the appUser’s given name. Used as additional criteria to increase the likelihood of a match. (Optional) Used for *messenger* linking. | [optional]
**surname** | **str** | A String of the appUser’s surname. Used as additional criteria to increase the likelihood of a match. (Optional) Used for *messenger* linking. | [optional]
**subject** | **str** | Subject for the outgoing email. (Optional) Used for *mailgun* linking. | [optional]
**skip_confirmation** | **str** | (Deprecated, use confirmation instead) Flag indicating if the linking confirmation should be skipped. | [optional]
**confirmation** | [**Confirmation**](Confirmation.md) | Allows you to specify the strategy used to initiate a link with the target user. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 0 additions & 1 deletion docs/AppUserPreCreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**user_id** | **str** | The app user's userId. This ID is specified by the appMaker. |
**credential_required** | **bool** | Flag indicating if the appUser is secured by a JSON Web Token or not. | [optional]
**given_name** | **str** | The app user's given name. | [optional]
**surname** | **str** | The app user's surname. | [optional]
**email** | **str** | The app user's email. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/AttachmentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**remove_attachment**](AttachmentsApi.md#remove_attachment) | **POST** /v1/apps/{appId}/attachments/remove |
[**upload_attachment**](AttachmentsApi.md#upload_attachment) | **POST** /v1/apps/{appId}/attachments |
[**remove_attachment**](AttachmentsApi.md#remove_attachment) | **POST** /v1.1/apps/{appId}/attachments/remove |
[**upload_attachment**](AttachmentsApi.md#upload_attachment) | **POST** /v1.1/apps/{appId}/attachments |


# **remove_attachment**
Expand Down
12 changes: 6 additions & 6 deletions docs/ConversationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_message**](ConversationApi.md#delete_message) | **DELETE** /v1/apps/{appId}/appusers/{userId}/messages/{messageId} |
[**delete_messages**](ConversationApi.md#delete_messages) | **DELETE** /v1/apps/{appId}/appusers/{userId}/messages |
[**get_messages**](ConversationApi.md#get_messages) | **GET** /v1/apps/{appId}/appusers/{userId}/messages |
[**post_message**](ConversationApi.md#post_message) | **POST** /v1/apps/{appId}/appusers/{userId}/messages |
[**reset_unread_count**](ConversationApi.md#reset_unread_count) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/read |
[**trigger_typing_activity**](ConversationApi.md#trigger_typing_activity) | **POST** /v1/apps/{appId}/appusers/{userId}/conversation/activity |
[**delete_message**](ConversationApi.md#delete_message) | **DELETE** /v1.1/apps/{appId}/appusers/{userId}/messages/{messageId} |
[**delete_messages**](ConversationApi.md#delete_messages) | **DELETE** /v1.1/apps/{appId}/appusers/{userId}/messages |
[**get_messages**](ConversationApi.md#get_messages) | **GET** /v1.1/apps/{appId}/appusers/{userId}/messages |
[**post_message**](ConversationApi.md#post_message) | **POST** /v1.1/apps/{appId}/appusers/{userId}/messages |
[**reset_unread_count**](ConversationApi.md#reset_unread_count) | **POST** /v1.1/apps/{appId}/appusers/{userId}/conversation/read |
[**trigger_typing_activity**](ConversationApi.md#trigger_typing_activity) | **POST** /v1.1/apps/{appId}/appusers/{userId}/conversation/activity |


# **delete_message**
Expand Down
20 changes: 10 additions & 10 deletions docs/IntegrationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_integration**](IntegrationApi.md#create_integration) | **POST** /v1/apps/{appId}/integrations |
[**create_integration_menu**](IntegrationApi.md#create_integration_menu) | **POST** /v1/apps/{appId}/integrations/{integrationId}/menu |
[**delete_integration**](IntegrationApi.md#delete_integration) | **DELETE** /v1/apps/{appId}/integrations/{integrationId} |
[**delete_integration_menu**](IntegrationApi.md#delete_integration_menu) | **DELETE** /v1/apps/{appId}/integrations/{integrationId}/menu |
[**get_integration**](IntegrationApi.md#get_integration) | **GET** /v1/apps/{appId}/integrations/{integrationId} |
[**get_integration_menu**](IntegrationApi.md#get_integration_menu) | **GET** /v1/apps/{appId}/integrations/{integrationId}/menu |
[**list_integrations**](IntegrationApi.md#list_integrations) | **GET** /v1/apps/{appId}/integrations |
[**update_integration**](IntegrationApi.md#update_integration) | **PUT** /v1/apps/{appId}/integrations/{integrationId} |
[**update_integration_menu**](IntegrationApi.md#update_integration_menu) | **PUT** /v1/apps/{appId}/integrations/{integrationId}/menu |
[**update_integration_profile**](IntegrationApi.md#update_integration_profile) | **PUT** /v1/apps/{appId}/integrations/{integrationId}/profile |
[**create_integration**](IntegrationApi.md#create_integration) | **POST** /v1.1/apps/{appId}/integrations |
[**create_integration_menu**](IntegrationApi.md#create_integration_menu) | **POST** /v1.1/apps/{appId}/integrations/{integrationId}/menu |
[**delete_integration**](IntegrationApi.md#delete_integration) | **DELETE** /v1.1/apps/{appId}/integrations/{integrationId} |
[**delete_integration_menu**](IntegrationApi.md#delete_integration_menu) | **DELETE** /v1.1/apps/{appId}/integrations/{integrationId}/menu |
[**get_integration**](IntegrationApi.md#get_integration) | **GET** /v1.1/apps/{appId}/integrations/{integrationId} |
[**get_integration_menu**](IntegrationApi.md#get_integration_menu) | **GET** /v1.1/apps/{appId}/integrations/{integrationId}/menu |
[**list_integrations**](IntegrationApi.md#list_integrations) | **GET** /v1.1/apps/{appId}/integrations |
[**update_integration**](IntegrationApi.md#update_integration) | **PUT** /v1.1/apps/{appId}/integrations/{integrationId} |
[**update_integration_menu**](IntegrationApi.md#update_integration_menu) | **PUT** /v1.1/apps/{appId}/integrations/{integrationId}/menu |
[**update_integration_profile**](IntegrationApi.md#update_integration_profile) | **PUT** /v1.1/apps/{appId}/integrations/{integrationId}/profile |


# **create_integration**
Expand Down
6 changes: 3 additions & 3 deletions docs/MenuApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_menu**](MenuApi.md#delete_menu) | **DELETE** /v1/apps/{appId}/menu |
[**get_menu**](MenuApi.md#get_menu) | **GET** /v1/apps/{appId}/menu |
[**update_menu**](MenuApi.md#update_menu) | **PUT** /v1/apps/{appId}/menu |
[**delete_menu**](MenuApi.md#delete_menu) | **DELETE** /v1.1/apps/{appId}/menu |
[**get_menu**](MenuApi.md#get_menu) | **GET** /v1.1/apps/{appId}/menu |
[**update_menu**](MenuApi.md#update_menu) | **PUT** /v1.1/apps/{appId}/menu |


# **delete_menu**
Expand Down
20 changes: 10 additions & 10 deletions docs/ServiceAccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_secret_key**](ServiceAccountApi.md#create_secret_key) | **POST** /v1/serviceaccounts/{serviceAccountId}/keys |
[**create_service_account**](ServiceAccountApi.md#create_service_account) | **POST** /v1/serviceaccounts |
[**delete_secret_key**](ServiceAccountApi.md#delete_secret_key) | **DELETE** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
[**delete_service_account**](ServiceAccountApi.md#delete_service_account) | **DELETE** /v1/serviceaccounts/{serviceAccountId} |
[**get_jwt**](ServiceAccountApi.md#get_jwt) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
[**get_secret_key**](ServiceAccountApi.md#get_secret_key) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
[**get_service_account**](ServiceAccountApi.md#get_service_account) | **GET** /v1/serviceaccounts/{serviceAccountId} |
[**list_secret_keys**](ServiceAccountApi.md#list_secret_keys) | **GET** /v1/serviceaccounts/{serviceAccountId}/keys |
[**list_service_accounts**](ServiceAccountApi.md#list_service_accounts) | **GET** /v1/serviceaccounts |
[**update_service_account**](ServiceAccountApi.md#update_service_account) | **PUT** /v1/serviceaccounts/{serviceAccountId} |
[**create_secret_key**](ServiceAccountApi.md#create_secret_key) | **POST** /v1.1/serviceaccounts/{serviceAccountId}/keys |
[**create_service_account**](ServiceAccountApi.md#create_service_account) | **POST** /v1.1/serviceaccounts |
[**delete_secret_key**](ServiceAccountApi.md#delete_secret_key) | **DELETE** /v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
[**delete_service_account**](ServiceAccountApi.md#delete_service_account) | **DELETE** /v1.1/serviceaccounts/{serviceAccountId} |
[**get_jwt**](ServiceAccountApi.md#get_jwt) | **GET** /v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId}/jwt |
[**get_secret_key**](ServiceAccountApi.md#get_secret_key) | **GET** /v1.1/serviceaccounts/{serviceAccountId}/keys/{keyId} |
[**get_service_account**](ServiceAccountApi.md#get_service_account) | **GET** /v1.1/serviceaccounts/{serviceAccountId} |
[**list_secret_keys**](ServiceAccountApi.md#list_secret_keys) | **GET** /v1.1/serviceaccounts/{serviceAccountId}/keys |
[**list_service_accounts**](ServiceAccountApi.md#list_service_accounts) | **GET** /v1.1/serviceaccounts |
[**update_service_account**](ServiceAccountApi.md#update_service_account) | **PUT** /v1.1/serviceaccounts/{serviceAccountId} |


# **create_secret_key**
Expand Down
10 changes: 5 additions & 5 deletions docs/TemplateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_template**](TemplateApi.md#create_template) | **POST** /v1/apps/{appId}/templates |
[**delete_template**](TemplateApi.md#delete_template) | **DELETE** /v1/apps/{appId}/templates/{templateId} |
[**get_template**](TemplateApi.md#get_template) | **GET** /v1/apps/{appId}/templates/{templateId} |
[**list_templates**](TemplateApi.md#list_templates) | **GET** /v1/apps/{appId}/templates |
[**update_template**](TemplateApi.md#update_template) | **PUT** /v1/apps/{appId}/templates/{templateId} |
[**create_template**](TemplateApi.md#create_template) | **POST** /v1.1/apps/{appId}/templates |
[**delete_template**](TemplateApi.md#delete_template) | **DELETE** /v1.1/apps/{appId}/templates/{templateId} |
[**get_template**](TemplateApi.md#get_template) | **GET** /v1.1/apps/{appId}/templates/{templateId} |
[**list_templates**](TemplateApi.md#list_templates) | **GET** /v1.1/apps/{appId}/templates |
[**update_template**](TemplateApi.md#update_template) | **PUT** /v1.1/apps/{appId}/templates/{templateId} |


# **create_template**
Expand Down
10 changes: 5 additions & 5 deletions docs/WebhookApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ All URIs are relative to *https://api.smooch.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_webhook**](WebhookApi.md#create_webhook) | **POST** /v1/apps/{appId}/webhooks |
[**delete_webhook**](WebhookApi.md#delete_webhook) | **DELETE** /v1/apps/{appId}/webhooks/{webhookId} |
[**get_webhook**](WebhookApi.md#get_webhook) | **GET** /v1/apps/{appId}/webhooks/{webhookId} |
[**list_webhooks**](WebhookApi.md#list_webhooks) | **GET** /v1/apps/{appId}/webhooks |
[**update_webhook**](WebhookApi.md#update_webhook) | **PUT** /v1/apps/{appId}/webhooks/{webhookId} |
[**create_webhook**](WebhookApi.md#create_webhook) | **POST** /v1.1/apps/{appId}/webhooks |
[**delete_webhook**](WebhookApi.md#delete_webhook) | **DELETE** /v1.1/apps/{appId}/webhooks/{webhookId} |
[**get_webhook**](WebhookApi.md#get_webhook) | **GET** /v1.1/apps/{appId}/webhooks/{webhookId} |
[**list_webhooks**](WebhookApi.md#list_webhooks) | **GET** /v1.1/apps/{appId}/webhooks |
[**update_webhook**](WebhookApi.md#update_webhook) | **PUT** /v1.1/apps/{appId}/webhooks/{webhookId} |


# **create_webhook**
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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).
OpenAPI spec version: 3.19
OpenAPI spec version: 4.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -15,7 +15,7 @@
from setuptools import setup, find_packages

NAME = "smooch"
VERSION = "3.19.0"
VERSION = "4.0"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion smooch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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).
OpenAPI spec version: 3.19
OpenAPI spec version: 4.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions smooch/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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).
OpenAPI spec version: 3.19
OpenAPI spec version: 4.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -73,7 +73,7 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
self.host = host
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/3.19.0/python'
self.user_agent = 'Swagger-Codegen/4.0/python'

@property
def user_agent(self):
Expand Down
Loading

0 comments on commit e90dc5a

Please sign in to comment.