@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.69 to 0.15.70
@@ -5,3 +5,5 @@ import { Maybe } from "./utils"; | ||
Validated = "Validated", | ||
Ready = "Ready" | ||
Ready = "Ready", | ||
PendingDelete = "PendingDelete", | ||
Deleted = "Deleted" | ||
} | ||
@@ -8,0 +10,0 @@ export type DNSRecordDTO = { |
@@ -9,3 +9,5 @@ "use strict"; | ||
DomainImportStateDTO["Ready"] = "Ready"; | ||
DomainImportStateDTO["PendingDelete"] = "PendingDelete"; | ||
DomainImportStateDTO["Deleted"] = "Deleted"; | ||
})(DomainImportStateDTO || (exports.DomainImportStateDTO = DomainImportStateDTO = {})); | ||
//# sourceMappingURL=domain.js.map |
@@ -93,2 +93,3 @@ import { AccountDTO, PreparedImageUploadDTO } from "./account"; | ||
getAccount(ctx: UserContext, id: string): Promise<AccountDTO | null>; | ||
getAccountsByIds(ctx: UserContext, ids: string[]): Promise<AccountDTO[]>; | ||
getImportedDomains(ctx: UserContext, id: string): Promise<AccountDomainInfoDTO[]>; | ||
@@ -95,0 +96,0 @@ getPreparedImageUploadUrl(ctx: UserContext, filename: string, fileType: string): Promise<PreparedImageUploadDTO | null>; |
@@ -31,2 +31,15 @@ "use strict"; | ||
} | ||
getAccountsByIds(ctx, ids) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield (0, http_1.createHttpRequest)({ | ||
baseURL: this.config.baseUrl, | ||
method: "POST", | ||
url: `/account`, | ||
data: { | ||
ids: ids, | ||
}, | ||
headers: this.prepareHeaders({}), | ||
}).then((r) => r.data); | ||
}); | ||
} | ||
getImportedDomains(ctx, id) { | ||
@@ -33,0 +46,0 @@ return __awaiter(this, void 0, void 0, function* () { |
@@ -0,6 +1,7 @@ | ||
import { Maybe } from "fgr-lib-backend/lib/types"; | ||
export type TaxDTO = { | ||
id: string; | ||
name: string; | ||
percentage?: number; | ||
absolute?: number; | ||
percentage?: Maybe<number>; | ||
absolute?: Maybe<number>; | ||
isActive: boolean; | ||
@@ -7,0 +8,0 @@ isAutoApply: boolean; |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.15.69", | ||
"version": "0.15.70", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77910
1718