Skip to content

Commit

Permalink
Merge pull request #16 from getbrevo/CI-000
Browse files Browse the repository at this point in the history
CI-3305: Package upgrade
  • Loading branch information
jain-raunak authored Jul 12, 2024
2 parents f6733e4 + 58adec4 commit 6a89187
Show file tree
Hide file tree
Showing 648 changed files with 13,919 additions and 1,777 deletions.
Binary file added .DS_Store
Binary file not shown.
119 changes: 113 additions & 6 deletions README.md

Large diffs are not rendered by default.

3,821 changes: 3,545 additions & 276 deletions api/swagger.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/AbTestCampaignResultClickedLinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VersionA** | [***AbTestVersionClicks**](abTestVersionClicks.md) | | [default to null]
**VersionB** | [***AbTestVersionClicks**](abTestVersionClicks.md) | | [default to null]
**VersionA** | [***AbTestVersionClicks**](AbTestVersionClicks.md) | | [default to null]
**VersionB** | [***AbTestVersionClicks**](AbTestVersionClicks.md) | | [default to null]

[[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
12 changes: 6 additions & 6 deletions docs/AbTestCampaignResultStatistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Openers** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**Clicks** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**Unsubscribed** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**HardBounces** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**SoftBounces** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**Complaints** | [***AbTestVersionStats**](abTestVersionStats.md) | | [default to null]
**Openers** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]
**Clicks** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]
**Unsubscribed** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]
**HardBounces** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]
**SoftBounces** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]
**Complaints** | [***AbTestVersionStats**](AbTestVersionStats.md) | | [default to null]

[[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
5 changes: 2 additions & 3 deletions docs/Body.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of company | [default to null]
**Attributes** | **map[string]interface{}** | Attributes for company creation | [optional] [default to null]
**CountryCode** | **int64** | Country code if phone_number is passed in attributes. | [optional] [default to null]
**GroupName** | **string** | The name of the group of sub-accounts | [default to null]
**SubAccountIds** | **[]int64** | Pass the list of sub-account Ids to be included in the group | [optional] [default to null]

[[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
5 changes: 2 additions & 3 deletions docs/Body1.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of company | [optional] [default to null]
**Attributes** | **map[string]interface{}** | Attributes for company update | [optional] [default to null]
**CountryCode** | **int64** | Country code if phone_number is passed in attributes. | [optional] [default to null]
**Ip** | **string** | IP Address | [default to null]
**Ids** | **[]int64** | Pass the list of sub-account Ids to be associated with the IP address | [default to null]

[[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
8 changes: 4 additions & 4 deletions docs/Body10.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VisitorId** | **string** | visitor’s ID received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.brevo.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> | [default to null]
**Text** | **string** | message text | [default to null]
**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a>. Optional if `groupId` is set. | [optional] [default to null]
**GroupId** | **string** | group ID. It can be found on group’s page. Optional if `agentId` is set. | [optional] [default to null]
**LinkContactIds** | **[]int64** | Contact ids for contacts to be linked with deal | [optional] [default to null]
**UnlinkContactIds** | **[]int64** | Contact ids for contacts to be unlinked from deal | [optional] [default to null]
**LinkCompanyIds** | **[]string** | Company ids to be linked with deal | [optional] [default to null]
**UnlinkCompanyIds** | **[]string** | Company ids to be unlinked from deal | [optional] [default to null]

[[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
12 changes: 11 additions & 1 deletion docs/Body11.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Text** | **string** | edited message text | [default to null]
**Name** | **string** | Name of task | [default to null]
**Duration** | **int64** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional] [default to null]
**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. | [default to null]
**Date** | [**time.Time**](time.Time.md) | Task due date and time | [default to null]
**Notes** | **string** | Notes added to a task | [optional] [default to null]
**Done** | **bool** | Task marked as done | [optional] [default to null]
**AssignToId** | **string** | To assign a task to a user you can use either the account email or ID. | [optional] [default to null]
**ContactsIds** | **[]int32** | Contact ids for contacts linked to this task | [optional] [default to null]
**DealsIds** | **[]string** | Deal ids for deals a task is linked to | [optional] [default to null]
**CompaniesIds** | **[]string** | Companies ids for companies a task is linked to | [optional] [default to null]
**Reminder** | [***TaskReminder**](TaskReminder.md) | | [optional] [default to null]

[[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
14 changes: 10 additions & 4 deletions docs/Body12.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional] [default to null]
**ReceivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional] [default to null]
**AgentEmail** | **string** | agent email. When sending online pings from a standalone system, it’s hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. If there’s no agent with the specified email address in your Brevo organization, a dummy agent will be created automatically. | [optional] [default to null]
**AgentName** | **string** | agent name. | [optional] [default to null]
**Name** | **string** | Name of task | [optional] [default to null]
**Duration** | **int32** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional] [default to null]
**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. | [optional] [default to null]
**Date** | [**time.Time**](time.Time.md) | Task date/time | [optional] [default to null]
**Notes** | **string** | Notes added to a task | [optional] [default to null]
**Done** | **bool** | Task marked as done | [optional] [default to null]
**AssignToId** | **string** | To assign a task to a user you can use either the account email or ID. | [optional] [default to null]
**ContactsIds** | **[]int32** | Contact ids for contacts linked to this task | [optional] [default to null]
**DealsIds** | **[]string** | Deal ids for deals a task is linked to | [optional] [default to null]
**CompaniesIds** | **[]string** | Companies ids for companies a task is linked to | [optional] [default to null]

[[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
15 changes: 15 additions & 0 deletions docs/Body13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Body13

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VisitorId** | **string** | visitor’s ID received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.brevo.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> | [default to null]
**Text** | **string** | message text | [default to null]
**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional] [default to null]
**ReceivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional] [default to null]
**AgentEmail** | **string** | agent email. When sending messages from a standalone system, it’s hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. | [optional] [default to null]
**AgentName** | **string** | agent name | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


10 changes: 10 additions & 0 deletions docs/Body14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Body14

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Text** | **string** | edited message text | [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions docs/Body15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Body15

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VisitorId** | **string** | visitor’s ID received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.brevo.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> | [default to null]
**Text** | **string** | message text | [default to null]
**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a>. Optional if `groupId` is set. | [optional] [default to null]
**GroupId** | **string** | group ID. It can be found on group’s page. Optional if `agentId` is set. | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


10 changes: 10 additions & 0 deletions docs/Body16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Body16

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Text** | **string** | edited message text | [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions docs/Body17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Body17

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AgentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.brevo.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional] [default to null]
**ReceivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional] [default to null]
**AgentEmail** | **string** | agent email. When sending online pings from a standalone system, it’s hard to maintain a 1-to-1 relationship between the users of both systems. In this case, an agent can be specified by their email address. If there’s no agent with the specified email address in your Brevo organization, a dummy agent will be created automatically. | [optional] [default to null]
**AgentName** | **string** | agent name. | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


6 changes: 2 additions & 4 deletions docs/Body2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**LinkContactIds** | **[]int64** | Contact ids for contacts to be linked with company | [optional] [default to null]
**UnlinkContactIds** | **[]int64** | Contact ids for contacts to be unlinked from company | [optional] [default to null]
**LinkDealsIds** | **[]string** | Deals ids for deals to be linked with company | [optional] [default to null]
**UnlinkDealsIds** | **[]string** | Deals ids for deals to be unlinked from company | [optional] [default to null]
**Ip** | **string** | IP Address | [default to null]
**Ids** | **[]int64** | Pass the list of sub-account Ids to be dissociated from the IP address | [default to null]

[[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
4 changes: 2 additions & 2 deletions docs/Body3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of deal | [default to null]
**Attributes** | **map[string]interface{}** | Attributes fo\\r deal creation | [optional] [default to null]
**GroupName** | **string** | The name of the group of sub-accounts | [default to null]
**SubAccountIds** | **[]int64** | Pass the list of sub-account Ids to be included in the group | [optional] [default to null]

[[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
3 changes: 1 addition & 2 deletions docs/Body4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of deal | [optional] [default to null]
**Attributes** | **map[string]interface{}** | Attributes for deal update | [optional] [default to null]
**SubAccountIds** | **[]int64** | List of sub-account ids | [default to null]

[[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
9 changes: 5 additions & 4 deletions docs/Body5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**LinkContactIds** | **[]int64** | Contact ids for contacts to be linked with deal | [optional] [default to null]
**UnlinkContactIds** | **[]int64** | Contact ids for contacts to be unlinked from deal | [optional] [default to null]
**LinkCompanyIds** | **[]string** | Company ids to be linked with deal | [optional] [default to null]
**UnlinkCompanyIds** | **[]string** | Company ids to be unlinked from deal | [optional] [default to null]
**Name** | **string** | Name of company | [default to null]
**Attributes** | [**map[string]interface{}**]| Attributes for company creation | [optional] [default to null]
**CountryCode** | **int64** | Country code if phone_number is passed in attributes. | [optional] [default to null]
**LinkedContactsIds** | **[]int64** | Contact ids to be linked with company | [optional] [default to null]
**LinkedDealsIds** | **[]string** | Deal ids to be linked with company | [optional] [default to null]

[[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
14 changes: 3 additions & 11 deletions docs/Body6.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of task | [default to null]
**Duration** | **int64** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional] [default to null]
**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. | [default to null]
**Date** | [**time.Time**](time.Time.md) | Task due date and time | [default to null]
**Notes** | **string** | Notes added to a task | [optional] [default to null]
**Done** | **bool** | Task marked as done | [optional] [default to null]
**AssignToId** | **string** | User id to whom task is assigned | [optional] [default to null]
**ContactsIds** | **[]int32** | Contact ids for contacts linked to this task | [optional] [default to null]
**DealsIds** | **[]string** | Deal ids for deals a task is linked to | [optional] [default to null]
**CompaniesIds** | **[]string** | Companies ids for companies a task is linked to | [optional] [default to null]
**Reminder** | [***TaskReminder**](TaskReminder.md) | | [optional] [default to null]
**Name** | **string** | Name of company | [optional] [default to null]
**Attributes** | [**map[string]interface{}**] | Attributes for company update | [optional] [default to null]
**CountryCode** | **int64** | Country code if phone_number is passed in attributes. | [optional] [default to null]

[[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
14 changes: 4 additions & 10 deletions docs/Body7.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name of task | [optional] [default to null]
**Duration** | **int32** | Duration of task in milliseconds [1 minute = 60000 ms] | [optional] [default to null]
**TaskTypeId** | **string** | Id for type of task e.g Call / Email / Meeting etc. | [optional] [default to null]
**Date** | [**time.Time**](time.Time.md) | Task date/time | [optional] [default to null]
**Notes** | **string** | Notes added to a task | [optional] [default to null]
**Done** | **bool** | Task marked as done | [optional] [default to null]
**AssignToId** | **string** | User id to whom task is assigned | [optional] [default to null]
**ContactsIds** | **[]int32** | Contact ids for contacts linked to this task | [optional] [default to null]
**DealsIds** | **[]string** | Deal ids for deals a task is linked to | [optional] [default to null]
**CompaniesIds** | **[]string** | Companies ids for companies a task is linked to | [optional] [default to null]
**LinkContactIds** | **[]int64** | Contact ids for contacts to be linked with company | [optional] [default to null]
**UnlinkContactIds** | **[]int64** | Contact ids for contacts to be unlinked from company | [optional] [default to null]
**LinkDealsIds** | **[]string** | Deals ids for deals to be linked with company | [optional] [default to null]
**UnlinkDealsIds** | **[]string** | Deals ids for deals to be unlinked from company | [optional] [default to null]

[[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
Loading

0 comments on commit 6a89187

Please sign in to comment.