@parra/parra-js-sdk 0.3.165 → 0.3.167

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.
@@ -1591,6 +1591,12 @@ export interface UpdateExternalDomainRequestBody {
1591
1591
  domain?: string;
1592
1592
  disabled?: boolean;
1593
1593
  }
1594
+ export interface CheckExternalDomain {
1595
+ id: string;
1596
+ created_at: string;
1597
+ updated_at: string;
1598
+ deleted_at?: string | null;
1599
+ }
1594
1600
  export interface SubdomainAvailabilityRequestBody {
1595
1601
  subdomain: string;
1596
1602
  }
@@ -2291,7 +2297,7 @@ export interface CreateMailSenderRequestBody {
2291
2297
  name?: string | null;
2292
2298
  description?: string | null;
2293
2299
  from_name: string;
2294
- from_address?: string;
2300
+ from_address: string;
2295
2301
  reply_to?: string | null;
2296
2302
  }
2297
2303
  export interface MailSender {
@@ -2302,7 +2308,7 @@ export interface MailSender {
2302
2308
  name?: string | null;
2303
2309
  description?: string | null;
2304
2310
  from_name: string;
2305
- from_address?: string;
2311
+ from_address: string;
2306
2312
  reply_to?: string | null;
2307
2313
  tenant_id: string;
2308
2314
  connected_app_connection_id?: string | null;
@@ -2656,7 +2662,7 @@ declare class ParraAPI {
2656
2662
  getExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<ExternalDomain>;
2657
2663
  updateExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, body?: UpdateExternalDomainRequestBody, options?: Options) => Promise<ExternalDomain>;
2658
2664
  deleteExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<Response>;
2659
- verifyDnsRecordsForExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<ExternalDomain>;
2665
+ checkExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<CheckExternalDomain>;
2660
2666
  checkSubdomainAvailability: (body: SubdomainAvailabilityRequestBody, options?: Options) => Promise<SubdomainAvailabilityResponse>;
2661
2667
  loginUserForTenant: (tenant_id: string, options?: Options) => Promise<TenantUserInfo>;
2662
2668
  getTenantUserInfo: (tenant_id: string, options?: Options) => Promise<TenantUserInfo>;
package/dist/ParraAPI.js CHANGED
@@ -817,9 +817,9 @@ var ParraAPI = /** @class */ (function () {
817
817
  if (options === void 0) { options = {}; }
818
818
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/domains/external/").concat(external_domain_id), __assign({ method: "delete" }, options));
819
819
  };
820
- this.verifyDnsRecordsForExternalDomainByIdForTenantById = function (tenant_id, external_domain_id, options) {
820
+ this.checkExternalDomainByIdForTenantById = function (tenant_id, external_domain_id, options) {
821
821
  if (options === void 0) { options = {}; }
822
- return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/domains/external/").concat(external_domain_id, "/dns-records/verify"), __assign({ method: "post" }, options));
822
+ return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/domains/external/").concat(external_domain_id, "/check"), __assign({ method: "post" }, options));
823
823
  };
824
824
  this.checkSubdomainAvailability = function (body, options) {
825
825
  if (options === void 0) { options = {}; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.165",
3
+ "version": "0.3.167",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",