fams-ts 1.0.17 → 1.0.19
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/approvals.d.ts +66 -2
- package/dist/auth.d.ts +0 -9
- package/dist/budget.d.ts +4 -0
- package/dist/expenditure.d.ts +2 -4
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/approvals.d.ts
CHANGED
|
@@ -54,6 +54,21 @@ export interface AddApprovalToFolderResponse {
|
|
|
54
54
|
addedBy?: string;
|
|
55
55
|
addedAt: string;
|
|
56
56
|
}
|
|
57
|
+
export interface ApprovalActorResponse {
|
|
58
|
+
id: string;
|
|
59
|
+
username?: string;
|
|
60
|
+
email?: string;
|
|
61
|
+
title?: string;
|
|
62
|
+
firstName?: string;
|
|
63
|
+
middleName?: string;
|
|
64
|
+
lastName?: string;
|
|
65
|
+
fullName?: string;
|
|
66
|
+
avatar?: string;
|
|
67
|
+
departmentCode?: string;
|
|
68
|
+
departmentName?: string;
|
|
69
|
+
roleCode?: string;
|
|
70
|
+
roleName?: string;
|
|
71
|
+
}
|
|
57
72
|
export interface ApprovalCommentResponse {
|
|
58
73
|
id: string;
|
|
59
74
|
commentedBy?: string;
|
|
@@ -77,6 +92,18 @@ export interface ApprovalInstructionResponse {
|
|
|
77
92
|
aie?: AIEDetailResponse;
|
|
78
93
|
createdAt: string;
|
|
79
94
|
}
|
|
95
|
+
export interface ApprovalStageHistoryResponse {
|
|
96
|
+
id: string;
|
|
97
|
+
approvalId: string;
|
|
98
|
+
departmentCode: string;
|
|
99
|
+
action: string;
|
|
100
|
+
fromStage?: string;
|
|
101
|
+
toStage?: string;
|
|
102
|
+
status: string;
|
|
103
|
+
comment?: string;
|
|
104
|
+
processedBy?: ApprovalActorResponse;
|
|
105
|
+
processedAt: string;
|
|
106
|
+
}
|
|
80
107
|
export interface ApprovalStatusResponse {
|
|
81
108
|
id: string;
|
|
82
109
|
status: string;
|
|
@@ -87,6 +114,20 @@ export interface ApprovePaymentApprovalRequest {
|
|
|
87
114
|
comment?: string;
|
|
88
115
|
processMetadata?: string;
|
|
89
116
|
}
|
|
117
|
+
export interface AssignApprovalRequest {
|
|
118
|
+
assignedTo: string;
|
|
119
|
+
note?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface AssignmentResponse {
|
|
122
|
+
id: string;
|
|
123
|
+
approvalId: string;
|
|
124
|
+
assignedTo: string;
|
|
125
|
+
assignedBy: string;
|
|
126
|
+
stage: string;
|
|
127
|
+
note?: string;
|
|
128
|
+
status: string;
|
|
129
|
+
createdAt?: string;
|
|
130
|
+
}
|
|
90
131
|
export interface AttachmentResponse {
|
|
91
132
|
id: string;
|
|
92
133
|
fileUrl: string;
|
|
@@ -213,6 +254,7 @@ export interface PaymentApprovalDetailResponse {
|
|
|
213
254
|
attachments?: AttachmentResponse[];
|
|
214
255
|
comments?: ApprovalCommentResponse[];
|
|
215
256
|
instructions?: ApprovalInstructionResponse[];
|
|
257
|
+
history?: ApprovalStageHistoryResponse[];
|
|
216
258
|
}
|
|
217
259
|
export interface PaymentApprovalResponse {
|
|
218
260
|
id: string;
|
|
@@ -254,8 +296,7 @@ export interface PaymentVoucherDetailResponse {
|
|
|
254
296
|
documentDetails: PaymentVoucherDocumentDetailsResponse;
|
|
255
297
|
}
|
|
256
298
|
export interface PaymentVoucherDocumentDetailsResponse {
|
|
257
|
-
voucherType:
|
|
258
|
-
voucherSubtype?: string;
|
|
299
|
+
voucherType: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
|
|
259
300
|
treasuryForm: string;
|
|
260
301
|
departmentalReference: string;
|
|
261
302
|
fiscalYear: number;
|
|
@@ -288,6 +329,26 @@ export interface PaymentVoucherDocumentDetailsResponse {
|
|
|
288
329
|
export interface PostToGLRequest {
|
|
289
330
|
entryDate?: string;
|
|
290
331
|
}
|
|
332
|
+
export interface ProcessedApprovalResponse {
|
|
333
|
+
historyId: string;
|
|
334
|
+
approvalId: string;
|
|
335
|
+
paymentId: string;
|
|
336
|
+
status: string;
|
|
337
|
+
currentStage?: string;
|
|
338
|
+
createdBy?: string;
|
|
339
|
+
createdAt: string;
|
|
340
|
+
documentUrl: string;
|
|
341
|
+
pvNumber?: string;
|
|
342
|
+
glPosted?: boolean;
|
|
343
|
+
processMetadata?: any;
|
|
344
|
+
departmentCode: string;
|
|
345
|
+
action: string;
|
|
346
|
+
fromStage?: string;
|
|
347
|
+
toStage?: string;
|
|
348
|
+
comment?: string;
|
|
349
|
+
processedBy?: ApprovalActorResponse;
|
|
350
|
+
processedAt: string;
|
|
351
|
+
}
|
|
291
352
|
export interface RejectPaymentApprovalRequest {
|
|
292
353
|
reason: string;
|
|
293
354
|
}
|
|
@@ -300,6 +361,9 @@ export interface ReturnPaymentApprovalRequest {
|
|
|
300
361
|
reason: string;
|
|
301
362
|
targetStage?: string;
|
|
302
363
|
}
|
|
364
|
+
export interface SubmitApprovalRequest {
|
|
365
|
+
note?: string;
|
|
366
|
+
}
|
|
303
367
|
export interface UpdateFolderRequest {
|
|
304
368
|
name?: string;
|
|
305
369
|
description?: string;
|
package/dist/auth.d.ts
CHANGED
|
@@ -125,15 +125,6 @@ export interface UserLookupSchema {
|
|
|
125
125
|
export interface UserPermissionOverrideSchema {
|
|
126
126
|
permissionId: string;
|
|
127
127
|
}
|
|
128
|
-
export interface UserRegisterSchema {
|
|
129
|
-
username: string;
|
|
130
|
-
password: string;
|
|
131
|
-
email: string;
|
|
132
|
-
title?: string;
|
|
133
|
-
firstName?: string;
|
|
134
|
-
middleName?: string;
|
|
135
|
-
lastName?: string;
|
|
136
|
-
}
|
|
137
128
|
export interface ValidationError {
|
|
138
129
|
loc: number | string[];
|
|
139
130
|
msg: string;
|
package/dist/budget.d.ts
CHANGED
|
@@ -111,6 +111,10 @@ export interface DocumentExportResponse {
|
|
|
111
111
|
export interface HTTPValidationError {
|
|
112
112
|
detail?: ValidationError[];
|
|
113
113
|
}
|
|
114
|
+
export interface UpdateAIERequest {
|
|
115
|
+
purpose?: string;
|
|
116
|
+
documentDetails?: AIEDocumentDetailsRequest;
|
|
117
|
+
}
|
|
114
118
|
export interface ValidationError {
|
|
115
119
|
loc: number | string[];
|
|
116
120
|
msg: string;
|
package/dist/expenditure.d.ts
CHANGED
|
@@ -46,8 +46,7 @@ export interface PaymentVoucherDeductionResponse {
|
|
|
46
46
|
amount: string;
|
|
47
47
|
}
|
|
48
48
|
export interface PaymentVoucherDocumentDetailsRequest {
|
|
49
|
-
voucherType?: '
|
|
50
|
-
voucherSubtype?: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
|
|
49
|
+
voucherType?: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
|
|
51
50
|
treasuryForm?: string;
|
|
52
51
|
departmentalReference?: string;
|
|
53
52
|
station?: string;
|
|
@@ -75,8 +74,7 @@ export interface PaymentVoucherDocumentDetailsRequest {
|
|
|
75
74
|
amountInWords?: string;
|
|
76
75
|
}
|
|
77
76
|
export interface PaymentVoucherDocumentDetailsResponse {
|
|
78
|
-
voucherType:
|
|
79
|
-
voucherSubtype?: string;
|
|
77
|
+
voucherType: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
|
|
80
78
|
treasuryForm: string;
|
|
81
79
|
departmentalReference: string;
|
|
82
80
|
fiscalYear: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Auto-generated index.
|
|
3
3
|
*/
|
|
4
4
|
export { AccountCreateRequest, AccountResponse, Body_open_period_master_periods_open__period_code___post, HTTPValidationError, OpeningBalanceRequest, OpeningBalanceResponse, PeriodResponse, SettingsCategoryRequest, SettingsCategoryResponse, ValidationError } from './account';
|
|
5
|
-
export { AIEDetailResponse, AIEDocumentDetailsResponse, AddApprovalCommentRequest, AddApprovalInstructionRequest, AddApprovalToFolderRequest, AddApprovalToFolderResponse, ApprovalCommentResponse, ApprovalDocumentUrlResponse, ApprovalInstructionResponse, ApprovalStatusResponse, ApprovePaymentApprovalRequest, AttachmentResponse, AuthorityResponse, Body_upload_attachment_approvals__id__attach__post, Body_upload_payment_approval_approvals_upload__post, CreateAuthorityRequest, CreateDestinationRequest, CreateFolderRequest, DeleteFolderResponse, DepartmentSummaryResponse, DestinationResponse, DocumentExportResponse, FolderApprovalsResponse, FolderMembershipResponse, FolderResponse, GLPostingResponse, InlinePaymentDestinationRequest, PaymentApprovalDetailResponse, PaymentApprovalResponse, PaymentApprovalSummaryResponse, PaymentStatusResponse, PaymentVoucherDeductionResponse, PaymentVoucherDetailResponse, PaymentVoucherDocumentDetailsResponse, PostToGLRequest, RejectPaymentApprovalRequest, RemoveApprovalFromFolderResponse, ReturnPaymentApprovalRequest, UpdateFolderRequest, VoucherResponse } from './approvals';
|
|
5
|
+
export { AIEDetailResponse, AIEDocumentDetailsResponse, AddApprovalCommentRequest, AddApprovalInstructionRequest, AddApprovalToFolderRequest, AddApprovalToFolderResponse, ApprovalActorResponse, ApprovalCommentResponse, ApprovalDocumentUrlResponse, ApprovalInstructionResponse, ApprovalStageHistoryResponse, ApprovalStatusResponse, ApprovePaymentApprovalRequest, AssignApprovalRequest, AssignmentResponse, AttachmentResponse, AuthorityResponse, Body_upload_attachment_approvals__id__attach__post, Body_upload_payment_approval_approvals_upload__post, CreateAuthorityRequest, CreateDestinationRequest, CreateFolderRequest, DeleteFolderResponse, DepartmentSummaryResponse, DestinationResponse, DocumentExportResponse, FolderApprovalsResponse, FolderMembershipResponse, FolderResponse, GLPostingResponse, InlinePaymentDestinationRequest, PaymentApprovalDetailResponse, PaymentApprovalResponse, PaymentApprovalSummaryResponse, PaymentStatusResponse, PaymentVoucherDeductionResponse, PaymentVoucherDetailResponse, PaymentVoucherDocumentDetailsResponse, PostToGLRequest, ProcessedApprovalResponse, RejectPaymentApprovalRequest, RemoveApprovalFromFolderResponse, ReturnPaymentApprovalRequest, SubmitApprovalRequest, UpdateFolderRequest, VoucherResponse } from './approvals';
|
|
6
6
|
export { AssetCreateSchema, LiabilityCreateSchema, ReceivableCreateSchema } from './assets';
|
|
7
|
-
export { ActiveSessionSchema, AssignUserRoleSchema, ChangePasswordSchema, CreateDepartmentSchema, CreatePermissionSchema, CreateRoleSchema, DepartmentSchema, LoginResponseSchema, ManagedUserRegisterSchema, PermissionSchema, RefreshTokenSchema, RolePermissionsSchema, RoleSchema, SessionSchema, UpdateRoleSchema, UserInfoSchema, UserLoginSchema, UserLookupSchema, UserPermissionOverrideSchema
|
|
8
|
-
export { AIEDocumentDetailsRequest, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadUpdateRequest } from './budget';
|
|
7
|
+
export { ActiveSessionSchema, AssignUserRoleSchema, ChangePasswordSchema, CreateDepartmentSchema, CreatePermissionSchema, CreateRoleSchema, DepartmentSchema, LoginResponseSchema, ManagedUserRegisterSchema, PermissionSchema, RefreshTokenSchema, RolePermissionsSchema, RoleSchema, SessionSchema, UpdateRoleSchema, UserInfoSchema, UserLoginSchema, UserLookupSchema, UserPermissionOverrideSchema } from './auth';
|
|
8
|
+
export { AIEDocumentDetailsRequest, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadUpdateRequest, UpdateAIERequest } from './budget';
|
|
9
9
|
export { PaymentLineCreateRequest, PaymentLineResponse, PaymentVoucherCreateRequest, PaymentVoucherDeductionRequest, PaymentVoucherDocumentDetailsRequest, PaymentVoucherResponse } from './expenditure';
|
|
10
10
|
export { MarkReadRequest, NotificationResponse } from './notifications';
|
|
11
11
|
export { ReceiptResponse, RecordReceiptRequest } from './receipts';
|