Skip to content

Commit

Permalink
Generated code for commit eeeeea8. (#329)
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Vannicatte <[email protected]>
Co-authored-by: algolia-bot <[email protected]>
  • Loading branch information
shortcuts and algolia-bot authored Apr 4, 2022
1 parent eeeeea8 commit 58d7e7f
Show file tree
Hide file tree
Showing 17 changed files with 301 additions and 375 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ export function createAbtestingApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -211,10 +208,7 @@ export function createAbtestingApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -330,10 +324,7 @@ export function createAbtestingApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -374,10 +365,7 @@ export function createAbtestingApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ export function createAnalyticsApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -133,10 +130,7 @@ export function createAnalyticsApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -1284,10 +1278,7 @@ export function createAnalyticsApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -1328,10 +1319,7 @@ export function createAnalyticsApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ export function createInsightsApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -118,10 +115,7 @@ export function createInsightsApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -161,10 +155,7 @@ export function createInsightsApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -247,10 +238,7 @@ export function createInsightsApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ export function createPersonalizationApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -157,10 +154,7 @@ export function createPersonalizationApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -266,10 +260,7 @@ export function createPersonalizationApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -310,10 +301,7 @@ export function createPersonalizationApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ export function createPredictApi(options: CreateClientOptions) {
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -159,10 +156,7 @@ export function createPredictApi(options: CreateClientOptions) {
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -202,10 +196,7 @@ export function createPredictApi(options: CreateClientOptions) {
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -246,10 +237,7 @@ export function createPredictApi(options: CreateClientOptions) {
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ export function createQuerySuggestionsApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -195,10 +192,7 @@ export function createQuerySuggestionsApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -382,10 +376,7 @@ export function createQuerySuggestionsApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -426,10 +417,7 @@ export function createQuerySuggestionsApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,7 @@ export function createSearchApi(options: CreateClientOptions) {
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -1080,10 +1077,7 @@ export function createSearchApi(options: CreateClientOptions) {
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -1974,10 +1968,7 @@ export function createSearchApi(options: CreateClientOptions) {
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -2018,10 +2009,7 @@ export function createSearchApi(options: CreateClientOptions) {
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ export function createSourcesApi(
{ path, parameters, body }: DelProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -116,10 +113,7 @@ export function createSourcesApi(
{ path, parameters }: GetProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -159,10 +153,7 @@ export function createSourcesApi(
{ path, parameters, body }: PostProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down Expand Up @@ -255,10 +246,7 @@ export function createSourcesApi(
{ path, parameters, body }: PutProps,
requestOptions?: RequestOptions
): Promise<Record<string, any>> {
const requestPath = '/1{path}'.replace(
'{path}',
encodeURIComponent(String(path))
);
const requestPath = '/1{path}'.replace('{path}', String(path));
const headers: Headers = {};
const queryParameters: QueryParameters = {};

Expand Down
Loading

0 comments on commit 58d7e7f

Please sign in to comment.