Skip to content

Commit da185a9

Browse files
algolia-botkai687shortcuts
committed
chore: generated code for commit 34e345d4. [skip ci]
algolia/api-clients-automation@34e345d Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent e433b99 commit da185a9

File tree

65 files changed

+518
-586
lines changed

Some content is hidden

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

65 files changed

+518
-586
lines changed

Sources/Analytics/AnalyticsClient.swift

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

Sources/Analytics/Models/GetStatusResponse.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import Foundation
77
#endif
88

99
public struct GetStatusResponse: Codable, JSONEncodable {
10-
/// Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. If null, no update was
11-
/// performed yet.
10+
/// Date and time when the object was updated, in RFC 3339 format.
1211
public var updatedAt: String?
1312

1413
public init(updatedAt: String?) {

Sources/Ingestion/Models/DestinationType.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ import Foundation
66
import Core
77
#endif
88

9-
/// Destination type. &lt;dl&gt; &lt;dt&gt;&lt;code&gt;search&lt;/code&gt;&lt;/dt&gt; &lt;dd&gt;Data is stored in an
10-
/// Algolia index.&lt;/dd&gt; &lt;dt&gt;&lt;code&gt;insights&lt;/code&gt;&lt;/dt&gt; &lt;dd&gt;Data is recorded as user
11-
/// events in the Insights API.&lt;/dd&gt; &lt;/dl&gt;.
9+
/// Destination type. - &#x60;search&#x60;. Data is stored in an Algolia index. - &#x60;insights&#x60;. Data is
10+
/// recorded as user events in the Insights API.
1211
public enum DestinationType: String, Codable, CaseIterable {
1312
case search
1413
case insights

Sources/Ingestion/Models/TriggerType.swift

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ import Foundation
66
import Core
77
#endif
88

9-
/// Task trigger, describing when a task should run. &lt;dl&gt; &lt;dt&gt;&lt;code&gt;onDemand&lt;/code&gt;&lt;/dt&gt;
10-
/// &lt;dd&gt; Manually trigger the task with the &#x60;/run&#x60; endpoint. &lt;/dd&gt;
11-
/// &lt;dt&gt;&lt;code&gt;schedule&lt;/code&gt;&lt;/dt&gt; &lt;dd&gt; Regularly trigger the task on a &#x60;cron&#x60;
12-
/// schedule. &lt;/dd&gt; &lt;dt&gt;&lt;code&gt;subscription&lt;/code&gt;&lt;/dt&gt; &lt;dd&gt; Trigger the task
13-
/// after an event is received, such as, a webhook. &lt;/dd&gt;
14-
/// &lt;dt&gt;&lt;code&gt;streaming&lt;/code&gt;&lt;/dt&gt; &lt;dd&gt; Run the task continuously. &lt;/dd&gt;
15-
/// &lt;/dl&gt;.
9+
/// Task trigger, describing when a task should run. - &#x60;onDemand&#x60;. Manually trigger the task with the
10+
/// &#x60;/run&#x60; endpoint. - &#x60;schedule&#x60;. Regularly trigger the task on a &#x60;cron&#x60; schedule. -
11+
/// &#x60;subscription&#x60;. Trigger the task after an event is received, such as, a webhook. -
12+
/// &#x60;streaming&#x60;. Run the task continuously.
1613
public enum TriggerType: String, Codable, CaseIterable {
1714
case onDemand
1815
case schedule

Sources/Insights/Models/AddedToCartObjectIDs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public struct AddedToCartObjectIDs: Codable, JSONEncodable {
3333
/// Extra information about the records involved in a purchase or add-to-cart event. If specified, it must have the
3434
/// same length as `objectIDs`.
3535
public var objectData: [ObjectData]?
36-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
37-
/// the Insights API uses the time it receives an event as its timestamp.
36+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
37+
/// time it receives an event as its timestamp.
3838
public var timestamp: Int64?
3939
public var value: InsightsValue?
4040

Sources/Insights/Models/AddedToCartObjectIDsAfterSearch.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public struct AddedToCartObjectIDsAfterSearch: Codable, JSONEncodable {
3535
/// Extra information about the records involved in a purchase or add-to-cart events. If provided, it must be the
3636
/// same length as `objectIDs`.
3737
public var objectData: [ObjectDataAfterSearch]?
38-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
39-
/// the Insights API uses the time it receives an event as its timestamp.
38+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
39+
/// time it receives an event as its timestamp.
4040
public var timestamp: Int64?
4141
public var value: InsightsValue?
4242

Sources/Insights/Models/ClickedFilters.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public struct ClickedFilters: Codable, JSONEncodable {
2626
/// user tokens. For more information, see [User
2727
/// token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
2828
public var authenticatedUserToken: String?
29-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
30-
/// the Insights API uses the time it receives an event as its timestamp.
29+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
30+
/// time it receives an event as its timestamp.
3131
public var timestamp: Int64?
3232

3333
public init(

Sources/Insights/Models/ClickedObjectIDs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public struct ClickedObjectIDs: Codable, JSONEncodable {
2727
/// user tokens. For more information, see [User
2828
/// token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
2929
public var authenticatedUserToken: String?
30-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
31-
/// the Insights API uses the time it receives an event as its timestamp.
30+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
31+
/// time it receives an event as its timestamp.
3232
public var timestamp: Int64?
3333

3434
public init(

Sources/Insights/Models/ClickedObjectIDsAfterSearch.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public struct ClickedObjectIDsAfterSearch: Codable, JSONEncodable {
3131
/// user tokens. For more information, see [User
3232
/// token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
3333
public var authenticatedUserToken: String?
34-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
35-
/// the Insights API uses the time it receives an event as its timestamp.
34+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
35+
/// time it receives an event as its timestamp.
3636
public var timestamp: Int64?
3737

3838
public init(

Sources/Insights/Models/ConvertedFilters.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public struct ConvertedFilters: Codable, JSONEncodable {
2525
/// user tokens. For more information, see [User
2626
/// token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
2727
public var authenticatedUserToken: String?
28-
/// Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default,
29-
/// the Insights API uses the time it receives an event as its timestamp.
28+
/// Timestamp of the event, measured in milliseconds since the Unix epoch. By default, the Insights API uses the
29+
/// time it receives an event as its timestamp.
3030
public var timestamp: Int64?
3131

3232
public init(

0 commit comments

Comments
 (0)