@algolia/ingestion 5.2.4-beta.5 → 5.10.0-beta.1
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/README.md +15 -7
- package/dist/browser.d.ts +1266 -634
- package/dist/builds/browser.js +223 -322
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +6 -6
- package/dist/builds/fetch.js +1943 -0
- package/dist/builds/fetch.js.map +1 -0
- package/dist/builds/node.cjs +220 -320
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +221 -320
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +3001 -0
- package/dist/node.d.cts +1267 -634
- package/dist/node.d.ts +1267 -634
- package/dist/src/ingestionClient.cjs +218 -319
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +218 -319
- package/dist/src/ingestionClient.js.map +1 -1
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/package.json +16 -11
- package/model/action.ts +0 -13
- package/model/actionType.ts +0 -6
- package/model/authAPIKey.ts +0 -11
- package/model/authAPIKeyPartial.ts +0 -11
- package/model/authAlgolia.ts +0 -16
- package/model/authAlgoliaInsights.ts +0 -16
- package/model/authAlgoliaInsightsPartial.ts +0 -16
- package/model/authAlgoliaPartial.ts +0 -16
- package/model/authBasic.ts +0 -16
- package/model/authBasicPartial.ts +0 -16
- package/model/authGoogleServiceAccount.ts +0 -16
- package/model/authGoogleServiceAccountPartial.ts +0 -16
- package/model/authInput.ts +0 -16
- package/model/authInputPartial.ts +0 -16
- package/model/authOAuth.ts +0 -26
- package/model/authOAuthPartial.ts +0 -26
- package/model/authentication.ts +0 -36
- package/model/authenticationCreate.ts +0 -21
- package/model/authenticationCreateResponse.ts +0 -21
- package/model/authenticationSearch.ts +0 -8
- package/model/authenticationSortKeys.ts +0 -6
- package/model/authenticationType.ts +0 -6
- package/model/authenticationUpdate.ts +0 -21
- package/model/authenticationUpdateResponse.ts +0 -21
- package/model/bigCommerceChannel.ts +0 -13
- package/model/bigCommerceMetafield.ts +0 -13
- package/model/bigQueryDataType.ts +0 -3
- package/model/clientMethodProps.ts +0 -703
- package/model/commercetoolsCustomFields.ts +0 -21
- package/model/deleteResponse.ts +0 -8
- package/model/destination.ts +0 -40
- package/model/destinationCreate.ts +0 -25
- package/model/destinationCreateResponse.ts +0 -21
- package/model/destinationIndexName.ts +0 -17
- package/model/destinationInput.ts +0 -5
- package/model/destinationSearch.ts +0 -8
- package/model/destinationSortKeys.ts +0 -6
- package/model/destinationType.ts +0 -6
- package/model/destinationUpdate.ts +0 -25
- package/model/destinationUpdateResponse.ts +0 -21
- package/model/dockerImageType.ts +0 -6
- package/model/dockerRegistry.ts +0 -6
- package/model/dockerStreams.ts +0 -17
- package/model/dockerStreamsInput.ts +0 -10
- package/model/dockerStreamsSyncMode.ts +0 -6
- package/model/entityType.ts +0 -6
- package/model/errorBase.ts +0 -8
- package/model/event.ts +0 -40
- package/model/eventSortKeys.ts +0 -6
- package/model/eventStatus.ts +0 -3
- package/model/eventType.ts +0 -3
- package/model/generateTransformationCodePayload.ts +0 -9
- package/model/generateTransformationCodeResponse.ts +0 -5
- package/model/index.ts +0 -151
- package/model/listAuthenticationsResponse.ts +0 -10
- package/model/listDestinationsResponse.ts +0 -10
- package/model/listEventsResponse.ts +0 -13
- package/model/listSourcesResponse.ts +0 -10
- package/model/listTasksResponse.ts +0 -13
- package/model/listTasksResponseV1.ts +0 -13
- package/model/listTransformationsResponse.ts +0 -13
- package/model/mappingFieldDirective.ts +0 -16
- package/model/mappingFormatSchema.ts +0 -6
- package/model/mappingInput.ts +0 -13
- package/model/mappingKitAction.ts +0 -25
- package/model/mappingTypeCSV.ts +0 -3
- package/model/methodType.ts +0 -6
- package/model/model.ts +0 -13
- package/model/onDemandTrigger.ts +0 -15
- package/model/onDemandTriggerInput.ts +0 -10
- package/model/onDemandTriggerType.ts +0 -6
- package/model/orderKeys.ts +0 -6
- package/model/pagination.ts +0 -26
- package/model/platform.ts +0 -6
- package/model/platformNone.ts +0 -6
- package/model/platformWithNone.ts +0 -6
- package/model/pushTaskPayload.ts +0 -10
- package/model/pushTaskRecords.ts +0 -8
- package/model/recordType.ts +0 -6
- package/model/run.ts +0 -56
- package/model/runListResponse.ts +0 -13
- package/model/runOutcome.ts +0 -6
- package/model/runProgress.ts +0 -7
- package/model/runReasonCode.ts +0 -6
- package/model/runResponse.ts +0 -16
- package/model/runSortKeys.ts +0 -6
- package/model/runSourcePayload.ts +0 -22
- package/model/runSourceResponse.ts +0 -13
- package/model/runStatus.ts +0 -6
- package/model/runType.ts +0 -6
- package/model/scheduleTrigger.ts +0 -25
- package/model/scheduleTriggerInput.ts +0 -15
- package/model/scheduleTriggerType.ts +0 -6
- package/model/shopifyInput.ts +0 -13
- package/model/shopifyMarket.ts +0 -12
- package/model/shopifyMetafield.ts +0 -12
- package/model/sortKeys.ts +0 -6
- package/model/source.ts +0 -32
- package/model/sourceBigCommerce.ts +0 -19
- package/model/sourceBigQuery.ts +0 -37
- package/model/sourceCSV.ts +0 -28
- package/model/sourceCommercetools.ts +0 -23
- package/model/sourceCreate.ts +0 -20
- package/model/sourceCreateResponse.ts +0 -18
- package/model/sourceDocker.ts +0 -25
- package/model/sourceGA4BigQueryExport.ts +0 -18
- package/model/sourceInput.ts +0 -20
- package/model/sourceJSON.ts +0 -17
- package/model/sourceSearch.ts +0 -5
- package/model/sourceShopify.ts +0 -6
- package/model/sourceShopifyBase.ts +0 -8
- package/model/sourceSortKeys.ts +0 -6
- package/model/sourceType.ts +0 -13
- package/model/sourceUpdate.ts +0 -17
- package/model/sourceUpdateCommercetools.ts +0 -21
- package/model/sourceUpdateDocker.ts +0 -22
- package/model/sourceUpdateInput.ts +0 -18
- package/model/sourceUpdateResponse.ts +0 -18
- package/model/sourceUpdateShopify.ts +0 -8
- package/model/sourceWatchResponse.ts +0 -25
- package/model/streamingInput.ts +0 -10
- package/model/streamingTrigger.ts +0 -10
- package/model/streamingTriggerType.ts +0 -6
- package/model/subscriptionTrigger.ts +0 -10
- package/model/subscriptionTriggerType.ts +0 -6
- package/model/task.ts +0 -65
- package/model/taskCreate.ts +0 -43
- package/model/taskCreateResponse.ts +0 -16
- package/model/taskCreateTrigger.ts +0 -8
- package/model/taskCreateV1.ts +0 -41
- package/model/taskInput.ts +0 -10
- package/model/taskSearch.ts +0 -5
- package/model/taskSortKeys.ts +0 -6
- package/model/taskUpdate.ts +0 -30
- package/model/taskUpdateResponse.ts +0 -16
- package/model/taskUpdateV1.ts +0 -28
- package/model/taskV1.ts +0 -56
- package/model/transformation.ts +0 -38
- package/model/transformationCreate.ts +0 -26
- package/model/transformationCreateResponse.ts +0 -16
- package/model/transformationError.ts +0 -16
- package/model/transformationModels.ts +0 -10
- package/model/transformationSearch.ts +0 -5
- package/model/transformationTry.ts +0 -17
- package/model/transformationTryResponse.ts +0 -12
- package/model/transformationUpdateResponse.ts +0 -16
- package/model/trigger.ts +0 -11
- package/model/triggerType.ts +0 -6
- package/model/triggerUpdateInput.ts +0 -11
- package/model/window.ts +0 -16
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.10.0-beta.1",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"module": "./dist/builds/node.js",
|
|
27
27
|
"require": "./dist/builds/node.cjs"
|
|
28
28
|
},
|
|
29
|
+
"worker": {
|
|
30
|
+
"types": "./dist/fetch.d.ts",
|
|
31
|
+
"default": "./dist/builds/fetch.js"
|
|
32
|
+
},
|
|
29
33
|
"default": {
|
|
30
34
|
"types": "./dist/browser.d.ts",
|
|
31
35
|
"module": "./dist/builds/browser.js",
|
|
@@ -37,24 +41,25 @@
|
|
|
37
41
|
},
|
|
38
42
|
"jsdelivr": "./dist/builds/browser.umd.js",
|
|
39
43
|
"unpkg": "./dist/builds/browser.umd.js",
|
|
44
|
+
"react-native": "./dist/builds/browser.js",
|
|
40
45
|
"files": [
|
|
41
46
|
"dist",
|
|
42
|
-
"model",
|
|
43
47
|
"index.js",
|
|
44
48
|
"index.d.ts"
|
|
45
49
|
],
|
|
46
50
|
"dependencies": {
|
|
47
|
-
"@algolia/client-common": "5.
|
|
48
|
-
"@algolia/requester-browser-xhr": "5.
|
|
49
|
-
"@algolia/requester-
|
|
51
|
+
"@algolia/client-common": "5.10.0-beta.1",
|
|
52
|
+
"@algolia/requester-browser-xhr": "5.10.0-beta.1",
|
|
53
|
+
"@algolia/requester-fetch": "5.10.0-beta.1",
|
|
54
|
+
"@algolia/requester-node-http": "5.10.0-beta.1"
|
|
50
55
|
},
|
|
51
56
|
"devDependencies": {
|
|
52
|
-
"@arethetypeswrong/cli": "0.
|
|
53
|
-
"@types/node": "22.
|
|
54
|
-
"publint": "0.2.
|
|
55
|
-
"rollup": "4.
|
|
56
|
-
"tsup": "8.
|
|
57
|
-
"typescript": "5.
|
|
57
|
+
"@arethetypeswrong/cli": "0.16.4",
|
|
58
|
+
"@types/node": "22.7.7",
|
|
59
|
+
"publint": "0.2.11",
|
|
60
|
+
"rollup": "4.24.0",
|
|
61
|
+
"tsup": "8.3.0",
|
|
62
|
+
"typescript": "5.6.3"
|
|
58
63
|
},
|
|
59
64
|
"engines": {
|
|
60
65
|
"node": ">= 14.0.0"
|
package/model/action.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type of indexing operation.
|
|
5
|
-
*/
|
|
6
|
-
export type Action =
|
|
7
|
-
| 'addObject'
|
|
8
|
-
| 'clear'
|
|
9
|
-
| 'delete'
|
|
10
|
-
| 'deleteObject'
|
|
11
|
-
| 'partialUpdateObject'
|
|
12
|
-
| 'partialUpdateObjectNoCreate'
|
|
13
|
-
| 'updateObject';
|
package/model/actionType.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Action to perform on the Algolia index.
|
|
5
|
-
*/
|
|
6
|
-
export type ActionType = 'append' | 'partial' | 'replace' | 'save';
|
package/model/authAPIKey.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with an API key.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAPIKey = {
|
|
7
|
-
/**
|
|
8
|
-
* API key. This field is `null` in the API response.
|
|
9
|
-
*/
|
|
10
|
-
key: string;
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with an API key.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAPIKeyPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* API key. This field is `null` in the API response.
|
|
9
|
-
*/
|
|
10
|
-
key?: string;
|
|
11
|
-
};
|
package/model/authAlgolia.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with Algolia.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAlgolia = {
|
|
7
|
-
/**
|
|
8
|
-
* Algolia application ID.
|
|
9
|
-
*/
|
|
10
|
-
appID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
apiKey: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with the Algolia Insights API.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAlgoliaInsights = {
|
|
7
|
-
/**
|
|
8
|
-
* Algolia application ID.
|
|
9
|
-
*/
|
|
10
|
-
appID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Algolia API key with the ACL: `search`. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
apiKey: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with the Algolia Insights API.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAlgoliaInsightsPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* Algolia application ID.
|
|
9
|
-
*/
|
|
10
|
-
appID?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Algolia API key with the ACL: `search`. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
apiKey?: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with Algolia.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthAlgoliaPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* Algolia application ID.
|
|
9
|
-
*/
|
|
10
|
-
appID?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Algolia API key with the ACL: `addObject`, `deleteObject`, `settings`, `editSettings`, `listIndexes`, `deleteIndex`. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
apiKey?: string;
|
|
16
|
-
};
|
package/model/authBasic.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with user name and password.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthBasic = {
|
|
7
|
-
/**
|
|
8
|
-
* Username.
|
|
9
|
-
*/
|
|
10
|
-
username: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Password. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
password: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with user name and password.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthBasicPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* Username.
|
|
9
|
-
*/
|
|
10
|
-
username?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Password. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
password?: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with a Google service account, such as BigQuery.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthGoogleServiceAccount = {
|
|
7
|
-
/**
|
|
8
|
-
* Email address of the Google service account.
|
|
9
|
-
*/
|
|
10
|
-
clientEmail: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Private key of the Google service account. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
privateKey: string;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with a Google service account, such as BigQuery.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthGoogleServiceAccountPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* Email address of the Google service account.
|
|
9
|
-
*/
|
|
10
|
-
clientEmail?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Private key of the Google service account. This field is `null` in the API response.
|
|
14
|
-
*/
|
|
15
|
-
privateKey?: string;
|
|
16
|
-
};
|
package/model/authInput.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AuthAPIKey } from './authAPIKey';
|
|
4
|
-
import type { AuthAlgolia } from './authAlgolia';
|
|
5
|
-
import type { AuthAlgoliaInsights } from './authAlgoliaInsights';
|
|
6
|
-
import type { AuthBasic } from './authBasic';
|
|
7
|
-
import type { AuthGoogleServiceAccount } from './authGoogleServiceAccount';
|
|
8
|
-
import type { AuthOAuth } from './authOAuth';
|
|
9
|
-
|
|
10
|
-
export type AuthInput =
|
|
11
|
-
| AuthAlgolia
|
|
12
|
-
| AuthAlgoliaInsights
|
|
13
|
-
| AuthAPIKey
|
|
14
|
-
| AuthBasic
|
|
15
|
-
| AuthGoogleServiceAccount
|
|
16
|
-
| AuthOAuth;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AuthAPIKeyPartial } from './authAPIKeyPartial';
|
|
4
|
-
import type { AuthAlgoliaInsightsPartial } from './authAlgoliaInsightsPartial';
|
|
5
|
-
import type { AuthAlgoliaPartial } from './authAlgoliaPartial';
|
|
6
|
-
import type { AuthBasicPartial } from './authBasicPartial';
|
|
7
|
-
import type { AuthGoogleServiceAccountPartial } from './authGoogleServiceAccountPartial';
|
|
8
|
-
import type { AuthOAuthPartial } from './authOAuthPartial';
|
|
9
|
-
|
|
10
|
-
export type AuthInputPartial =
|
|
11
|
-
| AuthAlgoliaInsightsPartial
|
|
12
|
-
| AuthAlgoliaPartial
|
|
13
|
-
| AuthAPIKeyPartial
|
|
14
|
-
| AuthBasicPartial
|
|
15
|
-
| AuthGoogleServiceAccountPartial
|
|
16
|
-
| AuthOAuthPartial;
|
package/model/authOAuth.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with OAuth 2.0.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthOAuth = {
|
|
7
|
-
/**
|
|
8
|
-
* URL for the OAuth endpoint.
|
|
9
|
-
*/
|
|
10
|
-
url: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Client ID.
|
|
14
|
-
*/
|
|
15
|
-
client_id: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Client secret. This field is `null` in the API response.
|
|
19
|
-
*/
|
|
20
|
-
client_secret: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* OAuth scope.
|
|
24
|
-
*/
|
|
25
|
-
scope?: string;
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Credentials for authenticating with OAuth 2.0.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthOAuthPartial = {
|
|
7
|
-
/**
|
|
8
|
-
* URL for the OAuth endpoint.
|
|
9
|
-
*/
|
|
10
|
-
url?: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Client ID.
|
|
14
|
-
*/
|
|
15
|
-
client_id?: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Client secret. This field is `null` in the API response.
|
|
19
|
-
*/
|
|
20
|
-
client_secret?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* OAuth scope.
|
|
24
|
-
*/
|
|
25
|
-
scope?: string;
|
|
26
|
-
};
|
package/model/authentication.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AuthInputPartial } from './authInputPartial';
|
|
4
|
-
import type { AuthenticationType } from './authenticationType';
|
|
5
|
-
import type { Platform } from './platform';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Resource representing the information required to authenticate with a source or a destination.
|
|
9
|
-
*/
|
|
10
|
-
export type Authentication = {
|
|
11
|
-
/**
|
|
12
|
-
* Universally unique identifier (UUID) of an authentication resource.
|
|
13
|
-
*/
|
|
14
|
-
authenticationID: string;
|
|
15
|
-
|
|
16
|
-
type: AuthenticationType;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Descriptive name for the resource.
|
|
20
|
-
*/
|
|
21
|
-
name: string;
|
|
22
|
-
|
|
23
|
-
platform?: Platform | null;
|
|
24
|
-
|
|
25
|
-
input: AuthInputPartial;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Date of creation in RFC 3339 format.
|
|
29
|
-
*/
|
|
30
|
-
createdAt: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Date of last update in RFC 3339 format.
|
|
34
|
-
*/
|
|
35
|
-
updatedAt?: string;
|
|
36
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AuthInput } from './authInput';
|
|
4
|
-
import type { AuthenticationType } from './authenticationType';
|
|
5
|
-
import type { Platform } from './platform';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Request body for creating a new authentication resource.
|
|
9
|
-
*/
|
|
10
|
-
export type AuthenticationCreate = {
|
|
11
|
-
type: AuthenticationType;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Descriptive name for the resource.
|
|
15
|
-
*/
|
|
16
|
-
name: string;
|
|
17
|
-
|
|
18
|
-
platform?: Platform | null;
|
|
19
|
-
|
|
20
|
-
input: AuthInput;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API response for the successful creation of an authentication resource.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthenticationCreateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of an authentication resource.
|
|
9
|
-
*/
|
|
10
|
-
authenticationID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Descriptive name for the resource.
|
|
14
|
-
*/
|
|
15
|
-
name: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Date of creation in RFC 3339 format.
|
|
19
|
-
*/
|
|
20
|
-
createdAt: string;
|
|
21
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Request body for searching for authentication resources.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthenticationSearch = {
|
|
7
|
-
authenticationIDs: string[];
|
|
8
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Property by which to sort the list of authentication resources.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthenticationSortKeys = 'auth_type' | 'createdAt' | 'name' | 'platform' | 'updatedAt';
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type of authentication. This determines the type of credentials required in the `input` object.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthenticationType = 'algolia' | 'algoliaInsights' | 'apiKey' | 'basic' | 'googleServiceAccount' | 'oauth';
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AuthInputPartial } from './authInputPartial';
|
|
4
|
-
import type { AuthenticationType } from './authenticationType';
|
|
5
|
-
import type { Platform } from './platform';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Request body for updating an authentication resource.
|
|
9
|
-
*/
|
|
10
|
-
export type AuthenticationUpdate = {
|
|
11
|
-
type?: AuthenticationType;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Descriptive name for the resource.
|
|
15
|
-
*/
|
|
16
|
-
name?: string;
|
|
17
|
-
|
|
18
|
-
platform?: Platform | null;
|
|
19
|
-
|
|
20
|
-
input?: AuthInputPartial;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API response for a successful update of an authentication resource.
|
|
5
|
-
*/
|
|
6
|
-
export type AuthenticationUpdateResponse = {
|
|
7
|
-
/**
|
|
8
|
-
* Universally unique identifier (UUID) of an authentication resource.
|
|
9
|
-
*/
|
|
10
|
-
authenticationID: string;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Descriptive name for the resource.
|
|
14
|
-
*/
|
|
15
|
-
name: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Date of last update in RFC 3339 format.
|
|
19
|
-
*/
|
|
20
|
-
updatedAt: string;
|
|
21
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
export type BigCommerceChannel = {
|
|
4
|
-
/**
|
|
5
|
-
* ID of the BigCommerce channel.
|
|
6
|
-
*/
|
|
7
|
-
id: number;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Currencies for the given channel.
|
|
11
|
-
*/
|
|
12
|
-
currencies?: string[];
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
export type BigCommerceMetafield = {
|
|
4
|
-
/**
|
|
5
|
-
* Namespace of the metafield.
|
|
6
|
-
*/
|
|
7
|
-
namespace: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Key identifier of the metafield.
|
|
11
|
-
*/
|
|
12
|
-
key: string;
|
|
13
|
-
};
|