Skip to content

Commit

Permalink
Merge branch 'main' into feat/algoliasearch-recommend
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Jun 24, 2024
2 parents 48ae9a2 + da3f82d commit 7b318fb
Show file tree
Hide file tree
Showing 348 changed files with 21,398 additions and 1,854 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
20.15.0
434 changes: 217 additions & 217 deletions .yarn/releases/yarn-4.3.0.cjs → .yarn/releases/yarn-4.3.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.0.cjs
yarnPath: .yarn/releases/yarn-4.3.1.cjs
10 changes: 10 additions & 0 deletions clients/algoliasearch-client-csharp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [7.0.0-beta.5](https://github.com/algolia/algoliasearch-client-csharp/compare/7.0.0-beta.4...7.0.0-beta.5)

- [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/)
- [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/)
- [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/)
- [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/)
- [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/)
- [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/)
- [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/)

## [7.0.0-beta.4](https://github.com/algolia/algoliasearch-client-csharp/compare/7.0.0-beta.3...7.0.0-beta.4)

- [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/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RepositoryType>git</RepositoryType>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<Copyright>Copyright 2019 Algolia</Copyright>
<Version>7.0.0-beta.4</Version>
<Version>7.0.0-beta.5</Version>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
<IncludeSymbols>true</IncludeSymbols>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ public IngestionTask(string taskID, string sourceID, string destinationID, Trigg
[JsonPropertyName("failureThreshold")]
public int? FailureThreshold { get; set; }

/// <summary>
/// Date of the last cursor in RFC 3339 format.
/// </summary>
/// <value>Date of the last cursor in RFC 3339 format.</value>
[JsonPropertyName("cursor")]
public string Cursor { get; set; }

/// <summary>
/// Date of creation in RFC 3339 format.
/// </summary>
Expand Down Expand Up @@ -125,6 +132,7 @@ public override string ToString()
sb.Append(" Enabled: ").Append(Enabled).Append("\n");
sb.Append(" FailureThreshold: ").Append(FailureThreshold).Append("\n");
sb.Append(" Action: ").Append(Action).Append("\n");
sb.Append(" Cursor: ").Append(Cursor).Append("\n");
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
sb.Append("}\n");
Expand Down Expand Up @@ -161,6 +169,7 @@ public override bool Equals(object obj)
(Enabled == input.Enabled || Enabled.Equals(input.Enabled)) &&
(FailureThreshold == input.FailureThreshold || FailureThreshold.Equals(input.FailureThreshold)) &&
(Action == input.Action || Action.Equals(input.Action)) &&
(Cursor == input.Cursor || (Cursor != null && Cursor.Equals(input.Cursor))) &&
(CreatedAt == input.CreatedAt || (CreatedAt != null && CreatedAt.Equals(input.CreatedAt))) &&
(UpdatedAt == input.UpdatedAt || (UpdatedAt != null && UpdatedAt.Equals(input.UpdatedAt)));
}
Expand Down Expand Up @@ -197,6 +206,10 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + Enabled.GetHashCode();
hashCode = (hashCode * 59) + FailureThreshold.GetHashCode();
hashCode = (hashCode * 59) + Action.GetHashCode();
if (Cursor != null)
{
hashCode = (hashCode * 59) + Cursor.GetHashCode();
}
if (CreatedAt != null)
{
hashCode = (hashCode * 59) + CreatedAt.GetHashCode();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
//
// 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.
//
using System;
using System.Text;
using System.Linq;
using System.Text.Json.Serialization;
using System.Collections.Generic;
using Algolia.Search.Serializer;
using System.Text.Json;

namespace Algolia.Search.Models.Ingestion;

/// <summary>
/// Configured transformations and pagination information.
/// </summary>
public partial class ListTransformationsResponse
{
/// <summary>
/// Initializes a new instance of the ListTransformationsResponse class.
/// </summary>
[JsonConstructor]
public ListTransformationsResponse() { }
/// <summary>
/// Initializes a new instance of the ListTransformationsResponse class.
/// </summary>
/// <param name="transformations">transformations (required).</param>
/// <param name="pagination">pagination (required).</param>
public ListTransformationsResponse(List<Transformation> transformations, Pagination pagination)
{
Transformations = transformations ?? throw new ArgumentNullException(nameof(transformations));
Pagination = pagination ?? throw new ArgumentNullException(nameof(pagination));
}

/// <summary>
/// Gets or Sets Transformations
/// </summary>
[JsonPropertyName("transformations")]
public List<Transformation> Transformations { get; set; }

/// <summary>
/// Gets or Sets Pagination
/// </summary>
[JsonPropertyName("pagination")]
public Pagination Pagination { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class ListTransformationsResponse {\n");
sb.Append(" Transformations: ").Append(Transformations).Append("\n");
sb.Append(" Pagination: ").Append(Pagination).Append("\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonSerializer.Serialize(this, JsonConfig.Options);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="obj">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object obj)
{
if (obj is not ListTransformationsResponse input)
{
return false;
}

return
(Transformations == input.Transformations || Transformations != null && input.Transformations != null && Transformations.SequenceEqual(input.Transformations)) &&
(Pagination == input.Pagination || (Pagination != null && Pagination.Equals(input.Pagination)));
}

/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (Transformations != null)
{
hashCode = (hashCode * 59) + Transformations.GetHashCode();
}
if (Pagination != null)
{
hashCode = (hashCode * 59) + Pagination.GetHashCode();
}
return hashCode;
}
}

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// 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.
//
using System;
using System.Text;
using System.Linq;
using System.Text.Json.Serialization;
using System.Collections.Generic;
using Algolia.Search.Serializer;
using System.Text.Json;

namespace Algolia.Search.Models.Ingestion;

/// <summary>
/// Property by which to sort the list.
/// </summary>
/// <value>Property by which to sort the list.</value>
public enum SortKeys
{
/// <summary>
/// Enum Name for value: name
/// </summary>
[JsonPropertyName("name")]
Name = 1,

/// <summary>
/// Enum Type for value: type
/// </summary>
[JsonPropertyName("type")]
Type = 2,

/// <summary>
/// Enum UpdatedAt for value: updatedAt
/// </summary>
[JsonPropertyName("updatedAt")]
UpdatedAt = 3,

/// <summary>
/// Enum CreatedAt for value: createdAt
/// </summary>
[JsonPropertyName("createdAt")]
CreatedAt = 4
}

Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ public TaskCreate(string sourceID, string destinationID, TaskCreateTrigger trigg
[JsonPropertyName("input")]
public TaskInput Input { get; set; }

/// <summary>
/// Date of the last cursor in RFC 3339 format.
/// </summary>
/// <value>Date of the last cursor in RFC 3339 format.</value>
[JsonPropertyName("cursor")]
public string Cursor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -97,6 +104,7 @@ public override string ToString()
sb.Append(" Enabled: ").Append(Enabled).Append("\n");
sb.Append(" FailureThreshold: ").Append(FailureThreshold).Append("\n");
sb.Append(" Input: ").Append(Input).Append("\n");
sb.Append(" Cursor: ").Append(Cursor).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -129,7 +137,8 @@ public override bool Equals(object obj)
(Action == input.Action || Action.Equals(input.Action)) &&
(Enabled == input.Enabled || Enabled.Equals(input.Enabled)) &&
(FailureThreshold == input.FailureThreshold || FailureThreshold.Equals(input.FailureThreshold)) &&
(Input == input.Input || (Input != null && Input.Equals(input.Input)));
(Input == input.Input || (Input != null && Input.Equals(input.Input))) &&
(Cursor == input.Cursor || (Cursor != null && Cursor.Equals(input.Cursor)));
}

/// <summary>
Expand Down Expand Up @@ -160,6 +169,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + Input.GetHashCode();
}
if (Cursor != null)
{
hashCode = (hashCode * 59) + Cursor.GetHashCode();
}
return hashCode;
}
}
Expand Down
Loading

0 comments on commit 7b318fb

Please sign in to comment.