fams-ts 1.0.21 → 1.0.23
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 +22 -0
- package/dist/budget.d.ts +69 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/approvals.d.ts
CHANGED
|
@@ -54,6 +54,12 @@ export interface AddApprovalToFolderResponse {
|
|
|
54
54
|
addedBy?: string;
|
|
55
55
|
addedAt: string;
|
|
56
56
|
}
|
|
57
|
+
export interface AddCompositeApprovalInstructionRequest {
|
|
58
|
+
instruction: string;
|
|
59
|
+
payTo: InlinePaymentDestinationRequest | string;
|
|
60
|
+
authority: string;
|
|
61
|
+
lines?: CompositeInstructionLineRequest[];
|
|
62
|
+
}
|
|
57
63
|
export interface ApprovalActorResponse {
|
|
58
64
|
id: string;
|
|
59
65
|
username?: string;
|
|
@@ -159,6 +165,10 @@ export interface Body_upload_payment_approval_approvals_upload__post {
|
|
|
159
165
|
file: string;
|
|
160
166
|
processMetadata?: string;
|
|
161
167
|
}
|
|
168
|
+
export interface CompositeInstructionLineRequest {
|
|
169
|
+
amount: number | string;
|
|
170
|
+
payFrom: string;
|
|
171
|
+
}
|
|
162
172
|
export interface CreateAuthorityRequest {
|
|
163
173
|
name: string;
|
|
164
174
|
position: string;
|
|
@@ -252,6 +262,7 @@ export interface PaymentApprovalDetailResponse {
|
|
|
252
262
|
id: string;
|
|
253
263
|
paymentId: string;
|
|
254
264
|
documentUrl: string;
|
|
265
|
+
documentFileName?: string;
|
|
255
266
|
status: string;
|
|
256
267
|
currentStage?: string;
|
|
257
268
|
pvNumber?: string;
|
|
@@ -281,6 +292,7 @@ export interface PaymentApprovalSummaryResponse {
|
|
|
281
292
|
createdBy?: string;
|
|
282
293
|
createdAt: string;
|
|
283
294
|
documentUrl: string;
|
|
295
|
+
documentFileName?: string;
|
|
284
296
|
pvNumber?: string;
|
|
285
297
|
glPosted?: boolean;
|
|
286
298
|
processMetadata?: any;
|
|
@@ -347,6 +359,7 @@ export interface ProcessedApprovalResponse {
|
|
|
347
359
|
createdBy?: string;
|
|
348
360
|
createdAt: string;
|
|
349
361
|
documentUrl: string;
|
|
362
|
+
documentFileName?: string;
|
|
350
363
|
pvNumber?: string;
|
|
351
364
|
glPosted?: boolean;
|
|
352
365
|
processMetadata?: any;
|
|
@@ -366,6 +379,15 @@ export interface RemoveApprovalFromFolderResponse {
|
|
|
366
379
|
approvalId: string;
|
|
367
380
|
removed: boolean;
|
|
368
381
|
}
|
|
382
|
+
export interface RenameApprovalDocumentRequest {
|
|
383
|
+
documentName: string;
|
|
384
|
+
}
|
|
385
|
+
export interface RenameApprovalDocumentResponse {
|
|
386
|
+
id: string;
|
|
387
|
+
paymentId: string;
|
|
388
|
+
documentFileName: string;
|
|
389
|
+
processMetadata?: any;
|
|
390
|
+
}
|
|
369
391
|
export interface ReturnPaymentApprovalRequest {
|
|
370
392
|
reason: string;
|
|
371
393
|
targetStage?: string;
|
package/dist/budget.d.ts
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* Auto-generated by custom Python script.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
|
+
export interface AIECompositeLineRequest {
|
|
6
|
+
budgetHeadCode: string;
|
|
7
|
+
amount: number | string;
|
|
8
|
+
instructionId?: string;
|
|
9
|
+
}
|
|
5
10
|
export interface AIEDocumentDetailsRequest {
|
|
6
11
|
treasuryForm?: string;
|
|
7
12
|
warrantType?: string;
|
|
@@ -46,6 +51,18 @@ export interface AIEDocumentDetailsResponse {
|
|
|
46
51
|
signatureDate?: string;
|
|
47
52
|
amountInWords: string;
|
|
48
53
|
}
|
|
54
|
+
export interface AIELineResponse {
|
|
55
|
+
id: string;
|
|
56
|
+
budgetHeadCode: string;
|
|
57
|
+
amount: string;
|
|
58
|
+
instructionId?: string;
|
|
59
|
+
budgetHeadName?: string;
|
|
60
|
+
headNo?: string;
|
|
61
|
+
subHeadNo?: string;
|
|
62
|
+
itemCode?: string;
|
|
63
|
+
classificationCode?: string;
|
|
64
|
+
accountCode?: string;
|
|
65
|
+
}
|
|
49
66
|
export interface AIERequest {
|
|
50
67
|
budgetHeadCode: string;
|
|
51
68
|
referenceNo: string;
|
|
@@ -62,7 +79,9 @@ export interface AIEResponse {
|
|
|
62
79
|
status: string;
|
|
63
80
|
instructionId?: string;
|
|
64
81
|
createdAt: string;
|
|
65
|
-
documentDetails
|
|
82
|
+
documentDetails?: AIEDocumentDetailsResponse;
|
|
83
|
+
lines?: AIELineResponse[];
|
|
84
|
+
isComposite?: boolean;
|
|
66
85
|
}
|
|
67
86
|
export interface BudgetHeadCreateRequest {
|
|
68
87
|
code: string;
|
|
@@ -120,6 +139,24 @@ export interface BudgetHeadUpdateRequest {
|
|
|
120
139
|
itemCode?: string;
|
|
121
140
|
classificationCode?: string;
|
|
122
141
|
}
|
|
142
|
+
export interface BulkBudgetHeadCreateRequest {
|
|
143
|
+
items?: BudgetHeadCreateRequest[];
|
|
144
|
+
skipExisting?: boolean;
|
|
145
|
+
}
|
|
146
|
+
export interface BulkBudgetHeadCreateResponse {
|
|
147
|
+
requested: number;
|
|
148
|
+
created: number;
|
|
149
|
+
skipped: number;
|
|
150
|
+
createdItems: BudgetHeadResponse[];
|
|
151
|
+
skippedCodes: string[];
|
|
152
|
+
errors: string[];
|
|
153
|
+
}
|
|
154
|
+
export interface CompositeAIERequest {
|
|
155
|
+
referenceNo?: string;
|
|
156
|
+
purpose: string;
|
|
157
|
+
lines?: AIECompositeLineRequest[];
|
|
158
|
+
documentDetails?: AIEDocumentDetailsRequest;
|
|
159
|
+
}
|
|
123
160
|
export interface DocumentExportResponse {
|
|
124
161
|
format: string;
|
|
125
162
|
filename: string;
|
|
@@ -143,3 +180,34 @@ export interface ValidationError {
|
|
|
143
180
|
msg: string;
|
|
144
181
|
type: string;
|
|
145
182
|
}
|
|
183
|
+
export interface VoteBookEntryResponse {
|
|
184
|
+
lineNo: number;
|
|
185
|
+
date?: string;
|
|
186
|
+
voucherNo?: string;
|
|
187
|
+
particular: string;
|
|
188
|
+
payment: string;
|
|
189
|
+
total: string;
|
|
190
|
+
balance: string;
|
|
191
|
+
liabilityRef?: string;
|
|
192
|
+
incurred: string;
|
|
193
|
+
cleared: string;
|
|
194
|
+
totalOutstanding: string;
|
|
195
|
+
remark?: string;
|
|
196
|
+
balanceAvailable: string;
|
|
197
|
+
lineNo14?: string;
|
|
198
|
+
lineNo15?: string;
|
|
199
|
+
}
|
|
200
|
+
export interface VoteBookResponse {
|
|
201
|
+
reference: string;
|
|
202
|
+
period: string;
|
|
203
|
+
organizationName: string;
|
|
204
|
+
headNo?: string;
|
|
205
|
+
subHeadNo?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
fileNo?: string;
|
|
208
|
+
amountAuthorised1: string;
|
|
209
|
+
amountAuthorised2: string;
|
|
210
|
+
amountAuthorised3: string;
|
|
211
|
+
amountAuthorised4: string;
|
|
212
|
+
entries: VoteBookEntryResponse[];
|
|
213
|
+
}
|
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, 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';
|
|
5
|
+
export { AIEDetailResponse, AIEDocumentDetailsResponse, AddApprovalCommentRequest, AddApprovalInstructionRequest, AddApprovalToFolderRequest, AddApprovalToFolderResponse, AddCompositeApprovalInstructionRequest, 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, CompositeInstructionLineRequest, CreateAuthorityRequest, CreateDestinationRequest, CreateFolderRequest, DeleteFolderResponse, DepartmentSummaryResponse, DestinationResponse, DocumentExportResponse, FolderApprovalsResponse, FolderMembershipResponse, FolderResponse, GLPostingResponse, InlinePaymentDestinationRequest, PaymentApprovalDetailResponse, PaymentApprovalResponse, PaymentApprovalSummaryResponse, PaymentStatusResponse, PaymentVoucherDeductionResponse, PaymentVoucherDetailResponse, PaymentVoucherDocumentDetailsResponse, PostToGLRequest, ProcessedApprovalResponse, RejectPaymentApprovalRequest, RemoveApprovalFromFolderResponse, RenameApprovalDocumentRequest, RenameApprovalDocumentResponse, 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 { AIECompositeLineRequest, AIEDocumentDetailsRequest, AIELineResponse, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadTransactionEntry, BudgetHeadTransactionHistoryResponse, BudgetHeadUpdateRequest, BulkBudgetHeadCreateRequest, BulkBudgetHeadCreateResponse, CompositeAIERequest, 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';
|