@algolia/client-personalization 5.0.0-alpha.8 → 5.0.0-alpha.81
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 → client-personalization.cjs} +283 -285
- package/dist/client-personalization.esm.browser.js +466 -514
- package/dist/client-personalization.esm.node.js +283 -283
- 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/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/index.js +1 -1
- package/model/clientMethodProps.ts +11 -11
- 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 +30 -13
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-commonjs,import/extensions
|
|
2
|
-
module.exports = require('./dist/client-personalization.cjs
|
|
2
|
+
module.exports = require('./dist/client-personalization.cjs');
|
|
@@ -1,15 +1,15 @@
|
|
|
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.
|
|
5
5
|
*/
|
|
6
6
|
export type DelProps = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
9
9
|
*/
|
|
10
10
|
path: string;
|
|
11
11
|
/**
|
|
12
|
-
* Query parameters to
|
|
12
|
+
* Query parameters to apply to the current query.
|
|
13
13
|
*/
|
|
14
14
|
parameters?: Record<string, any>;
|
|
15
15
|
};
|
|
@@ -29,11 +29,11 @@ export type DeleteUserProfileProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
export type GetProps = {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
33
33
|
*/
|
|
34
34
|
path: string;
|
|
35
35
|
/**
|
|
36
|
-
* Query parameters to
|
|
36
|
+
* Query parameters to apply to the current query.
|
|
37
37
|
*/
|
|
38
38
|
parameters?: Record<string, any>;
|
|
39
39
|
};
|
|
@@ -53,15 +53,15 @@ export type GetUserTokenProfileProps = {
|
|
|
53
53
|
*/
|
|
54
54
|
export type PostProps = {
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
57
57
|
*/
|
|
58
58
|
path: string;
|
|
59
59
|
/**
|
|
60
|
-
* Query parameters to
|
|
60
|
+
* Query parameters to apply to the current query.
|
|
61
61
|
*/
|
|
62
62
|
parameters?: Record<string, any>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Parameters to send with the custom request.
|
|
65
65
|
*/
|
|
66
66
|
body?: Record<string, any>;
|
|
67
67
|
};
|
|
@@ -71,15 +71,15 @@ export type PostProps = {
|
|
|
71
71
|
*/
|
|
72
72
|
export type PutProps = {
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
75
75
|
*/
|
|
76
76
|
path: string;
|
|
77
77
|
/**
|
|
78
|
-
* Query parameters to
|
|
78
|
+
* Query parameters to apply to the current query.
|
|
79
79
|
*/
|
|
80
80
|
parameters?: Record<string, any>;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Parameters to send with the custom request.
|
|
83
83
|
*/
|
|
84
84
|
body?: Record<string, any>;
|
|
85
85
|
};
|
|
@@ -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,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-personalization",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.81",
|
|
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
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"node": {
|
|
12
|
+
"import": "./dist/client-personalization.esm.node.js",
|
|
13
|
+
"module": "./dist/client-personalization.esm.node.js",
|
|
14
|
+
"require": "./dist/client-personalization.cjs",
|
|
15
|
+
"default": "./dist/client-personalization.cjs"
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"umd": "./dist/client-personalization.umd.js",
|
|
19
|
+
"module": "./dist/client-personalization.esm.browser.js",
|
|
20
|
+
"import": "./dist/client-personalization.esm.browser.js",
|
|
21
|
+
"default": "./dist/client-personalization.umd.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"./src/*": "./src/*.ts",
|
|
25
|
+
"./model": "./model/index.ts"
|
|
26
|
+
},
|
|
27
|
+
"jsdelivr": "./dist/client-personalization.umd.js",
|
|
28
|
+
"unpkg": "./dist/client-personalization.umd.js",
|
|
29
|
+
"browser": "./dist/client-personalization.umd.js",
|
|
30
|
+
"types": "./index.d.ts",
|
|
14
31
|
"files": [
|
|
15
32
|
"dist",
|
|
16
33
|
"model",
|
|
@@ -22,14 +39,14 @@
|
|
|
22
39
|
"clean": "rm -rf ./dist || true"
|
|
23
40
|
},
|
|
24
41
|
"dependencies": {
|
|
25
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
26
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
27
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.81",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.81",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.81"
|
|
28
45
|
},
|
|
29
46
|
"devDependencies": {
|
|
30
|
-
"@types/node": "
|
|
31
|
-
"rollup": "
|
|
32
|
-
"typescript": "
|
|
47
|
+
"@types/node": "18.17.12",
|
|
48
|
+
"rollup": "3.28.1",
|
|
49
|
+
"typescript": "5.2.2"
|
|
33
50
|
},
|
|
34
51
|
"engines": {
|
|
35
52
|
"node": ">= 14.0.0"
|