Skip to content

Commit 7b318fb

Browse files
committed
Merge branch 'main' into feat/algoliasearch-recommend
2 parents 48ae9a2 + da3f82d commit 7b318fb

File tree

348 files changed

+21398
-1854
lines changed

Some content is hidden

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

348 files changed

+21398
-1854
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.14.0
1+
20.15.0

.yarn/releases/yarn-4.3.0.cjs renamed to .yarn/releases/yarn-4.3.1.cjs

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

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.3.0.cjs
7+
yarnPath: .yarn/releases/yarn-4.3.1.cjs

clients/algoliasearch-client-csharp/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [7.0.0-beta.5](https://github.com/algolia/algoliasearch-client-csharp/compare/7.0.0-beta.4...7.0.0-beta.5)
2+
3+
- [b7ae19f2b](https://github.com/algolia/api-clients-automation/commit/b7ae19f2b) feat(specs): add transformations endpoints to ingestion ([#3215](https://github.com/algolia/api-clients-automation/pull/3215)) by [@shortcuts](https://github.com/shortcuts/)
4+
- [a99f796dd](https://github.com/algolia/api-clients-automation/commit/a99f796dd) fix(specs): update discover endpoint ([#3212](https://github.com/algolia/api-clients-automation/pull/3212)) by [@shortcuts](https://github.com/shortcuts/)
5+
- [c91ca54f2](https://github.com/algolia/api-clients-automation/commit/c91ca54f2) feat(specs): add validate endpoint ([#3087](https://github.com/algolia/api-clients-automation/pull/3087)) by [@Fluf22](https://github.com/Fluf22/)
6+
- [36aababfd](https://github.com/algolia/api-clients-automation/commit/36aababfd) chore(clients): use the ruff python formatter ([#3204](https://github.com/algolia/api-clients-automation/pull/3204)) by [@millotp](https://github.com/millotp/)
7+
- [9ad5c8cae](https://github.com/algolia/api-clients-automation/commit/9ad5c8cae) fix(clients): reduce common tests flakyness ([#3205](https://github.com/algolia/api-clients-automation/pull/3205)) by [@millotp](https://github.com/millotp/)
8+
- [fc1752b6e](https://github.com/algolia/api-clients-automation/commit/fc1752b6e) feat(clients): add chunkedBatch helper for Kotlin and Scala ([#3206](https://github.com/algolia/api-clients-automation/pull/3206)) by [@Fluf22](https://github.com/Fluf22/)
9+
- [a58e88322](https://github.com/algolia/api-clients-automation/commit/a58e88322) feat(clients): add generateSecuredApiKey to java ([#3167](https://github.com/algolia/api-clients-automation/pull/3167)) by [@millotp](https://github.com/millotp/)
10+
111
## [7.0.0-beta.4](https://github.com/algolia/algoliasearch-client-csharp/compare/7.0.0-beta.3...7.0.0-beta.4)
212

313
- [b2a464a2b](https://github.com/algolia/api-clients-automation/commit/b2a464a2b) feat(clients): add generate_secured_api_key to ruby ([#3166](https://github.com/algolia/api-clients-automation/pull/3166)) by [@millotp](https://github.com/millotp/)

clients/algoliasearch-client-csharp/algoliasearch/Algolia.Search.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<RepositoryType>git</RepositoryType>
2222
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
2323
<Copyright>Copyright 2019 Algolia</Copyright>
24-
<Version>7.0.0-beta.4</Version>
24+
<Version>7.0.0-beta.5</Version>
2525
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2626
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
2727
<IncludeSymbols>true</IncludeSymbols>

clients/algoliasearch-client-csharp/algoliasearch/Clients/IngestionClient.cs

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

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/IngestionTask.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ public IngestionTask(string taskID, string sourceID, string destinationID, Trigg
9595
[JsonPropertyName("failureThreshold")]
9696
public int? FailureThreshold { get; set; }
9797

98+
/// <summary>
99+
/// Date of the last cursor in RFC 3339 format.
100+
/// </summary>
101+
/// <value>Date of the last cursor in RFC 3339 format.</value>
102+
[JsonPropertyName("cursor")]
103+
public string Cursor { get; set; }
104+
98105
/// <summary>
99106
/// Date of creation in RFC 3339 format.
100107
/// </summary>
@@ -125,6 +132,7 @@ public override string ToString()
125132
sb.Append(" Enabled: ").Append(Enabled).Append("\n");
126133
sb.Append(" FailureThreshold: ").Append(FailureThreshold).Append("\n");
127134
sb.Append(" Action: ").Append(Action).Append("\n");
135+
sb.Append(" Cursor: ").Append(Cursor).Append("\n");
128136
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
129137
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
130138
sb.Append("}\n");
@@ -161,6 +169,7 @@ public override bool Equals(object obj)
161169
(Enabled == input.Enabled || Enabled.Equals(input.Enabled)) &&
162170
(FailureThreshold == input.FailureThreshold || FailureThreshold.Equals(input.FailureThreshold)) &&
163171
(Action == input.Action || Action.Equals(input.Action)) &&
172+
(Cursor == input.Cursor || (Cursor != null && Cursor.Equals(input.Cursor))) &&
164173
(CreatedAt == input.CreatedAt || (CreatedAt != null && CreatedAt.Equals(input.CreatedAt))) &&
165174
(UpdatedAt == input.UpdatedAt || (UpdatedAt != null && UpdatedAt.Equals(input.UpdatedAt)));
166175
}
@@ -197,6 +206,10 @@ public override int GetHashCode()
197206
hashCode = (hashCode * 59) + Enabled.GetHashCode();
198207
hashCode = (hashCode * 59) + FailureThreshold.GetHashCode();
199208
hashCode = (hashCode * 59) + Action.GetHashCode();
209+
if (Cursor != null)
210+
{
211+
hashCode = (hashCode * 59) + Cursor.GetHashCode();
212+
}
200213
if (CreatedAt != null)
201214
{
202215
hashCode = (hashCode * 59) + CreatedAt.GetHashCode();
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
//
2+
// 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.
3+
//
4+
using System;
5+
using System.Text;
6+
using System.Linq;
7+
using System.Text.Json.Serialization;
8+
using System.Collections.Generic;
9+
using Algolia.Search.Serializer;
10+
using System.Text.Json;
11+
12+
namespace Algolia.Search.Models.Ingestion;
13+
14+
/// <summary>
15+
/// Configured transformations and pagination information.
16+
/// </summary>
17+
public partial class ListTransformationsResponse
18+
{
19+
/// <summary>
20+
/// Initializes a new instance of the ListTransformationsResponse class.
21+
/// </summary>
22+
[JsonConstructor]
23+
public ListTransformationsResponse() { }
24+
/// <summary>
25+
/// Initializes a new instance of the ListTransformationsResponse class.
26+
/// </summary>
27+
/// <param name="transformations">transformations (required).</param>
28+
/// <param name="pagination">pagination (required).</param>
29+
public ListTransformationsResponse(List<Transformation> transformations, Pagination pagination)
30+
{
31+
Transformations = transformations ?? throw new ArgumentNullException(nameof(transformations));
32+
Pagination = pagination ?? throw new ArgumentNullException(nameof(pagination));
33+
}
34+
35+
/// <summary>
36+
/// Gets or Sets Transformations
37+
/// </summary>
38+
[JsonPropertyName("transformations")]
39+
public List<Transformation> Transformations { get; set; }
40+
41+
/// <summary>
42+
/// Gets or Sets Pagination
43+
/// </summary>
44+
[JsonPropertyName("pagination")]
45+
public Pagination Pagination { get; set; }
46+
47+
/// <summary>
48+
/// Returns the string presentation of the object
49+
/// </summary>
50+
/// <returns>String presentation of the object</returns>
51+
public override string ToString()
52+
{
53+
StringBuilder sb = new StringBuilder();
54+
sb.Append("class ListTransformationsResponse {\n");
55+
sb.Append(" Transformations: ").Append(Transformations).Append("\n");
56+
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
57+
sb.Append("}\n");
58+
return sb.ToString();
59+
}
60+
61+
/// <summary>
62+
/// Returns the JSON string presentation of the object
63+
/// </summary>
64+
/// <returns>JSON string presentation of the object</returns>
65+
public virtual string ToJson()
66+
{
67+
return JsonSerializer.Serialize(this, JsonConfig.Options);
68+
}
69+
70+
/// <summary>
71+
/// Returns true if objects are equal
72+
/// </summary>
73+
/// <param name="obj">Object to be compared</param>
74+
/// <returns>Boolean</returns>
75+
public override bool Equals(object obj)
76+
{
77+
if (obj is not ListTransformationsResponse input)
78+
{
79+
return false;
80+
}
81+
82+
return
83+
(Transformations == input.Transformations || Transformations != null && input.Transformations != null && Transformations.SequenceEqual(input.Transformations)) &&
84+
(Pagination == input.Pagination || (Pagination != null && Pagination.Equals(input.Pagination)));
85+
}
86+
87+
/// <summary>
88+
/// Gets the hash code
89+
/// </summary>
90+
/// <returns>Hash code</returns>
91+
public override int GetHashCode()
92+
{
93+
unchecked // Overflow is fine, just wrap
94+
{
95+
int hashCode = 41;
96+
if (Transformations != null)
97+
{
98+
hashCode = (hashCode * 59) + Transformations.GetHashCode();
99+
}
100+
if (Pagination != null)
101+
{
102+
hashCode = (hashCode * 59) + Pagination.GetHashCode();
103+
}
104+
return hashCode;
105+
}
106+
}
107+
108+
}
109+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
//
2+
// 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.
3+
//
4+
using System;
5+
using System.Text;
6+
using System.Linq;
7+
using System.Text.Json.Serialization;
8+
using System.Collections.Generic;
9+
using Algolia.Search.Serializer;
10+
using System.Text.Json;
11+
12+
namespace Algolia.Search.Models.Ingestion;
13+
14+
/// <summary>
15+
/// Property by which to sort the list.
16+
/// </summary>
17+
/// <value>Property by which to sort the list.</value>
18+
public enum SortKeys
19+
{
20+
/// <summary>
21+
/// Enum Name for value: name
22+
/// </summary>
23+
[JsonPropertyName("name")]
24+
Name = 1,
25+
26+
/// <summary>
27+
/// Enum Type for value: type
28+
/// </summary>
29+
[JsonPropertyName("type")]
30+
Type = 2,
31+
32+
/// <summary>
33+
/// Enum UpdatedAt for value: updatedAt
34+
/// </summary>
35+
[JsonPropertyName("updatedAt")]
36+
UpdatedAt = 3,
37+
38+
/// <summary>
39+
/// Enum CreatedAt for value: createdAt
40+
/// </summary>
41+
[JsonPropertyName("createdAt")]
42+
CreatedAt = 4
43+
}
44+

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/TaskCreate.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ public TaskCreate(string sourceID, string destinationID, TaskCreateTrigger trigg
8282
[JsonPropertyName("input")]
8383
public TaskInput Input { get; set; }
8484

85+
/// <summary>
86+
/// Date of the last cursor in RFC 3339 format.
87+
/// </summary>
88+
/// <value>Date of the last cursor in RFC 3339 format.</value>
89+
[JsonPropertyName("cursor")]
90+
public string Cursor { get; set; }
91+
8592
/// <summary>
8693
/// Returns the string presentation of the object
8794
/// </summary>
@@ -97,6 +104,7 @@ public override string ToString()
97104
sb.Append(" Enabled: ").Append(Enabled).Append("\n");
98105
sb.Append(" FailureThreshold: ").Append(FailureThreshold).Append("\n");
99106
sb.Append(" Input: ").Append(Input).Append("\n");
107+
sb.Append(" Cursor: ").Append(Cursor).Append("\n");
100108
sb.Append("}\n");
101109
return sb.ToString();
102110
}
@@ -129,7 +137,8 @@ public override bool Equals(object obj)
129137
(Action == input.Action || Action.Equals(input.Action)) &&
130138
(Enabled == input.Enabled || Enabled.Equals(input.Enabled)) &&
131139
(FailureThreshold == input.FailureThreshold || FailureThreshold.Equals(input.FailureThreshold)) &&
132-
(Input == input.Input || (Input != null && Input.Equals(input.Input)));
140+
(Input == input.Input || (Input != null && Input.Equals(input.Input))) &&
141+
(Cursor == input.Cursor || (Cursor != null && Cursor.Equals(input.Cursor)));
133142
}
134143

135144
/// <summary>
@@ -160,6 +169,10 @@ public override int GetHashCode()
160169
{
161170
hashCode = (hashCode * 59) + Input.GetHashCode();
162171
}
172+
if (Cursor != null)
173+
{
174+
hashCode = (hashCode * 59) + Cursor.GetHashCode();
175+
}
163176
return hashCode;
164177
}
165178
}

0 commit comments

Comments
 (0)