fams-ts 1.0.1
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 +46 -0
- package/dist/account.js +6 -0
- package/dist/approvals.d.ts +39 -0
- package/dist/approvals.js +6 -0
- package/dist/assets.d.ts +12 -0
- package/dist/assets.js +6 -0
- package/dist/auth.d.ts +33 -0
- package/dist/auth.js +6 -0
- package/dist/budget.d.ts +26 -0
- package/dist/budget.js +6 -0
- package/dist/expenditure.d.ts +38 -0
- package/dist/expenditure.js +6 -0
- package/dist/full.d.ts +1772 -0
- package/dist/full.js +6 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +5 -0
- package/dist/receipts.d.ts +19 -0
- package/dist/receipts.js +6 -0
- package/dist/reporting.d.ts +12 -0
- package/dist/reporting.js +6 -0
- package/package.json +23 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated by custom Python script.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
export interface AccountCreateRequest {
|
|
6
|
+
code: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface AccountResponse {
|
|
12
|
+
code: string;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
active: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface Body_open_period_master_periods_open__period_code__post {
|
|
18
|
+
start_date: string;
|
|
19
|
+
end_date: string;
|
|
20
|
+
}
|
|
21
|
+
export interface HTTPValidationError {
|
|
22
|
+
detail?: ValidationError[];
|
|
23
|
+
}
|
|
24
|
+
export interface OpeningBalanceRequest {
|
|
25
|
+
accountCode: string;
|
|
26
|
+
periodCode: string;
|
|
27
|
+
amount: number | string;
|
|
28
|
+
side: string;
|
|
29
|
+
}
|
|
30
|
+
export interface OpeningBalanceResponse {
|
|
31
|
+
accountCode: string;
|
|
32
|
+
periodCode: string;
|
|
33
|
+
amount: string;
|
|
34
|
+
side: string;
|
|
35
|
+
}
|
|
36
|
+
export interface PeriodResponse {
|
|
37
|
+
code: string;
|
|
38
|
+
startDate: string;
|
|
39
|
+
endDate: string;
|
|
40
|
+
status: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ValidationError {
|
|
43
|
+
loc: number | string[];
|
|
44
|
+
msg: string;
|
|
45
|
+
type: string;
|
|
46
|
+
}
|
package/dist/account.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated by custom Python script.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
export interface Body_add_approval_comment_approvals__id__comment_post {
|
|
6
|
+
user_id: string;
|
|
7
|
+
comment: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Body_add_approval_instruction_approvals__id__instruction_post {
|
|
10
|
+
created_by: string;
|
|
11
|
+
instruction: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
pay_to: string;
|
|
14
|
+
pay_from: string;
|
|
15
|
+
authority: string;
|
|
16
|
+
}
|
|
17
|
+
export interface Body_create_authority_approvals_authority_post {
|
|
18
|
+
name: string;
|
|
19
|
+
role: string;
|
|
20
|
+
reference: string;
|
|
21
|
+
}
|
|
22
|
+
export interface Body_create_destination_approvals_destination_post {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
reference: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Body_upload_payment_approval_approvals_upload_post {
|
|
28
|
+
payment_id: string;
|
|
29
|
+
created_by: string;
|
|
30
|
+
file: string;
|
|
31
|
+
}
|
|
32
|
+
export interface HTTPValidationError {
|
|
33
|
+
detail?: ValidationError[];
|
|
34
|
+
}
|
|
35
|
+
export interface ValidationError {
|
|
36
|
+
loc: number | string[];
|
|
37
|
+
msg: string;
|
|
38
|
+
type: string;
|
|
39
|
+
}
|
package/dist/assets.d.ts
ADDED
package/dist/assets.js
ADDED
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated by custom Python script.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
export type DepartmentCode = 'MASTER_DATA' | 'BUDGET' | 'EXPENDITURE' | 'RECEIPTS' | 'ASSETS_LIABILITIES' | 'REPORTING' | 'GL' | 'APPROVALS' | 'TREASURY';
|
|
6
|
+
export interface HTTPValidationError {
|
|
7
|
+
detail?: ValidationError[];
|
|
8
|
+
}
|
|
9
|
+
export interface RefreshTokenSchema {
|
|
10
|
+
refreshToken: string;
|
|
11
|
+
}
|
|
12
|
+
export type Role = 'SUPER_ADMIN' | 'ADMIN' | 'EMPLOYEE';
|
|
13
|
+
export interface TokenSchema {
|
|
14
|
+
accessToken: string;
|
|
15
|
+
refreshToken: string;
|
|
16
|
+
tokenType: string;
|
|
17
|
+
}
|
|
18
|
+
export interface UserLoginSchema {
|
|
19
|
+
username: string;
|
|
20
|
+
password: string;
|
|
21
|
+
}
|
|
22
|
+
export interface UserRegisterSchema {
|
|
23
|
+
username: string;
|
|
24
|
+
password: string;
|
|
25
|
+
email: string;
|
|
26
|
+
department: DepartmentCode;
|
|
27
|
+
role: Role;
|
|
28
|
+
}
|
|
29
|
+
export interface ValidationError {
|
|
30
|
+
loc: number | string[];
|
|
31
|
+
msg: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}
|
package/dist/auth.js
ADDED
package/dist/budget.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated by custom Python script.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
export interface AIERequest {
|
|
6
|
+
budgetHeadCode: string;
|
|
7
|
+
referenceNo: string;
|
|
8
|
+
amount: number | string;
|
|
9
|
+
purpose: string;
|
|
10
|
+
}
|
|
11
|
+
export interface AIEResponse {
|
|
12
|
+
id: string;
|
|
13
|
+
budgetHeadCode: string;
|
|
14
|
+
referenceNo: string;
|
|
15
|
+
amount: string;
|
|
16
|
+
purpose: string;
|
|
17
|
+
status: string;
|
|
18
|
+
}
|
|
19
|
+
export interface HTTPValidationError {
|
|
20
|
+
detail?: ValidationError[];
|
|
21
|
+
}
|
|
22
|
+
export interface ValidationError {
|
|
23
|
+
loc: number | string[];
|
|
24
|
+
msg: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}
|
package/dist/budget.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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 PaymentLineCreateRequest {
|
|
9
|
+
accountCode: string;
|
|
10
|
+
description: string;
|
|
11
|
+
debit: number | string;
|
|
12
|
+
credit: number | string;
|
|
13
|
+
}
|
|
14
|
+
export interface PaymentLineResponse {
|
|
15
|
+
accountCode: string;
|
|
16
|
+
description: string;
|
|
17
|
+
debit: string;
|
|
18
|
+
credit: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PaymentVoucherCreateRequest {
|
|
21
|
+
aieReference: string;
|
|
22
|
+
date: string;
|
|
23
|
+
description: string;
|
|
24
|
+
lines: PaymentLineCreateRequest[];
|
|
25
|
+
}
|
|
26
|
+
export interface PaymentVoucherResponse {
|
|
27
|
+
id: string;
|
|
28
|
+
aieReference: string;
|
|
29
|
+
date: string;
|
|
30
|
+
description: string;
|
|
31
|
+
status: string;
|
|
32
|
+
lines: PaymentLineResponse[];
|
|
33
|
+
}
|
|
34
|
+
export interface ValidationError {
|
|
35
|
+
loc: number | string[];
|
|
36
|
+
msg: string;
|
|
37
|
+
type: string;
|
|
38
|
+
}
|