@algolia/client-personalization 5.0.0-alpha.7 → 5.0.0-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builds/browser.d.ts +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/client-personalization.cjs.js +283 -285
- package/dist/client-personalization.esm.browser.js +466 -516
- package/dist/client-personalization.esm.node.js +283 -285
- package/dist/client-personalization.umd.js +2 -2
- package/dist/model/clientMethodProps.d.ts +78 -78
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/deleteUserProfileResponse.d.ts +10 -10
- package/dist/model/deleteUserProfileResponse.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/eventScoring.d.ts +14 -14
- package/dist/model/eventScoring.d.ts.map +1 -1
- package/dist/model/facetScoring.d.ts +10 -10
- package/dist/model/facetScoring.d.ts.map +1 -1
- package/dist/model/getUserTokenResponse.d.ts +14 -14
- package/dist/model/getUserTokenResponse.d.ts.map +1 -1
- package/dist/model/index.d.ts +8 -8
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/personalizationStrategyParams.d.ts +16 -16
- package/dist/model/personalizationStrategyParams.d.ts.map +1 -1
- package/dist/model/setPersonalizationStrategyResponse.d.ts +6 -6
- package/dist/model/setPersonalizationStrategyResponse.d.ts.map +1 -1
- package/dist/src/personalizationClient.d.ts +112 -112
- package/dist/src/personalizationClient.d.ts.map +1 -1
- package/model/clientMethodProps.ts +1 -1
- package/model/deleteUserProfileResponse.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/eventScoring.ts +1 -1
- package/model/facetScoring.ts +1 -1
- package/model/getUserTokenResponse.ts +1 -1
- package/model/index.ts +1 -1
- package/model/personalizationStrategyParams.ts +1 -1
- package/model/setPersonalizationStrategyResponse.ts +1 -1
- package/package.json +31 -13
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
|
|
2
|
-
import type { DelProps, DeleteUserProfileProps, GetProps, GetUserTokenProfileProps, PostProps, PutProps } from '../model/clientMethodProps';
|
|
3
|
-
import type { DeleteUserProfileResponse } from '../model/deleteUserProfileResponse';
|
|
4
|
-
import type { GetUserTokenResponse } from '../model/getUserTokenResponse';
|
|
5
|
-
import type { PersonalizationStrategyParams } from '../model/personalizationStrategyParams';
|
|
6
|
-
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse';
|
|
7
|
-
export declare const apiClientVersion = "5.0.0-alpha.
|
|
8
|
-
export declare const REGIONS: readonly ["eu", "us"];
|
|
9
|
-
export
|
|
10
|
-
export declare function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
|
|
11
|
-
region: Region;
|
|
12
|
-
}): {
|
|
13
|
-
transporter: import("@algolia/client-common").Transporter;
|
|
14
|
-
/**
|
|
15
|
-
* The `appId` currently in use.
|
|
16
|
-
*/
|
|
17
|
-
appId: string;
|
|
18
|
-
/**
|
|
19
|
-
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
|
|
20
|
-
*/
|
|
21
|
-
clearCache(): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
|
|
24
|
-
*/
|
|
25
|
-
readonly _ua: string;
|
|
26
|
-
/**
|
|
27
|
-
* Adds a `segment` to the `x-algolia-agent` sent with every requests.
|
|
28
|
-
*
|
|
29
|
-
* @param segment - The algolia agent (user-agent) segment to add.
|
|
30
|
-
* @param version - The version of the agent.
|
|
31
|
-
*/
|
|
32
|
-
addAlgoliaAgent(segment: string, version?: string): void;
|
|
33
|
-
/**
|
|
34
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
35
|
-
*
|
|
36
|
-
* @summary Send requests to the Algolia REST API.
|
|
37
|
-
* @param del - The del object.
|
|
38
|
-
* @param del.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
39
|
-
* @param del.parameters - Query parameters to be applied to the current query.
|
|
40
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
41
|
-
*/
|
|
42
|
-
del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
43
|
-
/**
|
|
44
|
-
* Delete the user profile and all its associated data. Returns, as part of the response, a date until which the data can safely be considered as deleted for the given user. This means if you send events for the given user before this date, they will be ignored. Any data received after the deletedUntil date will start building a new user profile. It might take a couple hours for the deletion request to be fully processed.
|
|
45
|
-
*
|
|
46
|
-
* @summary Delete a user profile.
|
|
47
|
-
* @param deleteUserProfile - The deleteUserProfile object.
|
|
48
|
-
* @param deleteUserProfile.userToken - UserToken representing the user for which to fetch the Personalization profile.
|
|
49
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
50
|
-
*/
|
|
51
|
-
deleteUserProfile({ userToken }: DeleteUserProfileProps, requestOptions?: RequestOptions): Promise<DeleteUserProfileResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
54
|
-
*
|
|
55
|
-
* @summary Send requests to the Algolia REST API.
|
|
56
|
-
* @param get - The get object.
|
|
57
|
-
* @param get.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
58
|
-
* @param get.parameters - Query parameters to be applied to the current query.
|
|
59
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
60
|
-
*/
|
|
61
|
-
get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
62
|
-
/**
|
|
63
|
-
* The strategy contains information on the events and facets that impact user profiles and personalized search results.
|
|
64
|
-
*
|
|
65
|
-
* @summary Get the current strategy.
|
|
66
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
67
|
-
*/
|
|
68
|
-
getPersonalizationStrategy(requestOptions?: RequestOptions): Promise<PersonalizationStrategyParams>;
|
|
69
|
-
/**
|
|
70
|
-
* Get the user profile built from Personalization strategy. The profile is structured by facet name used in the strategy. Each facet value is mapped to its score. Each score represents the user affinity for a specific facet value given the userToken past events and the Personalization strategy defined. Scores are bounded to 20. The last processed event timestamp is provided using the ISO 8601 format for debugging purposes.
|
|
71
|
-
*
|
|
72
|
-
* @summary Get a user profile.
|
|
73
|
-
* @param getUserTokenProfile - The getUserTokenProfile object.
|
|
74
|
-
* @param getUserTokenProfile.userToken - UserToken representing the user for which to fetch the Personalization profile.
|
|
75
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
76
|
-
*/
|
|
77
|
-
getUserTokenProfile({ userToken }: GetUserTokenProfileProps, requestOptions?: RequestOptions): Promise<GetUserTokenResponse>;
|
|
78
|
-
/**
|
|
79
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
80
|
-
*
|
|
81
|
-
* @summary Send requests to the Algolia REST API.
|
|
82
|
-
* @param post - The post object.
|
|
83
|
-
* @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
84
|
-
* @param post.parameters - Query parameters to be applied to the current query.
|
|
85
|
-
* @param post.body - The parameters to send with the custom request.
|
|
86
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
87
|
-
*/
|
|
88
|
-
post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
89
|
-
/**
|
|
90
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
91
|
-
*
|
|
92
|
-
* @summary Send requests to the Algolia REST API.
|
|
93
|
-
* @param put - The put object.
|
|
94
|
-
* @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
95
|
-
* @param put.parameters - Query parameters to be applied to the current query.
|
|
96
|
-
* @param put.body - The parameters to send with the custom request.
|
|
97
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
98
|
-
*/
|
|
99
|
-
put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
100
|
-
/**
|
|
101
|
-
* A strategy defines the events and facets that impact user profiles and personalized search results.
|
|
102
|
-
*
|
|
103
|
-
* @summary Set a new strategy.
|
|
104
|
-
* @param personalizationStrategyParams - The personalizationStrategyParams object.
|
|
105
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
106
|
-
*/
|
|
107
|
-
setPersonalizationStrategy(personalizationStrategyParams: PersonalizationStrategyParams, requestOptions?: RequestOptions): Promise<SetPersonalizationStrategyResponse>;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* The client type.
|
|
111
|
-
*/
|
|
112
|
-
export
|
|
1
|
+
import type { CreateClientOptions, RequestOptions } from '@algolia/client-common';
|
|
2
|
+
import type { DelProps, DeleteUserProfileProps, GetProps, GetUserTokenProfileProps, PostProps, PutProps } from '../model/clientMethodProps';
|
|
3
|
+
import type { DeleteUserProfileResponse } from '../model/deleteUserProfileResponse';
|
|
4
|
+
import type { GetUserTokenResponse } from '../model/getUserTokenResponse';
|
|
5
|
+
import type { PersonalizationStrategyParams } from '../model/personalizationStrategyParams';
|
|
6
|
+
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse';
|
|
7
|
+
export declare const apiClientVersion = "5.0.0-alpha.71";
|
|
8
|
+
export declare const REGIONS: readonly ["eu", "us"];
|
|
9
|
+
export type Region = (typeof REGIONS)[number];
|
|
10
|
+
export declare function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
|
|
11
|
+
region: Region;
|
|
12
|
+
}): {
|
|
13
|
+
transporter: import("@algolia/client-common").Transporter;
|
|
14
|
+
/**
|
|
15
|
+
* The `appId` currently in use.
|
|
16
|
+
*/
|
|
17
|
+
appId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Clears the cache of the transporter for the `requestsCache` and `responsesCache` properties.
|
|
20
|
+
*/
|
|
21
|
+
clearCache(): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
|
|
24
|
+
*/
|
|
25
|
+
readonly _ua: string;
|
|
26
|
+
/**
|
|
27
|
+
* Adds a `segment` to the `x-algolia-agent` sent with every requests.
|
|
28
|
+
*
|
|
29
|
+
* @param segment - The algolia agent (user-agent) segment to add.
|
|
30
|
+
* @param version - The version of the agent.
|
|
31
|
+
*/
|
|
32
|
+
addAlgoliaAgent(segment: string, version?: string): void;
|
|
33
|
+
/**
|
|
34
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
35
|
+
*
|
|
36
|
+
* @summary Send requests to the Algolia REST API.
|
|
37
|
+
* @param del - The del object.
|
|
38
|
+
* @param del.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
39
|
+
* @param del.parameters - Query parameters to be applied to the current query.
|
|
40
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
41
|
+
*/
|
|
42
|
+
del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
43
|
+
/**
|
|
44
|
+
* Delete the user profile and all its associated data. Returns, as part of the response, a date until which the data can safely be considered as deleted for the given user. This means if you send events for the given user before this date, they will be ignored. Any data received after the deletedUntil date will start building a new user profile. It might take a couple hours for the deletion request to be fully processed.
|
|
45
|
+
*
|
|
46
|
+
* @summary Delete a user profile.
|
|
47
|
+
* @param deleteUserProfile - The deleteUserProfile object.
|
|
48
|
+
* @param deleteUserProfile.userToken - UserToken representing the user for which to fetch the Personalization profile.
|
|
49
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
50
|
+
*/
|
|
51
|
+
deleteUserProfile({ userToken }: DeleteUserProfileProps, requestOptions?: RequestOptions): Promise<DeleteUserProfileResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
54
|
+
*
|
|
55
|
+
* @summary Send requests to the Algolia REST API.
|
|
56
|
+
* @param get - The get object.
|
|
57
|
+
* @param get.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
58
|
+
* @param get.parameters - Query parameters to be applied to the current query.
|
|
59
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
60
|
+
*/
|
|
61
|
+
get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
62
|
+
/**
|
|
63
|
+
* The strategy contains information on the events and facets that impact user profiles and personalized search results.
|
|
64
|
+
*
|
|
65
|
+
* @summary Get the current strategy.
|
|
66
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
67
|
+
*/
|
|
68
|
+
getPersonalizationStrategy(requestOptions?: RequestOptions): Promise<PersonalizationStrategyParams>;
|
|
69
|
+
/**
|
|
70
|
+
* Get the user profile built from Personalization strategy. The profile is structured by facet name used in the strategy. Each facet value is mapped to its score. Each score represents the user affinity for a specific facet value given the userToken past events and the Personalization strategy defined. Scores are bounded to 20. The last processed event timestamp is provided using the ISO 8601 format for debugging purposes.
|
|
71
|
+
*
|
|
72
|
+
* @summary Get a user profile.
|
|
73
|
+
* @param getUserTokenProfile - The getUserTokenProfile object.
|
|
74
|
+
* @param getUserTokenProfile.userToken - UserToken representing the user for which to fetch the Personalization profile.
|
|
75
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
76
|
+
*/
|
|
77
|
+
getUserTokenProfile({ userToken }: GetUserTokenProfileProps, requestOptions?: RequestOptions): Promise<GetUserTokenResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
80
|
+
*
|
|
81
|
+
* @summary Send requests to the Algolia REST API.
|
|
82
|
+
* @param post - The post object.
|
|
83
|
+
* @param post.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
84
|
+
* @param post.parameters - Query parameters to be applied to the current query.
|
|
85
|
+
* @param post.body - The parameters to send with the custom request.
|
|
86
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
87
|
+
*/
|
|
88
|
+
post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
89
|
+
/**
|
|
90
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
91
|
+
*
|
|
92
|
+
* @summary Send requests to the Algolia REST API.
|
|
93
|
+
* @param put - The put object.
|
|
94
|
+
* @param put.path - The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
95
|
+
* @param put.parameters - Query parameters to be applied to the current query.
|
|
96
|
+
* @param put.body - The parameters to send with the custom request.
|
|
97
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
98
|
+
*/
|
|
99
|
+
put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
100
|
+
/**
|
|
101
|
+
* A strategy defines the events and facets that impact user profiles and personalized search results.
|
|
102
|
+
*
|
|
103
|
+
* @summary Set a new strategy.
|
|
104
|
+
* @param personalizationStrategyParams - The personalizationStrategyParams object.
|
|
105
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
106
|
+
*/
|
|
107
|
+
setPersonalizationStrategy(personalizationStrategyParams: PersonalizationStrategyParams, requestOptions?: RequestOptions): Promise<SetPersonalizationStrategyResponse>;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* The client type.
|
|
111
|
+
*/
|
|
112
|
+
export type PersonalizationClient = ReturnType<typeof createPersonalizationClient>;
|
|
113
113
|
//# sourceMappingURL=personalizationClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personalizationClient.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"personalizationClient.d.ts","sourceRoot":"","sources":["../../src/personalizationClient.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,mBAAmB,EAInB,cAAc,EAEf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EACV,QAAQ,EACR,sBAAsB,EACtB,QAAQ,EACR,wBAAwB,EACxB,SAAS,EACT,QAAQ,EACT,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AAEtG,eAAO,MAAM,gBAAgB,mBAAmB,CAAC;AAEjD,eAAO,MAAM,OAAO,uBAAwB,CAAC;AAC7C,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAY9C,wBAAgB,2BAA2B,CAAC,EAC1C,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,YAAY,EACpB,QAAQ,EACR,aAAa,EACb,MAAM,EAAE,YAAY,EACpB,GAAG,OAAO,EACX,EAAE,mBAAmB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;;IAwBvC;;OAEG;;IAGH;;OAEG;kBACW,QAAQ,IAAI,CAAC;IAO3B;;OAEG;;IAKH;;;;;OAKG;6BACsB,MAAM,YAAY,MAAM,GAAG,IAAI;IAIxD;;;;;;;;OAQG;8BAEqB,QAAQ,mBACb,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAmB/B;;;;;;;OAOG;qCAEc,sBAAsB,mBACpB,cAAc,GAC9B,QAAQ,yBAAyB,CAAC;IAwBrC;;;;;;;;OAQG;8BAEqB,QAAQ,mBACb,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAmB/B;;;;;OAKG;gDAEgB,cAAc,GAC9B,QAAQ,6BAA6B,CAAC;IAezC;;;;;;;OAOG;uCAEc,wBAAwB,mBACtB,cAAc,GAC9B,QAAQ,oBAAoB,CAAC;IAwBhC;;;;;;;;;OASG;qCAE2B,SAAS,mBACpB,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAoB/B;;;;;;;;;OASG;oCAE2B,QAAQ,mBACnB,cAAc,GAC9B,QAAQ,OAAO,MAAM,EAAE,GAAG,CAAC,CAAC;IAoB/B;;;;;;OAMG;8DAE8B,6BAA6B,mBAC3C,cAAc,GAC9B,QAAQ,kCAAkC,CAAC;EAsCjD;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAC5C,OAAO,2BAA2B,CACnC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Properties for the `del` method.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export type DeleteUserProfileResponse = {
|
|
4
4
|
/**
|
package/model/errorBase.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Error.
|
package/model/eventScoring.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export type EventScoring = {
|
|
4
4
|
/**
|
package/model/facetScoring.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export type FacetScoring = {
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export type GetUserTokenResponse = {
|
|
4
4
|
/**
|
package/model/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export * from './deleteUserProfileResponse';
|
|
4
4
|
export * from './errorBase';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
import type { EventScoring } from './eventScoring';
|
|
4
4
|
import type { FacetScoring } from './facetScoring';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// 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.
|
|
2
2
|
|
|
3
3
|
export type SetPersonalizationStrategyResponse = {
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-personalization",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.71",
|
|
4
4
|
"description": "JavaScript client for client-personalization",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Algolia",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"node": {
|
|
11
|
+
"import": "./dist/client-personalization.esm.node.js",
|
|
12
|
+
"module": "./dist/client-personalization.esm.node.js",
|
|
13
|
+
"require": "./dist/client-personalization.cjs.js",
|
|
14
|
+
"default": "./dist/client-personalization.cjs.js"
|
|
15
|
+
},
|
|
16
|
+
"default": {
|
|
17
|
+
"umd": "./dist/client-personalization.umd.js",
|
|
18
|
+
"module": "./dist/client-personalization.esm.browser.js",
|
|
19
|
+
"import": "./dist/client-personalization.esm.browser.js",
|
|
20
|
+
"default": "./dist/client-personalization.umd.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"./src/*": "./src/*.ts",
|
|
24
|
+
"./model": "./model/index.ts"
|
|
25
|
+
},
|
|
26
|
+
"jsdelivr": "./dist/client-personalization.umd.js",
|
|
27
|
+
"unpkg": "./dist/client-personalization.umd.js",
|
|
28
|
+
"browser": "./dist/client-personalization.umd.js",
|
|
29
|
+
"types": "./index.d.ts",
|
|
14
30
|
"files": [
|
|
15
31
|
"dist",
|
|
16
32
|
"model",
|
|
@@ -18,16 +34,18 @@
|
|
|
18
34
|
"index.d.ts"
|
|
19
35
|
],
|
|
20
36
|
"scripts": {
|
|
21
|
-
"
|
|
37
|
+
"build": "yarn clean && rollup --config",
|
|
38
|
+
"clean": "rm -rf ./dist || true"
|
|
22
39
|
},
|
|
23
40
|
"dependencies": {
|
|
24
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
25
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
26
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
41
|
+
"@algolia/client-common": "5.0.0-alpha.71",
|
|
42
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.71",
|
|
43
|
+
"@algolia/requester-node-http": "5.0.0-alpha.71"
|
|
27
44
|
},
|
|
28
45
|
"devDependencies": {
|
|
29
|
-
"@types/node": "16.
|
|
30
|
-
"
|
|
46
|
+
"@types/node": "18.16.18",
|
|
47
|
+
"rollup": "2.79.1",
|
|
48
|
+
"typescript": "5.0.4"
|
|
31
49
|
},
|
|
32
50
|
"engines": {
|
|
33
51
|
"node": ">= 14.0.0"
|