@parra/parra-js-sdk 0.3.166 → 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.
- package/dist/ParraAPI.d.ts +7 -1
- package/dist/ParraAPI.js +2 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
-
|
|
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.
|
|
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, "/
|
|
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 = {}; }
|