fams-ts 1.0.18 → 1.0.20
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 +17 -0
- package/dist/auth.d.ts +0 -9
- package/dist/budget.d.ts +27 -0
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/approvals.d.ts
CHANGED
|
@@ -114,6 +114,20 @@ export interface ApprovePaymentApprovalRequest {
|
|
|
114
114
|
comment?: string;
|
|
115
115
|
processMetadata?: string;
|
|
116
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
|
+
}
|
|
117
131
|
export interface AttachmentResponse {
|
|
118
132
|
id: string;
|
|
119
133
|
fileUrl: string;
|
|
@@ -347,6 +361,9 @@ export interface ReturnPaymentApprovalRequest {
|
|
|
347
361
|
reason: string;
|
|
348
362
|
targetStage?: string;
|
|
349
363
|
}
|
|
364
|
+
export interface SubmitApprovalRequest {
|
|
365
|
+
note?: string;
|
|
366
|
+
}
|
|
350
367
|
export interface UpdateFolderRequest {
|
|
351
368
|
name?: string;
|
|
352
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
|
@@ -88,6 +88,29 @@ export interface BudgetHeadResponse {
|
|
|
88
88
|
totalActual: string;
|
|
89
89
|
available: string;
|
|
90
90
|
}
|
|
91
|
+
export interface BudgetHeadTransactionEntry {
|
|
92
|
+
id: string;
|
|
93
|
+
type: string;
|
|
94
|
+
referenceNo: string;
|
|
95
|
+
amount: number;
|
|
96
|
+
purpose?: string;
|
|
97
|
+
status: string;
|
|
98
|
+
instructionId?: string;
|
|
99
|
+
balanceAfter: number;
|
|
100
|
+
createdAt: string;
|
|
101
|
+
}
|
|
102
|
+
export interface BudgetHeadTransactionHistoryResponse {
|
|
103
|
+
budgetHeadCode: string;
|
|
104
|
+
budgetHeadName: string;
|
|
105
|
+
appropriation: number;
|
|
106
|
+
commitments: number;
|
|
107
|
+
totalActual: number;
|
|
108
|
+
available: number;
|
|
109
|
+
transactions: BudgetHeadTransactionEntry[];
|
|
110
|
+
totalCount: number;
|
|
111
|
+
page: number;
|
|
112
|
+
pageSize: number;
|
|
113
|
+
}
|
|
91
114
|
export interface BudgetHeadUpdateRequest {
|
|
92
115
|
name?: string;
|
|
93
116
|
accountCode?: string;
|
|
@@ -111,6 +134,10 @@ export interface DocumentExportResponse {
|
|
|
111
134
|
export interface HTTPValidationError {
|
|
112
135
|
detail?: ValidationError[];
|
|
113
136
|
}
|
|
137
|
+
export interface UpdateAIERequest {
|
|
138
|
+
purpose?: string;
|
|
139
|
+
documentDetails?: AIEDocumentDetailsRequest;
|
|
140
|
+
}
|
|
114
141
|
export interface ValidationError {
|
|
115
142
|
loc: number | string[];
|
|
116
143
|
msg: string;
|
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, 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';
|
|
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, BudgetHeadTransactionEntry, BudgetHeadTransactionHistoryResponse, 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';
|