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/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.1.3
7
+ * API Version: 2.3.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -16721,6 +16721,66 @@ const HostingNodeJSApiAxiosParamCreator = function (configuration) {
16721
16721
  options: localVarRequestOptions,
16722
16722
  };
16723
16723
  }),
16724
+ /**
16725
+ * 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.
16726
+ * @summary Get Node.js build settings from repository
16727
+ * @param {string} username
16728
+ * @param {string} domain Domain name
16729
+ * @param {string} owner Repository owner login. GitLab group paths use slashes.
16730
+ * @param {string} repository Repository name without the .git suffix
16731
+ * @param {string} branch Branch whose package.json is inspected
16732
+ * @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
16733
+ * @param {*} [options] Override http request option.
16734
+ * @throws {RequiredError}
16735
+ */
16736
+ getNodeJsBuildSettingsFromRepositoryV1: (username_1, domain_1, owner_1, repository_1, branch_1, installationUuid_1, ...args_1) => __awaiter(this, [username_1, domain_1, owner_1, repository_1, branch_1, installationUuid_1, ...args_1], void 0, function* (username, domain, owner, repository, branch, installationUuid, options = {}) {
16737
+ // verify required parameter 'username' is not null or undefined
16738
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'username', username);
16739
+ // verify required parameter 'domain' is not null or undefined
16740
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'domain', domain);
16741
+ // verify required parameter 'owner' is not null or undefined
16742
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'owner', owner);
16743
+ // verify required parameter 'repository' is not null or undefined
16744
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'repository', repository);
16745
+ // verify required parameter 'branch' is not null or undefined
16746
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'branch', branch);
16747
+ // verify required parameter 'installationUuid' is not null or undefined
16748
+ (0, common_1.assertParamExists)('getNodeJsBuildSettingsFromRepositoryV1', 'installationUuid', installationUuid);
16749
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/from-repository`
16750
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
16751
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
16752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16753
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16754
+ let baseOptions;
16755
+ if (configuration) {
16756
+ baseOptions = configuration.baseOptions;
16757
+ }
16758
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16759
+ const localVarHeaderParameter = {};
16760
+ const localVarQueryParameter = {};
16761
+ // authentication apiToken required
16762
+ // http bearer authentication required
16763
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16764
+ if (owner !== undefined) {
16765
+ localVarQueryParameter['owner'] = owner;
16766
+ }
16767
+ if (repository !== undefined) {
16768
+ localVarQueryParameter['repository'] = repository;
16769
+ }
16770
+ if (branch !== undefined) {
16771
+ localVarQueryParameter['branch'] = branch;
16772
+ }
16773
+ if (installationUuid !== undefined) {
16774
+ localVarQueryParameter['installation_uuid'] = installationUuid;
16775
+ }
16776
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16777
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16778
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16779
+ return {
16780
+ url: (0, common_1.toPathString)(localVarUrlObj),
16781
+ options: localVarRequestOptions,
16782
+ };
16783
+ }),
16724
16784
  /**
16725
16785
  * 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.
16726
16786
  * @summary Get Node.js build settings
@@ -17228,6 +17288,26 @@ const HostingNodeJSApiFp = function (configuration) {
17228
17288
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17229
17289
  });
17230
17290
  },
17291
+ /**
17292
+ * 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.
17293
+ * @summary Get Node.js build settings from repository
17294
+ * @param {string} username
17295
+ * @param {string} domain Domain name
17296
+ * @param {string} owner Repository owner login. GitLab group paths use slashes.
17297
+ * @param {string} repository Repository name without the .git suffix
17298
+ * @param {string} branch Branch whose package.json is inspected
17299
+ * @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
17300
+ * @param {*} [options] Override http request option.
17301
+ * @throws {RequiredError}
17302
+ */
17303
+ getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options) {
17304
+ return __awaiter(this, void 0, void 0, function* () {
17305
+ var _a, _b;
17306
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options);
17307
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.getNodeJsBuildSettingsFromRepositoryV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
17308
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17309
+ });
17310
+ },
17231
17311
  /**
17232
17312
  * 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.
17233
17313
  * @summary Get Node.js build settings
@@ -17470,6 +17550,21 @@ const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
17470
17550
  getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options) {
17471
17551
  return localVarFp.getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(axios, basePath));
17472
17552
  },
17553
+ /**
17554
+ * 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.
17555
+ * @summary Get Node.js build settings from repository
17556
+ * @param {string} username
17557
+ * @param {string} domain Domain name
17558
+ * @param {string} owner Repository owner login. GitLab group paths use slashes.
17559
+ * @param {string} repository Repository name without the .git suffix
17560
+ * @param {string} branch Branch whose package.json is inspected
17561
+ * @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
17562
+ * @param {*} [options] Override http request option.
17563
+ * @throws {RequiredError}
17564
+ */
17565
+ getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options) {
17566
+ return localVarFp.getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options).then((request) => request(axios, basePath));
17567
+ },
17473
17568
  /**
17474
17569
  * 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.
17475
17570
  * @summary Get Node.js build settings
@@ -17667,6 +17762,22 @@ class HostingNodeJSApi extends base_1.BaseAPI {
17667
17762
  getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options) {
17668
17763
  return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(this.axios, this.basePath));
17669
17764
  }
17765
+ /**
17766
+ * 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.
17767
+ * @summary Get Node.js build settings from repository
17768
+ * @param {string} username
17769
+ * @param {string} domain Domain name
17770
+ * @param {string} owner Repository owner login. GitLab group paths use slashes.
17771
+ * @param {string} repository Repository name without the .git suffix
17772
+ * @param {string} branch Branch whose package.json is inspected
17773
+ * @param {string} installationUuid Git installation used to access the repository, taken from `List Git installations`
17774
+ * @param {*} [options] Override http request option.
17775
+ * @throws {RequiredError}
17776
+ * @memberof HostingNodeJSApi
17777
+ */
17778
+ getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options) {
17779
+ return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsBuildSettingsFromRepositoryV1(username, domain, owner, repository, branch, installationUuid, options).then((request) => request(this.axios, this.basePath));
17780
+ }
17670
17781
  /**
17671
17782
  * 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.
17672
17783
  * @summary Get Node.js build settings
@@ -24327,7 +24438,7 @@ const ReachContactsApiAxiosParamCreator = function (configuration) {
24327
24438
  };
24328
24439
  }),
24329
24440
  /**
24330
- * 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
24441
+ * 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.
24331
24442
  * @summary Create contacts in bulk
24332
24443
  * @param {string} profileUuid Profile uuid parameter
24333
24444
  * @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
@@ -24695,7 +24806,7 @@ const ReachContactsApiFp = function (configuration) {
24695
24806
  });
24696
24807
  },
24697
24808
  /**
24698
- * 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
24809
+ * 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.
24699
24810
  * @summary Create contacts in bulk
24700
24811
  * @param {string} profileUuid Profile uuid parameter
24701
24812
  * @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
@@ -24866,7 +24977,7 @@ const ReachContactsApiFactory = function (configuration, basePath, axios) {
24866
24977
  return localVarFp.createANewContactV1(reachV1ContactsStoreRequest, options).then((request) => request(axios, basePath));
24867
24978
  },
24868
24979
  /**
24869
- * 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
24980
+ * 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.
24870
24981
  * @summary Create contacts in bulk
24871
24982
  * @param {string} profileUuid Profile uuid parameter
24872
24983
  * @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
@@ -24993,7 +25104,7 @@ class ReachContactsApi extends base_1.BaseAPI {
24993
25104
  return (0, exports.ReachContactsApiFp)(this.configuration).createANewContactV1(reachV1ContactsStoreRequest, options).then((request) => request(this.axios, this.basePath));
24994
25105
  }
24995
25106
  /**
24996
- * 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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
25107
+ * 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.
24997
25108
  * @summary Create contacts in bulk
24998
25109
  * @param {string} profileUuid Profile uuid parameter
24999
25110
  * @param {ReachV1ContactsBulkStoreRequest} reachV1ContactsBulkStoreRequest
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.1.3
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
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.1.3
7
+ * API Version: 2.3.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.1.3
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
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.1.3
7
+ * API Version: 2.3.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.1.3
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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 2.1.3
7
+ * API Version: 2.3.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -16,7 +16,7 @@ class Configuration {
16
16
  var _a;
17
17
  this.accessToken = param.accessToken;
18
18
  this.basePath = param.basePath;
19
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.1.3" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/2.3.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
20
20
  this.formDataCtor = param.formDataCtor;
21
21
  }
22
22
  /**
package/dist/esm/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 2.1.3
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<ReachV1ContactsUpdateRequestFieldsInner>}
14372
+ * @type {Array<ReachV1ContactsBulkStoreRequestContactsInnerFieldsInner>}
14305
14373
  * @memberof ReachV1ContactsUpdateRequest
14306
14374
  */
14307
- 'fields': Array<ReachV1ContactsUpdateRequestFieldsInner>;
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 &#x60;List Git installations&#x60;
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 &#x60;List Git installations&#x60;
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 &#x60;List Git installations&#x60;
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 &#x60;List Git installations&#x60;
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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
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 left as they are. If double opt-in is enabled, new contacts start off pending and are sent a confirmation email.
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