@algolia/client-query-suggestions 5.2.4-beta.2 → 5.2.4-beta.3

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.
Files changed (57) hide show
  1. package/dist/model/appID.cjs +19 -0
  2. package/dist/model/appID.cjs.map +1 -0
  3. package/dist/model/appID.js +1 -0
  4. package/dist/model/appID.js.map +1 -0
  5. package/dist/model/baseResponse.cjs +19 -0
  6. package/dist/model/baseResponse.cjs.map +1 -0
  7. package/dist/model/baseResponse.js +1 -0
  8. package/dist/model/baseResponse.js.map +1 -0
  9. package/dist/model/clientMethodProps.cjs +19 -0
  10. package/dist/model/clientMethodProps.cjs.map +1 -0
  11. package/dist/model/clientMethodProps.js +1 -0
  12. package/dist/model/clientMethodProps.js.map +1 -0
  13. package/dist/model/configStatus.cjs +19 -0
  14. package/dist/model/configStatus.cjs.map +1 -0
  15. package/dist/model/configStatus.js +1 -0
  16. package/dist/model/configStatus.js.map +1 -0
  17. package/dist/model/configuration.cjs +19 -0
  18. package/dist/model/configuration.cjs.map +1 -0
  19. package/dist/model/configuration.js +1 -0
  20. package/dist/model/configuration.js.map +1 -0
  21. package/dist/model/configurationResponse.cjs +19 -0
  22. package/dist/model/configurationResponse.cjs.map +1 -0
  23. package/dist/model/configurationResponse.js +1 -0
  24. package/dist/model/configurationResponse.js.map +1 -0
  25. package/dist/model/configurationWithIndex.cjs +19 -0
  26. package/dist/model/configurationWithIndex.cjs.map +1 -0
  27. package/dist/model/configurationWithIndex.js +1 -0
  28. package/dist/model/configurationWithIndex.js.map +1 -0
  29. package/dist/model/errorBase.cjs +19 -0
  30. package/dist/model/errorBase.cjs.map +1 -0
  31. package/dist/model/errorBase.js +1 -0
  32. package/dist/model/errorBase.js.map +1 -0
  33. package/dist/model/facet.cjs +19 -0
  34. package/dist/model/facet.cjs.map +1 -0
  35. package/dist/model/facet.js +1 -0
  36. package/dist/model/facet.js.map +1 -0
  37. package/dist/model/index.cjs +19 -0
  38. package/dist/model/index.cjs.map +1 -0
  39. package/dist/model/index.js +1 -0
  40. package/dist/model/index.js.map +1 -0
  41. package/dist/model/languages.cjs +19 -0
  42. package/dist/model/languages.cjs.map +1 -0
  43. package/dist/model/languages.js +1 -0
  44. package/dist/model/languages.js.map +1 -0
  45. package/dist/model/logFile.cjs +19 -0
  46. package/dist/model/logFile.cjs.map +1 -0
  47. package/dist/model/logFile.js +1 -0
  48. package/dist/model/logFile.js.map +1 -0
  49. package/dist/model/logLevel.cjs +19 -0
  50. package/dist/model/logLevel.cjs.map +1 -0
  51. package/dist/model/logLevel.js +1 -0
  52. package/dist/model/logLevel.js.map +1 -0
  53. package/dist/model/sourceIndex.cjs +19 -0
  54. package/dist/model/sourceIndex.cjs.map +1 -0
  55. package/dist/model/sourceIndex.js +1 -0
  56. package/dist/model/sourceIndex.js.map +1 -0
  57. package/package.json +12 -9
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/appID.ts
17
+ var appID_exports = {};
18
+ module.exports = __toCommonJS(appID_exports);
19
+ //# sourceMappingURL=appID.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/appID.ts"],"sourcesContent":["// 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.\n\nexport type AppID = {\n /**\n * Algolia application ID to which this Query Suggestions configuration belongs.\n */\n appID?: string;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=appID.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/baseResponse.ts
17
+ var baseResponse_exports = {};
18
+ module.exports = __toCommonJS(baseResponse_exports);
19
+ //# sourceMappingURL=baseResponse.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/baseResponse.ts"],"sourcesContent":["// 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.\n\nexport type BaseResponse = {\n /**\n * HTTP status code.\n */\n status?: number;\n\n /**\n * Details about the response, such as error messages.\n */\n message?: string;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=baseResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/clientMethodProps.ts
17
+ var clientMethodProps_exports = {};
18
+ module.exports = __toCommonJS(clientMethodProps_exports);
19
+ //# sourceMappingURL=clientMethodProps.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/clientMethodProps.ts"],"sourcesContent":["// 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.\n\nimport type { Configuration } from './configuration';\n\n/**\n * Properties for the `customDelete` method.\n */\nexport type CustomDeleteProps = {\n /**\n * Path of the endpoint, anything after \\\"/1\\\" must be specified.\n */\n path: string;\n /**\n * Query parameters to apply to the current query.\n */\n parameters?: Record<string, any>;\n};\n\n/**\n * Properties for the `customGet` method.\n */\nexport type CustomGetProps = {\n /**\n * Path of the endpoint, anything after \\\"/1\\\" must be specified.\n */\n path: string;\n /**\n * Query parameters to apply to the current query.\n */\n parameters?: Record<string, any>;\n};\n\n/**\n * Properties for the `customPost` method.\n */\nexport type CustomPostProps = {\n /**\n * Path of the endpoint, anything after \\\"/1\\\" must be specified.\n */\n path: string;\n /**\n * Query parameters to apply to the current query.\n */\n parameters?: Record<string, any>;\n /**\n * Parameters to send with the custom request.\n */\n body?: Record<string, unknown>;\n};\n\n/**\n * Properties for the `customPut` method.\n */\nexport type CustomPutProps = {\n /**\n * Path of the endpoint, anything after \\\"/1\\\" must be specified.\n */\n path: string;\n /**\n * Query parameters to apply to the current query.\n */\n parameters?: Record<string, any>;\n /**\n * Parameters to send with the custom request.\n */\n body?: Record<string, unknown>;\n};\n\n/**\n * Properties for the `deleteConfig` method.\n */\nexport type DeleteConfigProps = {\n /**\n * Query Suggestions index name.\n */\n indexName: string;\n};\n\n/**\n * Properties for the `getConfig` method.\n */\nexport type GetConfigProps = {\n /**\n * Query Suggestions index name.\n */\n indexName: string;\n};\n\n/**\n * Properties for the `getConfigStatus` method.\n */\nexport type GetConfigStatusProps = {\n /**\n * Query Suggestions index name.\n */\n indexName: string;\n};\n\n/**\n * Properties for the `getLogFile` method.\n */\nexport type GetLogFileProps = {\n /**\n * Query Suggestions index name.\n */\n indexName: string;\n};\n\n/**\n * Properties for the `updateConfig` method.\n */\nexport type UpdateConfigProps = {\n /**\n * Query Suggestions index name.\n */\n indexName: string;\n configuration: Configuration;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=clientMethodProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/configStatus.ts
17
+ var configStatus_exports = {};
18
+ module.exports = __toCommonJS(configStatus_exports);
19
+ //# sourceMappingURL=configStatus.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/configStatus.ts"],"sourcesContent":["// 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.\n\nexport type ConfigStatus = {\n /**\n * Name of the Query Suggestions index (case-sensitive).\n */\n indexName?: string;\n\n /**\n * Whether the creation or update of the Query Suggestions index is in progress.\n */\n isRunning?: boolean;\n\n /**\n * Date and time when the Query Suggestions index was last built, in RFC 3339 format.\n */\n lastBuiltAt?: string;\n\n /**\n * Date and time when the Query Suggestions index was last updated successfully.\n */\n lastSuccessfulBuiltAt?: string;\n\n /**\n * Duration of the last successful build in seconds.\n */\n lastSuccessfulBuildDuration?: string;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=configStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/configuration.ts
17
+ var configuration_exports = {};
18
+ module.exports = __toCommonJS(configuration_exports);
19
+ //# sourceMappingURL=configuration.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/configuration.ts"],"sourcesContent":["// 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.\n\nimport type { Languages } from './languages';\nimport type { SourceIndex } from './sourceIndex';\n\n/**\n * Query Suggestions configuration.\n */\nexport type Configuration = {\n /**\n * Algolia indices from which to get the popular searches for query suggestions.\n */\n sourceIndices: SourceIndex[];\n\n languages?: Languages;\n\n exclude?: string[] | null;\n\n /**\n * Whether to turn on personalized query suggestions.\n */\n enablePersonalization?: boolean;\n\n /**\n * Whether to include suggestions with special characters.\n */\n allowSpecialCharacters?: boolean;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/configurationResponse.ts
17
+ var configurationResponse_exports = {};
18
+ module.exports = __toCommonJS(configurationResponse_exports);
19
+ //# sourceMappingURL=configurationResponse.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/configurationResponse.ts"],"sourcesContent":["// 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.\n\nimport type { AppID } from './appID';\nimport type { ConfigurationWithIndex } from './configurationWithIndex';\n\n/**\n * API response for retrieving Query Suggestions configurations.\n */\nexport type ConfigurationResponse = AppID & ConfigurationWithIndex;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=configurationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/configurationWithIndex.ts
17
+ var configurationWithIndex_exports = {};
18
+ module.exports = __toCommonJS(configurationWithIndex_exports);
19
+ //# sourceMappingURL=configurationWithIndex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/configurationWithIndex.ts"],"sourcesContent":["// 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.\n\nimport type { Configuration } from './configuration';\n\n/**\n * Query Suggestions configuration.\n */\nexport type ConfigurationWithIndex = Configuration & Record<string, unknown>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=configurationWithIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/errorBase.ts
17
+ var errorBase_exports = {};
18
+ module.exports = __toCommonJS(errorBase_exports);
19
+ //# sourceMappingURL=errorBase.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/errorBase.ts"],"sourcesContent":["// 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.\n\n/**\n * Error.\n */\nexport type ErrorBase = Record<string, any> & {\n message?: string;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=errorBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/facet.ts
17
+ var facet_exports = {};
18
+ module.exports = __toCommonJS(facet_exports);
19
+ //# sourceMappingURL=facet.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/facet.ts"],"sourcesContent":["// 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.\n\n/**\n * Facet to use as category.\n */\nexport type Facet = {\n /**\n * Facet name.\n */\n attribute?: string;\n\n /**\n * Number of suggestions.\n */\n amount?: number;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=facet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/index.ts
17
+ var model_exports = {};
18
+ module.exports = __toCommonJS(model_exports);
19
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/index.ts"],"sourcesContent":["// 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.\n\nexport * from './appID';\nexport * from './baseResponse';\nexport * from './configStatus';\nexport * from './configuration';\nexport * from './configurationResponse';\nexport * from './configurationWithIndex';\nexport * from './errorBase';\nexport * from './facet';\nexport * from './languages';\nexport * from './logFile';\nexport * from './logLevel';\nexport * from './sourceIndex';\nexport * from './clientMethodProps';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/languages.ts
17
+ var languages_exports = {};
18
+ module.exports = __toCommonJS(languages_exports);
19
+ //# sourceMappingURL=languages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/languages.ts"],"sourcesContent":["// 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.\n\n/**\n * Languages for deduplicating singular and plural suggestions. If specified, only the more popular form is included.\n */\nexport type Languages = string[] | boolean;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=languages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/logFile.ts
17
+ var logFile_exports = {};
18
+ module.exports = __toCommonJS(logFile_exports);
19
+ //# sourceMappingURL=logFile.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/logFile.ts"],"sourcesContent":["// 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.\n\nimport type { LogLevel } from './logLevel';\n\nexport type LogFile = {\n /**\n * Date and time of the log entry, in RFC 3339 format.\n */\n timestamp?: string;\n\n level?: LogLevel;\n\n /**\n * Details about this log entry.\n */\n message?: string;\n\n /**\n * Level indicating the position of a suggestion in a hierarchy of records. For example, a `contextLevel` of 1 indicates that this suggestion belongs to a previous suggestion with `contextLevel` 0.\n */\n contextLevel?: number;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=logFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/logLevel.ts
17
+ var logLevel_exports = {};
18
+ module.exports = __toCommonJS(logLevel_exports);
19
+ //# sourceMappingURL=logLevel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/logLevel.ts"],"sourcesContent":["// 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.\n\n/**\n * Type of log entry. - `SKIP`. A query is skipped because it doesn\\'t match the conditions for successful inclusion. For example, when a query doesn\\'t generate enough search results. - `INFO`. An informative log entry. - `ERROR`. The Query Suggestions process encountered an error.\n */\nexport type LogLevel = 'ERROR' | 'INFO' | 'SKIP';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=logLevel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // model/sourceIndex.ts
17
+ var sourceIndex_exports = {};
18
+ module.exports = __toCommonJS(sourceIndex_exports);
19
+ //# sourceMappingURL=sourceIndex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../model/sourceIndex.ts"],"sourcesContent":["// 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.\n\nimport type { Facet } from './facet';\n\n/**\n * Configuration of an Algolia index for Query Suggestions.\n */\nexport type SourceIndex = {\n /**\n * Name of the Algolia index (case-sensitive) to use as source for query suggestions.\n */\n indexName: string;\n\n /**\n * If true, Query Suggestions uses all replica indices to find popular searches. If false, only the primary index is used.\n */\n replicas?: boolean;\n\n analyticsTags?: string[] | null;\n\n facets?: Facet[] | null;\n\n /**\n * Minimum number of hits required to be included as a suggestion. A search query must at least generate `minHits` search results to be included in the Query Suggestions index.\n */\n minHits?: number;\n\n /**\n * Minimum letters required to be included as a suggestion. A search query must be at least `minLetters` long to be included in the Query Suggestions index.\n */\n minLetters?: number;\n\n generate?: string[][] | null;\n\n external?: string[] | null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=sourceIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.4-beta.2",
2
+ "version": "5.2.4-beta.3",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
@@ -7,6 +7,11 @@
7
7
  "type": "module",
8
8
  "license": "MIT",
9
9
  "author": "Algolia",
10
+ "scripts": {
11
+ "build": "yarn clean && yarn tsup && yarn rollup -c rollup.config.js",
12
+ "clean": "rm -rf ./dist || true",
13
+ "test:bundle": "publint . && attw --pack ."
14
+ },
10
15
  "name": "@algolia/client-query-suggestions",
11
16
  "description": "JavaScript client for client-query-suggestions",
12
17
  "exports": {
@@ -28,7 +33,7 @@
28
33
  "default": "./dist/builds/browser.umd.js"
29
34
  }
30
35
  },
31
- "./src/*": "./src/*.ts"
36
+ "./src": "./src/*.ts"
32
37
  },
33
38
  "jsdelivr": "./dist/builds/browser.umd.js",
34
39
  "unpkg": "./dist/builds/browser.umd.js",
@@ -38,17 +43,15 @@
38
43
  "index.js",
39
44
  "index.d.ts"
40
45
  ],
41
- "scripts": {
42
- "build": "yarn clean && yarn tsup && yarn rollup -c rollup.config.js",
43
- "clean": "rm -rf ./dist || true"
44
- },
45
46
  "dependencies": {
46
- "@algolia/client-common": "5.2.4-beta.2",
47
- "@algolia/requester-browser-xhr": "5.2.4-beta.2",
48
- "@algolia/requester-node-http": "5.2.4-beta.2"
47
+ "@algolia/client-common": "5.2.4-beta.3",
48
+ "@algolia/requester-browser-xhr": "5.2.4-beta.3",
49
+ "@algolia/requester-node-http": "5.2.4-beta.3"
49
50
  },
50
51
  "devDependencies": {
52
+ "@arethetypeswrong/cli": "0.15.4",
51
53
  "@types/node": "22.5.1",
54
+ "publint": "0.2.10",
52
55
  "rollup": "4.21.2",
53
56
  "tsup": "8.2.4",
54
57
  "typescript": "5.5.4"