/** * @class EndpointFactory - A factory class for creating endpoints. */ export declare class EndpointFactory { /** * @method getPingEndpoint - Gets the ping endpoint. * @returns {string} - The ping endpoint. */ static getPingEndpoint(): string; /** * @method getAppsEndpoint - Gets the apps endpoint. * @returns {string} - The apps endpoint. */ static getAppsEndpoint(): string; /** * @method getAppByIdEndpoint - Gets the app by id endpoint. * @param {number} id - The id of the app. * @returns {string} - The app by id endpoint. */ static getAppByIdEndpoint(id: number): string; /** * @method getAppsByIdsEndpoint - Gets the apps by ids endpoint. * @returns {string} - The apps by ids endpoint. */ static getAppsByIdsEndpoint(): string; /** * @method getRecordsEndpoint - Gets the records endpoint. * @param {number} id - The id of the field. * @returns {string} - The field by id endpoint. */ static getFieldByIdEndpoint(id: number): string; /** * @method getFieldsByIdsEndpoint - Gets the fields by ids endpoint. * @returns {string} - The fields by ids endpoint. */ static getFieldsByIdsEndpoint(): string; /** * @method getFieldsByAppIdEndpoint - Gets the fields by app id endpoint. * @param {number} id - The id of the app. * @returns {string} - The fields by app id endpoint. */ static getFieldsByAppIdEndpoint(id: number): string; /** * @method getRecordsEndpoint - Gets the records endpoint. * @param {number} recordId - The id of the record. * @param {number} fieldId - The id of the field. * @param {number} fileId - The id of the file. * @returns {string} - The file info by id endpoint. */ static getFileInfoByIdEndpoint(recordId: number, fieldId: number, fileId: number): string; /** * @method getDeleteFileByIdEndpoint - Gets the delete file by id endpoint. * @param {number} recordId - The id of the record. * @param {number} fieldId - The id of the field. * @param {number} fileId - The id of the file. * @returns {string} - The delete file by id endpoint. */ static getDeleteFileByIdEndpoint(recordId: number, fieldId: number, fileId: number): string; /** * @method getFileByIdEndpoint - Gets the file by id endpoint. * @param {number} recordId - The id of the record. * @param {number} fieldId - The id of the field. * @param {number} fileId - The id of the file. * @returns {string} - The file by id endpoint. */ static getFileByIdEndpoint(recordId: number, fieldId: number, fileId: number): string; /** * @method getSaveFileEndpoint - Gets the save file endpoint. * @returns {string} - The save file endpoint. */ static getSaveFileEndpoint(): string; /** * @method getAddOrUpdateListItemEndpoint - Gets the add or update list item endpoint. * @param {number} listId - The id of the list. * @returns {string} - The add or update list item endpoint. */ static getAddOrUpdateListItemEndpoint(listId: number): string; /** * @method getDeleteListItemEndpoint - Gets the delete list item endpoint. * @param {number} listId - The id of the list. * @param {string} itemId - The id of the list item. * @returns {string} - The delete list item endpoint. */ static getDeleteListItemEndpoint(listId: number, itemId: string): string; /** * @method getRecordsByAppIdEndpoint - Gets the get records by app id endpoint. * @param {number} appId - The id of the app. * @returns {string} - The get records by app id endpoint. */ static getRecordsByAppIdEndpoint(appId: number): string; /** * @method getRecordByIdEndpoint - Gets the get record by id endpoint. * @param {number} appId - The id of the app. * @param {number} recordId - The id of the record. * @returns {string} - The get record by id endpoint. */ static getRecordByIdEndpoint(appId: number, recordId: number): string; /** * @method getDeleteRecordByIdEndpoint - Gets the delete record by id endpoint. * @param {number} appId - The id of the app. * @param {number} recordId - The id of the record. * @returns {string} - The delete record by id endpoint. */ static getDeleteRecordByIdEndpoint(appId: number, recordId: number): string; /** * @method getRecordsByIdsEndpoint - Gets the get records by ids endpoint. * @returns {string} - The get records by ids endpoint. */ static getRecordsByIdsEndpoint(): string; /** * @method getQueryRecordsEndpoint - Gets the query records endpoint. * @returns {string} - The query records endpoint. */ static getQueryRecordsEndpoint(): string; /** * @method getAddOrUpdateRecordEndpoint - Gets the add or update record endpoint. * @returns {string} - The add or update record endpoint. */ static getAddOrUpdateRecordEndpoint(): string; /** * @method getDeleteRecordsByIdsEndpoint - Gets the delete records by ids endpoint. * @returns {string} - The delete records by ids endpoint. */ static getDeleteRecordsByIdsEndpoint(): string; /** * @method getReportByIdEndpoint - Gets the get report by id endpoint. * @param {number} reportId - The id of the report. * @returns {string} - The get report by id endpoint. */ static getReportByIdEndpoint(reportId: number): string; /** * @method getReportsByAppIdEndpoint - Gets the get reports by app id endpoint. * @param {number} appId - The id of the app. * @returns {string} - The get reports by app id endpoint. */ static getReportsByAppIdEndpoint(appId: number): string; }