Skip to content

Commit b0eeae7

Browse files
algolia-botClaraMullermillotpshortcuts
committed
feat(specs): merge composition & composition-full (generated)
algolia/api-clients-automation#5333 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clara Muller <[email protected]> Co-authored-by: Pierre Millot <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent a83f940 commit b0eeae7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+14769
-0
lines changed

lib/Api/CompositionClient.php

Lines changed: 687 additions & 0 deletions
Large diffs are not rendered by default.

lib/Model/Composition/Action.php

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php
2+
3+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4+
5+
namespace Algolia\AlgoliaSearch\Model\Composition;
6+
7+
/**
8+
* Action Class Doc Comment.
9+
*
10+
* @category Class
11+
*
12+
* @description Type of Composition Batch operation.
13+
*/
14+
class Action
15+
{
16+
/**
17+
* Possible values of this enum.
18+
*/
19+
public const UPSERT = 'upsert';
20+
21+
public const DELETE = 'delete';
22+
23+
/**
24+
* Gets allowable values of the enum.
25+
*
26+
* @return string[]
27+
*/
28+
public static function getAllowableEnumValues()
29+
{
30+
return [
31+
self::UPSERT,
32+
self::DELETE,
33+
];
34+
}
35+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
3+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4+
5+
namespace Algolia\AlgoliaSearch\Model\Composition;
6+
7+
/**
8+
* AdvancedSyntaxFeatures Class Doc Comment.
9+
*
10+
* @category Class
11+
*/
12+
class AdvancedSyntaxFeatures
13+
{
14+
/**
15+
* Possible values of this enum.
16+
*/
17+
public const EXACT_PHRASE = 'exactPhrase';
18+
19+
public const EXCLUDE_WORDS = 'excludeWords';
20+
21+
/**
22+
* Gets allowable values of the enum.
23+
*
24+
* @return string[]
25+
*/
26+
public static function getAllowableEnumValues()
27+
{
28+
return [
29+
self::EXACT_PHRASE,
30+
self::EXCLUDE_WORDS,
31+
];
32+
}
33+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4+
5+
namespace Algolia\AlgoliaSearch\Model\Composition;
6+
7+
/**
8+
* AlternativesAsExact Class Doc Comment.
9+
*
10+
* @category Class
11+
*/
12+
class AlternativesAsExact
13+
{
14+
/**
15+
* Possible values of this enum.
16+
*/
17+
public const IGNORE_PLURALS = 'ignorePlurals';
18+
19+
public const SINGLE_WORD_SYNONYM = 'singleWordSynonym';
20+
21+
public const MULTI_WORDS_SYNONYM = 'multiWordsSynonym';
22+
23+
public const IGNORE_CONJUGATIONS = 'ignoreConjugations';
24+
25+
/**
26+
* Gets allowable values of the enum.
27+
*
28+
* @return string[]
29+
*/
30+
public static function getAllowableEnumValues()
31+
{
32+
return [
33+
self::IGNORE_PLURALS,
34+
self::SINGLE_WORD_SYNONYM,
35+
self::MULTI_WORDS_SYNONYM,
36+
self::IGNORE_CONJUGATIONS,
37+
];
38+
}
39+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
3+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4+
5+
namespace Algolia\AlgoliaSearch\Model\Composition;
6+
7+
/**
8+
* Anchoring Class Doc Comment.
9+
*
10+
* @category Class
11+
*
12+
* @description Which part of the search query the pattern should match: - `startsWith`. The pattern must match the beginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as patterns with `anchoring: is`.
13+
*/
14+
class Anchoring
15+
{
16+
/**
17+
* Possible values of this enum.
18+
*/
19+
public const IS = 'is';
20+
21+
public const STARTS_WITH = 'startsWith';
22+
23+
public const ENDS_WITH = 'endsWith';
24+
25+
public const CONTAINS = 'contains';
26+
27+
/**
28+
* Gets allowable values of the enum.
29+
*
30+
* @return string[]
31+
*/
32+
public static function getAllowableEnumValues()
33+
{
34+
return [
35+
self::IS,
36+
self::STARTS_WITH,
37+
self::ENDS_WITH,
38+
self::CONTAINS,
39+
];
40+
}
41+
}

0 commit comments

Comments
 (0)