originstamp-client-fetch
Version:
TypeScript Fetch client for the OriginStamp service
52 lines (51 loc) • 2.21 kB
TypeScript
/**
* OriginStamp Timestamping
* OriginStamp Timestamping leverages decentralized blockchain technology to create anonymous, tamper-proof timestamps for digital content. This service enables users to timestamp files, emails, or plain text, and store the resulting hashes on the blockchain. Users can also retrieve and verify timestamps that have been committed. The trusted timestamping mechanism ensures that a hash fingerprint can be generated and used as proof that specific data existed at a given point in time.
*
* The version of the OpenAPI document: 1.0.0
* Contact: support@originstamp.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { TimestampResponseTreesInner } from './TimestampResponseTreesInner';
/**
*
* @export
* @interface TimestampResponse
*/
export interface TimestampResponse {
/**
* The time when your hash was submitted to OriginStamp. The date is returned in the following format: [ms] since 1.1.1970 (unix epoch), timezone: UTC. This is not considered as a true timestamp.
* @type {number}
* @memberof TimestampResponse
*/
dateCreated: number;
/**
*
* @type {Array<string>}
* @memberof TimestampResponse
*/
sha256: Array<string>;
/**
*
* @type {Array<TimestampResponseTreesInner>}
* @memberof TimestampResponse
*/
trees: Array<TimestampResponseTreesInner>;
/**
*
* @type {Array<string>}
* @memberof TimestampResponse
*/
existing?: Array<string>;
}
/**
* Check if a given object implements the TimestampResponse interface.
*/
export declare function instanceOfTimestampResponse(value: object): value is TimestampResponse;
export declare function TimestampResponseFromJSON(json: any): TimestampResponse;
export declare function TimestampResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimestampResponse;
export declare function TimestampResponseToJSON(json: any): TimestampResponse;
export declare function TimestampResponseToJSONTyped(value?: TimestampResponse | null, ignoreDiscriminator?: boolean): any;