fams-ts 1.0.17 → 1.0.18
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 +49 -2
- package/dist/expenditure.d.ts +2 -4
- package/dist/index.d.ts +1 -1
- 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;
|
|
@@ -213,6 +240,7 @@ export interface PaymentApprovalDetailResponse {
|
|
|
213
240
|
attachments?: AttachmentResponse[];
|
|
214
241
|
comments?: ApprovalCommentResponse[];
|
|
215
242
|
instructions?: ApprovalInstructionResponse[];
|
|
243
|
+
history?: ApprovalStageHistoryResponse[];
|
|
216
244
|
}
|
|
217
245
|
export interface PaymentApprovalResponse {
|
|
218
246
|
id: string;
|
|
@@ -254,8 +282,7 @@ export interface PaymentVoucherDetailResponse {
|
|
|
254
282
|
documentDetails: PaymentVoucherDocumentDetailsResponse;
|
|
255
283
|
}
|
|
256
284
|
export interface PaymentVoucherDocumentDetailsResponse {
|
|
257
|
-
voucherType:
|
|
258
|
-
voucherSubtype?: string;
|
|
285
|
+
voucherType: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
|
|
259
286
|
treasuryForm: string;
|
|
260
287
|
departmentalReference: string;
|
|
261
288
|
fiscalYear: number;
|
|
@@ -288,6 +315,26 @@ export interface PaymentVoucherDocumentDetailsResponse {
|
|
|
288
315
|
export interface PostToGLRequest {
|
|
289
316
|
entryDate?: string;
|
|
290
317
|
}
|
|
318
|
+
export interface ProcessedApprovalResponse {
|
|
319
|
+
historyId: string;
|
|
320
|
+
approvalId: string;
|
|
321
|
+
paymentId: string;
|
|
322
|
+
status: string;
|
|
323
|
+
currentStage?: string;
|
|
324
|
+
createdBy?: string;
|
|
325
|
+
createdAt: string;
|
|
326
|
+
documentUrl: string;
|
|
327
|
+
pvNumber?: string;
|
|
328
|
+
glPosted?: boolean;
|
|
329
|
+
processMetadata?: any;
|
|
330
|
+
departmentCode: string;
|
|
331
|
+
action: string;
|
|
332
|
+
fromStage?: string;
|
|
333
|
+
toStage?: string;
|
|
334
|
+
comment?: string;
|
|
335
|
+
processedBy?: ApprovalActorResponse;
|
|
336
|
+
processedAt: string;
|
|
337
|
+
}
|
|
291
338
|
export interface RejectPaymentApprovalRequest {
|
|
292
339
|
reason: string;
|
|
293
340
|
}
|
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,7 +2,7 @@
|
|
|
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, 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, UpdateFolderRequest, VoucherResponse } from './approvals';
|
|
6
6
|
export { AssetCreateSchema, LiabilityCreateSchema, ReceivableCreateSchema } from './assets';
|
|
7
7
|
export { ActiveSessionSchema, AssignUserRoleSchema, ChangePasswordSchema, CreateDepartmentSchema, CreatePermissionSchema, CreateRoleSchema, DepartmentSchema, LoginResponseSchema, ManagedUserRegisterSchema, PermissionSchema, RefreshTokenSchema, RolePermissionsSchema, RoleSchema, SessionSchema, UpdateRoleSchema, UserInfoSchema, UserLoginSchema, UserLookupSchema, UserPermissionOverrideSchema, UserRegisterSchema } from './auth';
|
|
8
8
|
export { AIEDocumentDetailsRequest, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadUpdateRequest } from './budget';
|