Skip to content

Commit

Permalink
chore: generated code for commit 0f8d4432. [skip ci]
Browse files Browse the repository at this point in the history
algolia/api-clients-automation@0f8d443

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
Co-authored-by: shortcuts <[email protected]>
  • Loading branch information
3 people committed Mar 13, 2024
1 parent 26f9503 commit b5a6ca6
Show file tree
Hide file tree
Showing 19 changed files with 82 additions and 82 deletions.
12 changes: 6 additions & 6 deletions packages/client-insights/model/addedToCartObjectIDs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { Value } from './value';
*/
export type AddedToCartObjectIDs = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

Expand All @@ -19,22 +19,22 @@ export type AddedToCartObjectIDs = {
eventSubtype: AddToCartEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* The object IDs of the records that are part of the event.
* Object IDs of the records that are part of the event.
*/
objectIDs: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

Expand All @@ -49,7 +49,7 @@ export type AddedToCartObjectIDs = {
objectData?: ObjectData[];

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { Value } from './value';
*/
export type AddedToCartObjectIDsAfterSearch = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

Expand All @@ -19,7 +19,7 @@ export type AddedToCartObjectIDsAfterSearch = {
eventSubtype: AddToCartEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

Expand All @@ -29,17 +29,17 @@ export type AddedToCartObjectIDsAfterSearch = {
queryID: string;

/**
* The object IDs of the records that are part of the event.
* Object IDs of the records that are part of the event.
*/
objectIDs: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

Expand All @@ -54,7 +54,7 @@ export type AddedToCartObjectIDsAfterSearch = {
objectData?: ObjectDataAfterSearch[];

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;

Expand Down
12 changes: 6 additions & 6 deletions packages/client-insights/model/clickedFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ import type { ClickEvent } from './clickEvent';
*/
export type ClickedFilters = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

eventType: ClickEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* Facet filters. Each facet filter string must be URL-encoded, such as, `discount:10%25`.
* Applied facet filters. Facet filters are `facet:value` pairs. Facet values must be URL-encoded, such as, `discount:10%25`.
*/
filters: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;
};
12 changes: 6 additions & 6 deletions packages/client-insights/model/clickedObjectIDs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ import type { ClickEvent } from './clickEvent';
*/
export type ClickedObjectIDs = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

eventType: ClickEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* The object IDs of the records that are part of the event.
* Object IDs of the records that are part of the event.
*/
objectIDs: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;
};
14 changes: 7 additions & 7 deletions packages/client-insights/model/clickedObjectIDsAfterSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ import type { ClickEvent } from './clickEvent';
*/
export type ClickedObjectIDsAfterSearch = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

eventType: ClickEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* The object IDs of the records that are part of the event.
* Object IDs of the records that are part of the event.
*/
objectIDs: string[];

/**
* The position of the clicked item the search results. The first search result has a position of 1 (not 0). You must provide 1 `position` for each `objectID`.
* Position of the clicked item the search results. You must provide 1 `position` for each `objectID`.
*/
positions: number[];

Expand All @@ -34,17 +34,17 @@ export type ClickedObjectIDsAfterSearch = {
queryID: string;

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;
};
2 changes: 1 addition & 1 deletion packages/client-insights/model/clientMethodProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export type CustomPutProps = {
*/
export type DeleteUserTokenProps = {
/**
* The user token for which to delete all associated events.
* User token for which to delete all associated events.
*/
userToken: string;
};
12 changes: 6 additions & 6 deletions packages/client-insights/model/convertedFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,34 @@ import type { ConversionEvent } from './conversionEvent';

export type ConvertedFilters = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

eventType: ConversionEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* Facet filters. Each facet filter string must be URL-encoded, such as, `discount:10%25`.
* Applied facet filters. Facet filters are `facet:value` pairs. Facet values must be URL-encoded, such as, `discount:10%25`.
*/
filters: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;
};
12 changes: 6 additions & 6 deletions packages/client-insights/model/convertedObjectIDs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ import type { ConversionEvent } from './conversionEvent';
*/
export type ConvertedObjectIDs = {
/**
* The name of the event, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
* Event name, up to 64 ASCII characters. Consider naming events consistently—for example, by adopting Segment\'s [object-action](https://segment.com/academy/collecting-data/naming-conventions-for-clean-data/#the-object-action-framework) framework.
*/
eventName: string;

eventType: ConversionEvent;

/**
* The name of an Algolia index.
* Index name to which the event\'s items belong.
*/
index: string;

/**
* The object IDs of the records that are part of the event.
* Object IDs of the records that are part of the event.
*/
objectIDs: string[];

/**
* An anonymous or pseudonymous user identifier. > **Note**: Never include personally identifiable information in user tokens.
* Anonymous or pseudonymous user identifier. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
userToken: string;

/**
* An identifier for authenticated users. > **Note**: Never include personally identifiable information in user tokens.
* Identifier for authenticated users. When the user signs in, you can get an identifier from your system and send it as `authenticatedUserToken`. This lets you keep using the `userToken` from before the user signed in, while providing a reliable way to identify users across sessions. Don\'t use personally identifiable information in user tokens. For more information, see [User token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
*/
authenticatedUserToken?: string;

/**
* The timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
* Timestamp of the event in milliseconds in [Unix epoch time](https://wikipedia.org/wiki/Unix_time). By default, the Insights API uses the time it receives an event as its timestamp.
*/
timestamp?: number;
};
Loading

0 comments on commit b5a6ca6

Please sign in to comment.