@factorialco/api-client 4.0.0-beta.2027010105 → 4.0.0-beta.2027010106
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.
|
@@ -7390,16 +7390,53 @@ export type ProjectManagementExpenseRecord = {
|
|
|
7390
7390
|
status?: string;
|
|
7391
7391
|
};
|
|
7392
7392
|
export type ProjectManagementExportableExpense = {
|
|
7393
|
+
/**
|
|
7394
|
+
* The id of the expense record linking the expense to the project
|
|
7395
|
+
*/
|
|
7396
|
+
id: string;
|
|
7397
|
+
/**
|
|
7398
|
+
* The effective date of the expense
|
|
7399
|
+
*/
|
|
7393
7400
|
date?: string;
|
|
7401
|
+
/**
|
|
7402
|
+
* The name of the project
|
|
7403
|
+
*/
|
|
7394
7404
|
project_name?: string;
|
|
7405
|
+
/**
|
|
7406
|
+
* The name of the subproject
|
|
7407
|
+
*/
|
|
7395
7408
|
subproject_name?: string;
|
|
7409
|
+
/**
|
|
7410
|
+
* The full name of the employee who reported the expense
|
|
7411
|
+
*/
|
|
7396
7412
|
employee_name: string;
|
|
7413
|
+
/**
|
|
7414
|
+
* The preferred name of the employee who reported the expense
|
|
7415
|
+
*/
|
|
7397
7416
|
preferred_name?: string;
|
|
7417
|
+
/**
|
|
7418
|
+
* The amount of the expense, in the currency's major unit
|
|
7419
|
+
*/
|
|
7398
7420
|
amount?: string;
|
|
7421
|
+
/**
|
|
7422
|
+
* The currency of the expense
|
|
7423
|
+
*/
|
|
7399
7424
|
currency?: string;
|
|
7425
|
+
/**
|
|
7426
|
+
* The name of the expense category
|
|
7427
|
+
*/
|
|
7400
7428
|
expense_category?: string;
|
|
7429
|
+
/**
|
|
7430
|
+
* The label of the expense subcategory
|
|
7431
|
+
*/
|
|
7401
7432
|
expense_subcategory?: string;
|
|
7433
|
+
/**
|
|
7434
|
+
* The status of the expense
|
|
7435
|
+
*/
|
|
7402
7436
|
expense_status?: string;
|
|
7437
|
+
/**
|
|
7438
|
+
* The link to the expense in Factorial
|
|
7439
|
+
*/
|
|
7403
7440
|
expense_link?: string;
|
|
7404
7441
|
};
|
|
7405
7442
|
export type ProjectManagementExportableProject = {
|
|
@@ -25125,6 +25162,10 @@ export type PostApi20270101ResourcesDocumentsDocumentsMoveToTrashBinData = {
|
|
|
25125
25162
|
* list of document identifiers.
|
|
25126
25163
|
*/
|
|
25127
25164
|
document_ids: Array<string>;
|
|
25165
|
+
/**
|
|
25166
|
+
* access identifier recorded as the one who moved the documents to the trash bin, refers to /employees/employees endpoint. Required for API key requests; requests made on behalf of a user ignore it and record that user.
|
|
25167
|
+
*/
|
|
25168
|
+
deleted_by_id?: string;
|
|
25128
25169
|
};
|
|
25129
25170
|
path?: never;
|
|
25130
25171
|
query?: never;
|
|
@@ -44890,8 +44931,17 @@ export type GetApi20270101ResourcesProjectManagementExportableExpensesData = {
|
|
|
44890
44931
|
body?: never;
|
|
44891
44932
|
path?: never;
|
|
44892
44933
|
query: {
|
|
44934
|
+
/**
|
|
44935
|
+
* Export only the expenses with an effective date on or after this date
|
|
44936
|
+
*/
|
|
44893
44937
|
start_date: string;
|
|
44938
|
+
/**
|
|
44939
|
+
* Export only the expenses with an effective date on or before this date
|
|
44940
|
+
*/
|
|
44894
44941
|
end_date: string;
|
|
44942
|
+
/**
|
|
44943
|
+
* Export only the expenses of these projects
|
|
44944
|
+
*/
|
|
44895
44945
|
'project_ids[]': Array<string>;
|
|
44896
44946
|
};
|
|
44897
44947
|
url: '/api/2027-01-01/resources/project_management/exportable_expenses';
|