Skip to content

Commit f192c10

Browse files
algolia-botshortcutsmillotp
committed
chore: generated code for commit aed20fe. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent aed20fe commit f192c10

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+678
-294
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* The action to perform on the Algolia index.
5+
*/
36
export type ActionType = 'delete' | 'replace' | 'save';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Authentication input used for token credentials.
5+
*/
36
export type AuthAPIKey = {
47
key: string;
58
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

33
export type AuthAlgolia = {
4+
/**
5+
* Algolia Application ID.
6+
*/
47
appID: string;
58

9+
/**
10+
* Algolia API Key, with the correct rights to push to an index and change settings.
11+
*/
612
apiKey: string;
713
};

clients/algoliasearch-client-javascript/packages/ingestion/model/authBasic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Authentication input for Basic login with username and password.
5+
*/
36
export type AuthBasic = {
47
username: string;
58

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Authentication input to connect to a Google service (e.g. BigQuery).
5+
*/
36
export type AuthGoogleServiceAccount = {
7+
/**
8+
* Email address of the Service Account.
9+
*/
410
clientEmail: string;
511

12+
/**
13+
* Private key of the Service Account.
14+
*/
615
privateKey: string;
716
};
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Authentication input for OAuth login.
5+
*/
36
export type AuthOAuth = {
7+
/**
8+
* The OAuth endpoint URL.
9+
*/
410
url: string;
511

12+
/**
13+
* The clientID.
14+
*/
615
client_id: string;
716

17+
/**
18+
* The secret.
19+
*/
820
client_secret: string;
9-
10-
scope?: string;
1121
};

clients/algoliasearch-client-javascript/packages/ingestion/model/authentication.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,20 @@
33
import type { AuthenticationType } from './authenticationType';
44
import type { Platform } from './platform';
55

6+
/**
7+
* An authentication is used to login into a Source or a Destination.
8+
*/
69
export type Authentication = {
10+
/**
11+
* The authentication UUID.
12+
*/
713
authenticationID: string;
814

915
type: AuthenticationType;
1016

17+
/**
18+
* An human readable name describing the object.
19+
*/
1120
name: string;
1221

1322
platform?: Platform;

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationCreate.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ import type { AuthInput } from './authInput';
44
import type { AuthenticationType } from './authenticationType';
55
import type { Platform } from './platform';
66

7+
/**
8+
* The payload when creating an authentication.
9+
*/
710
export type AuthenticationCreate = {
811
type: AuthenticationType;
912

13+
/**
14+
* An human readable name describing the object.
15+
*/
1016
name: string;
1117

1218
platform?: Platform;

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationCreateResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Response from the API when the Authentication is successfully created.
5+
*/
36
export type AuthenticationCreateResponse = {
7+
/**
8+
* The authentication UUID.
9+
*/
410
authenticationID: string;
511

12+
/**
13+
* An human readable name describing the object.
14+
*/
615
name: string;
716

817
/**

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationInput.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
import type { AuthInput } from './authInput';
44

5+
/**
6+
* The authentication input property stores the (encrypted) credentials.
7+
*/
58
export type AuthenticationInput = {
69
input: AuthInput;
710
};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Payload to search for multiple authentications, based on the given `authenticationIDs`.
5+
*/
36
export type AuthenticationSearch = {
47
authenticationIDs: string[];
58
};

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationType.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Type of the Authentication, defines what kind of object is stored in the input.
5+
*/
36
export type AuthenticationType =
47
| 'algolia'
58
| 'apiKey'

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationUpdate.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ import type { AuthInput } from './authInput';
44
import type { AuthenticationType } from './authenticationType';
55
import type { Platform } from './platform';
66

7+
/**
8+
* Payload to partialy update an Authentication.
9+
*/
710
export type AuthenticationUpdate = {
811
type?: AuthenticationType;
912

13+
/**
14+
* An human readable name describing the object.
15+
*/
1016
name?: string;
1117

1218
platform?: Platform;

clients/algoliasearch-client-javascript/packages/ingestion/model/authenticationUpdateResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3+
/**
4+
* Response from the API when the Authentication is successfully updated.
5+
*/
36
export type AuthenticationUpdateResponse = {
7+
/**
8+
* The authentication UUID.
9+
*/
410
authenticationID: string;
511

12+
/**
13+
* An human readable name describing the object.
14+
*/
615
name: string;
716

817
/**

0 commit comments

Comments
 (0)