UNPKG

890 BTypeScriptView Raw
1import { Constructable, EntityIdentifiable, CreateRequestBuilder as CreateRequestBuilderBase } from '../../odata-common';
2import { Entity } from '../entity';
3/**
4 * Create OData request to create an entity.
5 * @typeparam EntityT - Type of the entity to be created
6 */
7export declare class CreateRequestBuilder<EntityT extends Entity> extends CreateRequestBuilderBase<EntityT> implements EntityIdentifiable<EntityT> {
8 readonly _entityConstructor: Constructable<EntityT>;
9 readonly _entity: EntityT;
10 /**
11 * Creates an instance of CreateRequestBuilder.
12 * @param _entityConstructor - Constructor type of the entity to be created
13 * @param _entity - Entity to be created
14 */
15 constructor(_entityConstructor: Constructable<EntityT>, _entity: EntityT);
16}
17export { CreateRequestBuilder as CreateRequestBuilderV2 };
18//# sourceMappingURL=create-request-builder.d.ts.map
\No newline at end of file