hostinger-api-sdk 2.1.3 → 2.3.0
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 +2 -2
- package/api.ts +194 -32
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +128 -32
- package/dist/api.js +116 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +128 -32
- package/dist/esm/api.js +116 -5
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/HostingNodeJSApi.md +70 -0
- package/docs/HostingV1NodeJsGetBuildSettingsFromRepositoryRequest.md +26 -0
- package/docs/ReachContactsApi.md +1 -1
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +2 -0
- package/docs/{ReachV1ContactsUpdateRequestFieldsInner.md → ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner.md} +3 -3
- package/docs/ReachV1ContactsStoreRequest.md +2 -0
- package/docs/ReachV1ContactsUpdateRequest.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## @hostinger/sdk@2.
|
|
1
|
+
## @hostinger/sdk@2.3.0
|
|
2
2
|
|
|
3
3
|
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
|
|
4
4
|
|
|
5
5
|
### Usage
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
npm install @hostinger/sdk@2.
|
|
8
|
+
npm install @hostinger/sdk@2.3.0 --save
|
|
9
9
|
```
|
package/api.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -8937,6 +8937,37 @@ export interface HostingV1NodeJsEnvVarResource {
|
|
|
8937
8937
|
*/
|
|
8938
8938
|
'value': string;
|
|
8939
8939
|
}
|
|
8940
|
+
/**
|
|
8941
|
+
*
|
|
8942
|
+
* @export
|
|
8943
|
+
* @interface HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8944
|
+
*/
|
|
8945
|
+
export interface HostingV1NodeJsGetBuildSettingsFromRepositoryRequest {
|
|
8946
|
+
/**
|
|
8947
|
+
* Repository owner login, as returned by `List Git installation repositories`. GitLab group paths use slashes.
|
|
8948
|
+
* @type {string}
|
|
8949
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8950
|
+
*/
|
|
8951
|
+
'owner': string;
|
|
8952
|
+
/**
|
|
8953
|
+
* Repository name without the .git suffix
|
|
8954
|
+
* @type {string}
|
|
8955
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8956
|
+
*/
|
|
8957
|
+
'repository': string;
|
|
8958
|
+
/**
|
|
8959
|
+
* Branch whose package.json is inspected
|
|
8960
|
+
* @type {string}
|
|
8961
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8962
|
+
*/
|
|
8963
|
+
'branch': string;
|
|
8964
|
+
/**
|
|
8965
|
+
* Git installation used to access the repository, taken from `List Git installations`
|
|
8966
|
+
* @type {string}
|
|
8967
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8968
|
+
*/
|
|
8969
|
+
'installation_uuid': string;
|
|
8970
|
+
}
|
|
8940
8971
|
/**
|
|
8941
8972
|
*
|
|
8942
8973
|
* @export
|
|
@@ -13178,6 +13209,37 @@ export interface ReachV1ContactsBulkStoreRequestContactsInner {
|
|
|
13178
13209
|
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
13179
13210
|
*/
|
|
13180
13211
|
'phone': string | null;
|
|
13212
|
+
/**
|
|
13213
|
+
* Custom field values to set on the contact. For a contact whose email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
13214
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
13215
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
13216
|
+
*/
|
|
13217
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
13218
|
+
}
|
|
13219
|
+
/**
|
|
13220
|
+
*
|
|
13221
|
+
* @export
|
|
13222
|
+
* @interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
13223
|
+
*/
|
|
13224
|
+
export interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner {
|
|
13225
|
+
/**
|
|
13226
|
+
*
|
|
13227
|
+
* @type {string}
|
|
13228
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
13229
|
+
*/
|
|
13230
|
+
'uuid': string;
|
|
13231
|
+
/**
|
|
13232
|
+
* For the scalar field types
|
|
13233
|
+
* @type {string}
|
|
13234
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
13235
|
+
*/
|
|
13236
|
+
'value': string | null;
|
|
13237
|
+
/**
|
|
13238
|
+
* For the choice field types
|
|
13239
|
+
* @type {Array<string>}
|
|
13240
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
13241
|
+
*/
|
|
13242
|
+
'selected_option_uuids': Array<string>;
|
|
13181
13243
|
}
|
|
13182
13244
|
/**
|
|
13183
13245
|
*
|
|
@@ -14501,6 +14563,12 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
14501
14563
|
* @memberof ReachV1ContactsStoreRequest
|
|
14502
14564
|
*/
|
|
14503
14565
|
'tag_uuids': Array<string>;
|
|
14566
|
+
/**
|
|
14567
|
+
* Custom field values to set on the contact. When a contact with this email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
14568
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14569
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
14570
|
+
*/
|
|
14571
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14504
14572
|
}
|
|
14505
14573
|
/**
|
|
14506
14574
|
* Contacts to assign to, or remove from, a tag
|
|
@@ -14630,10 +14698,10 @@ export interface ReachV1ContactsUpdateRequest {
|
|
|
14630
14698
|
'note': string | null;
|
|
14631
14699
|
/**
|
|
14632
14700
|
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
14633
|
-
* @type {Array<
|
|
14701
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14634
14702
|
* @memberof ReachV1ContactsUpdateRequest
|
|
14635
14703
|
*/
|
|
14636
|
-
'fields': Array<
|
|
14704
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14637
14705
|
}
|
|
14638
14706
|
|
|
14639
14707
|
export const ReachV1ContactsUpdateRequestSubscriptionStatusEnum = {
|
|
@@ -14645,31 +14713,6 @@ export const ReachV1ContactsUpdateRequestSubscriptionStatusEnum = {
|
|
|
14645
14713
|
|
|
14646
14714
|
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
14647
14715
|
|
|
14648
|
-
/**
|
|
14649
|
-
*
|
|
14650
|
-
* @export
|
|
14651
|
-
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
14652
|
-
*/
|
|
14653
|
-
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
14654
|
-
/**
|
|
14655
|
-
*
|
|
14656
|
-
* @type {string}
|
|
14657
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14658
|
-
*/
|
|
14659
|
-
'uuid': string;
|
|
14660
|
-
/**
|
|
14661
|
-
* For the scalar field types
|
|
14662
|
-
* @type {string}
|
|
14663
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14664
|
-
*/
|
|
14665
|
-
'value': string | null;
|
|
14666
|
-
/**
|
|
14667
|
-
* For the choice field types
|
|
14668
|
-
* @type {Array<string>}
|
|
14669
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14670
|
-
*/
|
|
14671
|
-
'selected_option_uuids': Array<string>;
|
|
14672
|
-
}
|
|
14673
14716
|
/**
|
|
14674
14717
|
* Tags every future submitter of the form receives
|
|
14675
14718
|
* @export
|
|
@@ -35129,6 +35172,76 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35129
35172
|
|
|
35130
35173
|
|
|
35131
35174
|
|
|
35175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35177
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35178
|
+
|
|
35179
|
+
return {
|
|
35180
|
+
url: toPathString(localVarUrlObj),
|
|
35181
|
+
options: localVarRequestOptions,
|
|
35182
|
+
};
|
|
35183
|
+
},
|
|
35184
|
+
/**
|
|
35185
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
35186
|
+
* @summary Get Node.js build settings from repository
|
|
35187
|
+
* @param {string} username
|
|
35188
|
+
* @param {string} domain Domain name
|
|
35189
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
35190
|
+
* @param {string} repository Repository name without the .git suffix
|
|
35191
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
35192
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
35193
|
+
* @param {*} [options] Override http request option.
|
|
35194
|
+
* @throws {RequiredError}
|
|
35195
|
+
*/
|
|
35196
|
+
getNodeJsBuildSettingsFromRepositoryV1: async (username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35197
|
+
// verify required parameter 'username' is not null or undefined
|
|
35198
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'username', username)
|
|
35199
|
+
// verify required parameter 'domain' is not null or undefined
|
|
35200
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'domain', domain)
|
|
35201
|
+
// verify required parameter 'owner' is not null or undefined
|
|
35202
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'owner', owner)
|
|
35203
|
+
// verify required parameter 'repository' is not null or undefined
|
|
35204
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'repository', repository)
|
|
35205
|
+
// verify required parameter 'branch' is not null or undefined
|
|
35206
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'branch', branch)
|
|
35207
|
+
// verify required parameter 'installationUuid' is not null or undefined
|
|
35208
|
+
assertParamExists('getNodeJsBuildSettingsFromRepositoryV1', 'installationUuid', installationUuid)
|
|
35209
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/from-repository`
|
|
35210
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
35211
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
35212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35214
|
+
let baseOptions;
|
|
35215
|
+
if (configuration) {
|
|
35216
|
+
baseOptions = configuration.baseOptions;
|
|
35217
|
+
}
|
|
35218
|
+
|
|
35219
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35220
|
+
const localVarHeaderParameter = {} as any;
|
|
35221
|
+
const localVarQueryParameter = {} as any;
|
|
35222
|
+
|
|
35223
|
+
// authentication apiToken required
|
|
35224
|
+
// http bearer authentication required
|
|
35225
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35226
|
+
|
|
35227
|
+
if (owner !== undefined) {
|
|
35228
|
+
localVarQueryParameter['owner'] = owner;
|
|
35229
|
+
}
|
|
35230
|
+
|
|
35231
|
+
if (repository !== undefined) {
|
|
35232
|
+
localVarQueryParameter['repository'] = repository;
|
|
35233
|
+
}
|
|
35234
|
+
|
|
35235
|
+
if (branch !== undefined) {
|
|
35236
|
+
localVarQueryParameter['branch'] = branch;
|
|
35237
|
+
}
|
|
35238
|
+
|
|
35239
|
+
if (installationUuid !== undefined) {
|
|
35240
|
+
localVarQueryParameter['installation_uuid'] = installationUuid;
|
|
35241
|
+
}
|
|
35242
|
+
|
|
35243
|
+
|
|
35244
|
+
|
|
35132
35245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35133
35246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35134
35247
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -35702,6 +35815,23 @@ export const HostingNodeJSApiFp = function(configuration?: Configuration) {
|
|
|
35702
35815
|
const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.getNodeJsBuildSettingsFromArchiveV1']?.[0]?.url;
|
|
35703
35816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35704
35817
|
},
|
|
35818
|
+
/**
|
|
35819
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
35820
|
+
* @summary Get Node.js build settings from repository
|
|
35821
|
+
* @param {string} username
|
|
35822
|
+
* @param {string} domain Domain name
|
|
35823
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
35824
|
+
* @param {string} repository Repository name without the .git suffix
|
|
35825
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
35826
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
35827
|
+
* @param {*} [options] Override http request option.
|
|
35828
|
+
* @throws {RequiredError}
|
|
35829
|
+
*/
|
|
35830
|
+
async getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildSettingsResource>> {
|
|
35831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options);
|
|
35832
|
+
const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.getNodeJsBuildSettingsFromRepositoryV1']?.[0]?.url;
|
|
35833
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35834
|
+
},
|
|
35705
35835
|
/**
|
|
35706
35836
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
35707
35837
|
* @summary Get Node.js build settings
|
|
@@ -35914,6 +36044,21 @@ export const HostingNodeJSApiFactory = function (configuration?: Configuration,
|
|
|
35914
36044
|
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildSettingsResource> {
|
|
35915
36045
|
return localVarFp.getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(axios, basePath));
|
|
35916
36046
|
},
|
|
36047
|
+
/**
|
|
36048
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
36049
|
+
* @summary Get Node.js build settings from repository
|
|
36050
|
+
* @param {string} username
|
|
36051
|
+
* @param {string} domain Domain name
|
|
36052
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
36053
|
+
* @param {string} repository Repository name without the .git suffix
|
|
36054
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
36055
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
36056
|
+
* @param {*} [options] Override http request option.
|
|
36057
|
+
* @throws {RequiredError}
|
|
36058
|
+
*/
|
|
36059
|
+
getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildSettingsResource> {
|
|
36060
|
+
return localVarFp.getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options).then((request) => request(axios, basePath));
|
|
36061
|
+
},
|
|
35917
36062
|
/**
|
|
35918
36063
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
35919
36064
|
* @summary Get Node.js build settings
|
|
@@ -36116,6 +36261,23 @@ export class HostingNodeJSApi extends BaseAPI {
|
|
|
36116
36261
|
return HostingNodeJSApiFp(this.configuration).getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(this.axios, this.basePath));
|
|
36117
36262
|
}
|
|
36118
36263
|
|
|
36264
|
+
/**
|
|
36265
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
36266
|
+
* @summary Get Node.js build settings from repository
|
|
36267
|
+
* @param {string} username
|
|
36268
|
+
* @param {string} domain Domain name
|
|
36269
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
36270
|
+
* @param {string} repository Repository name without the .git suffix
|
|
36271
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
36272
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
36273
|
+
* @param {*} [options] Override http request option.
|
|
36274
|
+
* @throws {RequiredError}
|
|
36275
|
+
* @memberof HostingNodeJSApi
|
|
36276
|
+
*/
|
|
36277
|
+
public getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig) {
|
|
36278
|
+
return HostingNodeJSApiFp(this.configuration).getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options).then((request) => request(this.axios, this.basePath));
|
|
36279
|
+
}
|
|
36280
|
+
|
|
36119
36281
|
/**
|
|
36120
36282
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
36121
36283
|
* @summary Get Node.js build settings
|
|
@@ -43224,7 +43386,7 @@ export const ReachContactsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
43224
43386
|
};
|
|
43225
43387
|
},
|
|
43226
43388
|
/**
|
|
43227
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
43389
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
43228
43390
|
* @summary Create contacts in bulk
|
|
43229
43391
|
* @param {string} profileUuid Profile uuid parameter
|
|
43230
43392
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -43654,7 +43816,7 @@ export const ReachContactsApiFp = function(configuration?: Configuration) {
|
|
|
43654
43816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43655
43817
|
},
|
|
43656
43818
|
/**
|
|
43657
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
43819
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
43658
43820
|
* @summary Create contacts in bulk
|
|
43659
43821
|
* @param {string} profileUuid Profile uuid parameter
|
|
43660
43822
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -43798,7 +43960,7 @@ export const ReachContactsApiFactory = function (configuration?: Configuration,
|
|
|
43798
43960
|
return localVarFp.createANewContactV1(reachV1ContactsStoreRequest, options).then((request) => request(axios, basePath));
|
|
43799
43961
|
},
|
|
43800
43962
|
/**
|
|
43801
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
43963
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
43802
43964
|
* @summary Create contacts in bulk
|
|
43803
43965
|
* @param {string} profileUuid Profile uuid parameter
|
|
43804
43966
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -43926,7 +44088,7 @@ export class ReachContactsApi extends BaseAPI {
|
|
|
43926
44088
|
}
|
|
43927
44089
|
|
|
43928
44090
|
/**
|
|
43929
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
44091
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
43930
44092
|
* @summary Create contacts in bulk
|
|
43931
44093
|
* @param {string} profileUuid Profile uuid parameter
|
|
43932
44094
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 2.
|
|
6
|
+
* API Version: 2.3.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/2.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/2.3.0",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 2.
|
|
4
|
+
* API Version: 2.3.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -8748,6 +8748,37 @@ export interface HostingV1NodeJsEnvVarResource {
|
|
|
8748
8748
|
*/
|
|
8749
8749
|
'value': string;
|
|
8750
8750
|
}
|
|
8751
|
+
/**
|
|
8752
|
+
*
|
|
8753
|
+
* @export
|
|
8754
|
+
* @interface HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8755
|
+
*/
|
|
8756
|
+
export interface HostingV1NodeJsGetBuildSettingsFromRepositoryRequest {
|
|
8757
|
+
/**
|
|
8758
|
+
* Repository owner login, as returned by `List Git installation repositories`. GitLab group paths use slashes.
|
|
8759
|
+
* @type {string}
|
|
8760
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8761
|
+
*/
|
|
8762
|
+
'owner': string;
|
|
8763
|
+
/**
|
|
8764
|
+
* Repository name without the .git suffix
|
|
8765
|
+
* @type {string}
|
|
8766
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8767
|
+
*/
|
|
8768
|
+
'repository': string;
|
|
8769
|
+
/**
|
|
8770
|
+
* Branch whose package.json is inspected
|
|
8771
|
+
* @type {string}
|
|
8772
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8773
|
+
*/
|
|
8774
|
+
'branch': string;
|
|
8775
|
+
/**
|
|
8776
|
+
* Git installation used to access the repository, taken from `List Git installations`
|
|
8777
|
+
* @type {string}
|
|
8778
|
+
* @memberof HostingV1NodeJsGetBuildSettingsFromRepositoryRequest
|
|
8779
|
+
*/
|
|
8780
|
+
'installation_uuid': string;
|
|
8781
|
+
}
|
|
8751
8782
|
/**
|
|
8752
8783
|
*
|
|
8753
8784
|
* @export
|
|
@@ -12904,6 +12935,37 @@ export interface ReachV1ContactsBulkStoreRequestContactsInner {
|
|
|
12904
12935
|
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
12905
12936
|
*/
|
|
12906
12937
|
'phone': string | null;
|
|
12938
|
+
/**
|
|
12939
|
+
* Custom field values to set on the contact. For a contact whose email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
12940
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
12941
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInner
|
|
12942
|
+
*/
|
|
12943
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
12944
|
+
}
|
|
12945
|
+
/**
|
|
12946
|
+
*
|
|
12947
|
+
* @export
|
|
12948
|
+
* @interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12949
|
+
*/
|
|
12950
|
+
export interface ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner {
|
|
12951
|
+
/**
|
|
12952
|
+
*
|
|
12953
|
+
* @type {string}
|
|
12954
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12955
|
+
*/
|
|
12956
|
+
'uuid': string;
|
|
12957
|
+
/**
|
|
12958
|
+
* For the scalar field types
|
|
12959
|
+
* @type {string}
|
|
12960
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12961
|
+
*/
|
|
12962
|
+
'value': string | null;
|
|
12963
|
+
/**
|
|
12964
|
+
* For the choice field types
|
|
12965
|
+
* @type {Array<string>}
|
|
12966
|
+
* @memberof ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner
|
|
12967
|
+
*/
|
|
12968
|
+
'selected_option_uuids': Array<string>;
|
|
12907
12969
|
}
|
|
12908
12970
|
/**
|
|
12909
12971
|
*
|
|
@@ -14175,6 +14237,12 @@ export interface ReachV1ContactsStoreRequest {
|
|
|
14175
14237
|
* @memberof ReachV1ContactsStoreRequest
|
|
14176
14238
|
*/
|
|
14177
14239
|
'tag_uuids': Array<string>;
|
|
14240
|
+
/**
|
|
14241
|
+
* Custom field values to set on the contact. When a contact with this email already exists, only fields that have no value yet are filled. Unknown field UUIDs and values that do not match the field type are skipped.
|
|
14242
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14243
|
+
* @memberof ReachV1ContactsStoreRequest
|
|
14244
|
+
*/
|
|
14245
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14178
14246
|
}
|
|
14179
14247
|
/**
|
|
14180
14248
|
* Contacts to assign to, or remove from, a tag
|
|
@@ -14301,10 +14369,10 @@ export interface ReachV1ContactsUpdateRequest {
|
|
|
14301
14369
|
'note': string | null;
|
|
14302
14370
|
/**
|
|
14303
14371
|
* Set custom field values. Omit to leave untouched, send an empty array to clear them all.
|
|
14304
|
-
* @type {Array<
|
|
14372
|
+
* @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
|
|
14305
14373
|
* @memberof ReachV1ContactsUpdateRequest
|
|
14306
14374
|
*/
|
|
14307
|
-
'fields': Array<
|
|
14375
|
+
'fields': Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>;
|
|
14308
14376
|
}
|
|
14309
14377
|
export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
14310
14378
|
readonly Subscribed: "subscribed";
|
|
@@ -14313,31 +14381,6 @@ export declare const ReachV1ContactsUpdateRequestSubscriptionStatusEnum: {
|
|
|
14313
14381
|
readonly Pending: "pending";
|
|
14314
14382
|
};
|
|
14315
14383
|
export type ReachV1ContactsUpdateRequestSubscriptionStatusEnum = typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum[keyof typeof ReachV1ContactsUpdateRequestSubscriptionStatusEnum];
|
|
14316
|
-
/**
|
|
14317
|
-
*
|
|
14318
|
-
* @export
|
|
14319
|
-
* @interface ReachV1ContactsUpdateRequestFieldsInner
|
|
14320
|
-
*/
|
|
14321
|
-
export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
14322
|
-
/**
|
|
14323
|
-
*
|
|
14324
|
-
* @type {string}
|
|
14325
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14326
|
-
*/
|
|
14327
|
-
'uuid': string;
|
|
14328
|
-
/**
|
|
14329
|
-
* For the scalar field types
|
|
14330
|
-
* @type {string}
|
|
14331
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14332
|
-
*/
|
|
14333
|
-
'value': string | null;
|
|
14334
|
-
/**
|
|
14335
|
-
* For the choice field types
|
|
14336
|
-
* @type {Array<string>}
|
|
14337
|
-
* @memberof ReachV1ContactsUpdateRequestFieldsInner
|
|
14338
|
-
*/
|
|
14339
|
-
'selected_option_uuids': Array<string>;
|
|
14340
|
-
}
|
|
14341
14384
|
/**
|
|
14342
14385
|
* Tags every future submitter of the form receives
|
|
14343
14386
|
* @export
|
|
@@ -26266,6 +26309,19 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
|
|
|
26266
26309
|
* @throws {RequiredError}
|
|
26267
26310
|
*/
|
|
26268
26311
|
getNodeJsBuildSettingsFromArchiveV1: (username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26312
|
+
/**
|
|
26313
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
26314
|
+
* @summary Get Node.js build settings from repository
|
|
26315
|
+
* @param {string} username
|
|
26316
|
+
* @param {string} domain Domain name
|
|
26317
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
26318
|
+
* @param {string} repository Repository name without the .git suffix
|
|
26319
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
26320
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
26321
|
+
* @param {*} [options] Override http request option.
|
|
26322
|
+
* @throws {RequiredError}
|
|
26323
|
+
*/
|
|
26324
|
+
getNodeJsBuildSettingsFromRepositoryV1: (username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26269
26325
|
/**
|
|
26270
26326
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
26271
26327
|
* @summary Get Node.js build settings
|
|
@@ -26424,6 +26480,19 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
|
|
|
26424
26480
|
* @throws {RequiredError}
|
|
26425
26481
|
*/
|
|
26426
26482
|
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildSettingsResource>>;
|
|
26483
|
+
/**
|
|
26484
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
26485
|
+
* @summary Get Node.js build settings from repository
|
|
26486
|
+
* @param {string} username
|
|
26487
|
+
* @param {string} domain Domain name
|
|
26488
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
26489
|
+
* @param {string} repository Repository name without the .git suffix
|
|
26490
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
26491
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
26492
|
+
* @param {*} [options] Override http request option.
|
|
26493
|
+
* @throws {RequiredError}
|
|
26494
|
+
*/
|
|
26495
|
+
getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsBuildSettingsResource>>;
|
|
26427
26496
|
/**
|
|
26428
26497
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
26429
26498
|
* @summary Get Node.js build settings
|
|
@@ -26582,6 +26651,19 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
|
|
|
26582
26651
|
* @throws {RequiredError}
|
|
26583
26652
|
*/
|
|
26584
26653
|
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildSettingsResource>;
|
|
26654
|
+
/**
|
|
26655
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
26656
|
+
* @summary Get Node.js build settings from repository
|
|
26657
|
+
* @param {string} username
|
|
26658
|
+
* @param {string} domain Domain name
|
|
26659
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
26660
|
+
* @param {string} repository Repository name without the .git suffix
|
|
26661
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
26662
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
26663
|
+
* @param {*} [options] Override http request option.
|
|
26664
|
+
* @throws {RequiredError}
|
|
26665
|
+
*/
|
|
26666
|
+
getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsBuildSettingsResource>;
|
|
26585
26667
|
/**
|
|
26586
26668
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
26587
26669
|
* @summary Get Node.js build settings
|
|
@@ -26747,6 +26829,20 @@ export declare class HostingNodeJSApi extends BaseAPI {
|
|
|
26747
26829
|
* @memberof HostingNodeJSApi
|
|
26748
26830
|
*/
|
|
26749
26831
|
getNodeJsBuildSettingsFromArchiveV1(username: string, domain: string, archivePath: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsBuildSettingsResource, any, {}, any>>;
|
|
26832
|
+
/**
|
|
26833
|
+
* Determine the build settings for a Node.js application from the package.json file of a branch in a Git repository. Use before starting a Git-source build to find out the auto-detected settings instead of guessing them. The repository is read through a Git installation: take `installation_uuid` from `List Git installations` and `owner` and `repository` from `List Git installation repositories`. Returns 422 when the installation is not found, the repository or branch is not found, or the branch has no package.json.
|
|
26834
|
+
* @summary Get Node.js build settings from repository
|
|
26835
|
+
* @param {string} username
|
|
26836
|
+
* @param {string} domain Domain name
|
|
26837
|
+
* @param {string} owner Repository owner login. GitLab group paths use slashes.
|
|
26838
|
+
* @param {string} repository Repository name without the .git suffix
|
|
26839
|
+
* @param {string} branch Branch whose package.json is inspected
|
|
26840
|
+
* @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
|
|
26841
|
+
* @param {*} [options] Override http request option.
|
|
26842
|
+
* @throws {RequiredError}
|
|
26843
|
+
* @memberof HostingNodeJSApi
|
|
26844
|
+
*/
|
|
26845
|
+
getNodeJsBuildSettingsFromRepositoryV1(username: string, domain: string, owner: string, repository: string, branch: string, installationUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsBuildSettingsResource, any, {}, any>>;
|
|
26750
26846
|
/**
|
|
26751
26847
|
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
26752
26848
|
* @summary Get Node.js build settings
|
|
@@ -30317,7 +30413,7 @@ export declare const ReachContactsApiAxiosParamCreator: (configuration?: Configu
|
|
|
30317
30413
|
*/
|
|
30318
30414
|
createANewContactV1: (reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30319
30415
|
/**
|
|
30320
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30416
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30321
30417
|
* @summary Create contacts in bulk
|
|
30322
30418
|
* @param {string} profileUuid Profile uuid parameter
|
|
30323
30419
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30419,7 +30515,7 @@ export declare const ReachContactsApiFp: (configuration?: Configuration) => {
|
|
|
30419
30515
|
*/
|
|
30420
30516
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
30421
30517
|
/**
|
|
30422
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30518
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30423
30519
|
* @summary Create contacts in bulk
|
|
30424
30520
|
* @param {string} profileUuid Profile uuid parameter
|
|
30425
30521
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30521,7 +30617,7 @@ export declare const ReachContactsApiFactory: (configuration?: Configuration, ba
|
|
|
30521
30617
|
*/
|
|
30522
30618
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
30523
30619
|
/**
|
|
30524
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30620
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30525
30621
|
* @summary Create contacts in bulk
|
|
30526
30622
|
* @param {string} profileUuid Profile uuid parameter
|
|
30527
30623
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|
|
@@ -30626,7 +30722,7 @@ export declare class ReachContactsApi extends BaseAPI {
|
|
|
30626
30722
|
*/
|
|
30627
30723
|
createANewContactV1(reachV1ContactsStoreRequest: ReachV1ContactsStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
30628
30724
|
/**
|
|
30629
|
-
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile are
|
|
30725
|
+
* Create many contacts in a profile in a single call. The contacts are imported in the background, so a success response means the import was accepted rather than finished. Contacts whose email already exists in the profile keep their current values; only the ones that are still empty, custom fields included, are filled in. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
|
|
30630
30726
|
* @summary Create contacts in bulk
|
|
30631
30727
|
* @param {string} profileUuid Profile uuid parameter
|
|
30632
30728
|
* @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
|