/** * Common ShapeDiver Platform GET response. */ export interface SdPlatformGetResponse { /** * This property is always true unless a exception is thrown. */ readonly success: boolean; /** * Version of the Platform Backend API. */ readonly version: string; /** * Data resulting from the get request. */ readonly data: T; } /** * Common ShapeDiver Platform query response pagination data. */ export interface SdPlatformQueryResponsePagination { /** * Limit which was used for the query. */ limit: number; /** * Offset to use for requesting the next page, null in case there are no more items. */ next_offset: string; } /** * Common ShapeDiver Platform query response. */ export interface SdPlatformQueryResponse { /** * This property is always true unless a exception is thrown. */ readonly success: boolean; /** * Version of the Platform Backend API. */ readonly version: string; /** * Data resulting from the query request. */ readonly data: { /** * The resulting items. */ result: Array; /** * Data for requesting the next page of items. */ pagination: SdPlatformQueryResponsePagination; }; } /** * Common ShapeDiver Platform POST response. */ export interface SdPlatformPostResponse { /** * This property is always true unless a exception is thrown. */ readonly success: boolean; /** * Version of the Platform Backend API. */ readonly version: string; /** * Error message (short): */ readonly message: string; /** * Data resulting from the post request. */ readonly data: T; } /** * Common ShapeDiver Platform PATCH response. */ export interface SdPlatformPatchResponse { /** * This property is always true unless a exception is thrown. */ readonly success: boolean; /** * Version of the Platform Backend API. */ readonly version: string; /** * Properties which were patched. */ readonly patched_properties?: Array; /** * Data resulting from the patch request. */ readonly data: T; } /** * Common ShapeDiver Platform DELETE response. */ export interface SdPlatformDeleteResponse { /** * This property is always true unless a exception is thrown. */ readonly success: boolean; /** * Version of the Platform Backend API. */ readonly version: string; } //# sourceMappingURL=SdPlatformBaseResponseTypes.d.ts.map