Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 5f9b831

Browse files
committed
Add models interface
1 parent 4301774 commit 5f9b831

File tree

1 file changed

+198
-6
lines changed

1 file changed

+198
-6
lines changed

typescript/alfresco-js-api.d.ts

Lines changed: 198 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,16 +191,16 @@ interface Mock {
191191
Node: NodeMock;
192192
Upload: UploadMock;
193193
WebScript: WebScriptMock;
194-
ActivitiMock : ActivitiMock;
195-
Tag : TagMock;
194+
ActivitiMock: ActivitiMock;
195+
Tag: TagMock;
196196
Models: ModelsMock;
197197
UserFilters: UserFiltersMock;
198198
}
199199

200200
interface ActivitiMock {
201201
Auth: ActivitiAuthMock;
202-
Process : ProcessMock;
203-
Tasks :TasksMock;
202+
Process: ProcessMock;
203+
Tasks: TasksMock;
204204
}
205205

206206
interface UserFiltersMock {
@@ -288,7 +288,88 @@ interface activiti {
288288
temporaryApi: any;
289289
userApi: any;
290290
userFiltersApi: any;
291-
usersWorkflowApi:any;
291+
usersWorkflowApi: any;
292+
293+
/*Models*/
294+
AbstractGroupRepresentation: any;
295+
AbstractRepresentation: any;
296+
AbstractUserRepresentation: any;
297+
AddGroupCapabilitiesRepresentation: any;
298+
AppDefinition: any;
299+
AppDefinitionPublishRepresentation: any;
300+
AppDefinitionRepresentation: any;
301+
AppDefinitionUpdateResultRepresentation: any;
302+
AppModelDefinition: any;
303+
ArrayNode: any;
304+
BoxUserAccountCredentialsRepresentation: any;
305+
BulkUserUpdateRepresentation: any;
306+
ChangePasswordRepresentation: any;
307+
ChecklistOrderRepresentation: any;
308+
CommentRepresentation: any;
309+
CompleteFormRepresentation: any;
310+
ConditionRepresentation: any;
311+
CreateEndpointBasicAuthRepresentation: any;
312+
CreateProcessInstanceRepresentation: any;
313+
CreateTenantRepresentation: any;
314+
EndpointBasicAuthRepresentation: any;
315+
EndpointConfigurationRepresentation: any;
316+
EndpointRequestHeaderRepresentation: any;
317+
EntityAttributeScopeRepresentation: any;
318+
EntityVariableScopeRepresentation: any;
319+
File: any;
320+
FormDefinitionRepresentation: any;
321+
FormFieldRepresentation: any;
322+
FormJavascriptEventRepresentation: any;
323+
FormOutcomeRepresentation: any;
324+
FormRepresentation: any;
325+
FormSaveRepresentation: any;
326+
FormScopeRepresentation: any;
327+
FormTabRepresentation: any;
328+
FormValueRepresentation: any;
329+
GroupCapabilityRepresentation: any;
330+
GroupRepresentation: any;
331+
ImageUploadRepresentation: any;
332+
LayoutRepresentation: any;
333+
LightAppRepresentation: any;
334+
LightGroupRepresentation: any;
335+
LightTenantRepresentation: any;
336+
LightUserRepresentation: any;
337+
MaplongListstring: any;
338+
MapstringListEntityVariableScopeRepresentation: any;
339+
MapstringListVariableScopeRepresentation: any;
340+
Mapstringstring: any;
341+
ModelRepresentation: any;
342+
ObjectNode: any;
343+
OptionRepresentation: any;
344+
ProcessInstanceFilterRepresentation: any;
345+
ProcessInstanceFilterRequestRepresentation: any;
346+
ProcessInstanceRepresentation: any;
347+
ProcessScopeIdentifierRepresentation: any;
348+
ProcessScopeRepresentation: any;
349+
ProcessScopesRequestRepresentation: any;
350+
PublishIdentityInfoRepresentation: any;
351+
RelatedContentRepresentation: any;
352+
ResetPasswordRepresentatio: any;
353+
RestVariable: any;
354+
ResultListDataRepresentation: any;
355+
RuntimeAppDefinitionSaveRepresentation: any;
356+
SaveFormRepresentation: any;
357+
SyncLogEntryRepresentation: any;
358+
SystemPropertiesRepresentation: any;
359+
TaskFilterRepresentation: any;
360+
TaskFilterRequestRepresentation: any;
361+
TaskRepresentation: any;
362+
TaskUpdateRepresentation: any;
363+
TenantEvent: any;
364+
TenantRepresentation: any;
365+
UserAccountCredentialsRepresentation: any;
366+
UserActionRepresentation: any;
367+
UserFilterOrderRepresentation: any;
368+
UserProcessInstanceFilterRepresentation: any;
369+
UserRepresentation: any;
370+
UserTaskFilterRepresentation: any;
371+
ValidationErrorRepresentation: any;
372+
VariableScopeRepresentation: any;
292373
}
293374

294375
interface core {
@@ -306,6 +387,117 @@ interface core {
306387
sharedlinksApi: any;
307388
sitesApi: any;
308389
tagsApi: any;
390+
391+
/*Models*/
392+
Activity: any;
393+
ActivityActivitySummary: any;
394+
ActivityEntry: any;
395+
ActivityPaging: any;
396+
ActivityPagingList: any;
397+
AssocChildBody: any;
398+
AssocInfo: any;
399+
AssocTargetBody: any;
400+
ChildAssocInfo: any;
401+
Comment: any;
402+
CommentBody: any;
403+
CommentBody1: any;
404+
CommentEntry: any;
405+
CommentPaging: any;
406+
CommentPagingList: any;
407+
Company: any;
408+
ContentInfo: any;
409+
CopyBody: any;
410+
DeletedNode: any;
411+
DeletedNodeEntry: any;
412+
DeletedNodeMinimal: any;
413+
DeletedNodeMinimalEntry: any;
414+
DeletedNodesPaging: any;
415+
DeletedNodesPagingList: any;
416+
EmailSharedLinkBody: any;
417+
Error: any;
418+
ErrorError: any;
419+
Favorite: any;
420+
FavoriteBody: any;
421+
FavoriteEntry: any;
422+
FavoritePaging: any;
423+
FavoritePagingList: any;
424+
FavoriteSiteBody: any;
425+
InlineResponse201: any;
426+
InlineResponse201Entry: any;
427+
MoveBody: any;
428+
NetworkQuota: any;
429+
NodeAssocMinimal: any;
430+
NodeAssocMinimalEntry: any;
431+
NodeAssocPaging: any;
432+
NodeAssocPagingList: any;
433+
NodeBody: any;
434+
NodeBody1: any;
435+
NodeChildAssocMinimal: any;
436+
NodeChildAssocMinimalEntry: any;
437+
NodeChildAssocPaging: any;
438+
NodeChildAssocPagingList: any;
439+
NodeEntry: any;
440+
NodeFull: any;
441+
NodeMinimal: any;
442+
NodeMinimalEntry: any;
443+
NodePaging: any;
444+
NodePagingList: any;
445+
NodeSharedLink: any;
446+
NodeSharedLinkEntry: any;
447+
NodeSharedLinkPaging: any;
448+
NodeSharedLinkPagingList: any;
449+
NodesnodeIdchildrenContent: any;
450+
Pagination: any;
451+
PathElement: any;
452+
PathInfo: any;
453+
Person: any;
454+
PersonEntry: any;
455+
PersonNetwork: any;
456+
PersonNetworkEntry: any;
457+
PersonNetworkPaging: any;
458+
PersonNetworkPagingList: any;
459+
Preference: any;
460+
PreferenceEntry: any;
461+
PreferencePaging: any;
462+
PreferencePagingList: any;
463+
Rating: any;
464+
RatingAggregate: any;
465+
RatingBody: any;
466+
RatingEntry: any;
467+
RatingPaging: any;
468+
RatingPagingList: any;
469+
Rendition: any;
470+
RenditionBody: any;
471+
RenditionEntry: any;
472+
RenditionPaging: any;
473+
RenditionPagingList: any;
474+
SharedLinkBody: any;
475+
Site: any;
476+
SiteBody: any;
477+
SiteContainer: any;
478+
SiteContainerEntry: any;
479+
SiteContainerPaging: any;
480+
SiteEntry: any;
481+
SiteMember: any;
482+
SiteMemberBody: any;
483+
SiteMemberEntry: any;
484+
SiteMemberPaging: any;
485+
SiteMemberRoleBody: any;
486+
SiteMembershipBody: any;
487+
SiteMembershipBody1: any;
488+
SiteMembershipRequest: any;
489+
SiteMembershipRequestEntry: any;
490+
SiteMembershipRequestPaging: any;
491+
SiteMembershipRequestPagingList: any;
492+
SitePaging: any;
493+
SitePagingList: any;
494+
Tag: any;
495+
TagBody: any;
496+
TagBody1: any;
497+
TagEntry: any;
498+
TagPaging: any;
499+
TagPagingList: any;
500+
UserInfo: any;
309501
}
310502

311503
export class AlfrescoApiConfig {
@@ -379,7 +571,7 @@ export interface AlfrescoJsApi {
379571
deleteNode(nodeId: string): any;
380572
deleteNodePermanent(nodeId: string): any;
381573

382-
uploadFile(fileDefinition: File, relativePath: string, nodeId: string, nodeBody: any, opts: any):any;
574+
uploadFile(fileDefinition: File, relativePath: string, nodeId: string, nodeBody: any, opts: any): any;
383575
createFolder(name: string, relativePath: string, nodeId: string): any;
384576

385577
isLoggedIn(): boolean;

0 commit comments

Comments
 (0)