- Preparing search index...
- The search index is not available
edocu-sdk
Constructors
constructor
- new WorkRecords(api): WorkRecords
-
Properties
api
Methods
archive
- archive(type, hash, recordId): Promise<ApiResponse<unknown, unknown>>
-
Parameters
-
type: string
-
hash: string
-
recordId: string
Returns Promise<ApiResponse<unknown, unknown>>
create
- create(type, hash, organization, data): Promise<ApiResponse<{
hash: string;
links: RestApiLink[];
}, {
hash: string;
links: RestApiLink[];
}>>
-
Parameters
-
type: string
-
hash: string
-
organization: string
-
Returns Promise<ApiResponse<{
hash: string;
links: RestApiLink[];
}, {
hash: string;
links: RestApiLink[];
}>>
createCountingWorkRecord
- createCountingWorkRecord(type, hash, organization, data): Promise<ApiResponse<CountingWorkRecord, void>>
-
Parameters
-
type: string
-
hash: string
-
organization: string
-
getConfiguration
- getConfiguration(hash): Promise<ApiResponse<WorkRecordConfiguration, void>>
-
listConfigurations
- listConfigurations(organization, type): Promise<ApiResponse<CountingWorkRecordIdentity[], void>>
-
Parameters
-
organization: string
-
type: string
listCountingWorkRecords
- listCountingWorkRecords(element, options?): Promise<ApiResponse<CountingWorkRecord[], void>>
-
Parameters
-
element: string
-
Optional
options: {
limit: number;
offset: number;
sort: string;
}
-
limit: number
-
offset: number
-
sort: string
Returns Promise<ApiResponse<CountingWorkRecord[], void>>