fams-ts 1.0.20 → 1.0.22
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 +13 -2
- package/dist/budget.d.ts +44 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/approvals.d.ts
CHANGED
|
@@ -121,13 +121,22 @@ export interface AssignApprovalRequest {
|
|
|
121
121
|
export interface AssignmentResponse {
|
|
122
122
|
id: string;
|
|
123
123
|
approvalId: string;
|
|
124
|
-
assignedTo:
|
|
125
|
-
assignedBy:
|
|
124
|
+
assignedTo: AssignmentUserSchema;
|
|
125
|
+
assignedBy: AssignmentUserSchema;
|
|
126
126
|
stage: string;
|
|
127
127
|
note?: string;
|
|
128
128
|
status: string;
|
|
129
129
|
createdAt?: string;
|
|
130
130
|
}
|
|
131
|
+
export interface AssignmentUserSchema {
|
|
132
|
+
id: string;
|
|
133
|
+
username?: string;
|
|
134
|
+
fullName?: string;
|
|
135
|
+
email?: string;
|
|
136
|
+
title?: string;
|
|
137
|
+
department?: string;
|
|
138
|
+
departmentCode?: string;
|
|
139
|
+
}
|
|
131
140
|
export interface AttachmentResponse {
|
|
132
141
|
id: string;
|
|
133
142
|
fileUrl: string;
|
|
@@ -243,6 +252,7 @@ export interface PaymentApprovalDetailResponse {
|
|
|
243
252
|
id: string;
|
|
244
253
|
paymentId: string;
|
|
245
254
|
documentUrl: string;
|
|
255
|
+
documentFileName?: string;
|
|
246
256
|
status: string;
|
|
247
257
|
currentStage?: string;
|
|
248
258
|
pvNumber?: string;
|
|
@@ -272,6 +282,7 @@ export interface PaymentApprovalSummaryResponse {
|
|
|
272
282
|
createdBy?: string;
|
|
273
283
|
createdAt: string;
|
|
274
284
|
documentUrl: string;
|
|
285
|
+
documentFileName?: string;
|
|
275
286
|
pvNumber?: string;
|
|
276
287
|
glPosted?: boolean;
|
|
277
288
|
processMetadata?: any;
|
package/dist/budget.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export interface AIEResponse {
|
|
|
62
62
|
status: string;
|
|
63
63
|
instructionId?: string;
|
|
64
64
|
createdAt: string;
|
|
65
|
-
documentDetails
|
|
65
|
+
documentDetails?: AIEDocumentDetailsResponse;
|
|
66
66
|
}
|
|
67
67
|
export interface BudgetHeadCreateRequest {
|
|
68
68
|
code: string;
|
|
@@ -120,6 +120,18 @@ export interface BudgetHeadUpdateRequest {
|
|
|
120
120
|
itemCode?: string;
|
|
121
121
|
classificationCode?: string;
|
|
122
122
|
}
|
|
123
|
+
export interface BulkBudgetHeadCreateRequest {
|
|
124
|
+
items?: BudgetHeadCreateRequest[];
|
|
125
|
+
skipExisting?: boolean;
|
|
126
|
+
}
|
|
127
|
+
export interface BulkBudgetHeadCreateResponse {
|
|
128
|
+
requested: number;
|
|
129
|
+
created: number;
|
|
130
|
+
skipped: number;
|
|
131
|
+
createdItems: BudgetHeadResponse[];
|
|
132
|
+
skippedCodes: string[];
|
|
133
|
+
errors: string[];
|
|
134
|
+
}
|
|
123
135
|
export interface DocumentExportResponse {
|
|
124
136
|
format: string;
|
|
125
137
|
filename: string;
|
|
@@ -143,3 +155,34 @@ export interface ValidationError {
|
|
|
143
155
|
msg: string;
|
|
144
156
|
type: string;
|
|
145
157
|
}
|
|
158
|
+
export interface VoteBookEntryResponse {
|
|
159
|
+
lineNo: number;
|
|
160
|
+
date?: string;
|
|
161
|
+
voucherNo?: string;
|
|
162
|
+
particular: string;
|
|
163
|
+
payment: string;
|
|
164
|
+
total: string;
|
|
165
|
+
balance: string;
|
|
166
|
+
liabilityRef?: string;
|
|
167
|
+
incurred: string;
|
|
168
|
+
cleared: string;
|
|
169
|
+
totalOutstanding: string;
|
|
170
|
+
remark?: string;
|
|
171
|
+
balanceAvailable: string;
|
|
172
|
+
lineNo14?: string;
|
|
173
|
+
lineNo15?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface VoteBookResponse {
|
|
176
|
+
reference: string;
|
|
177
|
+
period: string;
|
|
178
|
+
organizationName: string;
|
|
179
|
+
headNo?: string;
|
|
180
|
+
subHeadNo?: string;
|
|
181
|
+
description?: string;
|
|
182
|
+
fileNo?: string;
|
|
183
|
+
amountAuthorised1: string;
|
|
184
|
+
amountAuthorised2: string;
|
|
185
|
+
amountAuthorised3: string;
|
|
186
|
+
amountAuthorised4: string;
|
|
187
|
+
entries: VoteBookEntryResponse[];
|
|
188
|
+
}
|
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, 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';
|
|
5
|
+
export { AIEDetailResponse, AIEDocumentDetailsResponse, AddApprovalCommentRequest, AddApprovalInstructionRequest, AddApprovalToFolderRequest, AddApprovalToFolderResponse, ApprovalActorResponse, ApprovalCommentResponse, ApprovalDocumentUrlResponse, ApprovalInstructionResponse, ApprovalStageHistoryResponse, ApprovalStatusResponse, ApprovePaymentApprovalRequest, AssignApprovalRequest, AssignmentResponse, AssignmentUserSchema, 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
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';
|
|
8
|
+
export { AIEDocumentDetailsRequest, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadTransactionEntry, BudgetHeadTransactionHistoryResponse, BudgetHeadUpdateRequest, BulkBudgetHeadCreateRequest, BulkBudgetHeadCreateResponse, UpdateAIERequest, VoteBookEntryResponse, VoteBookResponse } 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';
|