first commit

This commit is contained in:
2026-06-09 18:35:55 -03:00
commit 3581e221d0
448 changed files with 519709 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { Entity, EntityId } from "./clarizen-api-types.js";
import type { HttpClient } from "./http.js";
import type { JsonObject } from "./types.js";
export declare function entityObjectPath(typeName: string, id?: string): string;
export interface EntityGetOptions {
fields?: string[];
}
export declare class EntityObjectsService {
private readonly http;
constructor(http: HttpClient);
get(typeName: string, id: EntityId, options?: EntityGetOptions): Promise<Entity>;
create(typeName: string, fields: JsonObject): Promise<{
id: EntityId;
}>;
update(typeName: string, id: EntityId, fields: JsonObject): Promise<JsonObject>;
delete(typeName: string, id: EntityId): Promise<JsonObject>;
}
//# sourceMappingURL=objects.d.ts.map