Skip to content

Commit

Permalink
php sdk update
Browse files Browse the repository at this point in the history
  • Loading branch information
preetishishodia7 committed Jan 3, 2023
1 parent 447db02 commit b2a8084
Show file tree
Hide file tree
Showing 81 changed files with 14,420 additions and 56 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ All URIs are relative to *https://api.sendinblue.com/v3*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccountApi* | [**getAccount**](docs/Api/AccountApi.md#getaccount) | **GET** /account | Get your account information, plan and credits details
*CompaniesApi* | [**companiesAttributesGet**](docs/Api/CompaniesApi.md#companiesattributesget) | **GET** /companies/attributes | Get company attributes
*CompaniesApi* | [**companiesGet**](docs/Api/CompaniesApi.md#companiesget) | **GET** /companies | Get all companies
*CompaniesApi* | [**companiesIdDelete**](docs/Api/CompaniesApi.md#companiesiddelete) | **DELETE** /companies/{id} | Delete a company
*CompaniesApi* | [**companiesIdGet**](docs/Api/CompaniesApi.md#companiesidget) | **GET** /companies/{id} | Get a company
*CompaniesApi* | [**companiesIdPatch**](docs/Api/CompaniesApi.md#companiesidpatch) | **PATCH** /companies/{id} | Update a company
*CompaniesApi* | [**companiesLinkUnlinkIdPatch**](docs/Api/CompaniesApi.md#companieslinkunlinkidpatch) | **PATCH** /companies/link-unlink/{id} | Link and Unlink company with contacts and deals
*CompaniesApi* | [**companiesPost**](docs/Api/CompaniesApi.md#companiespost) | **POST** /companies | Create a company
*AttributesApi* | [**createAttribute**](docs/Api/AttributesApi.md#createattribute) | **POST** /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute
*AttributesApi* | [**deleteAttribute**](docs/Api/AttributesApi.md#deleteattribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
*AttributesApi* | [**getAttributes**](docs/Api/AttributesApi.md#getattributes) | **GET** /contacts/attributes | List all attributes
Expand Down Expand Up @@ -151,6 +158,17 @@ Class | Method | HTTP request | Description
*DealsApi* | [**crmDealsLinkUnlinkIdPatch**](docs/Api/DealsApi.md#crmdealslinkunlinkidpatch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies
*DealsApi* | [**crmDealsPost**](docs/Api/DealsApi.md#crmdealspost) | **POST** /crm/deals | Create a deal
*DealsApi* | [**crmPipelineDetailsGet**](docs/Api/DealsApi.md#crmpipelinedetailsget) | **GET** /crm/pipeline/details | Get pipeline stages
*EcommerceApi* | [**createBatchOrder**](docs/Api/EcommerceApi.md#createbatchorder) | **POST** /orders/status/batch | Maintains a batch of orders
*EcommerceApi* | [**createOrder**](docs/Api/EcommerceApi.md#createorder) | **POST** /orders/status | Maintains every transactional status of the order
*EcommerceApi* | [**createUpdateBatchCategory**](docs/Api/EcommerceApi.md#createupdatebatchcategory) | **POST** /categories/batch | Create the categories in a batch
*EcommerceApi* | [**createUpdateBatchProducts**](docs/Api/EcommerceApi.md#createupdatebatchproducts) | **POST** /products/batch | Creates the products in a batch
*EcommerceApi* | [**createUpdateCategory**](docs/Api/EcommerceApi.md#createupdatecategory) | **POST** /categories | Create/Update a category
*EcommerceApi* | [**createUpdateProduct**](docs/Api/EcommerceApi.md#createupdateproduct) | **POST** /products | Create/Update a product
*EcommerceApi* | [**ecommerceActivatePost**](docs/Api/EcommerceApi.md#ecommerceactivatepost) | **POST** /ecommerce/activate | **Fulfills the eCommerce pre-requisites**
*EcommerceApi* | [**getCategories**](docs/Api/EcommerceApi.md#getcategories) | **GET** /categories | Return all your categories
*EcommerceApi* | [**getCategoryInfo**](docs/Api/EcommerceApi.md#getcategoryinfo) | **GET** /categories/{id} | Get a category details
*EcommerceApi* | [**getProductInfo**](docs/Api/EcommerceApi.md#getproductinfo) | **GET** /products/{id} | Get a product's details
*EcommerceApi* | [**getProducts**](docs/Api/EcommerceApi.md#getproducts) | **GET** /products | Return all your products
*EmailCampaignsApi* | [**createEmailCampaign**](docs/Api/EmailCampaignsApi.md#createemailcampaign) | **POST** /emailCampaigns | Create an email campaign
*EmailCampaignsApi* | [**deleteEmailCampaign**](docs/Api/EmailCampaignsApi.md#deleteemailcampaign) | **DELETE** /emailCampaigns/{campaignId} | Delete an email campaign
*EmailCampaignsApi* | [**emailExportRecipients**](docs/Api/EmailCampaignsApi.md#emailexportrecipients) | **POST** /emailCampaigns/{campaignId}/exportRecipients | Export the recipients of an email campaign
Expand All @@ -170,6 +188,12 @@ Class | Method | HTTP request | Description
*FoldersApi* | [**getFolderLists**](docs/Api/FoldersApi.md#getfolderlists) | **GET** /contacts/folders/{folderId}/lists | Get lists in a folder
*FoldersApi* | [**getFolders**](docs/Api/FoldersApi.md#getfolders) | **GET** /contacts/folders | Get all folders
*FoldersApi* | [**updateFolder**](docs/Api/FoldersApi.md#updatefolder) | **PUT** /contacts/folders/{folderId} | Update a folder
*FilesApi* | [**crmFilesGet**](docs/Api/FilesApi.md#crmfilesget) | **GET** /crm/files | Get all files
*FilesApi* | [**crmFilesIdDataGet**](docs/Api/FilesApi.md#crmfilesiddataget) | **GET** /crm/files/{id}/data | Get file details
*FilesApi* | [**crmFilesIdDelete**](docs/Api/FilesApi.md#crmfilesiddelete) | **DELETE** /crm/files/{id} | Delete a file
*FilesApi* | [**crmFilesIdGet**](docs/Api/FilesApi.md#crmfilesidget) | **GET** /crm/files/{id} | Download a file
*FilesApi* | [**crmFilesPost**](docs/Api/FilesApi.md#crmfilespost) | **POST** /crm/files | Upload a file
*InboundParsingApi* | [**getInboundEmailAttachment**](docs/Api/InboundParsingApi.md#getinboundemailattachment) | **GET** /inbound/attachments/{downloadToken} | Retrieve inbound attachment with download token.
*InboundParsingApi* | [**getInboundEmailEvents**](docs/Api/InboundParsingApi.md#getinboundemailevents) | **GET** /inbound/events | Get the list of all the events for the received emails.
*InboundParsingApi* | [**getInboundEmailEventsByUuid**](docs/Api/InboundParsingApi.md#getinboundemaileventsbyuuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email.
*ListsApi* | [**addContactToList**](docs/Api/ListsApi.md#addcontacttolist) | **POST** /contacts/lists/{listId}/contacts/add | Add existing contacts to a list
Expand Down Expand Up @@ -301,6 +325,7 @@ Class | Method | HTTP request | Description
- [ConversationsMessageFileImageInfo](docs/Model/ConversationsMessageFileImageInfo.md)
- [CreateAttribute](docs/Model/CreateAttribute.md)
- [CreateAttributeEnumeration](docs/Model/CreateAttributeEnumeration.md)
- [CreateCategoryModel](docs/Model/CreateCategoryModel.md)
- [CreateChild](docs/Model/CreateChild.md)
- [CreateContact](docs/Model/CreateContact.md)
- [CreateDoiContact](docs/Model/CreateDoiContact.md)
Expand All @@ -309,6 +334,7 @@ Class | Method | HTTP request | Description
- [CreateEmailCampaignSender](docs/Model/CreateEmailCampaignSender.md)
- [CreateList](docs/Model/CreateList.md)
- [CreateModel](docs/Model/CreateModel.md)
- [CreateProductModel](docs/Model/CreateProductModel.md)
- [CreateReseller](docs/Model/CreateReseller.md)
- [CreateSender](docs/Model/CreateSender.md)
- [CreateSenderIps](docs/Model/CreateSenderIps.md)
Expand All @@ -320,9 +346,18 @@ Class | Method | HTTP request | Description
- [CreateSmtpTemplateSender](docs/Model/CreateSmtpTemplateSender.md)
- [CreateSubAccount](docs/Model/CreateSubAccount.md)
- [CreateSubAccountResponse](docs/Model/CreateSubAccountResponse.md)
- [CreateUpdateBatchCategory](docs/Model/CreateUpdateBatchCategory.md)
- [CreateUpdateBatchCategoryModel](docs/Model/CreateUpdateBatchCategoryModel.md)
- [CreateUpdateBatchProducts](docs/Model/CreateUpdateBatchProducts.md)
- [CreateUpdateBatchProductsModel](docs/Model/CreateUpdateBatchProductsModel.md)
- [CreateUpdateCategories](docs/Model/CreateUpdateCategories.md)
- [CreateUpdateCategory](docs/Model/CreateUpdateCategory.md)
- [CreateUpdateContactModel](docs/Model/CreateUpdateContactModel.md)
- [CreateUpdateFolder](docs/Model/CreateUpdateFolder.md)
- [CreateUpdateProduct](docs/Model/CreateUpdateProduct.md)
- [CreateUpdateProducts](docs/Model/CreateUpdateProducts.md)
- [CreateWebhook](docs/Model/CreateWebhook.md)
- [CreatedBatchId](docs/Model/CreatedBatchId.md)
- [CreatedProcessId](docs/Model/CreatedProcessId.md)
- [Deal](docs/Model/Deal.md)
- [DealAttributes](docs/Model/DealAttributes.md)
Expand All @@ -347,6 +382,8 @@ Class | Method | HTTP request | Description
- [GetCampaignOverview](docs/Model/GetCampaignOverview.md)
- [GetCampaignRecipients](docs/Model/GetCampaignRecipients.md)
- [GetCampaignStats](docs/Model/GetCampaignStats.md)
- [GetCategories](docs/Model/GetCategories.md)
- [GetCategoryDetails](docs/Model/GetCategoryDetails.md)
- [GetChildAccountCreationStatus](docs/Model/GetChildAccountCreationStatus.md)
- [GetChildDomain](docs/Model/GetChildDomain.md)
- [GetChildDomains](docs/Model/GetChildDomains.md)
Expand Down Expand Up @@ -404,6 +441,8 @@ Class | Method | HTTP request | Description
- [GetLists](docs/Model/GetLists.md)
- [GetProcess](docs/Model/GetProcess.md)
- [GetProcesses](docs/Model/GetProcesses.md)
- [GetProductDetails](docs/Model/GetProductDetails.md)
- [GetProducts](docs/Model/GetProducts.md)
- [GetReports](docs/Model/GetReports.md)
- [GetReportsReports](docs/Model/GetReportsReports.md)
- [GetScheduledEmailByBatchId](docs/Model/GetScheduledEmailByBatchId.md)
Expand Down Expand Up @@ -453,6 +492,10 @@ Class | Method | HTTP request | Description
- [NoteData](docs/Model/NoteData.md)
- [NoteId](docs/Model/NoteId.md)
- [NoteList](docs/Model/NoteList.md)
- [Order](docs/Model/Order.md)
- [OrderBatch](docs/Model/OrderBatch.md)
- [OrderBilling](docs/Model/OrderBilling.md)
- [OrderProducts](docs/Model/OrderProducts.md)
- [Pipeline](docs/Model/Pipeline.md)
- [PipelineStage](docs/Model/PipelineStage.md)
- [PostContactInfo](docs/Model/PostContactInfo.md)
Expand Down
16 changes: 8 additions & 8 deletions docs/Api/DealsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **crmDealsGet**
> \SendinBlue\Client\Model\DealsList crmDealsGet($filterAttributes, $filterLinkedCompaniesIds, $filterLinkedContactsIds, $offset, $limit, $sort, $sortBy)
> \SendinBlue\Client\Model\DealsList crmDealsGet($filtersAttributes, $filtersLinkedCompaniesIds, $filtersLinkedContactsIds, $offset, $limit, $sort, $sortBy)
Get all deals

Expand All @@ -92,16 +92,16 @@ $apiInstance = new SendinBlue\Client\Api\DealsApi(
new GuzzleHttp\Client(),
$config
);
$filterAttributes = "filterAttributes_example"; // string | Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\"
$filterLinkedCompaniesIds = "filterLinkedCompaniesIds_example"; // string | Filter by linked companies ids
$filterLinkedContactsIds = "filterLinkedContactsIds_example"; // string | Filter by linked companies ids
$filtersAttributes = "filtersAttributes_example"; // string | Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\"
$filtersLinkedCompaniesIds = "filtersLinkedCompaniesIds_example"; // string | Filter by linked companies ids
$filtersLinkedContactsIds = "filtersLinkedContactsIds_example"; // string | Filter by linked companies ids
$offset = 789; // int | Index of the first document of the page
$limit = 50; // int | Number of documents per page
$sort = "sort_example"; // string | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
$sortBy = "sortBy_example"; // string | The field used to sort field names.

try {
$result = $apiInstance->crmDealsGet($filterAttributes, $filterLinkedCompaniesIds, $filterLinkedContactsIds, $offset, $limit, $sort, $sortBy);
$result = $apiInstance->crmDealsGet($filtersAttributes, $filtersLinkedCompaniesIds, $filtersLinkedContactsIds, $offset, $limit, $sort, $sortBy);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DealsApi->crmDealsGet: ', $e->getMessage(), PHP_EOL;
Expand All @@ -113,9 +113,9 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**filterAttributes** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional]
**filterLinkedCompaniesIds** | **string**| Filter by linked companies ids | [optional]
**filterLinkedContactsIds** | **string**| Filter by linked companies ids | [optional]
**filtersAttributes** | **string**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional]
**filtersLinkedCompaniesIds** | **string**| Filter by linked companies ids | [optional]
**filtersLinkedContactsIds** | **string**| Filter by linked companies ids | [optional]
**offset** | **int**| Index of the first document of the page | [optional]
**limit** | **int**| Number of documents per page | [optional] [default to 50]
**sort** | **string**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
Expand Down
Loading

0 comments on commit b2a8084

Please sign in to comment.