Skip to content

Commit a2e3cb9

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit c251dc87. [skip ci]
algolia/api-clients-automation@c251dc8 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent e063f71 commit a2e3cb9

14 files changed

+215
-57
lines changed

.openapi-generator/FILES

Lines changed: 169 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,172 @@
1+
.openapi-generator-ignore
12
AlgoliaSearchClient.podspec
23
Package.swift
34
Sources/Core/Helpers/Version.swift
4-
Sources/Usage/Models/GetUsage200Response.swift
5-
Sources/Usage/Models/GetUsage200ResponseStatisticsInner.swift
6-
Sources/Usage/Models/GetUsage400Response.swift
7-
Sources/Usage/Models/GetUsage400ResponseError.swift
8-
Sources/Usage/Models/GetUsage400ResponseErrorErrorsInner.swift
9-
Sources/Usage/Models/Granularity.swift
10-
Sources/Usage/Models/Statistic.swift
11-
Sources/Usage/Models/StatisticValue.swift
12-
Sources/Usage/Models/UsageErrorBase.swift
13-
Sources/Usage/UsageClient.swift
14-
Sources/Usage/UsageClientConfiguration.swift
5+
Sources/Search/Models/Acl.swift
6+
Sources/Search/Models/Action.swift
7+
Sources/Search/Models/AddApiKeyResponse.swift
8+
Sources/Search/Models/ApiKey.swift
9+
Sources/Search/Models/ApiKeyOperation.swift
10+
Sources/Search/Models/AssignUserIdParams.swift
11+
Sources/Search/Models/AttributeToUpdate.swift
12+
Sources/Search/Models/BaseGetApiKeyResponse.swift
13+
Sources/Search/Models/BaseIndexSettings.swift
14+
Sources/Search/Models/BatchAssignUserIdsParams.swift
15+
Sources/Search/Models/BatchDictionaryEntriesParams.swift
16+
Sources/Search/Models/BatchDictionaryEntriesRequest.swift
17+
Sources/Search/Models/BatchParams.swift
18+
Sources/Search/Models/BatchRequest.swift
19+
Sources/Search/Models/BatchResponse.swift
20+
Sources/Search/Models/BatchWriteParams.swift
21+
Sources/Search/Models/BrowseParams.swift
22+
Sources/Search/Models/BrowseParamsObject.swift
23+
Sources/Search/Models/BrowseResponse.swift
24+
Sources/Search/Models/BuiltInOperation.swift
25+
Sources/Search/Models/BuiltInOperationType.swift
26+
Sources/Search/Models/CreatedAtResponse.swift
27+
Sources/Search/Models/Cursor.swift
28+
Sources/Search/Models/DeleteApiKeyResponse.swift
29+
Sources/Search/Models/DeleteByParams.swift
30+
Sources/Search/Models/DeleteSourceResponse.swift
31+
Sources/Search/Models/DictionaryAction.swift
32+
Sources/Search/Models/DictionaryEntry.swift
33+
Sources/Search/Models/DictionaryEntryState.swift
34+
Sources/Search/Models/DictionaryLanguage.swift
35+
Sources/Search/Models/DictionarySettingsParams.swift
36+
Sources/Search/Models/DictionaryType.swift
37+
Sources/Search/Models/FacetHits.swift
38+
Sources/Search/Models/FetchedIndex.swift
39+
Sources/Search/Models/GetApiKeyResponse.swift
40+
Sources/Search/Models/GetDictionarySettingsResponse.swift
41+
Sources/Search/Models/GetLogsResponse.swift
42+
Sources/Search/Models/GetObjectsParams.swift
43+
Sources/Search/Models/GetObjectsRequest.swift
44+
Sources/Search/Models/GetObjectsResponse.swift
45+
Sources/Search/Models/GetTaskResponse.swift
46+
Sources/Search/Models/GetTopUserIdsResponse.swift
47+
Sources/Search/Models/HasPendingMappingsResponse.swift
48+
Sources/Search/Models/Hit.swift
49+
Sources/Search/Models/IndexSettings.swift
50+
Sources/Search/Models/ListApiKeysResponse.swift
51+
Sources/Search/Models/ListClustersResponse.swift
52+
Sources/Search/Models/ListIndicesResponse.swift
53+
Sources/Search/Models/ListUserIdsResponse.swift
54+
Sources/Search/Models/Log.swift
55+
Sources/Search/Models/LogQuery.swift
56+
Sources/Search/Models/LogType.swift
57+
Sources/Search/Models/MultipleBatchRequest.swift
58+
Sources/Search/Models/MultipleBatchResponse.swift
59+
Sources/Search/Models/OperationIndexParams.swift
60+
Sources/Search/Models/OperationType.swift
61+
Sources/Search/Models/RemoveUserIdResponse.swift
62+
Sources/Search/Models/ReplaceAllObjectsResponse.swift
63+
Sources/Search/Models/ReplaceSourceResponse.swift
64+
Sources/Search/Models/Rule.swift
65+
Sources/Search/Models/SaveObjectResponse.swift
66+
Sources/Search/Models/SaveSynonymResponse.swift
67+
Sources/Search/Models/ScopeType.swift
68+
Sources/Search/Models/SearchAdvancedSyntaxFeatures.swift
69+
Sources/Search/Models/SearchAlternativesAsExact.swift
70+
Sources/Search/Models/SearchAnchoring.swift
71+
Sources/Search/Models/SearchAroundPrecision.swift
72+
Sources/Search/Models/SearchAroundPrecisionFromValueInner.swift
73+
Sources/Search/Models/SearchAroundRadius.swift
74+
Sources/Search/Models/SearchAroundRadiusAll.swift
75+
Sources/Search/Models/SearchAutomaticFacetFilter.swift
76+
Sources/Search/Models/SearchAutomaticFacetFilters.swift
77+
Sources/Search/Models/SearchBaseSearchParams.swift
78+
Sources/Search/Models/SearchBaseSearchParamsWithoutQuery.swift
79+
Sources/Search/Models/SearchBaseSearchResponse.swift
80+
Sources/Search/Models/SearchCondition.swift
81+
Sources/Search/Models/SearchConsequence.swift
82+
Sources/Search/Models/SearchConsequenceHide.swift
83+
Sources/Search/Models/SearchConsequenceParams.swift
84+
Sources/Search/Models/SearchConsequenceQuery.swift
85+
Sources/Search/Models/SearchConsequenceQueryObject.swift
86+
Sources/Search/Models/SearchDeletedAtResponse.swift
87+
Sources/Search/Models/SearchDictionaryEntriesParams.swift
88+
Sources/Search/Models/SearchDictionaryEntriesResponse.swift
89+
Sources/Search/Models/SearchDistinct.swift
90+
Sources/Search/Models/SearchEdit.swift
91+
Sources/Search/Models/SearchEditType.swift
92+
Sources/Search/Models/SearchErrorBase.swift
93+
Sources/Search/Models/SearchExactOnSingleWordQuery.swift
94+
Sources/Search/Models/SearchExhaustive.swift
95+
Sources/Search/Models/SearchFacetFilters.swift
96+
Sources/Search/Models/SearchFacetOrdering.swift
97+
Sources/Search/Models/SearchFacets.swift
98+
Sources/Search/Models/SearchFacetsStats.swift
99+
Sources/Search/Models/SearchForFacetValuesRequest.swift
100+
Sources/Search/Models/SearchForFacetValuesResponse.swift
101+
Sources/Search/Models/SearchForFacets.swift
102+
Sources/Search/Models/SearchForFacetsOptions.swift
103+
Sources/Search/Models/SearchForHits.swift
104+
Sources/Search/Models/SearchForHitsOptions.swift
105+
Sources/Search/Models/SearchHighlightResult.swift
106+
Sources/Search/Models/SearchHighlightResultOption.swift
107+
Sources/Search/Models/SearchHits.swift
108+
Sources/Search/Models/SearchIgnorePlurals.swift
109+
Sources/Search/Models/SearchIndexSettingsAsSearchParams.swift
110+
Sources/Search/Models/SearchLanguages.swift
111+
Sources/Search/Models/SearchMatchLevel.swift
112+
Sources/Search/Models/SearchMatchedGeoLocation.swift
113+
Sources/Search/Models/SearchMethodParams.swift
114+
Sources/Search/Models/SearchMode.swift
115+
Sources/Search/Models/SearchNumericFilters.swift
116+
Sources/Search/Models/SearchOptionalFilters.swift
117+
Sources/Search/Models/SearchParams.swift
118+
Sources/Search/Models/SearchParamsString.swift
119+
Sources/Search/Models/SearchPersonalization.swift
120+
Sources/Search/Models/SearchPromote.swift
121+
Sources/Search/Models/SearchPromoteObjectID.swift
122+
Sources/Search/Models/SearchPromoteObjectIDs.swift
123+
Sources/Search/Models/SearchQuery.swift
124+
Sources/Search/Models/SearchQueryType.swift
125+
Sources/Search/Models/SearchRankingInfo.swift
126+
Sources/Search/Models/SearchReRankingApplyFilter.swift
127+
Sources/Search/Models/SearchRedirect.swift
128+
Sources/Search/Models/SearchRedirectRuleIndexMetadata.swift
129+
Sources/Search/Models/SearchRedirectRuleIndexMetadataData.swift
130+
Sources/Search/Models/SearchRemoveStopWords.swift
131+
Sources/Search/Models/SearchRemoveWordsIfNoResults.swift
132+
Sources/Search/Models/SearchRenderingContent.swift
133+
Sources/Search/Models/SearchResponse.swift
134+
Sources/Search/Models/SearchResponses.swift
135+
Sources/Search/Models/SearchResult.swift
136+
Sources/Search/Models/SearchRulesParams.swift
137+
Sources/Search/Models/SearchRulesResponse.swift
138+
Sources/Search/Models/SearchSearchParams.swift
139+
Sources/Search/Models/SearchSearchParamsObject.swift
140+
Sources/Search/Models/SearchSearchParamsQuery.swift
141+
Sources/Search/Models/SearchSemanticSearch.swift
142+
Sources/Search/Models/SearchSnippetResult.swift
143+
Sources/Search/Models/SearchSnippetResultOption.swift
144+
Sources/Search/Models/SearchSortRemainingBy.swift
145+
Sources/Search/Models/SearchSource.swift
146+
Sources/Search/Models/SearchStrategy.swift
147+
Sources/Search/Models/SearchSupportedLanguage.swift
148+
Sources/Search/Models/SearchSynonymsParams.swift
149+
Sources/Search/Models/SearchSynonymsResponse.swift
150+
Sources/Search/Models/SearchTagFilters.swift
151+
Sources/Search/Models/SearchTaskStatus.swift
152+
Sources/Search/Models/SearchTypeDefault.swift
153+
Sources/Search/Models/SearchTypeFacet.swift
154+
Sources/Search/Models/SearchTypoTolerance.swift
155+
Sources/Search/Models/SearchTypoToleranceEnum.swift
156+
Sources/Search/Models/SearchUserIdsParams.swift
157+
Sources/Search/Models/SearchUserIdsResponse.swift
158+
Sources/Search/Models/SearchValue.swift
159+
Sources/Search/Models/SecuredAPIKeyRestrictions.swift
160+
Sources/Search/Models/StandardEntries.swift
161+
Sources/Search/Models/SynonymHit.swift
162+
Sources/Search/Models/SynonymType.swift
163+
Sources/Search/Models/TimeRange.swift
164+
Sources/Search/Models/UpdateApiKeyResponse.swift
165+
Sources/Search/Models/UpdatedAtResponse.swift
166+
Sources/Search/Models/UpdatedAtWithObjectIdResponse.swift
167+
Sources/Search/Models/UpdatedRuleResponse.swift
168+
Sources/Search/Models/UserHighlightResult.swift
169+
Sources/Search/Models/UserHit.swift
170+
Sources/Search/Models/UserId.swift
171+
Sources/Search/SearchClient.swift
172+
Sources/Search/SearchClientConfiguration.swift

Sources/Ingestion/Models/DestinationIndexName.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct DestinationIndexName: Codable, JSONEncodable {
1313
/// Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for
1414
/// searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested
1515
/// attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except**
16-
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
16+
/// the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element.
1717
/// For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but
1818
/// indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar`
1919
/// from all elements of the `foo` array.

Sources/Recommend/Models/FallbackParams.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct FallbackParams: Codable, JSONEncodable {
2121
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
2222
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
2323
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
24-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
24+
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
2525
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
2626
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2727
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet
@@ -221,7 +221,7 @@ public struct FallbackParams: Codable, JSONEncodable {
221221
/// matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY/NYC\" are considered exact matches. -
222222
/// `multiWordsSynonym`. Multi-word synonyms, such as \"NY/New York\" are considered exact matches.
223223
public var alternativesAsExact: [RecommendAlternativesAsExact]?
224-
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
224+
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
225225
/// For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". -
226226
/// `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine`
227227
/// matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax`
@@ -261,7 +261,7 @@ public struct FallbackParams: Codable, JSONEncodable {
261261
/// attribute is determined by the order in the `searchableAttributes` setting.
262262
public var attributeCriteriaComputedByMinProximity: Bool?
263263
public var renderingContent: RecommendRenderingContent?
264-
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
264+
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
265265
/// This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
266266
public var enableReRanking: Bool?
267267
public var reRankingApplyFilter: RecommendReRankingApplyFilter?

Sources/Recommend/Models/ParamsConsequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public struct ParamsConsequence: Codable, JSONEncodable {
1616
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
1717
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
1818
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
19-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
19+
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
2020
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
2121
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2222
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet

Sources/Recommend/Models/RecommendBaseSearchParams.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct RecommendBaseSearchParams: Codable, JSONEncodable {
2121
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
2222
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
2323
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
24-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
24+
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
2525
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
2626
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2727
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet

Sources/Recommend/Models/RecommendBaseSearchParamsWithoutQuery.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public struct RecommendBaseSearchParamsWithoutQuery: Codable, JSONEncodable {
1919
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
2020
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
2121
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
22-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
22+
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
2323
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
2424
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2525
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet

Sources/Recommend/Models/RecommendCondition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public struct RecommendCondition: Codable, JSONEncodable {
1414
/// upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet
1515
/// attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>`
1616
/// (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and
17-
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
17+
/// `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`.
1818
/// **Not supported:** `facet:value OR num > 3`. - You can't use `NOT` with combinations of filters. **Not
1919
/// supported:** `NOT(facet:value OR facet:value)` - You can't combine conjunctions (`AND`) with `OR`. **Not
2020
/// supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet

Sources/Recommend/Models/RecommendIndexSettingsAsSearchParams.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public struct RecommendIndexSettingsAsSearchParams: Codable, JSONEncodable {
125125
/// matches. - `singleWordSynonym`. Single-word synonyms, such as \"NY/NYC\" are considered exact matches. -
126126
/// `multiWordsSynonym`. Multi-word synonyms, such as \"NY/New York\" are considered exact matches.
127127
public var alternativesAsExact: [RecommendAlternativesAsExact]?
128-
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
128+
/// Advanced search syntax features you want to support. - `exactPhrase`. Phrases in quotes must match exactly.
129129
/// For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\". -
130130
/// `excludeWords`. Query words prefixed with a `-` must not occur in a record. For example, `search -engine`
131131
/// matches records that contain \"search\" but not \"engine\". This setting only has an effect if `advancedSyntax`
@@ -165,7 +165,7 @@ public struct RecommendIndexSettingsAsSearchParams: Codable, JSONEncodable {
165165
/// attribute is determined by the order in the `searchableAttributes` setting.
166166
public var attributeCriteriaComputedByMinProximity: Bool?
167167
public var renderingContent: RecommendRenderingContent?
168-
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
168+
/// Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
169169
/// This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
170170
public var enableReRanking: Bool?
171171
public var reRankingApplyFilter: RecommendReRankingApplyFilter?

Sources/Recommend/Models/RecommendQueryType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Foundation
88

99
/// Determines if and how query words are interpreted as prefixes. By default, only the last query word is treated as
1010
/// prefix (&#x60;prefixLast&#x60;). To turn off prefix search, use &#x60;prefixNone&#x60;. Avoid &#x60;prefixAll&#x60;,
11-
/// which treats all query words as prefixes. This might lead to counterintuitive results and makes your search slower.
11+
/// which treats all query words as prefixes. This might lead to counterintuitive results and makes your search slower.
1212
/// For more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).
1313
public enum RecommendQueryType: String, Codable, CaseIterable {
1414
case prefixLast

0 commit comments

Comments
 (0)