algoliasearch 5.0.0-alpha.91 → 5.0.0-alpha.98
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/builds/browser.ts +3 -9
- package/builds/models.ts +11 -5
- package/builds/node.ts +3 -9
- package/dist/algoliasearch/builds/browser.d.ts +10 -10
- package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/builds/models.d.ts +2 -2
- package/dist/algoliasearch/builds/models.d.ts.map +1 -1
- package/dist/algoliasearch/builds/node.d.ts +10 -10
- package/dist/algoliasearch/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch.cjs +319 -327
- package/dist/algoliasearch.esm.browser.js +362 -346
- package/dist/algoliasearch.esm.node.js +319 -327
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/model/clientMethodProps.d.ts +42 -42
- package/dist/client-abtesting/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-abtesting/model/variant.d.ts +4 -0
- package/dist/client-abtesting/model/variant.d.ts.map +1 -1
- package/dist/client-abtesting/src/abtestingClient.d.ts +37 -37
- package/dist/client-abtesting/src/abtestingClient.d.ts.map +1 -1
- package/dist/client-analytics/model/clientMethodProps.d.ts +38 -38
- package/dist/client-analytics/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +32 -32
- package/dist/client-analytics/src/analyticsClient.d.ts.map +1 -1
- package/dist/client-personalization/model/clientMethodProps.d.ts +26 -26
- package/dist/client-personalization/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts +37 -37
- package/dist/client-personalization/src/personalizationClient.d.ts.map +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +59 -72
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/highlightResult.d.ts +1 -1
- package/dist/client-search/model/highlightResult.d.ts.map +1 -1
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +8 -0
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchResponses.d.ts +2 -2
- package/dist/client-search/model/searchResponses.d.ts.map +1 -1
- package/dist/client-search/model/searchResult.d.ts +1 -1
- package/dist/client-search/model/searchResult.d.ts.map +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +10 -0
- package/dist/client-search/model/searchSynonymsParams.d.ts.map +1 -1
- package/dist/client-search/model/snippetResult.d.ts +1 -1
- package/dist/client-search/model/snippetResult.d.ts.map +1 -1
- package/dist/client-search/model/userHighlightResult.d.ts +2 -8
- package/dist/client-search/model/userHighlightResult.d.ts.map +1 -1
- package/dist/client-search/src/searchClient.d.ts +53 -55
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs +7 -7
- package/dist/lite/lite.esm.browser.js +50 -26
- package/dist/lite/lite.esm.node.js +7 -7
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/clientMethodProps.d.ts +2 -2
- package/dist/lite/model/clientMethodProps.d.ts.map +1 -1
- package/dist/lite/model/highlightResult.d.ts +1 -1
- package/dist/lite/model/highlightResult.d.ts.map +1 -1
- package/dist/lite/model/searchForFacetValuesResponse.d.ts +8 -0
- package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/lite/model/searchResponses.d.ts +2 -2
- package/dist/lite/model/searchResponses.d.ts.map +1 -1
- package/dist/lite/model/searchResult.d.ts +1 -1
- package/dist/lite/model/searchResult.d.ts.map +1 -1
- package/dist/lite/model/snippetResult.d.ts +1 -1
- package/dist/lite/model/snippetResult.d.ts.map +1 -1
- package/dist/lite/src/liteClient.d.ts +8 -8
- package/dist/lite/src/liteClient.d.ts.map +1 -1
- package/lite/model/clientMethodProps.ts +2 -2
- package/lite/model/highlightResult.ts +3 -1
- package/lite/model/searchForFacetValuesResponse.ts +10 -0
- package/lite/model/searchResponses.ts +2 -2
- package/lite/model/searchResult.ts +3 -1
- package/lite/model/snippetResult.ts +3 -1
- package/lite/src/liteClient.ts +13 -11
- package/package.json +13 -13
|
@@ -22,7 +22,6 @@ import type { SearchRulesParams } from './searchRulesParams';
|
|
|
22
22
|
import type { SearchSynonymsParams } from './searchSynonymsParams';
|
|
23
23
|
import type { Source } from './source';
|
|
24
24
|
import type { SynonymHit } from './synonymHit';
|
|
25
|
-
import type { SynonymType } from './synonymType';
|
|
26
25
|
/**
|
|
27
26
|
* Properties for the `addOrUpdateObject` method.
|
|
28
27
|
*/
|
|
@@ -91,31 +90,31 @@ export type BrowseProps = {
|
|
|
91
90
|
browseParams?: BrowseParams;
|
|
92
91
|
};
|
|
93
92
|
/**
|
|
94
|
-
* Properties for the `
|
|
93
|
+
* Properties for the `clearObjects` method.
|
|
95
94
|
*/
|
|
96
|
-
export type
|
|
95
|
+
export type ClearObjectsProps = {
|
|
97
96
|
/**
|
|
98
97
|
* Index on which to perform the request.
|
|
99
98
|
*/
|
|
100
99
|
indexName: string;
|
|
101
|
-
/**
|
|
102
|
-
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
103
|
-
*/
|
|
104
|
-
forwardToReplicas?: boolean;
|
|
105
100
|
};
|
|
106
101
|
/**
|
|
107
|
-
* Properties for the `
|
|
102
|
+
* Properties for the `clearRules` method.
|
|
108
103
|
*/
|
|
109
|
-
export type
|
|
104
|
+
export type ClearRulesProps = {
|
|
110
105
|
/**
|
|
111
106
|
* Index on which to perform the request.
|
|
112
107
|
*/
|
|
113
108
|
indexName: string;
|
|
109
|
+
/**
|
|
110
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
111
|
+
*/
|
|
112
|
+
forwardToReplicas?: boolean;
|
|
114
113
|
};
|
|
115
114
|
/**
|
|
116
|
-
* Properties for the `
|
|
115
|
+
* Properties for the `clearSynonyms` method.
|
|
117
116
|
*/
|
|
118
|
-
export type
|
|
117
|
+
export type ClearSynonymsProps = {
|
|
119
118
|
/**
|
|
120
119
|
* Index on which to perform the request.
|
|
121
120
|
*/
|
|
@@ -126,9 +125,22 @@ export type ClearRulesProps = {
|
|
|
126
125
|
forwardToReplicas?: boolean;
|
|
127
126
|
};
|
|
128
127
|
/**
|
|
129
|
-
* Properties for the `
|
|
128
|
+
* Properties for the `customDelete` method.
|
|
129
|
+
*/
|
|
130
|
+
export type CustomDeleteProps = {
|
|
131
|
+
/**
|
|
132
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
133
|
+
*/
|
|
134
|
+
path: string;
|
|
135
|
+
/**
|
|
136
|
+
* Query parameters to apply to the current query.
|
|
137
|
+
*/
|
|
138
|
+
parameters?: Record<string, any>;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Properties for the `customGet` method.
|
|
130
142
|
*/
|
|
131
|
-
export type
|
|
143
|
+
export type CustomGetProps = {
|
|
132
144
|
/**
|
|
133
145
|
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
134
146
|
*/
|
|
@@ -138,6 +150,40 @@ export type DelProps = {
|
|
|
138
150
|
*/
|
|
139
151
|
parameters?: Record<string, any>;
|
|
140
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* Properties for the `customPost` method.
|
|
155
|
+
*/
|
|
156
|
+
export type CustomPostProps = {
|
|
157
|
+
/**
|
|
158
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
159
|
+
*/
|
|
160
|
+
path: string;
|
|
161
|
+
/**
|
|
162
|
+
* Query parameters to apply to the current query.
|
|
163
|
+
*/
|
|
164
|
+
parameters?: Record<string, any>;
|
|
165
|
+
/**
|
|
166
|
+
* Parameters to send with the custom request.
|
|
167
|
+
*/
|
|
168
|
+
body?: Record<string, any>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Properties for the `customPut` method.
|
|
172
|
+
*/
|
|
173
|
+
export type CustomPutProps = {
|
|
174
|
+
/**
|
|
175
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
176
|
+
*/
|
|
177
|
+
path: string;
|
|
178
|
+
/**
|
|
179
|
+
* Query parameters to apply to the current query.
|
|
180
|
+
*/
|
|
181
|
+
parameters?: Record<string, any>;
|
|
182
|
+
/**
|
|
183
|
+
* Parameters to send with the custom request.
|
|
184
|
+
*/
|
|
185
|
+
body?: Record<string, any>;
|
|
186
|
+
};
|
|
141
187
|
/**
|
|
142
188
|
* Properties for the `deleteApiKey` method.
|
|
143
189
|
*/
|
|
@@ -222,19 +268,6 @@ export type DeleteSynonymProps = {
|
|
|
222
268
|
*/
|
|
223
269
|
forwardToReplicas?: boolean;
|
|
224
270
|
};
|
|
225
|
-
/**
|
|
226
|
-
* Properties for the `get` method.
|
|
227
|
-
*/
|
|
228
|
-
export type GetProps = {
|
|
229
|
-
/**
|
|
230
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
231
|
-
*/
|
|
232
|
-
path: string;
|
|
233
|
-
/**
|
|
234
|
-
* Query parameters to apply to the current query.
|
|
235
|
-
*/
|
|
236
|
-
parameters?: Record<string, any>;
|
|
237
|
-
};
|
|
238
271
|
/**
|
|
239
272
|
* Properties for the `getApiKey` method.
|
|
240
273
|
*/
|
|
@@ -405,40 +438,6 @@ export type PartialUpdateObjectProps = {
|
|
|
405
438
|
*/
|
|
406
439
|
createIfNotExists?: boolean;
|
|
407
440
|
};
|
|
408
|
-
/**
|
|
409
|
-
* Properties for the `post` method.
|
|
410
|
-
*/
|
|
411
|
-
export type PostProps = {
|
|
412
|
-
/**
|
|
413
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
414
|
-
*/
|
|
415
|
-
path: string;
|
|
416
|
-
/**
|
|
417
|
-
* Query parameters to apply to the current query.
|
|
418
|
-
*/
|
|
419
|
-
parameters?: Record<string, any>;
|
|
420
|
-
/**
|
|
421
|
-
* Parameters to send with the custom request.
|
|
422
|
-
*/
|
|
423
|
-
body?: Record<string, any>;
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* Properties for the `put` method.
|
|
427
|
-
*/
|
|
428
|
-
export type PutProps = {
|
|
429
|
-
/**
|
|
430
|
-
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
431
|
-
*/
|
|
432
|
-
path: string;
|
|
433
|
-
/**
|
|
434
|
-
* Query parameters to apply to the current query.
|
|
435
|
-
*/
|
|
436
|
-
parameters?: Record<string, any>;
|
|
437
|
-
/**
|
|
438
|
-
* Parameters to send with the custom request.
|
|
439
|
-
*/
|
|
440
|
-
body?: Record<string, any>;
|
|
441
|
-
};
|
|
442
441
|
/**
|
|
443
442
|
* Properties for the `removeUserId` method.
|
|
444
443
|
*/
|
|
@@ -630,18 +629,6 @@ export type SearchSynonymsProps = {
|
|
|
630
629
|
* Index on which to perform the request.
|
|
631
630
|
*/
|
|
632
631
|
indexName: string;
|
|
633
|
-
/**
|
|
634
|
-
* Search for specific [types of synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms).
|
|
635
|
-
*/
|
|
636
|
-
type?: SynonymType;
|
|
637
|
-
/**
|
|
638
|
-
* Returns the requested page number (the first page is 0). Page size is set by `hitsPerPage`. When null, there\'s no pagination.
|
|
639
|
-
*/
|
|
640
|
-
page?: number;
|
|
641
|
-
/**
|
|
642
|
-
* Maximum number of hits per page.
|
|
643
|
-
*/
|
|
644
|
-
hitsPerPage?: number;
|
|
645
632
|
/**
|
|
646
633
|
* Body of the `searchSynonyms` operation.
|
|
647
634
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../../../client-search/model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,K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ClD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,CACE;IACE;;OAEG;IACH,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,GACD;IACE;;OAEG;IACH,SAAS,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;CACzB,CACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { HighlightResultOption } from './highlightResultOption';
|
|
2
|
-
export type HighlightResult = HighlightResultOption | HighlightResultOption
|
|
2
|
+
export type HighlightResult = HighlightResultOption | Record<string, HighlightResultOption>;
|
|
3
3
|
//# sourceMappingURL=highlightResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlightResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/highlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"highlightResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/highlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { FacetHits } from './facetHits';
|
|
2
2
|
export type SearchForFacetValuesResponse = {
|
|
3
3
|
facetHits: FacetHits[];
|
|
4
|
+
/**
|
|
5
|
+
* See the `facetsCount` field of the `exhaustive` object in the response.
|
|
6
|
+
*/
|
|
7
|
+
exhaustiveFacetsCount: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Time the server took to process the request, in milliseconds.
|
|
10
|
+
*/
|
|
11
|
+
processingTimeMS?: number;
|
|
4
12
|
};
|
|
5
13
|
//# sourceMappingURL=searchForFacetValuesResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchForFacetValuesResponse.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchForFacetValuesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"searchForFacetValuesResponse.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchForFacetValuesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,SAAS,EAAE,CAAC;IAEvB;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchResponses.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchResponses.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;
|
|
1
|
+
{"version":3,"file":"searchResponses.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchResponses.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;IACrD,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CACjC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SearchForFacetValuesResponse } from './searchForFacetValuesResponse';
|
|
2
2
|
import type { SearchResponse } from './searchResponse';
|
|
3
|
-
export type SearchResult = SearchForFacetValuesResponse | SearchResponse
|
|
3
|
+
export type SearchResult<T = Record<string, any>> = SearchForFacetValuesResponse | SearchResponse<T>;
|
|
4
4
|
//# sourceMappingURL=searchResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"searchResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAC5C,4BAA4B,GAC5B,cAAc,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
+
import type { SynonymType } from './synonymType';
|
|
1
2
|
export type SearchSynonymsParams = {
|
|
2
3
|
/**
|
|
3
4
|
* Text to search for in an index.
|
|
4
5
|
*/
|
|
5
6
|
query?: string;
|
|
7
|
+
type?: SynonymType;
|
|
8
|
+
/**
|
|
9
|
+
* Page to retrieve (the first page is `0`, not `1`).
|
|
10
|
+
*/
|
|
11
|
+
page?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Number of hits per page.
|
|
14
|
+
*/
|
|
15
|
+
hitsPerPage?: number;
|
|
6
16
|
};
|
|
7
17
|
//# sourceMappingURL=searchSynonymsParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchSynonymsParams.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchSynonymsParams.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"searchSynonymsParams.d.ts","sourceRoot":"","sources":["../../../../client-search/model/searchSynonymsParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SnippetResultOption } from './snippetResultOption';
|
|
2
|
-
export type SnippetResult = SnippetResultOption | SnippetResultOption
|
|
2
|
+
export type SnippetResult = Record<string, SnippetResultOption> | SnippetResultOption;
|
|
3
3
|
//# sourceMappingURL=snippetResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippetResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/snippetResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"snippetResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/snippetResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,GACrB,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GACnC,mBAAmB,CAAC"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import type { HighlightResult } from './highlightResult';
|
|
2
2
|
export type UserHighlightResult = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
userID: Record<string, HighlightResult>;
|
|
7
|
-
/**
|
|
8
|
-
* Show highlighted section and words matched on a query.
|
|
9
|
-
*/
|
|
10
|
-
clusterName: Record<string, HighlightResult>;
|
|
3
|
+
userID: HighlightResult;
|
|
4
|
+
clusterName: HighlightResult;
|
|
11
5
|
};
|
|
12
6
|
//# sourceMappingURL=userHighlightResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userHighlightResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/userHighlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC
|
|
1
|
+
{"version":3,"file":"userHighlightResult.d.ts","sourceRoot":"","sources":["../../../../client-search/model/userHighlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,eAAe,CAAC;IAExB,WAAW,EAAE,eAAe,CAAC;CAC9B,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { ApiKey } from '../model/apiKey';
|
|
|
4
4
|
import type { BatchParams } from '../model/batchParams';
|
|
5
5
|
import type { BatchResponse } from '../model/batchResponse';
|
|
6
6
|
import type { BrowseResponse } from '../model/browseResponse';
|
|
7
|
-
import type { BrowseOptions, WaitForTaskOptions, WaitForApiKeyOptions, AddOrUpdateObjectProps, AssignUserIdProps, BatchProps, BatchAssignUserIdsProps, BatchDictionaryEntriesProps, BrowseProps,
|
|
7
|
+
import type { BrowseOptions, WaitForTaskOptions, WaitForApiKeyOptions, AddOrUpdateObjectProps, AssignUserIdProps, BatchProps, BatchAssignUserIdsProps, BatchDictionaryEntriesProps, BrowseProps, ClearObjectsProps, ClearRulesProps, ClearSynonymsProps, CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeleteApiKeyProps, DeleteByProps, DeleteIndexProps, DeleteObjectProps, DeleteRuleProps, DeleteSourceProps, DeleteSynonymProps, GetApiKeyProps, GetLogsProps, GetObjectProps, GetRuleProps, GetSettingsProps, GetSynonymProps, GetTaskProps, GetUserIdProps, HasPendingMappingsProps, ListIndicesProps, ListUserIdsProps, OperationIndexProps, PartialUpdateObjectProps, RemoveUserIdProps, ReplaceSourcesProps, RestoreApiKeyProps, SaveObjectProps, SaveRuleProps, SaveRulesProps, SaveSynonymProps, SaveSynonymsProps, LegacySearchMethodProps, SearchDictionaryEntriesProps, SearchForFacetValuesProps, SearchRulesProps, SearchSingleIndexProps, SearchSynonymsProps, SetSettingsProps, UpdateApiKeyProps } from '../model/clientMethodProps';
|
|
8
8
|
import type { CreatedAtResponse } from '../model/createdAtResponse';
|
|
9
9
|
import type { DeleteApiKeyResponse } from '../model/deleteApiKeyResponse';
|
|
10
10
|
import type { DeleteSourceResponse } from '../model/deleteSourceResponse';
|
|
@@ -45,7 +45,7 @@ import type { UpdatedAtResponse } from '../model/updatedAtResponse';
|
|
|
45
45
|
import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
|
|
46
46
|
import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
|
|
47
47
|
import type { UserId } from '../model/userId';
|
|
48
|
-
export declare const apiClientVersion = "5.0.0-alpha.
|
|
48
|
+
export declare const apiClientVersion = "5.0.0-alpha.98";
|
|
49
49
|
export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
50
50
|
transporter: import("@algolia/client-common").Transporter;
|
|
51
51
|
/**
|
|
@@ -124,9 +124,10 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
124
124
|
* @param browseObjects.indexName - The index in which to perform the request.
|
|
125
125
|
* @param browseObjects.validate - The validator function. It receive the resolved return of the API call. By default, stops when there is less hits returned than the number of maximum hits (1000).
|
|
126
126
|
* @param browseObjects.aggregator - The function that runs right after the API call has been resolved, allows you to do anything with the response before `validate`.
|
|
127
|
+
* @param browseObjects.searchSynonymsParams - The `searchSynonyms` method parameters.
|
|
127
128
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `searchSynonyms` method and merged with the transporter requestOptions.
|
|
128
129
|
*/
|
|
129
|
-
browseSynonyms({ indexName,
|
|
130
|
+
browseSynonyms({ indexName, searchSynonymsParams, ...browseSynonymsOptions }: BrowseOptions<SearchSynonymsResponse> & SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
|
|
130
131
|
/**
|
|
131
132
|
* Helper: calls the `search` method but with certainty that we will only request Algolia records (hits) and not facets.
|
|
132
133
|
* Disclaimer: We don't assert that the parameters you pass to this method only contains `hits` requests to prevent impacting search performances, this helper is purely for typing purposes.
|
|
@@ -226,16 +227,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
226
227
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
227
228
|
*/
|
|
228
229
|
browse<T_2>({ indexName, browseParams }: BrowseProps, requestOptions?: RequestOptions): Promise<BrowseResponse<T_2>>;
|
|
229
|
-
/**
|
|
230
|
-
* Delete all synonyms in the index.
|
|
231
|
-
*
|
|
232
|
-
* @summary Delete all synonyms.
|
|
233
|
-
* @param clearAllSynonyms - The clearAllSynonyms object.
|
|
234
|
-
* @param clearAllSynonyms.indexName - Index on which to perform the request.
|
|
235
|
-
* @param clearAllSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
|
|
236
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
237
|
-
*/
|
|
238
|
-
clearAllSynonyms({ indexName, forwardToReplicas }: ClearAllSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
239
230
|
/**
|
|
240
231
|
* Delete the records but leave settings and index-specific API keys untouched.
|
|
241
232
|
*
|
|
@@ -255,16 +246,58 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
255
246
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
256
247
|
*/
|
|
257
248
|
clearRules({ indexName, forwardToReplicas }: ClearRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* Delete all synonyms in the index.
|
|
251
|
+
*
|
|
252
|
+
* @summary Delete all synonyms.
|
|
253
|
+
* @param clearSynonyms - The clearSynonyms object.
|
|
254
|
+
* @param clearSynonyms.indexName - Index on which to perform the request.
|
|
255
|
+
* @param clearSynonyms.forwardToReplicas - Indicates whether changed index settings are forwarded to the replica indices.
|
|
256
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
257
|
+
*/
|
|
258
|
+
clearSynonyms({ indexName, forwardToReplicas }: ClearSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
259
|
+
/**
|
|
260
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
261
|
+
*
|
|
262
|
+
* @summary Send requests to the Algolia REST API.
|
|
263
|
+
* @param customDelete - The customDelete object.
|
|
264
|
+
* @param customDelete.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
265
|
+
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
266
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
267
|
+
*/
|
|
268
|
+
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
269
|
+
/**
|
|
270
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
271
|
+
*
|
|
272
|
+
* @summary Send requests to the Algolia REST API.
|
|
273
|
+
* @param customGet - The customGet object.
|
|
274
|
+
* @param customGet.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
275
|
+
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
276
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
277
|
+
*/
|
|
278
|
+
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
258
279
|
/**
|
|
259
280
|
* This method allow you to send requests to the Algolia REST API.
|
|
260
281
|
*
|
|
261
282
|
* @summary Send requests to the Algolia REST API.
|
|
262
|
-
* @param
|
|
263
|
-
* @param
|
|
264
|
-
* @param
|
|
283
|
+
* @param customPost - The customPost object.
|
|
284
|
+
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
285
|
+
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
286
|
+
* @param customPost.body - Parameters to send with the custom request.
|
|
265
287
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
266
288
|
*/
|
|
267
|
-
|
|
289
|
+
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
290
|
+
/**
|
|
291
|
+
* This method allow you to send requests to the Algolia REST API.
|
|
292
|
+
*
|
|
293
|
+
* @summary Send requests to the Algolia REST API.
|
|
294
|
+
* @param customPut - The customPut object.
|
|
295
|
+
* @param customPut.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
296
|
+
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
297
|
+
* @param customPut.body - Parameters to send with the custom request.
|
|
298
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
299
|
+
*/
|
|
300
|
+
customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
268
301
|
/**
|
|
269
302
|
* Delete an existing API key. The request must be authenticated with the admin API key.
|
|
270
303
|
*
|
|
@@ -334,16 +367,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
334
367
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
335
368
|
*/
|
|
336
369
|
deleteSynonym({ indexName, objectID, forwardToReplicas }: DeleteSynonymProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
|
|
337
|
-
/**
|
|
338
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
339
|
-
*
|
|
340
|
-
* @summary Send requests to the Algolia REST API.
|
|
341
|
-
* @param get - The get object.
|
|
342
|
-
* @param get.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
343
|
-
* @param get.parameters - Query parameters to apply to the current query.
|
|
344
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
345
|
-
*/
|
|
346
|
-
get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
347
370
|
/**
|
|
348
371
|
* Get the permissions and restrictions of a specific API key. When authenticating with the admin API key, you can request information for any of your application\'s keys. When authenticating with other API keys, you can only retrieve information for that key.
|
|
349
372
|
*
|
|
@@ -533,28 +556,6 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
533
556
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
534
557
|
*/
|
|
535
558
|
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists, }: PartialUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
|
|
536
|
-
/**
|
|
537
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
538
|
-
*
|
|
539
|
-
* @summary Send requests to the Algolia REST API.
|
|
540
|
-
* @param post - The post object.
|
|
541
|
-
* @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
542
|
-
* @param post.parameters - Query parameters to apply to the current query.
|
|
543
|
-
* @param post.body - Parameters to send with the custom request.
|
|
544
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
545
|
-
*/
|
|
546
|
-
post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
547
|
-
/**
|
|
548
|
-
* This method allow you to send requests to the Algolia REST API.
|
|
549
|
-
*
|
|
550
|
-
* @summary Send requests to the Algolia REST API.
|
|
551
|
-
* @param put - The put object.
|
|
552
|
-
* @param put.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
553
|
-
* @param put.parameters - Query parameters to apply to the current query.
|
|
554
|
-
* @param put.body - Parameters to send with the custom request.
|
|
555
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
556
|
-
*/
|
|
557
|
-
put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
558
559
|
/**
|
|
559
560
|
* Remove a userID and its associated data from the multi-clusters.
|
|
560
561
|
*
|
|
@@ -647,7 +648,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
647
648
|
* @param searchMethodParams - Query requests and strategies. Results will be received in the same order as the queries.
|
|
648
649
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
649
650
|
*/
|
|
650
|
-
search(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses
|
|
651
|
+
search<T_4>(searchMethodParams: LegacySearchMethodProps | SearchMethodParams, requestOptions?: RequestOptions): Promise<SearchResponses<T_4>>;
|
|
651
652
|
/**
|
|
652
653
|
* Search for standard and [custom](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/) entries in the [stop words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-stop-words/), [plurals](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/), or [segmentation (compounds)](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) dictionaries.
|
|
653
654
|
*
|
|
@@ -688,20 +689,17 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
688
689
|
* @param searchSingleIndex.searchParams - The searchParams object.
|
|
689
690
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
690
691
|
*/
|
|
691
|
-
searchSingleIndex<
|
|
692
|
+
searchSingleIndex<T_5>({ indexName, searchParams }: SearchSingleIndexProps, requestOptions?: RequestOptions): Promise<SearchResponse<T_5>>;
|
|
692
693
|
/**
|
|
693
694
|
* Search for synonyms in your index. You can control and filter the search with parameters. To get all synonyms, send an empty request body.
|
|
694
695
|
*
|
|
695
696
|
* @summary Search for synonyms.
|
|
696
697
|
* @param searchSynonyms - The searchSynonyms object.
|
|
697
698
|
* @param searchSynonyms.indexName - Index on which to perform the request.
|
|
698
|
-
* @param searchSynonyms.type - Search for specific [types of synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms).
|
|
699
|
-
* @param searchSynonyms.page - Returns the requested page number (the first page is 0). Page size is set by `hitsPerPage`. When null, there\'s no pagination.
|
|
700
|
-
* @param searchSynonyms.hitsPerPage - Maximum number of hits per page.
|
|
701
699
|
* @param searchSynonyms.searchSynonymsParams - Body of the `searchSynonyms` operation.
|
|
702
700
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
703
701
|
*/
|
|
704
|
-
searchSynonyms({ indexName,
|
|
702
|
+
searchSynonyms({ indexName, searchSynonymsParams }: SearchSynonymsProps, requestOptions?: RequestOptions): Promise<SearchSynonymsResponse>;
|
|
705
703
|
/**
|
|
706
704
|
* Since it can take up to a few seconds to get the data from the different clusters, the response isn\'t real-time. To ensure rapid updates, the user IDs index isn\'t built at the same time as the mapping. Instead, it\'s built every 12 hours, at the same time as the update of user ID usage. For example, if you add or move a user ID, the search will show an old value until the next time the mapping is rebuilt (every 12 hours).
|
|
707
705
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchClient.d.ts","sourceRoot":"","sources":["../../../../client-search/src/searchClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,mBAAmB,EAInB,cAAc,EAEd,QAAQ,EAET,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"searchClient.d.ts","sourceRoot":"","sources":["../../../../client-search/src/searchClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,mBAAmB,EAInB,cAAc,EAEd,QAAQ,EAET,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,E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gBAAgB,mBAChD,cAAc,GAC9B,QAAQ,iBAAiB,CAAC;IAmC7B;;;;;;;;OAQG;kCAEgB,iBAAiB,mBACjB,cAAc,GAC9B,QAAQ,oBAAoB,CAAC;EAqCnC;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/lite/lite.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var clientCommon = require('@algolia/client-common');
|
|
|
4
4
|
var requesterNodeHttp = require('@algolia/requester-node-http');
|
|
5
5
|
|
|
6
6
|
// 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.
|
|
7
|
-
const apiClientVersion = '5.0.0-alpha.
|
|
7
|
+
const apiClientVersion = '5.0.0-alpha.98';
|
|
8
8
|
function getDefaultHosts(appId) {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
@@ -90,15 +90,15 @@ function createLiteClient({ appId: appIdOption, apiKey: apiKeyOption, authMode,
|
|
|
90
90
|
* This method allow you to send requests to the Algolia REST API.
|
|
91
91
|
*
|
|
92
92
|
* @summary Send requests to the Algolia REST API.
|
|
93
|
-
* @param
|
|
94
|
-
* @param
|
|
95
|
-
* @param
|
|
96
|
-
* @param
|
|
93
|
+
* @param customPost - The customPost object.
|
|
94
|
+
* @param customPost.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
95
|
+
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
96
|
+
* @param customPost.body - Parameters to send with the custom request.
|
|
97
97
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
customPost({ path, parameters, body }, requestOptions) {
|
|
100
100
|
if (!path) {
|
|
101
|
-
throw new Error('Parameter `path` is required when calling `
|
|
101
|
+
throw new Error('Parameter `path` is required when calling `customPost`.');
|
|
102
102
|
}
|
|
103
103
|
const requestPath = '/1{path}'.replace('{path}', path);
|
|
104
104
|
const headers = {};
|