Skip to content

Commit

Permalink
add support for TrackEvent, Experiment, Banners (#50)
Browse files Browse the repository at this point in the history
- new accountId param added to QueryCollection and SendEvent
- bump version to v5.0.0
  • Loading branch information
jkaho authored Mar 22, 2022
1 parent 902bd29 commit 1a7949e
Show file tree
Hide file tree
Showing 214 changed files with 5,301 additions and 678 deletions.
24 changes: 24 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ docs/Api/RecordsApi.md
docs/Api/RedirectsApi.md
docs/Api/SchemaApi.md
docs/Model/ActivePromotion.md
docs/Model/Banner.md
docs/Model/BatchCreateSchemaFieldsRequest.md
docs/Model/BatchCreateSchemaFieldsResponse.md
docs/Model/BatchCreateSchemaFieldsResponseError.md
Expand All @@ -25,6 +26,10 @@ docs/Model/BatchUpsertRecordsResponseVariables.md
docs/Model/Collection.md
docs/Model/DeleteRecordRequest.md
docs/Model/Error.md
docs/Model/Event.md
docs/Model/ExperimentRequest.md
docs/Model/ExperimentRequestPipeline.md
docs/Model/ExperimentResponse.md
docs/Model/GeneratePipelinesRequest.md
docs/Model/GeneratePipelinesResponse.md
docs/Model/GetDefaultPipelineResponse.md
Expand All @@ -34,6 +39,7 @@ docs/Model/GetRecordRequest.md
docs/Model/ListCollectionsResponse.md
docs/Model/ListPipelinesRequestView.md
docs/Model/ListPipelinesResponse.md
docs/Model/ListPromotionsRequestPromotionView.md
docs/Model/ListPromotionsResponse.md
docs/Model/ListRedirectsResponse.md
docs/Model/ListSchemaFieldsResponse.md
Expand All @@ -48,6 +54,7 @@ docs/Model/PromotionExclusion.md
docs/Model/PromotionFilterBoost.md
docs/Model/PromotionFilterCondition.md
docs/Model/PromotionPin.md
docs/Model/PromotionPinMode.md
docs/Model/PromotionRangeBoost.md
docs/Model/ProtobufAny.md
docs/Model/ProtobufFieldMask.md
Expand Down Expand Up @@ -80,6 +87,7 @@ docs/Model/SendEventRequest.md
docs/Model/SetDefaultPipelineRequest.md
docs/Model/SetDefaultVersionRequest.md
docs/Model/Status.md
docs/Model/TextPosition.md
docs/Model/UpdateRecordRequest.md
docs/Model/UpsertRecordRequest.md
docs/Model/UpsertRecordRequestPipeline.md
Expand All @@ -95,6 +103,7 @@ lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Model/ActivePromotion.php
lib/Model/Banner.php
lib/Model/BatchCreateSchemaFieldsRequest.php
lib/Model/BatchCreateSchemaFieldsResponse.php
lib/Model/BatchCreateSchemaFieldsResponseError.php
Expand All @@ -111,6 +120,10 @@ lib/Model/BatchUpsertRecordsResponseVariables.php
lib/Model/Collection.php
lib/Model/DeleteRecordRequest.php
lib/Model/Error.php
lib/Model/Event.php
lib/Model/ExperimentRequest.php
lib/Model/ExperimentRequestPipeline.php
lib/Model/ExperimentResponse.php
lib/Model/GeneratePipelinesRequest.php
lib/Model/GeneratePipelinesResponse.php
lib/Model/GetDefaultPipelineResponse.php
Expand All @@ -120,6 +133,7 @@ lib/Model/GetRecordRequest.php
lib/Model/ListCollectionsResponse.php
lib/Model/ListPipelinesRequestView.php
lib/Model/ListPipelinesResponse.php
lib/Model/ListPromotionsRequestPromotionView.php
lib/Model/ListPromotionsResponse.php
lib/Model/ListRedirectsResponse.php
lib/Model/ListSchemaFieldsResponse.php
Expand All @@ -135,6 +149,7 @@ lib/Model/PromotionExclusion.php
lib/Model/PromotionFilterBoost.php
lib/Model/PromotionFilterCondition.php
lib/Model/PromotionPin.php
lib/Model/PromotionPinMode.php
lib/Model/PromotionRangeBoost.php
lib/Model/ProtobufAny.php
lib/Model/ProtobufFieldMask.php
Expand Down Expand Up @@ -167,6 +182,7 @@ lib/Model/SendEventRequest.php
lib/Model/SetDefaultPipelineRequest.php
lib/Model/SetDefaultVersionRequest.php
lib/Model/Status.php
lib/Model/TextPosition.php
lib/Model/UpdateRecordRequest.php
lib/Model/UpsertRecordRequest.php
lib/Model/UpsertRecordRequestPipeline.php
Expand All @@ -180,6 +196,7 @@ test/Api/RecordsApiTest.php
test/Api/RedirectsApiTest.php
test/Api/SchemaApiTest.php
test/Model/ActivePromotionTest.php
test/Model/BannerTest.php
test/Model/BatchCreateSchemaFieldsRequestTest.php
test/Model/BatchCreateSchemaFieldsResponseErrorTest.php
test/Model/BatchCreateSchemaFieldsResponseTest.php
Expand All @@ -196,6 +213,10 @@ test/Model/BatchUpsertRecordsResponseVariablesTest.php
test/Model/CollectionTest.php
test/Model/DeleteRecordRequestTest.php
test/Model/ErrorTest.php
test/Model/EventTest.php
test/Model/ExperimentRequestPipelineTest.php
test/Model/ExperimentRequestTest.php
test/Model/ExperimentResponseTest.php
test/Model/GeneratePipelinesRequestTest.php
test/Model/GeneratePipelinesResponseTest.php
test/Model/GetDefaultPipelineResponseTest.php
Expand All @@ -205,6 +226,7 @@ test/Model/GetRecordRequestTest.php
test/Model/ListCollectionsResponseTest.php
test/Model/ListPipelinesRequestViewTest.php
test/Model/ListPipelinesResponseTest.php
test/Model/ListPromotionsRequestPromotionViewTest.php
test/Model/ListPromotionsResponseTest.php
test/Model/ListRedirectsResponseTest.php
test/Model/ListSchemaFieldsResponseTest.php
Expand All @@ -217,6 +239,7 @@ test/Model/PromotionCategoryTest.php
test/Model/PromotionExclusionTest.php
test/Model/PromotionFilterBoostTest.php
test/Model/PromotionFilterConditionTest.php
test/Model/PromotionPinModeTest.php
test/Model/PromotionPinTest.php
test/Model/PromotionRangeBoostTest.php
test/Model/PromotionTest.php
Expand Down Expand Up @@ -251,6 +274,7 @@ test/Model/SendEventRequestTest.php
test/Model/SetDefaultPipelineRequestTest.php
test/Model/SetDefaultVersionRequestTest.php
test/Model/StatusTest.php
test/Model/TextPositionTest.php
test/Model/UpdateRecordRequestTest.php
test/Model/UpsertRecordRequestPipelineTest.php
test/Model/UpsertRecordRequestTest.php
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The official [Search.io](https://www.sajari.com) PHP client library.

Search.io is a smart, highly-configurable, real-time search service that enables thousands of businesses worldwide to provide amazing search experiences on their websites, stores, and applications.
Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.

## Table of contents

Expand Down Expand Up @@ -96,10 +96,12 @@ All URIs are relative to *https://api.search.io*
| -------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------- |
| CollectionsApi | [**createCollection**](docs/Api/CollectionsApi.md#createcollection) | **POST** /v4/collections | Create collection |
| CollectionsApi | [**deleteCollection**](docs/Api/CollectionsApi.md#deletecollection) | **DELETE** /v4/collections/{collection_id} | Delete collection |
| CollectionsApi | [**experiment**](docs/Api/CollectionsApi.md#experiment) | **POST** /v4/collections/{collection_id}:experiment | Experiment |
| CollectionsApi | [**getCollection**](docs/Api/CollectionsApi.md#getcollection) | **GET** /v4/collections/{collection_id} | Get collection |
| CollectionsApi | [**listCollections**](docs/Api/CollectionsApi.md#listcollections) | **GET** /v4/collections | List collections |
| CollectionsApi | [**queryCollection**](docs/Api/CollectionsApi.md#querycollection) | **POST** /v4/collections/{collection_id}:query | Query collection |
| CollectionsApi | [**queryCollection2**](docs/Api/CollectionsApi.md#querycollection2) | **POST** /v4/collections/{collection_id}:queryCollection | Query collection |
| CollectionsApi | [**trackEvent**](docs/Api/CollectionsApi.md#trackevent) | **POST** /v4/collections/{collection_id}:trackEvent | Track event |
| CollectionsApi | [**updateCollection**](docs/Api/CollectionsApi.md#updatecollection) | **PATCH** /v4/collections/{collection_id} | Update collection |
| EventsApi | [**sendEvent**](docs/Api/EventsApi.md#sendevent) | **POST** /v4/events:send | Send event |
| EventsApi | [**sendEvent2**](docs/Api/EventsApi.md#sendevent2) | **POST** /v4/events:sendEvent | Send event |
Expand Down Expand Up @@ -134,6 +136,7 @@ All URIs are relative to *https://api.search.io*
## Models

- [ActivePromotion](docs/Model/ActivePromotion.md)
- [Banner](docs/Model/Banner.md)
- [BatchCreateSchemaFieldsRequest](docs/Model/BatchCreateSchemaFieldsRequest.md)
- [BatchCreateSchemaFieldsResponse](docs/Model/BatchCreateSchemaFieldsResponse.md)
- [BatchCreateSchemaFieldsResponseError](docs/Model/BatchCreateSchemaFieldsResponseError.md)
Expand All @@ -150,6 +153,10 @@ All URIs are relative to *https://api.search.io*
- [Collection](docs/Model/Collection.md)
- [DeleteRecordRequest](docs/Model/DeleteRecordRequest.md)
- [Error](docs/Model/Error.md)
- [Event](docs/Model/Event.md)
- [ExperimentRequest](docs/Model/ExperimentRequest.md)
- [ExperimentRequestPipeline](docs/Model/ExperimentRequestPipeline.md)
- [ExperimentResponse](docs/Model/ExperimentResponse.md)
- [GeneratePipelinesRequest](docs/Model/GeneratePipelinesRequest.md)
- [GeneratePipelinesResponse](docs/Model/GeneratePipelinesResponse.md)
- [GetDefaultPipelineResponse](docs/Model/GetDefaultPipelineResponse.md)
Expand All @@ -159,6 +166,7 @@ All URIs are relative to *https://api.search.io*
- [ListCollectionsResponse](docs/Model/ListCollectionsResponse.md)
- [ListPipelinesRequestView](docs/Model/ListPipelinesRequestView.md)
- [ListPipelinesResponse](docs/Model/ListPipelinesResponse.md)
- [ListPromotionsRequestPromotionView](docs/Model/ListPromotionsRequestPromotionView.md)
- [ListPromotionsResponse](docs/Model/ListPromotionsResponse.md)
- [ListRedirectsResponse](docs/Model/ListRedirectsResponse.md)
- [ListSchemaFieldsResponse](docs/Model/ListSchemaFieldsResponse.md)
Expand All @@ -173,6 +181,7 @@ All URIs are relative to *https://api.search.io*
- [PromotionFilterBoost](docs/Model/PromotionFilterBoost.md)
- [PromotionFilterCondition](docs/Model/PromotionFilterCondition.md)
- [PromotionPin](docs/Model/PromotionPin.md)
- [PromotionPinMode](docs/Model/PromotionPinMode.md)
- [PromotionRangeBoost](docs/Model/PromotionRangeBoost.md)
- [ProtobufAny](docs/Model/ProtobufAny.md)
- [ProtobufFieldMask](docs/Model/ProtobufFieldMask.md)
Expand Down Expand Up @@ -205,6 +214,7 @@ All URIs are relative to *https://api.search.io*
- [SetDefaultPipelineRequest](docs/Model/SetDefaultPipelineRequest.md)
- [SetDefaultVersionRequest](docs/Model/SetDefaultVersionRequest.md)
- [Status](docs/Model/Status.md)
- [TextPosition](docs/Model/TextPosition.md)
- [UpdateRecordRequest](docs/Model/UpdateRecordRequest.md)
- [UpsertRecordRequest](docs/Model/UpsertRecordRequest.md)
- [UpsertRecordRequestPipeline](docs/Model/UpsertRecordRequestPipeline.md)
Expand Down Expand Up @@ -234,5 +244,5 @@ [email protected]
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `v4`
- Package version: `4.2.0`
- Package version: `5.0.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sajari/sdk-php",
"version": "4.2.0",
"description": "Search.io is a smart, highly-configurable, real-time search service that enables thousands of businesses worldwide to provide amazing search experiences on their websites, stores, and applications.",
"version": "5.0.0",
"description": "Search.io offers a search and discovery service with Neuralsearch®, the world's first instant AI search technology. Businesses of all sizes use Search.io to build site search and discovery solutions that maximize e-commerce revenue, optimize on-site customer experience, and scale their online presence.",
"keywords": [
"sajari",
"search",
Expand Down
Loading

0 comments on commit 1a7949e

Please sign in to comment.