@nextplus/js-sdk 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-DNVJS7WW.js +20836 -0
- package/dist/chunk-FXXZNC42.js +726 -0
- package/dist/index.d.ts +34 -209
- package/dist/index.js +244 -27585
- package/dist/sdk/client/index.d.ts +39 -0
- package/dist/sdk/client/index.js +18 -0
- package/dist/sdk/sdk.gen.d.ts +34568 -0
- package/dist/sdk/sdk.gen.js +213 -0
- package/dist/types.gen-vDP9AbtO.d.ts +258 -0
- package/openapi-ts.config.ts +36 -0
- package/package.json +24 -74
- package/prettier.config.js +5 -0
- package/src/README.md +0 -0
- package/src/index.ts +219 -0
- package/src/sdk/client/client.gen.ts +199 -0
- package/src/sdk/client/index.ts +25 -0
- package/src/sdk/client/types.gen.ts +232 -0
- package/src/sdk/client/utils.gen.ts +424 -0
- package/src/sdk/client.gen.ts +28 -0
- package/src/sdk/core/auth.gen.ts +42 -0
- package/src/sdk/core/bodySerializer.gen.ts +90 -0
- package/src/sdk/core/params.gen.ts +153 -0
- package/src/sdk/core/pathSerializer.gen.ts +181 -0
- package/src/sdk/core/types.gen.ts +120 -0
- package/src/sdk/index.ts +3 -0
- package/src/sdk/schemas.gen.ts +6968 -0
- package/src/sdk/sdk.gen.ts +31790 -0
- package/src/sdk/transformers.gen.ts +8383 -0
- package/src/sdk/types.gen.ts +40708 -0
- package/src/smoke.ts +68 -0
- package/tsconfig.json +23 -0
- package/tsconfig.node.json +11 -0
- package/LICENSE +0 -19
- package/dist/core/ApiError.d.ts +0 -10
- package/dist/core/ApiRequestOptions.d.ts +0 -13
- package/dist/core/ApiResult.d.ts +0 -7
- package/dist/core/CancelablePromise.d.ts +0 -20
- package/dist/core/OpenAPI.d.ts +0 -16
- package/dist/core/request.d.ts +0 -30
- package/dist/index.d.mts +0 -15467
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -27586
- package/dist/index.mjs.map +0 -1
- package/dist/models/ACL.d.ts +0 -19
- package/dist/models/AIPrompt.d.ts +0 -13
- package/dist/models/AccessToken.d.ts +0 -12
- package/dist/models/ApiMethod.d.ts +0 -13
- package/dist/models/ApiMethodLog.d.ts +0 -14
- package/dist/models/BreakType.d.ts +0 -10
- package/dist/models/Catalog.d.ts +0 -16
- package/dist/models/Category.d.ts +0 -10
- package/dist/models/Certificate.d.ts +0 -12
- package/dist/models/CertificateMapping.d.ts +0 -11
- package/dist/models/Chapter.d.ts +0 -6
- package/dist/models/Comment.d.ts +0 -13
- package/dist/models/Configuration.d.ts +0 -16
- package/dist/models/Connection.d.ts +0 -10
- package/dist/models/Connector.d.ts +0 -9
- package/dist/models/ConnectorFunction.d.ts +0 -13
- package/dist/models/ContentPackage.d.ts +0 -24
- package/dist/models/ContentPackageSession.d.ts +0 -12
- package/dist/models/ContentPackageView.d.ts +0 -11
- package/dist/models/CustomField.d.ts +0 -18
- package/dist/models/Device.d.ts +0 -10
- package/dist/models/DeviceFamily.d.ts +0 -12
- package/dist/models/Document.d.ts +0 -24
- package/dist/models/Event.d.ts +0 -15
- package/dist/models/Field.d.ts +0 -33
- package/dist/models/FileParser.d.ts +0 -15
- package/dist/models/FileParserJob.d.ts +0 -12
- package/dist/models/FileParserStrategyJob.d.ts +0 -15
- package/dist/models/Folder.d.ts +0 -9
- package/dist/models/Form.d.ts +0 -35
- package/dist/models/FormData.d.ts +0 -55
- package/dist/models/FormDataComment.d.ts +0 -13
- package/dist/models/Forum.d.ts +0 -12
- package/dist/models/Gateway.d.ts +0 -17
- package/dist/models/Group.d.ts +0 -8
- package/dist/models/InventoryTransaction.d.ts +0 -19
- package/dist/models/Kit.d.ts +0 -17
- package/dist/models/List.d.ts +0 -10
- package/dist/models/ListItem.d.ts +0 -13
- package/dist/models/Location.d.ts +0 -13
- package/dist/models/Menus.d.ts +0 -10
- package/dist/models/NPS.d.ts +0 -16
- package/dist/models/Node.d.ts +0 -32
- package/dist/models/ObjectID.d.ts +0 -1
- package/dist/models/OpcUaServer.d.ts +0 -15
- package/dist/models/Operation.d.ts +0 -15
- package/dist/models/Pages.d.ts +0 -11
- package/dist/models/Part.d.ts +0 -10
- package/dist/models/PartAssembly.d.ts +0 -55
- package/dist/models/PartAssemblyDocument.d.ts +0 -9
- package/dist/models/Post.d.ts +0 -16
- package/dist/models/PrintPreset.d.ts +0 -26
- package/dist/models/PriorityLabel.d.ts +0 -12
- package/dist/models/ProductionEntity.d.ts +0 -18
- package/dist/models/ProductionEntityEvent.d.ts +0 -21
- package/dist/models/ProductionEntityMapping.d.ts +0 -16
- package/dist/models/ProductionEntityTransaction.d.ts +0 -19
- package/dist/models/ProductionEntityType.d.ts +0 -10
- package/dist/models/Project.d.ts +0 -10
- package/dist/models/Resource.d.ts +0 -26
- package/dist/models/ResourceMapping.d.ts +0 -9
- package/dist/models/Revision.d.ts +0 -8
- package/dist/models/Role.d.ts +0 -8
- package/dist/models/RoleMapping.d.ts +0 -17
- package/dist/models/Rule.d.ts +0 -11
- package/dist/models/ScromSession.d.ts +0 -11
- package/dist/models/Shift.d.ts +0 -26
- package/dist/models/ShiftType.d.ts +0 -28
- package/dist/models/Station.d.ts +0 -11
- package/dist/models/Stock.d.ts +0 -56
- package/dist/models/StockItem.d.ts +0 -7
- package/dist/models/SyncClients.d.ts +0 -12
- package/dist/models/SyncHistory.d.ts +0 -12
- package/dist/models/Table.d.ts +0 -11
- package/dist/models/TableSetup.d.ts +0 -18
- package/dist/models/TimeLog.d.ts +0 -7
- package/dist/models/TimeLogReport.d.ts +0 -29
- package/dist/models/Timeline.d.ts +0 -17
- package/dist/models/Tool.d.ts +0 -18
- package/dist/models/Translation.d.ts +0 -12
- package/dist/models/Unit.d.ts +0 -11
- package/dist/models/UpdateInfo.d.ts +0 -9
- package/dist/models/UserModel.d.ts +0 -70
- package/dist/models/UserPreferences.d.ts +0 -6
- package/dist/models/Variant.d.ts +0 -13
- package/dist/models/VoteMapping.d.ts +0 -12
- package/dist/models/Warehouse.d.ts +0 -9
- package/dist/models/Webhook.d.ts +0 -15
- package/dist/models/Wire.d.ts +0 -12
- package/dist/models/Wiringlist.d.ts +0 -15
- package/dist/models/Workflow.d.ts +0 -54
- package/dist/models/WorkflowDetails.d.ts +0 -9
- package/dist/models/WorkflowNote.d.ts +0 -18
- package/dist/models/WorkflowSessionItem.d.ts +0 -56
- package/dist/models/WorkflowType.d.ts +0 -17
- package/dist/models/Workorder.d.ts +0 -94
- package/dist/models/WorkorderAction.d.ts +0 -8
- package/dist/models/WorkorderStatus.d.ts +0 -22
- package/dist/models/WorkorderTemplate.d.ts +0 -23
- package/dist/models/meta.d.ts +0 -5
- package/dist/models/x_any.d.ts +0 -1
- package/dist/services/AclService.d.ts +0 -133
- package/dist/services/AiPromptService.d.ts +0 -133
- package/dist/services/AiService.d.ts +0 -12
- package/dist/services/ApiMethodLogService.d.ts +0 -133
- package/dist/services/ApiMethodService.d.ts +0 -140
- package/dist/services/BomService.d.ts +0 -18
- package/dist/services/BreakService.d.ts +0 -19
- package/dist/services/BreakTypeService.d.ts +0 -42
- package/dist/services/CatalogService.d.ts +0 -267
- package/dist/services/CategoryService.d.ts +0 -74
- package/dist/services/CertificateMappingService.d.ts +0 -60
- package/dist/services/CertificateService.d.ts +0 -74
- package/dist/services/ChapterService.d.ts +0 -34
- package/dist/services/CommentService.d.ts +0 -58
- package/dist/services/ConfigurationService.d.ts +0 -49
- package/dist/services/ConnectionService.d.ts +0 -20
- package/dist/services/ConnectorFunctionService.d.ts +0 -149
- package/dist/services/ConnectorService.d.ts +0 -201
- package/dist/services/ContainerService.d.ts +0 -66
- package/dist/services/ContentPackageService.d.ts +0 -115
- package/dist/services/ContentPackageSessionService.d.ts +0 -28
- package/dist/services/ContentPackageViewService.d.ts +0 -165
- package/dist/services/CustomFieldService.d.ts +0 -57
- package/dist/services/DeviceFamilyService.d.ts +0 -64
- package/dist/services/DeviceService.d.ts +0 -21
- package/dist/services/DigestEmailService.d.ts +0 -8
- package/dist/services/DocumentService.d.ts +0 -103
- package/dist/services/EventService.d.ts +0 -20
- package/dist/services/FieldService.d.ts +0 -86
- package/dist/services/FileParserJobService.d.ts +0 -49
- package/dist/services/FileParserService.d.ts +0 -78
- package/dist/services/FileParserStrategyJobService.d.ts +0 -49
- package/dist/services/FolderService.d.ts +0 -50
- package/dist/services/FormDataCommentService.d.ts +0 -159
- package/dist/services/FormDataService.d.ts +0 -242
- package/dist/services/FormService.d.ts +0 -82
- package/dist/services/ForumService.d.ts +0 -49
- package/dist/services/GatewayService.d.ts +0 -59
- package/dist/services/GroupService.d.ts +0 -50
- package/dist/services/IntegrationBuilderService.d.ts +0 -23
- package/dist/services/InventoryTransactionService.d.ts +0 -151
- package/dist/services/LastSeenResourceService.d.ts +0 -16
- package/dist/services/ListItemService.d.ts +0 -96
- package/dist/services/ListService.d.ts +0 -73
- package/dist/services/LocationService.d.ts +0 -80
- package/dist/services/MenusService.d.ts +0 -180
- package/dist/services/NodeService.d.ts +0 -383
- package/dist/services/NpsService.d.ts +0 -56
- package/dist/services/OpcUaServerService.d.ts +0 -182
- package/dist/services/OperationService.d.ts +0 -60
- package/dist/services/PagesService.d.ts +0 -151
- package/dist/services/PartAssemblyDocumentService.d.ts +0 -12
- package/dist/services/PartAssemblyService.d.ts +0 -400
- package/dist/services/PartService.d.ts +0 -133
- package/dist/services/PostService.d.ts +0 -56
- package/dist/services/PrintPresetService.d.ts +0 -155
- package/dist/services/PriorityLabelService.d.ts +0 -45
- package/dist/services/PriorityService.d.ts +0 -51
- package/dist/services/ProductionEntityEventService.d.ts +0 -169
- package/dist/services/ProductionEntityMappingService.d.ts +0 -142
- package/dist/services/ProductionEntityService.d.ts +0 -207
- package/dist/services/ProductionEntityTransactionService.d.ts +0 -142
- package/dist/services/ProductionEntityTypeService.d.ts +0 -151
- package/dist/services/ProjectService.d.ts +0 -142
- package/dist/services/PythonResultService.d.ts +0 -15
- package/dist/services/ResourceMappingService.d.ts +0 -133
- package/dist/services/ResourceService.d.ts +0 -264
- package/dist/services/RevisionService.d.ts +0 -62
- package/dist/services/RoleMappingService.d.ts +0 -151
- package/dist/services/RoleService.d.ts +0 -276
- package/dist/services/RuleService.d.ts +0 -217
- package/dist/services/ScromSessionService.d.ts +0 -18
- package/dist/services/SettingService.d.ts +0 -147
- package/dist/services/ShiftService.d.ts +0 -181
- package/dist/services/ShiftTypeService.d.ts +0 -142
- package/dist/services/StationService.d.ts +0 -50
- package/dist/services/StockService.d.ts +0 -766
- package/dist/services/SyncClientsService.d.ts +0 -142
- package/dist/services/SyncHistoryService.d.ts +0 -142
- package/dist/services/SyncService.d.ts +0 -89
- package/dist/services/TableService.d.ts +0 -154
- package/dist/services/TableSetupService.d.ts +0 -40
- package/dist/services/TimeLogReportService.d.ts +0 -87
- package/dist/services/TimelineService.d.ts +0 -73
- package/dist/services/ToolService.d.ts +0 -73
- package/dist/services/TranslationService.d.ts +0 -172
- package/dist/services/UnitService.d.ts +0 -182
- package/dist/services/UpdateInfoService.d.ts +0 -24
- package/dist/services/UserModelService.d.ts +0 -245
- package/dist/services/VariantService.d.ts +0 -42
- package/dist/services/VoteMappingService.d.ts +0 -19
- package/dist/services/WarehouseService.d.ts +0 -19
- package/dist/services/WebhookService.d.ts +0 -58
- package/dist/services/WireService.d.ts +0 -151
- package/dist/services/WiringlistService.d.ts +0 -340
- package/dist/services/WorkflowDetailsService.d.ts +0 -151
- package/dist/services/WorkflowNoteService.d.ts +0 -173
- package/dist/services/WorkflowService.d.ts +0 -976
- package/dist/services/WorkflowSessionItemRecordService.d.ts +0 -19
- package/dist/services/WorkflowSessionItemService.d.ts +0 -205
- package/dist/services/WorkflowTypeService.d.ts +0 -49
- package/dist/services/WorkorderService.d.ts +0 -1138
- package/dist/services/WorkorderStatusService.d.ts +0 -78
- package/dist/services/WorkorderTemplateService.d.ts +0 -49
- package/tsconfig.build.json +0 -14
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { FileParserStrategyJob } from '../models/FileParserStrategyJob';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
export declare class FileParserStrategyJobService {
|
|
4
|
-
/**
|
|
5
|
-
* Create a new instance of the model and persist it into the data source.
|
|
6
|
-
* @param data Model instance data
|
|
7
|
-
* @returns FileParserStrategyJob Request was successful
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static fileParserStrategyJobCreate(data?: FileParserStrategyJob): CancelablePromise<FileParserStrategyJob>;
|
|
11
|
-
/**
|
|
12
|
-
* Find all instances of the model matched by filter from the data source.
|
|
13
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
-
* @returns FileParserStrategyJob Request was successful
|
|
15
|
-
* @throws ApiError
|
|
16
|
-
*/
|
|
17
|
-
static fileParserStrategyJobFind(filter?: string): CancelablePromise<Array<FileParserStrategyJob>>;
|
|
18
|
-
/**
|
|
19
|
-
* Find first instance of the model matched by filter from the data source.
|
|
20
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
21
|
-
* @returns FileParserStrategyJob Request was successful
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static fileParserStrategyJobFindOne(filter?: string): CancelablePromise<FileParserStrategyJob>;
|
|
25
|
-
/**
|
|
26
|
-
* Delete a model instance by {{id}} from the data source.
|
|
27
|
-
* @param id Model id
|
|
28
|
-
* @returns any Request was successful
|
|
29
|
-
* @throws ApiError
|
|
30
|
-
*/
|
|
31
|
-
static fileParserStrategyJobDeleteById(id: string): CancelablePromise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
34
|
-
* @param id FileParserStrategyJob id
|
|
35
|
-
* @param data An object of model property name/value pairs
|
|
36
|
-
* @returns FileParserStrategyJob Request was successful
|
|
37
|
-
* @throws ApiError
|
|
38
|
-
*/
|
|
39
|
-
static fileParserStrategyJobPrototypePatchAttributes(id: string, data?: FileParserStrategyJob): CancelablePromise<FileParserStrategyJob>;
|
|
40
|
-
/**
|
|
41
|
-
* Count instances of the model matched by where from the data source.
|
|
42
|
-
* @param where Criteria to match model instances
|
|
43
|
-
* @returns any Request was successful
|
|
44
|
-
* @throws ApiError
|
|
45
|
-
*/
|
|
46
|
-
static fileParserStrategyJobCount(where?: string): CancelablePromise<{
|
|
47
|
-
count?: number;
|
|
48
|
-
}>;
|
|
49
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { Folder } from '../models/Folder';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
export declare class FolderService {
|
|
4
|
-
/**
|
|
5
|
-
* Create a new instance of the model and persist it into the data source.
|
|
6
|
-
* @param data Model instance data
|
|
7
|
-
* @returns Folder Request was successful
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static folderCreate(data?: Folder): CancelablePromise<Folder>;
|
|
11
|
-
/**
|
|
12
|
-
* Find all instances of the model matched by filter from the data source.
|
|
13
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
-
* @returns Folder Request was successful
|
|
15
|
-
* @throws ApiError
|
|
16
|
-
*/
|
|
17
|
-
static folderFind(filter?: string): CancelablePromise<Array<Folder>>;
|
|
18
|
-
/**
|
|
19
|
-
* Delete a model instance by {{id}} from the data source.
|
|
20
|
-
* @param id Model id
|
|
21
|
-
* @returns any Request was successful
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static folderDeleteById(id: string): CancelablePromise<any>;
|
|
25
|
-
/**
|
|
26
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
27
|
-
* @param id Folder id
|
|
28
|
-
* @param data An object of model property name/value pairs
|
|
29
|
-
* @returns Folder Request was successful
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static folderPrototypePatchAttributes(id: string, data?: Folder): CancelablePromise<Folder>;
|
|
33
|
-
/**
|
|
34
|
-
* Count instances of the model matched by where from the data source.
|
|
35
|
-
* @param where Criteria to match model instances
|
|
36
|
-
* @returns any Request was successful
|
|
37
|
-
* @throws ApiError
|
|
38
|
-
*/
|
|
39
|
-
static folderCount(where?: string): CancelablePromise<{
|
|
40
|
-
count?: number;
|
|
41
|
-
}>;
|
|
42
|
-
/**
|
|
43
|
-
* @param id
|
|
44
|
-
* @returns any Request was successful
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static folderIsHaveContentById(id: string): CancelablePromise<{
|
|
48
|
-
haveContent?: boolean;
|
|
49
|
-
}>;
|
|
50
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import type { FormDataComment } from '../models/FormDataComment';
|
|
2
|
-
import type { UserModel } from '../models/UserModel';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class FormDataCommentService {
|
|
5
|
-
/**
|
|
6
|
-
* Fetches belongsTo relation user.
|
|
7
|
-
* @param id FormDataComment id
|
|
8
|
-
* @param refresh
|
|
9
|
-
* @returns UserModel Request was successful
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static formDataCommentPrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
13
|
-
/**
|
|
14
|
-
* Fetches belongsTo relation createdUser.
|
|
15
|
-
* @param id FormDataComment id
|
|
16
|
-
* @param refresh
|
|
17
|
-
* @returns UserModel Request was successful
|
|
18
|
-
* @throws ApiError
|
|
19
|
-
*/
|
|
20
|
-
static formDataCommentPrototypeGetCreatedUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
21
|
-
/**
|
|
22
|
-
* Create a new instance of the model and persist it into the data source.
|
|
23
|
-
* @param data Model instance data
|
|
24
|
-
* @returns FormDataComment Request was successful
|
|
25
|
-
* @throws ApiError
|
|
26
|
-
*/
|
|
27
|
-
static formDataCommentCreate(data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
28
|
-
/**
|
|
29
|
-
* Patch an existing model instance or insert a new one into the data source.
|
|
30
|
-
* @param data Model instance data
|
|
31
|
-
* @returns FormDataComment Request was successful
|
|
32
|
-
* @throws ApiError
|
|
33
|
-
*/
|
|
34
|
-
static formDataCommentPatchOrCreate(data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
35
|
-
/**
|
|
36
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
37
|
-
* @param data Model instance data
|
|
38
|
-
* @returns FormDataComment Request was successful
|
|
39
|
-
* @throws ApiError
|
|
40
|
-
*/
|
|
41
|
-
static formDataCommentReplaceOrCreatePutFormDataComments(data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
42
|
-
/**
|
|
43
|
-
* Find all instances of the model matched by filter from the data source.
|
|
44
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
45
|
-
* @returns FormDataComment Request was successful
|
|
46
|
-
* @throws ApiError
|
|
47
|
-
*/
|
|
48
|
-
static formDataCommentFind(filter?: string): CancelablePromise<Array<FormDataComment>>;
|
|
49
|
-
/**
|
|
50
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
51
|
-
* @param data Model instance data
|
|
52
|
-
* @returns FormDataComment Request was successful
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static formDataCommentReplaceOrCreatePostFormDataCommentsReplaceOrCreate(data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
56
|
-
/**
|
|
57
|
-
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
58
|
-
* @param where Criteria to match model instances
|
|
59
|
-
* @param data An object of model property name/value pairs
|
|
60
|
-
* @returns FormDataComment Request was successful
|
|
61
|
-
* @throws ApiError
|
|
62
|
-
*/
|
|
63
|
-
static formDataCommentUpsertWithWhere(where?: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
64
|
-
/**
|
|
65
|
-
* Check whether a model instance exists in the data source.
|
|
66
|
-
* @param id Model id
|
|
67
|
-
* @returns any Request was successful
|
|
68
|
-
* @throws ApiError
|
|
69
|
-
*/
|
|
70
|
-
static formDataCommentExistsGetFormDataCommentsIdExists(id: string): CancelablePromise<{
|
|
71
|
-
exists?: boolean;
|
|
72
|
-
}>;
|
|
73
|
-
/**
|
|
74
|
-
* Check whether a model instance exists in the data source.
|
|
75
|
-
* @param id Model id
|
|
76
|
-
* @returns any Request was successful
|
|
77
|
-
* @throws ApiError
|
|
78
|
-
*/
|
|
79
|
-
static formDataCommentExistsHeadFormDataCommentsId(id: string): CancelablePromise<{
|
|
80
|
-
exists?: boolean;
|
|
81
|
-
}>;
|
|
82
|
-
/**
|
|
83
|
-
* Find a model instance by {{id}} from the data source.
|
|
84
|
-
* @param id Model id
|
|
85
|
-
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
86
|
-
* @returns FormDataComment Request was successful
|
|
87
|
-
* @throws ApiError
|
|
88
|
-
*/
|
|
89
|
-
static formDataCommentFindById(id: string, filter?: string): CancelablePromise<FormDataComment>;
|
|
90
|
-
/**
|
|
91
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
92
|
-
* @param id Model id
|
|
93
|
-
* @param data Model instance data
|
|
94
|
-
* @returns FormDataComment Request was successful
|
|
95
|
-
* @throws ApiError
|
|
96
|
-
*/
|
|
97
|
-
static formDataCommentReplaceByIdPutFormDataCommentsId(id: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
98
|
-
/**
|
|
99
|
-
* Delete a model instance by {{id}} from the data source.
|
|
100
|
-
* @param id Model id
|
|
101
|
-
* @returns any Request was successful
|
|
102
|
-
* @throws ApiError
|
|
103
|
-
*/
|
|
104
|
-
static formDataCommentDeleteById(id: string): CancelablePromise<any>;
|
|
105
|
-
/**
|
|
106
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
107
|
-
* @param id FormDataComment id
|
|
108
|
-
* @param data An object of model property name/value pairs
|
|
109
|
-
* @returns FormDataComment Request was successful
|
|
110
|
-
* @throws ApiError
|
|
111
|
-
*/
|
|
112
|
-
static formDataCommentPrototypePatchAttributes(id: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
113
|
-
/**
|
|
114
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
115
|
-
* @param id Model id
|
|
116
|
-
* @param data Model instance data
|
|
117
|
-
* @returns FormDataComment Request was successful
|
|
118
|
-
* @throws ApiError
|
|
119
|
-
*/
|
|
120
|
-
static formDataCommentReplaceByIdPostFormDataCommentsIdReplace(id: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
121
|
-
/**
|
|
122
|
-
* Find first instance of the model matched by filter from the data source.
|
|
123
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
124
|
-
* @returns FormDataComment Request was successful
|
|
125
|
-
* @throws ApiError
|
|
126
|
-
*/
|
|
127
|
-
static formDataCommentFindOne(filter?: string): CancelablePromise<FormDataComment>;
|
|
128
|
-
/**
|
|
129
|
-
* Update instances of the model matched by {{where}} from the data source.
|
|
130
|
-
* @param where Criteria to match model instances
|
|
131
|
-
* @param data An object of model property name/value pairs
|
|
132
|
-
* @returns any Request was successful
|
|
133
|
-
* @throws ApiError
|
|
134
|
-
*/
|
|
135
|
-
static formDataCommentUpdateAll(where?: string, data?: FormDataComment): CancelablePromise<{
|
|
136
|
-
/**
|
|
137
|
-
* The number of instances updated
|
|
138
|
-
*/
|
|
139
|
-
count?: number;
|
|
140
|
-
}>;
|
|
141
|
-
/**
|
|
142
|
-
* Count instances of the model matched by where from the data source.
|
|
143
|
-
* @param where Criteria to match model instances
|
|
144
|
-
* @returns any Request was successful
|
|
145
|
-
* @throws ApiError
|
|
146
|
-
*/
|
|
147
|
-
static formDataCommentCount(where?: string): CancelablePromise<{
|
|
148
|
-
count?: number;
|
|
149
|
-
}>;
|
|
150
|
-
/**
|
|
151
|
-
* Count with deleted instances of the model matched by where from the data source.
|
|
152
|
-
* @param where Criteria to match model instances
|
|
153
|
-
* @returns any Request was successful
|
|
154
|
-
* @throws ApiError
|
|
155
|
-
*/
|
|
156
|
-
static formDataCommentCountWithDeleted(where?: string): CancelablePromise<{
|
|
157
|
-
count?: number;
|
|
158
|
-
}>;
|
|
159
|
-
}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import type { FormData } from '../models/FormData';
|
|
2
|
-
import type { FormDataComment } from '../models/FormDataComment';
|
|
3
|
-
import type { x_any } from '../models/x_any';
|
|
4
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
|
-
export declare class FormDataService {
|
|
6
|
-
/**
|
|
7
|
-
* Delete a related item by id for comments.
|
|
8
|
-
* @param id FormData id
|
|
9
|
-
* @param fk Foreign key for comments
|
|
10
|
-
* @returns void
|
|
11
|
-
* @throws ApiError
|
|
12
|
-
*/
|
|
13
|
-
static formDataPrototypeDestroyByIdComments(id: string, fk: string): CancelablePromise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Update a related item by id for comments.
|
|
16
|
-
* @param id FormData id
|
|
17
|
-
* @param fk Foreign key for comments
|
|
18
|
-
* @param data
|
|
19
|
-
* @returns FormDataComment Request was successful
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
static formDataPrototypeUpdateByIdComments(id: string, fk: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
23
|
-
/**
|
|
24
|
-
* Queries comments of FormData.
|
|
25
|
-
* @param id FormData id
|
|
26
|
-
* @param filter
|
|
27
|
-
* @returns FormDataComment Request was successful
|
|
28
|
-
* @throws ApiError
|
|
29
|
-
*/
|
|
30
|
-
static formDataPrototypeGetComments(id: string, filter?: string): CancelablePromise<Array<FormDataComment>>;
|
|
31
|
-
/**
|
|
32
|
-
* Creates a new instance in comments of this model.
|
|
33
|
-
* @param id FormData id
|
|
34
|
-
* @param data
|
|
35
|
-
* @returns FormDataComment Request was successful
|
|
36
|
-
* @throws ApiError
|
|
37
|
-
*/
|
|
38
|
-
static formDataPrototypeCreateComments(id: string, data?: FormDataComment): CancelablePromise<FormDataComment>;
|
|
39
|
-
/**
|
|
40
|
-
* Counts comments of FormData.
|
|
41
|
-
* @param id FormData id
|
|
42
|
-
* @param where Criteria to match model instances
|
|
43
|
-
* @returns any Request was successful
|
|
44
|
-
* @throws ApiError
|
|
45
|
-
*/
|
|
46
|
-
static formDataPrototypeCountComments(id: string, where?: string): CancelablePromise<{
|
|
47
|
-
count?: number;
|
|
48
|
-
}>;
|
|
49
|
-
/**
|
|
50
|
-
* Create a new instance of the model and persist it into the data source.
|
|
51
|
-
* @param data Model instance data
|
|
52
|
-
* @returns FormData Request was successful
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static formDataCreate(data?: FormData): CancelablePromise<FormData>;
|
|
56
|
-
/**
|
|
57
|
-
* Find all instances of the model matched by filter from the data source.
|
|
58
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
59
|
-
* @returns FormData Request was successful
|
|
60
|
-
* @throws ApiError
|
|
61
|
-
*/
|
|
62
|
-
static formDataFind(filter?: string): CancelablePromise<Array<FormData>>;
|
|
63
|
-
/**
|
|
64
|
-
* Find first instance of the model matched by filter from the data source.
|
|
65
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
66
|
-
* @returns FormData Request was successful
|
|
67
|
-
* @throws ApiError
|
|
68
|
-
*/
|
|
69
|
-
static formDataFindOne(filter?: string): CancelablePromise<FormData>;
|
|
70
|
-
/**
|
|
71
|
-
* Delete a model instance by {{id}} from the data source.
|
|
72
|
-
* @param id Model id
|
|
73
|
-
* @returns any Request was successful
|
|
74
|
-
* @throws ApiError
|
|
75
|
-
*/
|
|
76
|
-
static formDataDeleteById(id: string): CancelablePromise<any>;
|
|
77
|
-
/**
|
|
78
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
79
|
-
* @param id FormData id
|
|
80
|
-
* @param data An object of model property name/value pairs
|
|
81
|
-
* @returns FormData Request was successful
|
|
82
|
-
* @throws ApiError
|
|
83
|
-
*/
|
|
84
|
-
static formDataPrototypePatchAttributes(id: string, data?: FormData): CancelablePromise<FormData>;
|
|
85
|
-
/**
|
|
86
|
-
* Count instances of the model matched by where from the data source.
|
|
87
|
-
* @param where Criteria to match model instances
|
|
88
|
-
* @returns any Request was successful
|
|
89
|
-
* @throws ApiError
|
|
90
|
-
*/
|
|
91
|
-
static formDataCount(where?: string): CancelablePromise<{
|
|
92
|
-
count?: number;
|
|
93
|
-
}>;
|
|
94
|
-
/**
|
|
95
|
-
* @param formId
|
|
96
|
-
* @param filter
|
|
97
|
-
* @returns x_any Request was successful
|
|
98
|
-
* @throws ApiError
|
|
99
|
-
*/
|
|
100
|
-
static formDataGetFormDataList(formId: string, filter?: string): CancelablePromise<Array<x_any>>;
|
|
101
|
-
/**
|
|
102
|
-
* @param formId
|
|
103
|
-
* @param where
|
|
104
|
-
* @param extraData
|
|
105
|
-
* @param deleted
|
|
106
|
-
* @returns x_any Request was successful
|
|
107
|
-
* @throws ApiError
|
|
108
|
-
*/
|
|
109
|
-
static formDataGetFormDataCount(formId: string, where?: string, extraData?: string, deleted?: boolean): CancelablePromise<x_any>;
|
|
110
|
-
/**
|
|
111
|
-
* @param formDataId
|
|
112
|
-
* @param levelId
|
|
113
|
-
* @param action
|
|
114
|
-
* @param comment
|
|
115
|
-
* @returns x_any Request was successful
|
|
116
|
-
* @throws ApiError
|
|
117
|
-
*/
|
|
118
|
-
static formDataReviewLevel(formDataId: string, levelId: string, action: string, comment?: string): CancelablePromise<x_any>;
|
|
119
|
-
/**
|
|
120
|
-
* @param formDataId
|
|
121
|
-
* @returns x_any Request was successful
|
|
122
|
-
* @throws ApiError
|
|
123
|
-
*/
|
|
124
|
-
static formDataRestartApprovalProcess(formDataId: string): CancelablePromise<x_any>;
|
|
125
|
-
/**
|
|
126
|
-
* @param where
|
|
127
|
-
* @returns any Request was successful
|
|
128
|
-
* @throws ApiError
|
|
129
|
-
*/
|
|
130
|
-
static formDataFindInstance(where: string): CancelablePromise<any>;
|
|
131
|
-
/**
|
|
132
|
-
* @param sessionIds
|
|
133
|
-
* @param formId
|
|
134
|
-
* @returns x_any Request was successful
|
|
135
|
-
* @throws ApiError
|
|
136
|
-
*/
|
|
137
|
-
static formDataFindInstances(sessionIds: string, formId: string): CancelablePromise<Array<x_any>>;
|
|
138
|
-
/**
|
|
139
|
-
* @param id FormData id
|
|
140
|
-
* @returns x_any Request was successful
|
|
141
|
-
* @throws ApiError
|
|
142
|
-
*/
|
|
143
|
-
static formDataPrototypeStartApprovalProcess(id: string): CancelablePromise<x_any>;
|
|
144
|
-
/**
|
|
145
|
-
* @param formData
|
|
146
|
-
* @param originalModel
|
|
147
|
-
* @param type
|
|
148
|
-
* @param isNew
|
|
149
|
-
* @param submitForApproval
|
|
150
|
-
* @returns any Request was successful
|
|
151
|
-
* @throws ApiError
|
|
152
|
-
*/
|
|
153
|
-
static formDataExecuteTriggers(formData: string, originalModel: string, type: string, isNew: boolean, submitForApproval: boolean): CancelablePromise<any>;
|
|
154
|
-
/**
|
|
155
|
-
* @param formId
|
|
156
|
-
* @param filter
|
|
157
|
-
* @param columns
|
|
158
|
-
* @param timeZone
|
|
159
|
-
* @returns x_any Request was successful
|
|
160
|
-
* @throws ApiError
|
|
161
|
-
*/
|
|
162
|
-
static formDataExport(formId: string, filter?: string, columns?: string, timeZone?: string): CancelablePromise<x_any>;
|
|
163
|
-
/**
|
|
164
|
-
* @param where
|
|
165
|
-
* @returns any Request was successful
|
|
166
|
-
* @throws ApiError
|
|
167
|
-
*/
|
|
168
|
-
static formDataFindRelatedForms(where: string): CancelablePromise<any>;
|
|
169
|
-
/**
|
|
170
|
-
* @param formDataIds
|
|
171
|
-
* @param resolvedVersion
|
|
172
|
-
* @returns x_any Request was successful
|
|
173
|
-
* @throws ApiError
|
|
174
|
-
*/
|
|
175
|
-
static formDataResolveForms(formDataIds: string, resolvedVersion: string): CancelablePromise<x_any>;
|
|
176
|
-
/**
|
|
177
|
-
* @param filter
|
|
178
|
-
* @returns x_any Request was successful
|
|
179
|
-
* @throws ApiError
|
|
180
|
-
*/
|
|
181
|
-
static formDataGetMyFormDataList(filter?: string): CancelablePromise<Array<x_any>>;
|
|
182
|
-
/**
|
|
183
|
-
* @param where
|
|
184
|
-
* @returns x_any Request was successful
|
|
185
|
-
* @throws ApiError
|
|
186
|
-
*/
|
|
187
|
-
static formDataGetMyFormDataCount(where?: string): CancelablePromise<x_any>;
|
|
188
|
-
/**
|
|
189
|
-
* @param filter
|
|
190
|
-
* @returns x_any Request was successful
|
|
191
|
-
* @throws ApiError
|
|
192
|
-
*/
|
|
193
|
-
static formDataGetSessionFormDataList(filter?: string): CancelablePromise<Array<x_any>>;
|
|
194
|
-
/**
|
|
195
|
-
* @param where
|
|
196
|
-
* @returns x_any Request was successful
|
|
197
|
-
* @throws ApiError
|
|
198
|
-
*/
|
|
199
|
-
static formDataGetSessionFormDataCount(where?: string): CancelablePromise<x_any>;
|
|
200
|
-
/**
|
|
201
|
-
* @param filter
|
|
202
|
-
* @returns x_any Request was successful
|
|
203
|
-
* @throws ApiError
|
|
204
|
-
*/
|
|
205
|
-
static formDataGetWaitingFormDataList(filter?: string): CancelablePromise<Array<x_any>>;
|
|
206
|
-
/**
|
|
207
|
-
* @param where
|
|
208
|
-
* @returns any Request was successful
|
|
209
|
-
* @throws ApiError
|
|
210
|
-
*/
|
|
211
|
-
static formDataGetWaitingFormDataCount(where?: string): CancelablePromise<any>;
|
|
212
|
-
/**
|
|
213
|
-
* @param formDataId
|
|
214
|
-
* @param linkedFormDataId
|
|
215
|
-
* @param isNew
|
|
216
|
-
* @returns x_any Request was successful
|
|
217
|
-
* @throws ApiError
|
|
218
|
-
*/
|
|
219
|
-
static formDataLinkFormData(formDataId: string, linkedFormDataId: string, isNew?: boolean): CancelablePromise<x_any>;
|
|
220
|
-
/**
|
|
221
|
-
* @param formDataId
|
|
222
|
-
* @param linkedFormDataId
|
|
223
|
-
* @param unlinkFromParent
|
|
224
|
-
* @returns x_any Request was successful
|
|
225
|
-
* @throws ApiError
|
|
226
|
-
*/
|
|
227
|
-
static formDataUnlinkFormData(formDataId: string, linkedFormDataId: string, unlinkFromParent?: boolean): CancelablePromise<x_any>;
|
|
228
|
-
/**
|
|
229
|
-
* @param sessionData
|
|
230
|
-
* @returns x_any Request was successful
|
|
231
|
-
* @throws ApiError
|
|
232
|
-
*/
|
|
233
|
-
static formDataGetFormsForSession(sessionData: string): CancelablePromise<Array<x_any>>;
|
|
234
|
-
/**
|
|
235
|
-
* @param formId
|
|
236
|
-
* @param sessionData
|
|
237
|
-
* @param formTriggerValue
|
|
238
|
-
* @returns x_any Request was successful
|
|
239
|
-
* @throws ApiError
|
|
240
|
-
*/
|
|
241
|
-
static formDataCreateDraftForm(formId?: string, sessionData?: string, formTriggerValue?: string): CancelablePromise<x_any>;
|
|
242
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { Form } from '../models/Form';
|
|
2
|
-
import type { x_any } from '../models/x_any';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class FormService {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new instance of the model and persist it into the data source.
|
|
7
|
-
* @param data Model instance data
|
|
8
|
-
* @returns Form Request was successful
|
|
9
|
-
* @throws ApiError
|
|
10
|
-
*/
|
|
11
|
-
static formCreate(data?: Form): CancelablePromise<Form>;
|
|
12
|
-
/**
|
|
13
|
-
* Find all instances of the model matched by filter from the data source.
|
|
14
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
15
|
-
* @returns Form Request was successful
|
|
16
|
-
* @throws ApiError
|
|
17
|
-
*/
|
|
18
|
-
static formFind(filter?: string): CancelablePromise<Array<Form>>;
|
|
19
|
-
/**
|
|
20
|
-
* Find first instance of the model matched by filter from the data source.
|
|
21
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
22
|
-
* @returns Form Request was successful
|
|
23
|
-
* @throws ApiError
|
|
24
|
-
*/
|
|
25
|
-
static formFindOne(filter?: string): CancelablePromise<Form>;
|
|
26
|
-
/**
|
|
27
|
-
* Count instances of the model matched by where from the data source.
|
|
28
|
-
* @param where Criteria to match model instances
|
|
29
|
-
* @returns any Request was successful
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static formCount(where?: string): CancelablePromise<{
|
|
33
|
-
count?: number;
|
|
34
|
-
}>;
|
|
35
|
-
/**
|
|
36
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
37
|
-
* @param id Form id
|
|
38
|
-
* @param data An object of model property name/value pairs
|
|
39
|
-
* @returns Form Request was successful
|
|
40
|
-
* @throws ApiError
|
|
41
|
-
*/
|
|
42
|
-
static formPrototypePatchAttributes(id: string, data?: Form): CancelablePromise<Form>;
|
|
43
|
-
/**
|
|
44
|
-
* @param formId
|
|
45
|
-
* @param where
|
|
46
|
-
* @returns x_any Request was successful
|
|
47
|
-
* @throws ApiError
|
|
48
|
-
*/
|
|
49
|
-
static formGetAllRelatedFormDatas(formId: string, where: string): CancelablePromise<Array<x_any>>;
|
|
50
|
-
/**
|
|
51
|
-
* @param formDataIds
|
|
52
|
-
* @returns x_any Request was successful
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static formPerformFormDataRestart(formDataIds: string): CancelablePromise<Array<x_any>>;
|
|
56
|
-
/**
|
|
57
|
-
* @param formId
|
|
58
|
-
* @returns x_any Request was successful
|
|
59
|
-
* @throws ApiError
|
|
60
|
-
*/
|
|
61
|
-
static formPreformApproversRecalculation(formId: string): CancelablePromise<x_any>;
|
|
62
|
-
/**
|
|
63
|
-
* @param formId
|
|
64
|
-
* @returns any Request was successful
|
|
65
|
-
* @throws ApiError
|
|
66
|
-
*/
|
|
67
|
-
static formGetFormData(formId: string): CancelablePromise<any>;
|
|
68
|
-
/**
|
|
69
|
-
* @param formId
|
|
70
|
-
* @returns any Request was successful
|
|
71
|
-
* @throws ApiError
|
|
72
|
-
*/
|
|
73
|
-
static formDeleteForm(formId: string): CancelablePromise<any>;
|
|
74
|
-
/**
|
|
75
|
-
* Nested duplicate object
|
|
76
|
-
* @param id
|
|
77
|
-
* @param extraProperties
|
|
78
|
-
* @returns x_any Request was successful
|
|
79
|
-
* @throws ApiError
|
|
80
|
-
*/
|
|
81
|
-
static formDuplicate(id: string, extraProperties?: string): CancelablePromise<x_any>;
|
|
82
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { Forum } from '../models/Forum';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
export declare class ForumService {
|
|
4
|
-
/**
|
|
5
|
-
* Create a new instance of the model and persist it into the data source.
|
|
6
|
-
* @param data Model instance data
|
|
7
|
-
* @returns Forum Request was successful
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static forumCreate(data?: Forum): CancelablePromise<Forum>;
|
|
11
|
-
/**
|
|
12
|
-
* Find all instances of the model matched by filter from the data source.
|
|
13
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
-
* @returns Forum Request was successful
|
|
15
|
-
* @throws ApiError
|
|
16
|
-
*/
|
|
17
|
-
static forumFind(filter?: string): CancelablePromise<Array<Forum>>;
|
|
18
|
-
/**
|
|
19
|
-
* Find first instance of the model matched by filter from the data source.
|
|
20
|
-
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
21
|
-
* @returns Forum Request was successful
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static forumFindOne(filter?: string): CancelablePromise<Forum>;
|
|
25
|
-
/**
|
|
26
|
-
* Delete a model instance by {{id}} from the data source.
|
|
27
|
-
* @param id Model id
|
|
28
|
-
* @returns any Request was successful
|
|
29
|
-
* @throws ApiError
|
|
30
|
-
*/
|
|
31
|
-
static forumDeleteById(id: string): CancelablePromise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
34
|
-
* @param id Forum id
|
|
35
|
-
* @param data An object of model property name/value pairs
|
|
36
|
-
* @returns Forum Request was successful
|
|
37
|
-
* @throws ApiError
|
|
38
|
-
*/
|
|
39
|
-
static forumPrototypePatchAttributes(id: string, data?: Forum): CancelablePromise<Forum>;
|
|
40
|
-
/**
|
|
41
|
-
* Count instances of the model matched by where from the data source.
|
|
42
|
-
* @param where Criteria to match model instances
|
|
43
|
-
* @returns any Request was successful
|
|
44
|
-
* @throws ApiError
|
|
45
|
-
*/
|
|
46
|
-
static forumCount(where?: string): CancelablePromise<{
|
|
47
|
-
count?: number;
|
|
48
|
-
}>;
|
|
49
|
-
}
|