fams-ts 1.0.10 → 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/account.d.ts CHANGED
@@ -43,6 +43,15 @@ export interface PeriodResponse {
43
43
  endDate: string;
44
44
  status: string;
45
45
  }
46
+ export interface SettingsCategoryRequest {
47
+ values: any;
48
+ isPublic?: boolean;
49
+ }
50
+ export interface SettingsCategoryResponse {
51
+ category: string;
52
+ isPublic: boolean;
53
+ values: any;
54
+ }
46
55
  export interface ValidationError {
47
56
  loc: number | string[];
48
57
  msg: string;
@@ -10,14 +10,37 @@ export interface AIEDetailResponse {
10
10
  purpose?: string;
11
11
  status: string;
12
12
  createdAt: string;
13
+ documentDetails: AIEDocumentDetailsResponse;
14
+ }
15
+ export interface AIEDocumentDetailsResponse {
16
+ treasuryForm: string;
17
+ warrantType: string;
18
+ aieNumber: string;
19
+ authorityTo?: string;
20
+ department?: string;
21
+ address?: string;
22
+ station?: string;
23
+ yearOfAccount: string;
24
+ headNo?: string;
25
+ subHeadNo?: string;
26
+ itemCode?: string;
27
+ itemDescription?: string;
28
+ servicesDescription: string;
29
+ beneficiary?: string;
30
+ beneficiaryAddress?: string;
31
+ financialAuthorityReference?: string;
32
+ officerName?: string;
33
+ officerDesignation?: string;
34
+ signatureDate?: string;
35
+ amountInWords: string;
13
36
  }
14
37
  export interface AddApprovalCommentRequest {
15
38
  comment: string;
16
39
  }
17
40
  export interface AddApprovalInstructionRequest {
18
41
  instruction: string;
19
- amount: number;
20
- payTo: string;
42
+ amount: number | string;
43
+ payTo: InlinePaymentDestinationRequest | string;
21
44
  payFrom: string;
22
45
  authority: string;
23
46
  }
@@ -31,6 +54,21 @@ export interface AddApprovalToFolderResponse {
31
54
  addedBy?: string;
32
55
  addedAt: string;
33
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
+ }
34
72
  export interface ApprovalCommentResponse {
35
73
  id: string;
36
74
  commentedBy?: string;
@@ -48,11 +86,24 @@ export interface ApprovalInstructionResponse {
48
86
  amount: number;
49
87
  payToId: string;
50
88
  payFromCode: string;
89
+ budgetHeadCode: string;
51
90
  authorityId: string;
52
91
  aieReference?: string;
53
92
  aie?: AIEDetailResponse;
54
93
  createdAt: string;
55
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
+ }
56
107
  export interface ApprovalStatusResponse {
57
108
  id: string;
58
109
  status: string;
@@ -94,6 +145,7 @@ export interface CreateDestinationRequest {
94
145
  name: string;
95
146
  type: string;
96
147
  reference?: string;
148
+ address?: string;
97
149
  accountNumber?: string;
98
150
  bankName?: string;
99
151
  bankCode?: string;
@@ -118,10 +170,22 @@ export interface DestinationResponse {
118
170
  name: string;
119
171
  type: string;
120
172
  reference: string;
173
+ address?: string;
121
174
  accountNumber?: string;
122
175
  bankName?: string;
123
176
  bankCode?: string;
124
177
  }
178
+ export interface DocumentExportResponse {
179
+ format: string;
180
+ filename: string;
181
+ contentType: string;
182
+ bucket: string;
183
+ objectName: string;
184
+ url: string;
185
+ expiresInSeconds: number;
186
+ documentType: string;
187
+ reference: string;
188
+ }
125
189
  export interface FolderApprovalsResponse {
126
190
  folder: FolderResponse;
127
191
  approvals: PaymentApprovalSummaryResponse[];
@@ -152,6 +216,15 @@ export interface GLPostingResponse {
152
216
  export interface HTTPValidationError {
153
217
  detail?: ValidationError[];
154
218
  }
219
+ export interface InlinePaymentDestinationRequest {
220
+ name: string;
221
+ type?: string;
222
+ reference?: string;
223
+ address?: string;
224
+ accountNumber?: string;
225
+ bankName?: string;
226
+ bankCode?: string;
227
+ }
155
228
  export interface PaymentApprovalDetailResponse {
156
229
  id: string;
157
230
  paymentId: string;
@@ -167,6 +240,7 @@ export interface PaymentApprovalDetailResponse {
167
240
  attachments?: AttachmentResponse[];
168
241
  comments?: ApprovalCommentResponse[];
169
242
  instructions?: ApprovalInstructionResponse[];
243
+ history?: ApprovalStageHistoryResponse[];
170
244
  }
171
245
  export interface PaymentApprovalResponse {
172
246
  id: string;
@@ -192,6 +266,11 @@ export interface PaymentStatusResponse {
192
266
  id: string;
193
267
  status: string;
194
268
  }
269
+ export interface PaymentVoucherDeductionResponse {
270
+ deductionType: string;
271
+ rate?: string;
272
+ amount: string;
273
+ }
195
274
  export interface PaymentVoucherDetailResponse {
196
275
  id: string;
197
276
  pvNumber: string;
@@ -200,6 +279,61 @@ export interface PaymentVoucherDetailResponse {
200
279
  description?: string;
201
280
  status: string;
202
281
  createdAt: string;
282
+ documentDetails: PaymentVoucherDocumentDetailsResponse;
283
+ }
284
+ export interface PaymentVoucherDocumentDetailsResponse {
285
+ voucherType: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
286
+ treasuryForm: string;
287
+ departmentalReference: string;
288
+ fiscalYear: number;
289
+ station?: string;
290
+ headNo?: string;
291
+ subHeadNo?: string;
292
+ classificationCode?: string;
293
+ mandateNumber?: string;
294
+ financialAuthorityReference?: string;
295
+ payeeName: string;
296
+ payeeAddress?: string;
297
+ serviceDate: string;
298
+ serviceDescription: string;
299
+ supportingReference?: string;
300
+ grossAmount: string;
301
+ contractAmount?: string;
302
+ previousPaymentsTotal?: string;
303
+ balanceDueBeforePayment?: string;
304
+ amountApproved: string;
305
+ deductions?: PaymentVoucherDeductionResponse[];
306
+ certificationText?: string;
307
+ authorizingOfficer?: string;
308
+ authorizingOfficerDesignation?: string;
309
+ checkedBy?: string;
310
+ passedFor?: string;
311
+ place?: string;
312
+ netAmount: string;
313
+ amountInWords: string;
314
+ }
315
+ export interface PostToGLRequest {
316
+ entryDate?: string;
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;
203
337
  }
204
338
  export interface RejectPaymentApprovalRequest {
205
339
  reason: string;
@@ -226,4 +360,7 @@ export interface ValidationError {
226
360
  export interface VoucherResponse {
227
361
  id: string;
228
362
  pvNumber: string;
363
+ status: string;
364
+ currentStage: string;
365
+ voucher: PaymentVoucherDetailResponse;
229
366
  }
package/dist/auth.d.ts CHANGED
@@ -19,7 +19,8 @@ export interface ChangePasswordSchema {
19
19
  }
20
20
  export interface CreateDepartmentSchema {
21
21
  name: string;
22
- code: string;
22
+ code?: string;
23
+ departmentalCode?: string;
23
24
  }
24
25
  export interface CreatePermissionSchema {
25
26
  name: string;
@@ -36,6 +37,7 @@ export interface DepartmentSchema {
36
37
  id: string;
37
38
  name: string;
38
39
  code: string;
40
+ departmentalCode?: string;
39
41
  }
40
42
  export interface HTTPValidationError {
41
43
  detail?: ValidationError[];
@@ -44,6 +46,17 @@ export interface LoginResponseSchema {
44
46
  session: SessionSchema;
45
47
  user: UserInfoSchema;
46
48
  }
49
+ export interface ManagedUserRegisterSchema {
50
+ username: string;
51
+ password: string;
52
+ email: string;
53
+ departmentId?: string;
54
+ roleId?: string;
55
+ title?: string;
56
+ firstName?: string;
57
+ middleName?: string;
58
+ lastName?: string;
59
+ }
47
60
  export interface PermissionSchema {
48
61
  id: string;
49
62
  name: string;
@@ -116,8 +129,6 @@ export interface UserRegisterSchema {
116
129
  username: string;
117
130
  password: string;
118
131
  email: string;
119
- departmentId?: string;
120
- roleId?: string;
121
132
  title?: string;
122
133
  firstName?: string;
123
134
  middleName?: string;
package/dist/budget.d.ts CHANGED
@@ -2,11 +2,56 @@
2
2
  * Auto-generated by custom Python script.
3
3
  * Do not edit manually.
4
4
  */
5
+ export interface AIEDocumentDetailsRequest {
6
+ treasuryForm?: string;
7
+ warrantType?: string;
8
+ aieNumber?: string;
9
+ authorityTo?: string;
10
+ department?: string;
11
+ address?: string;
12
+ station?: string;
13
+ yearOfAccount?: string;
14
+ headNo?: string;
15
+ subHeadNo?: string;
16
+ itemCode?: string;
17
+ itemDescription?: string;
18
+ servicesDescription?: string;
19
+ beneficiary?: string;
20
+ beneficiaryAddress?: string;
21
+ financialAuthorityReference?: string;
22
+ officerName?: string;
23
+ officerDesignation?: string;
24
+ signatureDate?: string;
25
+ amountInWords?: string;
26
+ }
27
+ export interface AIEDocumentDetailsResponse {
28
+ treasuryForm: string;
29
+ warrantType: string;
30
+ aieNumber: string;
31
+ authorityTo?: string;
32
+ department?: string;
33
+ address?: string;
34
+ station?: string;
35
+ yearOfAccount: string;
36
+ headNo?: string;
37
+ subHeadNo?: string;
38
+ itemCode?: string;
39
+ itemDescription?: string;
40
+ servicesDescription: string;
41
+ beneficiary?: string;
42
+ beneficiaryAddress?: string;
43
+ financialAuthorityReference?: string;
44
+ officerName?: string;
45
+ officerDesignation?: string;
46
+ signatureDate?: string;
47
+ amountInWords: string;
48
+ }
5
49
  export interface AIERequest {
6
50
  budgetHeadCode: string;
7
51
  referenceNo: string;
8
52
  amount: number | string;
9
53
  purpose: string;
54
+ documentDetails?: AIEDocumentDetailsRequest;
10
55
  }
11
56
  export interface AIEResponse {
12
57
  id: string;
@@ -17,23 +62,52 @@ export interface AIEResponse {
17
62
  status: string;
18
63
  instructionId?: string;
19
64
  createdAt: string;
65
+ documentDetails: AIEDocumentDetailsResponse;
20
66
  }
21
67
  export interface BudgetHeadCreateRequest {
22
68
  code: string;
23
69
  name: string;
24
70
  accountCode: string;
25
71
  appropriation: number | string;
72
+ headNo?: string;
73
+ subHeadNo?: string;
74
+ itemCode?: string;
75
+ classificationCode?: string;
26
76
  }
27
77
  export interface BudgetHeadResponse {
28
78
  id: string;
29
79
  code: string;
30
80
  name: string;
31
81
  accountCode: string;
82
+ headNo: string;
83
+ subHeadNo: string;
84
+ itemCode: string;
85
+ classificationCode: string;
32
86
  appropriation: string;
33
87
  commitments: string;
34
88
  totalActual: string;
35
89
  available: string;
36
90
  }
91
+ export interface BudgetHeadUpdateRequest {
92
+ name?: string;
93
+ accountCode?: string;
94
+ appropriation?: number | string;
95
+ headNo?: string;
96
+ subHeadNo?: string;
97
+ itemCode?: string;
98
+ classificationCode?: string;
99
+ }
100
+ export interface DocumentExportResponse {
101
+ format: string;
102
+ filename: string;
103
+ contentType: string;
104
+ bucket: string;
105
+ objectName: string;
106
+ url: string;
107
+ expiresInSeconds: number;
108
+ documentType: string;
109
+ reference: string;
110
+ }
37
111
  export interface HTTPValidationError {
38
112
  detail?: ValidationError[];
39
113
  }
@@ -2,6 +2,17 @@
2
2
  * Auto-generated by custom Python script.
3
3
  * Do not edit manually.
4
4
  */
5
+ export interface DocumentExportResponse {
6
+ format: string;
7
+ filename: string;
8
+ contentType: string;
9
+ bucket: string;
10
+ objectName: string;
11
+ url: string;
12
+ expiresInSeconds: number;
13
+ documentType: string;
14
+ reference: string;
15
+ }
5
16
  export interface HTTPValidationError {
6
17
  detail?: ValidationError[];
7
18
  }
@@ -21,14 +32,85 @@ export interface PaymentVoucherCreateRequest {
21
32
  aieReference: string;
22
33
  date: string;
23
34
  description: string;
35
+ documentDetails: PaymentVoucherDocumentDetailsRequest;
24
36
  lines: PaymentLineCreateRequest[];
25
37
  }
38
+ export interface PaymentVoucherDeductionRequest {
39
+ deductionType: string;
40
+ rate?: string;
41
+ amount: number | string;
42
+ }
43
+ export interface PaymentVoucherDeductionResponse {
44
+ deductionType: string;
45
+ rate?: string;
46
+ amount: string;
47
+ }
48
+ export interface PaymentVoucherDocumentDetailsRequest {
49
+ voucherType?: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
50
+ treasuryForm?: string;
51
+ departmentalReference?: string;
52
+ station?: string;
53
+ headNo?: string;
54
+ subHeadNo?: string;
55
+ classificationCode?: string;
56
+ mandateNumber?: string;
57
+ financialAuthorityReference?: string;
58
+ payeeName: string;
59
+ payeeAddress?: string;
60
+ serviceDate?: string;
61
+ serviceDescription?: string;
62
+ supportingReference?: string;
63
+ contractAmount?: number | string;
64
+ previousPaymentsTotal?: number | string;
65
+ balanceDueBeforePayment?: number | string;
66
+ amountApproved?: number | string;
67
+ deductions?: PaymentVoucherDeductionRequest[];
68
+ certificationText?: string;
69
+ authorizingOfficer?: string;
70
+ authorizingOfficerDesignation?: string;
71
+ checkedBy?: string;
72
+ passedFor?: string;
73
+ place?: string;
74
+ amountInWords?: string;
75
+ }
76
+ export interface PaymentVoucherDocumentDetailsResponse {
77
+ voucherType: 'ADVANCES' | 'RECURRENT' | 'CAPITAL';
78
+ treasuryForm: string;
79
+ departmentalReference: string;
80
+ fiscalYear: number;
81
+ station?: string;
82
+ headNo?: string;
83
+ subHeadNo?: string;
84
+ classificationCode?: string;
85
+ mandateNumber?: string;
86
+ financialAuthorityReference?: string;
87
+ payeeName: string;
88
+ payeeAddress?: string;
89
+ serviceDate: string;
90
+ serviceDescription: string;
91
+ supportingReference?: string;
92
+ grossAmount: string;
93
+ contractAmount?: string;
94
+ previousPaymentsTotal?: string;
95
+ balanceDueBeforePayment?: string;
96
+ amountApproved: string;
97
+ deductions?: PaymentVoucherDeductionResponse[];
98
+ certificationText?: string;
99
+ authorizingOfficer?: string;
100
+ authorizingOfficerDesignation?: string;
101
+ checkedBy?: string;
102
+ passedFor?: string;
103
+ place?: string;
104
+ netAmount: string;
105
+ amountInWords: string;
106
+ }
26
107
  export interface PaymentVoucherResponse {
27
108
  id: string;
28
109
  aieReference: string;
29
110
  date: string;
30
111
  description: string;
31
112
  status: string;
113
+ documentDetails: PaymentVoucherDocumentDetailsResponse;
32
114
  lines: PaymentLineResponse[];
33
115
  stub?: boolean;
34
116
  }
package/dist/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  /**
2
2
  * Auto-generated index.
3
3
  */
4
- export { AccountCreateRequest, AccountResponse, Body_open_period_master_periods_open__period_code___post, HTTPValidationError, OpeningBalanceRequest, OpeningBalanceResponse, PeriodResponse, ValidationError } from './account';
5
- export { AIEDetailResponse, 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, FolderApprovalsResponse, FolderMembershipResponse, FolderResponse, GLPostingResponse, PaymentApprovalDetailResponse, PaymentApprovalResponse, PaymentApprovalSummaryResponse, PaymentStatusResponse, PaymentVoucherDetailResponse, RejectPaymentApprovalRequest, RemoveApprovalFromFolderResponse, ReturnPaymentApprovalRequest, UpdateFolderRequest, VoucherResponse } from './approvals';
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';
6
6
  export { AssetCreateSchema, LiabilityCreateSchema, ReceivableCreateSchema } from './assets';
7
- export { ActiveSessionSchema, AssignUserRoleSchema, ChangePasswordSchema, CreateDepartmentSchema, CreatePermissionSchema, CreateRoleSchema, DepartmentSchema, LoginResponseSchema, PermissionSchema, RefreshTokenSchema, RolePermissionsSchema, RoleSchema, SessionSchema, UpdateRoleSchema, UserInfoSchema, UserLoginSchema, UserLookupSchema, UserPermissionOverrideSchema, UserRegisterSchema } from './auth';
8
- export { AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse } from './budget';
9
- export { PaymentLineCreateRequest, PaymentLineResponse, PaymentVoucherCreateRequest, PaymentVoucherResponse } from './expenditure';
10
- export { RecordReceipt } from './receipts';
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
+ export { AIEDocumentDetailsRequest, AIERequest, AIEResponse, BudgetHeadCreateRequest, BudgetHeadResponse, BudgetHeadUpdateRequest } from './budget';
9
+ export { PaymentLineCreateRequest, PaymentLineResponse, PaymentVoucherCreateRequest, PaymentVoucherDeductionRequest, PaymentVoucherDocumentDetailsRequest, PaymentVoucherResponse } from './expenditure';
10
+ export { MarkReadRequest, NotificationResponse } from './notifications';
11
+ export { ReceiptResponse, RecordReceiptRequest } from './receipts';
12
+ export { ReportExportResponse } from './reporting';
13
+ export { BankAccountCreateSchema, BankAccountSchema, OutstandingReceiptSchema, PaymentProcessSchema, ReceiptDepositBatchCreateSchema, ReceiptDepositBatchResponse } from './treasury';
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Auto-generated by custom Python script.
3
+ * Do not edit manually.
4
+ */
5
+ export interface HTTPValidationError {
6
+ detail?: ValidationError[];
7
+ }
8
+ export interface MarkReadRequest {
9
+ notificationId: string;
10
+ }
11
+ export interface NotificationResponse {
12
+ id: string;
13
+ type: string;
14
+ title: string;
15
+ message: string;
16
+ departmentCode?: string;
17
+ userId?: string;
18
+ approvalId?: string;
19
+ paymentId?: string;
20
+ priority: string;
21
+ data?: any;
22
+ createdAt: string;
23
+ readAt?: string;
24
+ }
25
+ export interface ValidationError {
26
+ loc: number | string[];
27
+ msg: string;
28
+ type: string;
29
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * Auto-generated by custom Python script.
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,12 +5,33 @@
5
5
  export interface HTTPValidationError {
6
6
  detail?: ValidationError[];
7
7
  }
8
- export interface RecordReceipt {
8
+ export interface ReceiptResponse {
9
+ id: string;
10
+ createdAt: string;
11
+ updatedAt?: string;
12
+ createdBy?: string;
13
+ updatedBy?: string;
9
14
  receiptNumber: string;
10
15
  payer: string;
11
- amount: string;
16
+ amount: number;
12
17
  revenueAccountCode: string;
13
18
  budgetHeadCode?: string;
19
+ paymentMethod: string;
20
+ receivedAt: string;
21
+ cashierUserId?: string;
22
+ bankAccountId?: string;
23
+ status: string;
24
+ remarks?: string;
25
+ }
26
+ export interface RecordReceiptRequest {
27
+ payer: string;
28
+ amount: number | string;
29
+ revenueAccountCode: string;
30
+ paymentMethod?: string;
31
+ receivedAt?: string;
32
+ budgetHeadCode?: string;
33
+ bankAccountId?: string;
34
+ remarks?: string;
14
35
  }
15
36
  export interface ValidationError {
16
37
  loc: number | string[];
@@ -5,6 +5,17 @@
5
5
  export interface HTTPValidationError {
6
6
  detail?: ValidationError[];
7
7
  }
8
+ export interface ReportExportResponse {
9
+ format: string;
10
+ filename: string;
11
+ contentType: string;
12
+ bucket: string;
13
+ objectName: string;
14
+ url: string;
15
+ expiresInSeconds: number;
16
+ report: string;
17
+ period: string;
18
+ }
8
19
  export interface ValidationError {
9
20
  loc: number | string[];
10
21
  msg: string;
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Auto-generated by custom Python script.
3
+ * Do not edit manually.
4
+ */
5
+ export interface BankAccountCreateSchema {
6
+ accountNumber: string;
7
+ bankName: string;
8
+ description?: string;
9
+ glAccountCode?: string;
10
+ }
11
+ export interface BankAccountSchema {
12
+ id: string;
13
+ createdAt: string;
14
+ updatedAt?: string;
15
+ createdBy?: string;
16
+ updatedBy?: string;
17
+ accountNumber: string;
18
+ bankName: string;
19
+ balance: string;
20
+ description?: string;
21
+ glAccountCode?: string;
22
+ }
23
+ export interface HTTPValidationError {
24
+ detail?: ValidationError[];
25
+ }
26
+ export interface OutstandingReceiptSchema {
27
+ id: string;
28
+ createdAt: string;
29
+ updatedAt?: string;
30
+ createdBy?: string;
31
+ updatedBy?: string;
32
+ receiptNumber: string;
33
+ payer: string;
34
+ amount: number;
35
+ revenueAccountCode: string;
36
+ budgetHeadCode?: string;
37
+ paymentMethod: string;
38
+ receivedAt: string;
39
+ cashierUserId?: string;
40
+ bankAccountId?: string;
41
+ status: string;
42
+ remarks?: string;
43
+ }
44
+ export interface PaymentProcessSchema {
45
+ pvNumber: string;
46
+ budgetHeadCode: string;
47
+ amount: number | string;
48
+ debitAccountCode: string;
49
+ creditAccountCode: string;
50
+ paymentDate: string;
51
+ payeeName?: string;
52
+ remarks?: string;
53
+ }
54
+ export interface ReceiptDepositBatchCreateSchema {
55
+ depositSlipNumber: string;
56
+ bankAccountId: string;
57
+ depositDate: string;
58
+ receiptIds: string[];
59
+ remarks?: string;
60
+ }
61
+ export interface ReceiptDepositBatchResponse {
62
+ id: string;
63
+ createdAt: string;
64
+ updatedAt?: string;
65
+ createdBy?: string;
66
+ updatedBy?: string;
67
+ depositSlipNumber: string;
68
+ bankAccountId: string;
69
+ depositDate: string;
70
+ recordedByUserId?: string;
71
+ totalAmount: number;
72
+ status: string;
73
+ remarks?: string;
74
+ receiptIds: string[];
75
+ }
76
+ export interface ValidationError {
77
+ loc: number | string[];
78
+ msg: string;
79
+ type: string;
80
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * Auto-generated by custom Python script.
4
+ * Do not edit manually.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fams-ts",
3
- "version": "1.0.10",
3
+ "version": "1.0.18",
4
4
  "description": "TypeScript types for FAMS Backend (Auto-generated)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",