// Copyright Abridged, Inc. 2021,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - FunctionCall * FunctionCall */ @model({name: 'FunctionCall'}) export class FunctionCall { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) method?: string; /** * */ @property({ jsonSchema: { type: 'object', }, }) args?: {}; /** * */ @property({ jsonSchema: { type: 'number', }, }) timestamp?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) receiptId?: string; /** * */ @property({ jsonSchema: { type: 'number', }, }) actionIndex?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) caller?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) contract?: string; } export interface FunctionCallRelations { // describe navigational properties here } export type FunctionCallWithRelations = FunctionCall & FunctionCallRelations;