fams-ts 1.0.22 → 1.0.24
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 +32 -1
- package/dist/budget.d.ts +25 -3
- package/dist/index.d.ts +3 -3
- package/dist/reporting.d.ts +6 -0
- 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;
|
|
@@ -154,10 +160,26 @@ export interface AuthorityResponse {
|
|
|
154
160
|
export interface Body_upload_attachment_approvals__id__attach__post {
|
|
155
161
|
file: string;
|
|
156
162
|
description?: string;
|
|
163
|
+
fileName?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface Body_upload_attachments_bulk_approvals__id__attach_bulk__post {
|
|
166
|
+
files: string[];
|
|
167
|
+
description?: string;
|
|
168
|
+
fileNames?: string[];
|
|
157
169
|
}
|
|
158
170
|
export interface Body_upload_payment_approval_approvals_upload__post {
|
|
159
171
|
file: string;
|
|
160
172
|
processMetadata?: string;
|
|
173
|
+
documentName?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface Body_upload_payment_approvals_bulk_approvals_upload_bulk__post {
|
|
176
|
+
files: string[];
|
|
177
|
+
processMetadata?: string;
|
|
178
|
+
documentNames?: string[];
|
|
179
|
+
}
|
|
180
|
+
export interface CompositeInstructionLineRequest {
|
|
181
|
+
amount: number | string;
|
|
182
|
+
payFrom: string;
|
|
161
183
|
}
|
|
162
184
|
export interface CreateAuthorityRequest {
|
|
163
185
|
name: string;
|
|
@@ -212,7 +234,6 @@ export interface DocumentExportResponse {
|
|
|
212
234
|
export interface FolderApprovalsResponse {
|
|
213
235
|
folder: FolderResponse;
|
|
214
236
|
approvals: PaymentApprovalSummaryResponse[];
|
|
215
|
-
totalCount: number;
|
|
216
237
|
}
|
|
217
238
|
export interface FolderMembershipResponse {
|
|
218
239
|
approvalId: string;
|
|
@@ -349,6 +370,7 @@ export interface ProcessedApprovalResponse {
|
|
|
349
370
|
createdBy?: string;
|
|
350
371
|
createdAt: string;
|
|
351
372
|
documentUrl: string;
|
|
373
|
+
documentFileName?: string;
|
|
352
374
|
pvNumber?: string;
|
|
353
375
|
glPosted?: boolean;
|
|
354
376
|
processMetadata?: any;
|
|
@@ -368,6 +390,15 @@ export interface RemoveApprovalFromFolderResponse {
|
|
|
368
390
|
approvalId: string;
|
|
369
391
|
removed: boolean;
|
|
370
392
|
}
|
|
393
|
+
export interface RenameApprovalDocumentRequest {
|
|
394
|
+
documentName: string;
|
|
395
|
+
}
|
|
396
|
+
export interface RenameApprovalDocumentResponse {
|
|
397
|
+
id: string;
|
|
398
|
+
paymentId: string;
|
|
399
|
+
documentFileName: string;
|
|
400
|
+
processMetadata?: any;
|
|
401
|
+
}
|
|
371
402
|
export interface ReturnPaymentApprovalRequest {
|
|
372
403
|
reason: string;
|
|
373
404
|
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;
|
|
@@ -63,6 +80,8 @@ export interface AIEResponse {
|
|
|
63
80
|
instructionId?: string;
|
|
64
81
|
createdAt: string;
|
|
65
82
|
documentDetails?: AIEDocumentDetailsResponse;
|
|
83
|
+
lines?: AIELineResponse[];
|
|
84
|
+
isComposite?: boolean;
|
|
66
85
|
}
|
|
67
86
|
export interface BudgetHeadCreateRequest {
|
|
68
87
|
code: string;
|
|
@@ -107,9 +126,6 @@ export interface BudgetHeadTransactionHistoryResponse {
|
|
|
107
126
|
totalActual: number;
|
|
108
127
|
available: number;
|
|
109
128
|
transactions: BudgetHeadTransactionEntry[];
|
|
110
|
-
totalCount: number;
|
|
111
|
-
page: number;
|
|
112
|
-
pageSize: number;
|
|
113
129
|
}
|
|
114
130
|
export interface BudgetHeadUpdateRequest {
|
|
115
131
|
name?: string;
|
|
@@ -132,6 +148,12 @@ export interface BulkBudgetHeadCreateResponse {
|
|
|
132
148
|
skippedCodes: string[];
|
|
133
149
|
errors: string[];
|
|
134
150
|
}
|
|
151
|
+
export interface CompositeAIERequest {
|
|
152
|
+
referenceNo?: string;
|
|
153
|
+
purpose: string;
|
|
154
|
+
lines?: AIECompositeLineRequest[];
|
|
155
|
+
documentDetails?: AIEDocumentDetailsRequest;
|
|
156
|
+
}
|
|
135
157
|
export interface DocumentExportResponse {
|
|
136
158
|
format: string;
|
|
137
159
|
filename: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
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_attachments_bulk_approvals__id__attach_bulk__post, Body_upload_payment_approval_approvals_upload__post, Body_upload_payment_approvals_bulk_approvals_upload_bulk__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, BulkBudgetHeadCreateRequest, BulkBudgetHeadCreateResponse, UpdateAIERequest, VoteBookEntryResponse, VoteBookResponse } 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';
|
|
12
|
-
export { ReportExportResponse } from './reporting';
|
|
12
|
+
export { ReportExportAllResponse, ReportExportResponse } from './reporting';
|
|
13
13
|
export { BankAccountCreateSchema, BankAccountSchema, OutstandingReceiptSchema, PaymentProcessSchema, ReceiptDepositBatchCreateSchema, ReceiptDepositBatchResponse } from './treasury';
|
package/dist/reporting.d.ts
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
export interface HTTPValidationError {
|
|
6
6
|
detail?: ValidationError[];
|
|
7
7
|
}
|
|
8
|
+
export interface ReportExportAllResponse {
|
|
9
|
+
period: string;
|
|
10
|
+
format: string;
|
|
11
|
+
totalReports: number;
|
|
12
|
+
exports: ReportExportResponse[];
|
|
13
|
+
}
|
|
8
14
|
export interface ReportExportResponse {
|
|
9
15
|
format: string;
|
|
10
16
|
filename: string;
|