Skip to content

Commit

Permalink
generated: regenerate code from openapi.json (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Ingram <[email protected]>
  • Loading branch information
jonathaningram and jonathaningram authored Dec 14, 2021
1 parent b1bddc4 commit e7fa6ac
Show file tree
Hide file tree
Showing 82 changed files with 2,497 additions and 140 deletions.
15 changes: 15 additions & 0 deletions src/generated/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ api/apis.ts
api/collectionsApi.ts
api/eventsApi.ts
api/pipelinesApi.ts
api/promotionsApi.ts
api/recordsApi.ts
api/redirectsApi.ts
api/schemaApi.ts
model/activePromotion.ts
model/batchCreateSchemaFieldsRequest.ts
model/batchCreateSchemaFieldsResponse.ts
model/batchCreateSchemaFieldsResponseError.ts
Expand All @@ -23,9 +26,13 @@ model/getDefaultPipelineResponse.ts
model/getDefaultVersionRequestView.ts
model/getPipelineRequestView.ts
model/getRecordRequest.ts
model/integration.ts
model/listCollectionsResponse.ts
model/listIntegrationsResponse.ts
model/listPipelinesRequestView.ts
model/listPipelinesResponse.ts
model/listPromotionsResponse.ts
model/listRedirectsResponse.ts
model/listSchemaFieldsResponse.ts
model/apiError.ts
model/models.ts
Expand All @@ -34,6 +41,12 @@ model/pipeline.ts
model/pipelineStep.ts
model/pipelineStepParamBinding.ts
model/pipelineType.ts
model/promotion.ts
model/promotionExclusion.ts
model/promotionFilterBoost.ts
model/promotionFilterCondition.ts
model/promotionPin.ts
model/promotionRangeBoost.ts
model/protobufAny.ts
model/protobufNullValue.ts
model/queryAggregateResult.ts
Expand All @@ -55,6 +68,8 @@ model/queryResultToken.ts
model/queryResultTokenClick.ts
model/queryResultTokenPosNeg.ts
model/recordKey.ts
model/redirect.ts
model/redirectResult.ts
model/schemaField.ts
model/schemaFieldMode.ts
model/schemaFieldType.ts
Expand Down
6 changes: 6 additions & 0 deletions src/generated/api/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ export * from "./eventsApi";
import { EventsApi } from "./eventsApi";
export * from "./pipelinesApi";
import { PipelinesApi } from "./pipelinesApi";
export * from "./promotionsApi";
import { PromotionsApi } from "./promotionsApi";
export * from "./recordsApi";
import { RecordsApi } from "./recordsApi";
export * from "./redirectsApi";
import { RedirectsApi } from "./redirectsApi";
export * from "./schemaApi";
import { SchemaApi } from "./schemaApi";
import * as http from "http";
Expand All @@ -27,6 +31,8 @@ export const APIS = [
CollectionsApi,
EventsApi,
PipelinesApi,
PromotionsApi,
RecordsApi,
RedirectsApi,
SchemaApi,
];
12 changes: 6 additions & 6 deletions src/generated/api/collectionsApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Sajari API
* Sajari 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 API
* 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.
*
* The version of the OpenAPI document: v4
* Contact: [email protected]
Expand Down Expand Up @@ -34,7 +34,7 @@ import {

import { HttpError, RequestFile } from "./apis";

let defaultBasePath = "https://api-gateway.sajari.com";
let defaultBasePath = "https://api.search.io";

// ===============================================
// This file is autogenerated - Please do not edit
Expand Down Expand Up @@ -115,7 +115,7 @@ export class CollectionsApi {
}

/**
* Create an empty collection. Before records can be added to a collection, the schema and pipelines for the collection have to be set up. Consider setting up new collections via the Sajari Console, which handles the creation of the schema and pipelines for you.
* Create an empty collection. Before records can be added to a collection, the schema and pipelines for the collection have to be set up. Consider setting up new collections via the Search.io Console, which handles the creation of the schema and pipelines for you.
* @summary Create collection
* @param collectionId The ID to use for the collection. This must start with an alphanumeric character followed by one or more alphanumeric or &#x60;-&#x60; characters. Strictly speaking, it must match the regular expression: &#x60;^[A-Za-z][A-Za-z0-9\\-]*$&#x60;.
* @param collection Details of the collection to create.
Expand Down Expand Up @@ -534,7 +534,7 @@ export class CollectionsApi {
});
}
/**
* Query the collection to search for records. The following example demonstrates how to run a simple search for a particular string: ```json { \"variables\": { \"q\": \"search terms\" } } ``` For more information: - See [filtering content](https://docs.sajari.com/user-guide/integrating-search/filters/) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)
* Query the collection to search for records. The following example demonstrates how to run a simple search for a particular string: ```json { \"variables\": { \"q\": \"search terms\" } } ``` For more information: - See [filtering content](https://docs.search.io/user-guide/integrating-search/filters/) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)
* @summary Query collection
* @param collectionId The collection to query, e.g. &#x60;my-collection&#x60;.
* @param queryCollectionRequest
Expand Down Expand Up @@ -656,7 +656,7 @@ export class CollectionsApi {
});
}
/**
* Query the collection to search for records. The following example demonstrates how to run a simple search for a particular string: ```json { \"variables\": { \"q\": \"search terms\" } } ``` For more information: - See [filtering content](https://docs.sajari.com/user-guide/integrating-search/filters/) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)
* Query the collection to search for records. The following example demonstrates how to run a simple search for a particular string: ```json { \"variables\": { \"q\": \"search terms\" } } ``` For more information: - See [filtering content](https://docs.search.io/user-guide/integrating-search/filters/) - See [tracking in the Go SDK](https://github.com/sajari/sdk-go/blob/v2/session.go) - See [tracking in the JS SDK](https://github.com/sajari/sajari-sdk-js/blob/master/src/session.ts)
* @summary Query collection
* @param collectionId The collection to query, e.g. &#x60;my-collection&#x60;.
* @param queryCollectionRequest
Expand Down
6 changes: 3 additions & 3 deletions src/generated/api/eventsApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Sajari API
* Sajari 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 API
* 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.
*
* The version of the OpenAPI document: v4
* Contact: [email protected]
Expand Down Expand Up @@ -31,7 +31,7 @@ import {

import { HttpError, RequestFile } from "./apis";

let defaultBasePath = "https://api-gateway.sajari.com";
let defaultBasePath = "https://api.search.io";

// ===============================================
// This file is autogenerated - Please do not edit
Expand Down
6 changes: 3 additions & 3 deletions src/generated/api/pipelinesApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Sajari API
* Sajari 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 API
* 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.
*
* The version of the OpenAPI document: v4
* Contact: [email protected]
Expand Down Expand Up @@ -37,7 +37,7 @@ import {

import { HttpError, RequestFile } from "./apis";

let defaultBasePath = "https://api-gateway.sajari.com";
let defaultBasePath = "https://api.search.io";

// ===============================================
// This file is autogenerated - Please do not edit
Expand Down
Loading

0 comments on commit e7fa6ac

Please sign in to comment.