Skip to content

Commit ef8d5c7

Browse files
Merge pull request #248 from sendinblue/WF-2401
WF-2401 : making PSR-4 comply
2 parents de2367d + a6c7d1c commit ef8d5c7

17 files changed

+27
-24
lines changed

docs/Api/CompaniesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ try {
112112

113113
Name | Type | Description | Notes
114114
------------- | ------------- | ------------- | -------------
115-
**filters** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} | [optional]
115+
**filters** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} | [optional]
116116
**linkedContactsIds** | **int**| Filter by linked contacts ids | [optional]
117117
**linkedDealsIds** | **string**| Filter by linked deals ids | [optional]
118118
**page** | **int**| Index of the first document of the page | [optional]

docs/Api/DealsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ try {
113113

114114
Name | Type | Description | Notes
115115
------------- | ------------- | ------------- | -------------
116-
**filtersAttributes** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional]
116+
**filtersAttributes** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional]
117117
**filtersLinkedCompaniesIds** | **string**| Filter by linked companies ids | [optional]
118118
**filtersLinkedContactsIds** | **string**| Filter by linked companies ids | [optional]
119119
**offset** | **int**| Index of the first document of the page | [optional]

docs/Model/Body10.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**visitorId** | **string** | visitor’s ID received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> |
6+
**visitorId** | **string** | visitor’s ID received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> |
77
**text** | **string** | message text |
8-
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Optional if `groupId` is set. | [optional]
8+
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Optional if `groupId` is set. | [optional]
99
**groupId** | **string** | group ID. It can be found on group’s page. Optional if `agentId` is set. | [optional]
1010

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

docs/Model/Body12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
6+
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
77
**receivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional]
88
**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 Sendinblue organization, a dummy agent will be created automatically. | [optional]
99
**agentName** | **string** | agent name. | [optional]

docs/Model/Body8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**visitorId** | **string** | visitor’s ID received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> |
6+
**visitorId** | **string** | visitor’s ID received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a> or generated by you to <a href=\"https://developers.sendinblue.com/docs/customize-the-widget#identifying-existing-users\">bind existing user account to Conversations</a> |
77
**text** | **string** | message text |
8-
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
8+
**agentId** | **string** | agent ID. It can be found on agent’s page or received <a href=\"https://developers.sendinblue.com/docs/conversations-webhooks\">from a webhook</a>. Alternatively, you can use `agentEmail` + `agentName` + `receivedFrom` instead (all 3 fields required). | [optional]
99
**receivedFrom** | **string** | mark your messages to distinguish messages created by you from the others. | [optional]
1010
**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]
1111
**agentName** | **string** | agent name | [optional]

docs/Model/Conversationsmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**id** | **string** | Message ID. It can be used for further manipulations with the message. | [optional]
7-
**type** | **string** | `\"agent\"` for agents’ messages, `\"visitor\"` for visitors’ messages. | [optional]
7+
**type** | **string** | `\"agent\"` for agents’ messages, `\"visitor\"` for visitors’ messages. | [optional]
88
**text** | **string** | Message text or name of the attached file | [optional]
99
**visitorId** | **string** | visitor’s ID | [optional]
1010
**agentId** | **string** | ID of the agent on whose behalf the message was sent (only in messages sent by an agent). | [optional]

docs/Model/CreateAttribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**value** | **string** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
77
**isRecurring** | **bool** | Type of the calculated attribute. Use only if the attribute's category is 'calculated' | [optional]
8-
**enumeration** | [**\SendinBlue\Client\Model\CreateAttributeEnumeration[]**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}] | [optional]
8+
**enumeration** | [**\SendinBlue\Client\Model\CreateAttributeEnumeration[]**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}] | [optional]
99
**type** | **string** | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional]
1010

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

docs/Model/Order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**status** | **string** | State of the order. |
1010
**amount** | **float** | Total amount of the order, including all shipping expenses, tax and the price of items. |
1111
**products** | [**\SendinBlue\Client\Model\OrderProducts[]**](OrderProducts.md) | |
12-
**email** | **string** | Email of the contact, Mandatory if \"phone\" field is not passed in \"billing\" parameter. | [optional]
12+
**email** | **string** | Email of the contact, Mandatory if \"phone\" field is not passed in \"billing\" parameter. | [optional]
1313
**billing** | [**\SendinBlue\Client\Model\OrderBilling**](OrderBilling.md) | | [optional]
1414
**coupons** | **string[]** | Coupons applied to the order. Stored case insensitive. | [optional]
1515

docs/Model/OrderBilling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
**address** | **string** | Full billing address. | [optional]
77
**city** | **string** | Exact city of the address. | [optional]
88
**countryCode** | **string** | Billing country 2-letter ISO code. | [optional]
9-
**phone** | **string** | Phone number to contact for further details about the order, Mandatory if \"email\" field is not passed. | [optional]
9+
**phone** | **string** | Phone number to contact for further details about the order, Mandatory if \"email\" field is not passed. | [optional]
1010
**postCode** | **string** | Postcode for delivery and billing. | [optional]
1111
**paymentMethod** | **string** | How the visitor will pay for the item(s), e.g. paypal, check, etc. | [optional]
1212
**region** | **string** | Exact region (state/province) for delivery and billing. | [optional]

lib/Api/CompaniesApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ protected function companiesAttributesGetRequest()
352352
*
353353
* Get all companies
354354
*
355-
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
355+
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
356356
* @param int $linkedContactsIds Filter by linked contacts ids (optional)
357357
* @param string $linkedDealsIds Filter by linked deals ids (optional)
358358
* @param int $page Index of the first document of the page (optional)
@@ -375,7 +375,7 @@ public function companiesGet($filters = null, $linkedContactsIds = null, $linked
375375
*
376376
* Get all companies
377377
*
378-
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
378+
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
379379
* @param int $linkedContactsIds Filter by linked contacts ids (optional)
380380
* @param string $linkedDealsIds Filter by linked deals ids (optional)
381381
* @param int $page Index of the first document of the page (optional)
@@ -464,7 +464,7 @@ public function companiesGetWithHttpInfo($filters = null, $linkedContactsIds = n
464464
*
465465
* Get all companies
466466
*
467-
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
467+
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
468468
* @param int $linkedContactsIds Filter by linked contacts ids (optional)
469469
* @param string $linkedDealsIds Filter by linked deals ids (optional)
470470
* @param int $page Index of the first document of the page (optional)
@@ -490,7 +490,7 @@ function ($response) {
490490
*
491491
* Get all companies
492492
*
493-
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
493+
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
494494
* @param int $linkedContactsIds Filter by linked contacts ids (optional)
495495
* @param string $linkedDealsIds Filter by linked deals ids (optional)
496496
* @param int $page Index of the first document of the page (optional)
@@ -546,7 +546,7 @@ function ($exception) {
546546
/**
547547
* Create request for operation 'companiesGet'
548548
*
549-
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
549+
* @param string $filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"} (optional)
550550
* @param int $linkedContactsIds Filter by linked contacts ids (optional)
551551
* @param string $linkedDealsIds Filter by linked deals ids (optional)
552552
* @param int $page Index of the first document of the page (optional)

lib/Api/DealsApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ protected function crmAttributesDealsGetRequest()
352352
*
353353
* Get all deals
354354
*
355-
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
355+
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
356356
* @param string $filtersLinkedCompaniesIds Filter by linked companies ids (optional)
357357
* @param string $filtersLinkedContactsIds Filter by linked companies ids (optional)
358358
* @param int $offset Index of the first document of the page (optional)
@@ -375,7 +375,7 @@ public function crmDealsGet($filtersAttributes = null, $filtersLinkedCompaniesId
375375
*
376376
* Get all deals
377377
*
378-
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
378+
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
379379
* @param string $filtersLinkedCompaniesIds Filter by linked companies ids (optional)
380380
* @param string $filtersLinkedContactsIds Filter by linked companies ids (optional)
381381
* @param int $offset Index of the first document of the page (optional)
@@ -464,7 +464,7 @@ public function crmDealsGetWithHttpInfo($filtersAttributes = null, $filtersLinke
464464
*
465465
* Get all deals
466466
*
467-
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
467+
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
468468
* @param string $filtersLinkedCompaniesIds Filter by linked companies ids (optional)
469469
* @param string $filtersLinkedContactsIds Filter by linked companies ids (optional)
470470
* @param int $offset Index of the first document of the page (optional)
@@ -490,7 +490,7 @@ function ($response) {
490490
*
491491
* Get all deals
492492
*
493-
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
493+
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
494494
* @param string $filtersLinkedCompaniesIds Filter by linked companies ids (optional)
495495
* @param string $filtersLinkedContactsIds Filter by linked companies ids (optional)
496496
* @param int $offset Index of the first document of the page (optional)
@@ -546,7 +546,7 @@ function ($exception) {
546546
/**
547547
* Create request for operation 'crmDealsGet'
548548
*
549-
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
549+
* @param string $filtersAttributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" (optional)
550550
* @param string $filtersLinkedCompaniesIds Filter by linked companies ids (optional)
551551
* @param string $filtersLinkedContactsIds Filter by linked companies ids (optional)
552552
* @param int $offset Index of the first document of the page (optional)

lib/Model/ConversationsMessageFIleImageInfo.php renamed to lib/Model/ConversationsMessageFileImageInfo.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,4 @@ public function __toString()
382382
}
383383

384384

385+

lib/Model/CreateEmailCampaignSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* CreateEmailCampaignSender Class Doc Comment
3737
*
3838
* @category Class
39-
* @description Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"[email protected]\"}` , `{\"name\":\"xyz\", \"id\":123}`
39+
* @description Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"[email protected]\"}` , `{\"name\":\"xyz\", \"id\":123}`
4040
* @package SendinBlue\Client
4141
* @author Swagger Codegen team
4242
* @link https://github.com/swagger-api/swagger-codegen

lib/Model/CreateSmtpTemplateSender.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* CreateSmtpTemplateSender Class Doc Comment
3737
*
3838
* @category Class
39-
* @description Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"[email protected]\"}` , `{\"name\":\"xyz\", \"id\":123}`
39+
* @description Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"[email protected]\"}` , `{\"name\":\"xyz\", \"id\":123}`
4040
* @package SendinBlue\Client
4141
* @author Swagger Codegen team
4242
* @link https://github.com/swagger-api/swagger-codegen

lib/Model/CreateUpdateproduct.php renamed to lib/Model/CreateUpdateProduct.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,3 +549,4 @@ public function __toString()
549549
}
550550

551551

552+

lib/Model/FIleList.php renamed to lib/Model/FileList.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,4 @@ public function __toString()
279279
}
280280

281281

282+

0 commit comments

Comments
 (0)