@apideck/unify 0.38.2 → 0.38.3
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/README.md +51 -12
- package/funcs/accountingEmployeesCreate.d.ts +18 -0
- package/funcs/accountingEmployeesCreate.d.ts.map +1 -0
- package/funcs/accountingEmployeesCreate.js +141 -0
- package/funcs/accountingEmployeesCreate.js.map +1 -0
- package/funcs/accountingEmployeesDelete.d.ts +18 -0
- package/funcs/accountingEmployeesDelete.d.ts.map +1 -0
- package/funcs/accountingEmployeesDelete.js +142 -0
- package/funcs/accountingEmployeesDelete.js.map +1 -0
- package/funcs/accountingEmployeesGet.d.ts +18 -0
- package/funcs/accountingEmployeesGet.d.ts.map +1 -0
- package/funcs/accountingEmployeesGet.js +145 -0
- package/funcs/accountingEmployeesGet.js.map +1 -0
- package/funcs/accountingEmployeesList.d.ts +21 -0
- package/funcs/accountingEmployeesList.d.ts.map +1 -0
- package/funcs/accountingEmployeesList.js +168 -0
- package/funcs/accountingEmployeesList.js.map +1 -0
- package/funcs/accountingEmployeesUpdate.d.ts +18 -0
- package/funcs/accountingEmployeesUpdate.d.ts.map +1 -0
- package/funcs/accountingEmployeesUpdate.js +145 -0
- package/funcs/accountingEmployeesUpdate.js.map +1 -0
- package/funcs/accountingExpenseCategoriesCreate.d.ts +18 -0
- package/funcs/accountingExpenseCategoriesCreate.d.ts.map +1 -0
- package/funcs/accountingExpenseCategoriesCreate.js +135 -0
- package/funcs/accountingExpenseCategoriesCreate.js.map +1 -0
- package/funcs/accountingExpenseCategoriesDelete.d.ts +18 -0
- package/funcs/accountingExpenseCategoriesDelete.d.ts.map +1 -0
- package/funcs/accountingExpenseCategoriesDelete.js +140 -0
- package/funcs/accountingExpenseCategoriesDelete.js.map +1 -0
- package/funcs/accountingExpenseCategoriesGet.d.ts +18 -0
- package/funcs/accountingExpenseCategoriesGet.d.ts.map +1 -0
- package/funcs/accountingExpenseCategoriesGet.js +141 -0
- package/funcs/accountingExpenseCategoriesGet.js.map +1 -0
- package/funcs/accountingExpenseCategoriesList.d.ts +21 -0
- package/funcs/accountingExpenseCategoriesList.d.ts.map +1 -0
- package/funcs/accountingExpenseCategoriesList.js +164 -0
- package/funcs/accountingExpenseCategoriesList.js.map +1 -0
- package/funcs/accountingExpenseCategoriesUpdate.d.ts +18 -0
- package/funcs/accountingExpenseCategoriesUpdate.d.ts.map +1 -0
- package/funcs/accountingExpenseCategoriesUpdate.js +141 -0
- package/funcs/accountingExpenseCategoriesUpdate.js.map +1 -0
- package/funcs/accountingExpenseReportsCreate.d.ts +18 -0
- package/funcs/accountingExpenseReportsCreate.d.ts.map +1 -0
- package/funcs/accountingExpenseReportsCreate.js +137 -0
- package/funcs/accountingExpenseReportsCreate.js.map +1 -0
- package/funcs/accountingExpenseReportsDelete.d.ts +18 -0
- package/funcs/accountingExpenseReportsDelete.d.ts.map +1 -0
- package/funcs/accountingExpenseReportsDelete.js +140 -0
- package/funcs/accountingExpenseReportsDelete.js.map +1 -0
- package/funcs/accountingExpenseReportsGet.d.ts +18 -0
- package/funcs/accountingExpenseReportsGet.d.ts.map +1 -0
- package/funcs/accountingExpenseReportsGet.js +143 -0
- package/funcs/accountingExpenseReportsGet.js.map +1 -0
- package/funcs/accountingExpenseReportsList.d.ts +21 -0
- package/funcs/accountingExpenseReportsList.d.ts.map +1 -0
- package/funcs/accountingExpenseReportsList.js +166 -0
- package/funcs/accountingExpenseReportsList.js.map +1 -0
- package/funcs/accountingExpenseReportsUpdate.d.ts +18 -0
- package/funcs/accountingExpenseReportsUpdate.d.ts.map +1 -0
- package/funcs/accountingExpenseReportsUpdate.js +141 -0
- package/funcs/accountingExpenseReportsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/models/components/accountingemployee.d.ts +295 -0
- package/models/components/accountingemployee.d.ts.map +1 -0
- package/models/components/accountingemployee.js +198 -0
- package/models/components/accountingemployee.js.map +1 -0
- package/models/components/accountingemployeesfilter.d.ts +23 -0
- package/models/components/accountingemployeesfilter.d.ts.map +1 -0
- package/models/components/accountingemployeesfilter.js +63 -0
- package/models/components/accountingemployeesfilter.js.map +1 -0
- package/models/components/billlineitem.d.ts +1 -1
- package/models/components/billlineiteminput.d.ts +1 -1
- package/models/components/createaccountingemployeeresponse.d.ts +43 -0
- package/models/components/createaccountingemployeeresponse.d.ts.map +1 -0
- package/models/components/createaccountingemployeeresponse.js +64 -0
- package/models/components/createaccountingemployeeresponse.js.map +1 -0
- package/models/components/createexpensecategoryresponse.d.ts +43 -0
- package/models/components/createexpensecategoryresponse.d.ts.map +1 -0
- package/models/components/createexpensecategoryresponse.js +64 -0
- package/models/components/createexpensecategoryresponse.js.map +1 -0
- package/models/components/createexpensereportresponse.d.ts +43 -0
- package/models/components/createexpensereportresponse.d.ts.map +1 -0
- package/models/components/createexpensereportresponse.js +64 -0
- package/models/components/createexpensereportresponse.js.map +1 -0
- package/models/components/deleteaccountingemployeeresponse.d.ts +43 -0
- package/models/components/deleteaccountingemployeeresponse.d.ts.map +1 -0
- package/models/components/deleteaccountingemployeeresponse.js +64 -0
- package/models/components/deleteaccountingemployeeresponse.js.map +1 -0
- package/models/components/deleteexpensecategoryresponse.d.ts +43 -0
- package/models/components/deleteexpensecategoryresponse.d.ts.map +1 -0
- package/models/components/deleteexpensecategoryresponse.js +64 -0
- package/models/components/deleteexpensecategoryresponse.js.map +1 -0
- package/models/components/deleteexpensereportresponse.d.ts +43 -0
- package/models/components/deleteexpensereportresponse.d.ts.map +1 -0
- package/models/components/deleteexpensereportresponse.js +64 -0
- package/models/components/deleteexpensereportresponse.js.map +1 -0
- package/models/components/expensecategoriesfilter.d.ts +22 -0
- package/models/components/expensecategoriesfilter.d.ts.map +1 -0
- package/models/components/expensecategoriesfilter.js +62 -0
- package/models/components/expensecategoriesfilter.js.map +1 -0
- package/models/components/expensecategory.d.ts +157 -0
- package/models/components/expensecategory.d.ts.map +1 -0
- package/models/components/expensecategory.js +131 -0
- package/models/components/expensecategory.js.map +1 -0
- package/models/components/expensereport.d.ts +362 -0
- package/models/components/expensereport.d.ts.map +1 -0
- package/models/components/expensereport.js +265 -0
- package/models/components/expensereport.js.map +1 -0
- package/models/components/expensereportlineitem.d.ts +95 -0
- package/models/components/expensereportlineitem.d.ts.map +1 -0
- package/models/components/expensereportlineitem.js +99 -0
- package/models/components/expensereportlineitem.js.map +1 -0
- package/models/components/expensereportlineiteminput.d.ts +95 -0
- package/models/components/expensereportlineiteminput.d.ts.map +1 -0
- package/models/components/expensereportlineiteminput.js +88 -0
- package/models/components/expensereportlineiteminput.js.map +1 -0
- package/models/components/expensereportsfilter.d.ts +32 -0
- package/models/components/expensereportsfilter.d.ts.map +1 -0
- package/models/components/expensereportsfilter.js +69 -0
- package/models/components/expensereportsfilter.js.map +1 -0
- package/models/components/getaccountingemployeeresponse.d.ts +40 -0
- package/models/components/getaccountingemployeeresponse.d.ts.map +1 -0
- package/models/components/getaccountingemployeeresponse.js +64 -0
- package/models/components/getaccountingemployeeresponse.js.map +1 -0
- package/models/components/getaccountingemployeesresponse.d.ts +50 -0
- package/models/components/getaccountingemployeesresponse.d.ts.map +1 -0
- package/models/components/getaccountingemployeesresponse.js +68 -0
- package/models/components/getaccountingemployeesresponse.js.map +1 -0
- package/models/components/getexpensecategoriesresponse.d.ts +50 -0
- package/models/components/getexpensecategoriesresponse.d.ts.map +1 -0
- package/models/components/getexpensecategoriesresponse.js +68 -0
- package/models/components/getexpensecategoriesresponse.js.map +1 -0
- package/models/components/getexpensecategoryresponse.d.ts +40 -0
- package/models/components/getexpensecategoryresponse.d.ts.map +1 -0
- package/models/components/getexpensecategoryresponse.js +64 -0
- package/models/components/getexpensecategoryresponse.js.map +1 -0
- package/models/components/getexpensereportresponse.d.ts +40 -0
- package/models/components/getexpensereportresponse.d.ts.map +1 -0
- package/models/components/getexpensereportresponse.js +64 -0
- package/models/components/getexpensereportresponse.js.map +1 -0
- package/models/components/getexpensereportsresponse.d.ts +50 -0
- package/models/components/getexpensereportsresponse.d.ts.map +1 -0
- package/models/components/getexpensereportsresponse.js +68 -0
- package/models/components/getexpensereportsresponse.js.map +1 -0
- package/models/components/index.d.ts +26 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +26 -0
- package/models/components/index.js.map +1 -1
- package/models/components/linkedexpensecategory.d.ts +38 -0
- package/models/components/linkedexpensecategory.d.ts.map +1 -0
- package/models/components/linkedexpensecategory.js +76 -0
- package/models/components/linkedexpensecategory.js.map +1 -0
- package/models/components/linkedsubsidiary.d.ts +21 -0
- package/models/components/linkedsubsidiary.d.ts.map +1 -0
- package/models/components/linkedsubsidiary.js +58 -0
- package/models/components/linkedsubsidiary.js.map +1 -0
- package/models/components/linkedsubsidiaryinput.d.ts +20 -0
- package/models/components/linkedsubsidiaryinput.d.ts.map +1 -0
- package/models/components/linkedsubsidiaryinput.js +55 -0
- package/models/components/linkedsubsidiaryinput.js.map +1 -0
- package/models/components/updateaccountingemployeeresponse.d.ts +43 -0
- package/models/components/updateaccountingemployeeresponse.d.ts.map +1 -0
- package/models/components/updateaccountingemployeeresponse.js +64 -0
- package/models/components/updateaccountingemployeeresponse.js.map +1 -0
- package/models/components/updateexpensecategoryresponse.d.ts +43 -0
- package/models/components/updateexpensecategoryresponse.d.ts.map +1 -0
- package/models/components/updateexpensecategoryresponse.js +64 -0
- package/models/components/updateexpensecategoryresponse.js.map +1 -0
- package/models/components/updateexpensereportresponse.d.ts +43 -0
- package/models/components/updateexpensereportresponse.d.ts.map +1 -0
- package/models/components/updateexpensereportresponse.js +64 -0
- package/models/components/updateexpensereportresponse.js.map +1 -0
- package/models/operations/accountingemployeesadd.d.ts +59 -0
- package/models/operations/accountingemployeesadd.d.ts.map +1 -0
- package/models/operations/accountingemployeesadd.js +77 -0
- package/models/operations/accountingemployeesadd.js.map +1 -0
- package/models/operations/accountingemployeesall.d.ts +77 -0
- package/models/operations/accountingemployeesall.d.ts.map +1 -0
- package/models/operations/accountingemployeesall.js +76 -0
- package/models/operations/accountingemployeesall.js.map +1 -0
- package/models/operations/accountingemployeesdelete.d.ts +62 -0
- package/models/operations/accountingemployeesdelete.d.ts.map +1 -0
- package/models/operations/accountingemployeesdelete.js +73 -0
- package/models/operations/accountingemployeesdelete.js.map +1 -0
- package/models/operations/accountingemployeesone.d.ts +67 -0
- package/models/operations/accountingemployeesone.d.ts.map +1 -0
- package/models/operations/accountingemployeesone.js +74 -0
- package/models/operations/accountingemployeesone.js.map +1 -0
- package/models/operations/accountingemployeesupdate.d.ts +64 -0
- package/models/operations/accountingemployeesupdate.d.ts.map +1 -0
- package/models/operations/accountingemployeesupdate.js +78 -0
- package/models/operations/accountingemployeesupdate.js.map +1 -0
- package/models/operations/accountingexpensecategoriesadd.d.ts +59 -0
- package/models/operations/accountingexpensecategoriesadd.d.ts.map +1 -0
- package/models/operations/accountingexpensecategoriesadd.js +77 -0
- package/models/operations/accountingexpensecategoriesadd.js.map +1 -0
- package/models/operations/accountingexpensecategoriesall.d.ts +77 -0
- package/models/operations/accountingexpensecategoriesall.d.ts.map +1 -0
- package/models/operations/accountingexpensecategoriesall.js +76 -0
- package/models/operations/accountingexpensecategoriesall.js.map +1 -0
- package/models/operations/accountingexpensecategoriesdelete.d.ts +62 -0
- package/models/operations/accountingexpensecategoriesdelete.d.ts.map +1 -0
- package/models/operations/accountingexpensecategoriesdelete.js +73 -0
- package/models/operations/accountingexpensecategoriesdelete.js.map +1 -0
- package/models/operations/accountingexpensecategoriesone.d.ts +67 -0
- package/models/operations/accountingexpensecategoriesone.d.ts.map +1 -0
- package/models/operations/accountingexpensecategoriesone.js +74 -0
- package/models/operations/accountingexpensecategoriesone.js.map +1 -0
- package/models/operations/accountingexpensecategoriesupdate.d.ts +64 -0
- package/models/operations/accountingexpensecategoriesupdate.d.ts.map +1 -0
- package/models/operations/accountingexpensecategoriesupdate.js +78 -0
- package/models/operations/accountingexpensecategoriesupdate.js.map +1 -0
- package/models/operations/accountingexpensereportsadd.d.ts +59 -0
- package/models/operations/accountingexpensereportsadd.d.ts.map +1 -0
- package/models/operations/accountingexpensereportsadd.js +77 -0
- package/models/operations/accountingexpensereportsadd.js.map +1 -0
- package/models/operations/accountingexpensereportsall.d.ts +77 -0
- package/models/operations/accountingexpensereportsall.d.ts.map +1 -0
- package/models/operations/accountingexpensereportsall.js +76 -0
- package/models/operations/accountingexpensereportsall.js.map +1 -0
- package/models/operations/accountingexpensereportsdelete.d.ts +62 -0
- package/models/operations/accountingexpensereportsdelete.d.ts.map +1 -0
- package/models/operations/accountingexpensereportsdelete.js +73 -0
- package/models/operations/accountingexpensereportsdelete.js.map +1 -0
- package/models/operations/accountingexpensereportsone.d.ts +67 -0
- package/models/operations/accountingexpensereportsone.d.ts.map +1 -0
- package/models/operations/accountingexpensereportsone.js +74 -0
- package/models/operations/accountingexpensereportsone.js.map +1 -0
- package/models/operations/accountingexpensereportsupdate.d.ts +64 -0
- package/models/operations/accountingexpensereportsupdate.d.ts.map +1 -0
- package/models/operations/accountingexpensereportsupdate.js +78 -0
- package/models/operations/accountingexpensereportsupdate.js.map +1 -0
- package/models/operations/index.d.ts +15 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +15 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/accounting.d.ts +9 -0
- package/sdk/accounting.d.ts.map +1 -1
- package/sdk/accounting.js +12 -0
- package/sdk/accounting.js.map +1 -1
- package/sdk/apideckemployees.d.ts +43 -0
- package/sdk/apideckemployees.d.ts.map +1 -0
- package/sdk/apideckemployees.js +63 -0
- package/sdk/apideckemployees.js.map +1 -0
- package/sdk/employees.d.ts +6 -6
- package/sdk/employees.d.ts.map +1 -1
- package/sdk/employees.js +11 -11
- package/sdk/employees.js.map +1 -1
- package/sdk/expensecategories.d.ts +43 -0
- package/sdk/expensecategories.d.ts.map +1 -0
- package/sdk/expensecategories.js +63 -0
- package/sdk/expensecategories.js.map +1 -0
- package/sdk/expensereports.d.ts +43 -0
- package/sdk/expensereports.d.ts.map +1 -0
- package/sdk/expensereports.js +63 -0
- package/sdk/expensereports.js.map +1 -0
- package/sdk/hris.d.ts +2 -2
- package/sdk/hris.d.ts.map +1 -1
- package/sdk/hris.js +2 -2
- package/sdk/hris.js.map +1 -1
- package/src/__tests__/employees.test.ts +503 -0
- package/src/__tests__/expensecategories.test.ts +324 -0
- package/src/__tests__/expensereports.test.ts +634 -0
- package/src/funcs/accountingEmployeesCreate.ts +223 -0
- package/src/funcs/accountingEmployeesDelete.ts +229 -0
- package/src/funcs/accountingEmployeesGet.ts +228 -0
- package/src/funcs/accountingEmployeesList.ts +299 -0
- package/src/funcs/accountingEmployeesUpdate.ts +232 -0
- package/src/funcs/accountingExpenseCategoriesCreate.ts +227 -0
- package/src/funcs/accountingExpenseCategoriesDelete.ts +233 -0
- package/src/funcs/accountingExpenseCategoriesGet.ts +234 -0
- package/src/funcs/accountingExpenseCategoriesList.ts +305 -0
- package/src/funcs/accountingExpenseCategoriesUpdate.ts +234 -0
- package/src/funcs/accountingExpenseReportsCreate.ts +223 -0
- package/src/funcs/accountingExpenseReportsDelete.ts +233 -0
- package/src/funcs/accountingExpenseReportsGet.ts +230 -0
- package/src/funcs/accountingExpenseReportsList.ts +301 -0
- package/src/funcs/accountingExpenseReportsUpdate.ts +234 -0
- package/src/lib/config.ts +4 -4
- package/src/models/components/accountingemployee.ts +542 -0
- package/src/models/components/accountingemployeesfilter.ts +57 -0
- package/src/models/components/billlineitem.ts +1 -1
- package/src/models/components/billlineiteminput.ts +1 -1
- package/src/models/components/createaccountingemployeeresponse.ts +75 -0
- package/src/models/components/createexpensecategoryresponse.ts +75 -0
- package/src/models/components/createexpensereportresponse.ts +75 -0
- package/src/models/components/deleteaccountingemployeeresponse.ts +75 -0
- package/src/models/components/deleteexpensecategoryresponse.ts +75 -0
- package/src/models/components/deleteexpensereportresponse.ts +75 -0
- package/src/models/components/expensecategoriesfilter.ts +56 -0
- package/src/models/components/expensecategory.ts +274 -0
- package/src/models/components/expensereport.ts +686 -0
- package/src/models/components/expensereportlineitem.ts +177 -0
- package/src/models/components/expensereportlineiteminput.ts +180 -0
- package/src/models/components/expensereportsfilter.ts +68 -0
- package/src/models/components/getaccountingemployeeresponse.ts +75 -0
- package/src/models/components/getaccountingemployeesresponse.ts +87 -0
- package/src/models/components/getexpensecategoriesresponse.ts +87 -0
- package/src/models/components/getexpensecategoryresponse.ts +75 -0
- package/src/models/components/getexpensereportresponse.ts +72 -0
- package/src/models/components/getexpensereportsresponse.ts +84 -0
- package/src/models/components/index.ts +26 -0
- package/src/models/components/linkedexpensecategory.ts +90 -0
- package/src/models/components/linkedsubsidiary.ts +50 -0
- package/src/models/components/linkedsubsidiaryinput.ts +45 -0
- package/src/models/components/updateaccountingemployeeresponse.ts +75 -0
- package/src/models/components/updateexpensecategoryresponse.ts +75 -0
- package/src/models/components/updateexpensereportresponse.ts +75 -0
- package/src/models/operations/accountingemployeesadd.ts +123 -0
- package/src/models/operations/accountingemployeesall.ts +140 -0
- package/src/models/operations/accountingemployeesdelete.ts +122 -0
- package/src/models/operations/accountingemployeesone.ts +128 -0
- package/src/models/operations/accountingemployeesupdate.ts +129 -0
- package/src/models/operations/accountingexpensecategoriesadd.ts +124 -0
- package/src/models/operations/accountingexpensecategoriesall.ts +141 -0
- package/src/models/operations/accountingexpensecategoriesdelete.ts +129 -0
- package/src/models/operations/accountingexpensecategoriesone.ts +129 -0
- package/src/models/operations/accountingexpensecategoriesupdate.ts +136 -0
- package/src/models/operations/accountingexpensereportsadd.ts +124 -0
- package/src/models/operations/accountingexpensereportsall.ts +139 -0
- package/src/models/operations/accountingexpensereportsdelete.ts +123 -0
- package/src/models/operations/accountingexpensereportsone.ts +127 -0
- package/src/models/operations/accountingexpensereportsupdate.ts +130 -0
- package/src/models/operations/index.ts +15 -0
- package/src/sdk/accounting.ts +18 -0
- package/src/sdk/apideckemployees.ts +102 -0
- package/src/sdk/employees.ts +21 -21
- package/src/sdk/expensecategories.ts +105 -0
- package/src/sdk/expensereports.ts +105 -0
- package/src/sdk/hris.ts +4 -4
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -612
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { Currency } from "./currency.js";
|
|
6
|
+
import { CustomField, CustomField$Outbound } from "./customfield.js";
|
|
7
|
+
import { ExpenseReportLineItem } from "./expensereportlineitem.js";
|
|
8
|
+
import { ExpenseReportLineItemInput, ExpenseReportLineItemInput$Outbound } from "./expensereportlineiteminput.js";
|
|
9
|
+
import { LinkedDepartment } from "./linkeddepartment.js";
|
|
10
|
+
import { LinkedDepartmentInput, LinkedDepartmentInput$Outbound } from "./linkeddepartmentinput.js";
|
|
11
|
+
import { LinkedLedgerAccount, LinkedLedgerAccount$Outbound } from "./linkedledgeraccount.js";
|
|
12
|
+
import { LinkedLocation } from "./linkedlocation.js";
|
|
13
|
+
import { LinkedLocationInput, LinkedLocationInput$Outbound } from "./linkedlocationinput.js";
|
|
14
|
+
import { LinkedSubsidiary } from "./linkedsubsidiary.js";
|
|
15
|
+
import { LinkedSubsidiaryInput, LinkedSubsidiaryInput$Outbound } from "./linkedsubsidiaryinput.js";
|
|
16
|
+
import { LinkedTrackingCategory, LinkedTrackingCategory$Outbound } from "./linkedtrackingcategory.js";
|
|
17
|
+
import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js";
|
|
18
|
+
/**
|
|
19
|
+
* The employee who submitted the expense report.
|
|
20
|
+
*/
|
|
21
|
+
export type ExpenseReportEmployee = {
|
|
22
|
+
/**
|
|
23
|
+
* A unique identifier for the employee.
|
|
24
|
+
*/
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The display name of the employee.
|
|
28
|
+
*/
|
|
29
|
+
displayName?: string | null | undefined;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The status of the expense report.
|
|
33
|
+
*/
|
|
34
|
+
export declare const ExpenseReportStatus: {
|
|
35
|
+
readonly Draft: "draft";
|
|
36
|
+
readonly Submitted: "submitted";
|
|
37
|
+
readonly Approved: "approved";
|
|
38
|
+
readonly Reimbursed: "reimbursed";
|
|
39
|
+
readonly Rejected: "rejected";
|
|
40
|
+
readonly Reversed: "reversed";
|
|
41
|
+
readonly Voided: "voided";
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The status of the expense report.
|
|
45
|
+
*/
|
|
46
|
+
export type ExpenseReportStatus = OpenEnum<typeof ExpenseReportStatus>;
|
|
47
|
+
/**
|
|
48
|
+
* The accounting period the expense report is posted to.
|
|
49
|
+
*/
|
|
50
|
+
export type AccountingPeriod = {
|
|
51
|
+
/**
|
|
52
|
+
* A unique identifier for the accounting period.
|
|
53
|
+
*/
|
|
54
|
+
id?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the accounting period.
|
|
57
|
+
*/
|
|
58
|
+
name?: string | null | undefined;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The person who approved the expense report.
|
|
62
|
+
*/
|
|
63
|
+
export type ApprovedBy = {
|
|
64
|
+
/**
|
|
65
|
+
* A unique identifier for the approver.
|
|
66
|
+
*/
|
|
67
|
+
id?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* The display name of the approver.
|
|
70
|
+
*/
|
|
71
|
+
displayName?: string | null | undefined;
|
|
72
|
+
};
|
|
73
|
+
export type ExpenseReport = {
|
|
74
|
+
/**
|
|
75
|
+
* A unique identifier for an object.
|
|
76
|
+
*/
|
|
77
|
+
id?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Id to be displayed.
|
|
80
|
+
*/
|
|
81
|
+
displayId?: string | null | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* The expense report number.
|
|
84
|
+
*/
|
|
85
|
+
number?: string | null | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Title or purpose of the expense report.
|
|
88
|
+
*/
|
|
89
|
+
title?: string | null | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* The employee who submitted the expense report.
|
|
92
|
+
*/
|
|
93
|
+
employee: ExpenseReportEmployee;
|
|
94
|
+
/**
|
|
95
|
+
* The status of the expense report.
|
|
96
|
+
*/
|
|
97
|
+
status?: ExpenseReportStatus | null | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD
|
|
100
|
+
*/
|
|
101
|
+
transactionDate: Date | null;
|
|
102
|
+
/**
|
|
103
|
+
* The date the expense report was posted to the general ledger.
|
|
104
|
+
*/
|
|
105
|
+
postingDate?: Date | null | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Date when reimbursement is due.
|
|
108
|
+
*/
|
|
109
|
+
dueDate?: Date | null | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
112
|
+
*/
|
|
113
|
+
currency?: Currency | null | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Currency Exchange Rate at the time entity was recorded/generated.
|
|
116
|
+
*/
|
|
117
|
+
currencyRate?: number | null | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Subtotal amount, normally before tax.
|
|
120
|
+
*/
|
|
121
|
+
subTotal?: number | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Total tax amount applied to this transaction.
|
|
124
|
+
*/
|
|
125
|
+
totalTax?: number | null | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Total amount of all expense lines including tax.
|
|
128
|
+
*/
|
|
129
|
+
totalAmount?: number | null | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Total reimbursable amount (may differ from total if some expenses are non-reimbursable).
|
|
132
|
+
*/
|
|
133
|
+
reimbursableAmount?: number | null | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* The memo of the expense report.
|
|
136
|
+
*/
|
|
137
|
+
memo?: string | null | undefined;
|
|
138
|
+
department?: LinkedDepartment | null | undefined;
|
|
139
|
+
location?: LinkedLocation | null | undefined;
|
|
140
|
+
account?: LinkedLedgerAccount | null | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* The accounting period the expense report is posted to.
|
|
143
|
+
*/
|
|
144
|
+
accountingPeriod?: AccountingPeriod | null | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* Expense line items linked to this expense report.
|
|
147
|
+
*/
|
|
148
|
+
lineItems: Array<ExpenseReportLineItem>;
|
|
149
|
+
subsidiary?: LinkedSubsidiary | null | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* A list of linked tracking categories.
|
|
152
|
+
*/
|
|
153
|
+
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Amounts are including tax
|
|
156
|
+
*/
|
|
157
|
+
taxInclusive?: boolean | null | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* The person who approved the expense report.
|
|
160
|
+
*/
|
|
161
|
+
approvedBy?: ApprovedBy | null | undefined;
|
|
162
|
+
customFields?: Array<CustomField> | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* When custom mappings are configured on the resource, the result is included here.
|
|
165
|
+
*/
|
|
166
|
+
customMappings?: {
|
|
167
|
+
[k: string]: any;
|
|
168
|
+
} | null | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
171
|
+
*/
|
|
172
|
+
rowVersion?: string | null | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* The user who last updated the object.
|
|
175
|
+
*/
|
|
176
|
+
updatedBy?: string | null | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* The user who created the object.
|
|
179
|
+
*/
|
|
180
|
+
createdBy?: string | null | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* The date and time when the object was last updated.
|
|
183
|
+
*/
|
|
184
|
+
updatedAt?: Date | null | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* The date and time when the object was created.
|
|
187
|
+
*/
|
|
188
|
+
createdAt?: Date | null | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
191
|
+
*/
|
|
192
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
193
|
+
};
|
|
194
|
+
export type ExpenseReportInput = {
|
|
195
|
+
/**
|
|
196
|
+
* Id to be displayed.
|
|
197
|
+
*/
|
|
198
|
+
displayId?: string | null | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* The expense report number.
|
|
201
|
+
*/
|
|
202
|
+
number?: string | null | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Title or purpose of the expense report.
|
|
205
|
+
*/
|
|
206
|
+
title?: string | null | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* The employee who submitted the expense report.
|
|
209
|
+
*/
|
|
210
|
+
employee: ExpenseReportEmployee;
|
|
211
|
+
/**
|
|
212
|
+
* The status of the expense report.
|
|
213
|
+
*/
|
|
214
|
+
status?: ExpenseReportStatus | null | undefined;
|
|
215
|
+
/**
|
|
216
|
+
* The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD
|
|
217
|
+
*/
|
|
218
|
+
transactionDate: Date | null;
|
|
219
|
+
/**
|
|
220
|
+
* The date the expense report was posted to the general ledger.
|
|
221
|
+
*/
|
|
222
|
+
postingDate?: Date | null | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* Date when reimbursement is due.
|
|
225
|
+
*/
|
|
226
|
+
dueDate?: Date | null | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
|
|
229
|
+
*/
|
|
230
|
+
currency?: Currency | null | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* Currency Exchange Rate at the time entity was recorded/generated.
|
|
233
|
+
*/
|
|
234
|
+
currencyRate?: number | null | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* Subtotal amount, normally before tax.
|
|
237
|
+
*/
|
|
238
|
+
subTotal?: number | null | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Total tax amount applied to this transaction.
|
|
241
|
+
*/
|
|
242
|
+
totalTax?: number | null | undefined;
|
|
243
|
+
/**
|
|
244
|
+
* Total amount of all expense lines including tax.
|
|
245
|
+
*/
|
|
246
|
+
totalAmount?: number | null | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* Total reimbursable amount (may differ from total if some expenses are non-reimbursable).
|
|
249
|
+
*/
|
|
250
|
+
reimbursableAmount?: number | null | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* The memo of the expense report.
|
|
253
|
+
*/
|
|
254
|
+
memo?: string | null | undefined;
|
|
255
|
+
department?: LinkedDepartmentInput | null | undefined;
|
|
256
|
+
location?: LinkedLocationInput | null | undefined;
|
|
257
|
+
account?: LinkedLedgerAccount | null | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* The accounting period the expense report is posted to.
|
|
260
|
+
*/
|
|
261
|
+
accountingPeriod?: AccountingPeriod | null | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Expense line items linked to this expense report.
|
|
264
|
+
*/
|
|
265
|
+
lineItems: Array<ExpenseReportLineItemInput>;
|
|
266
|
+
subsidiary?: LinkedSubsidiaryInput | null | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* A list of linked tracking categories.
|
|
269
|
+
*/
|
|
270
|
+
trackingCategories?: Array<LinkedTrackingCategory | null> | null | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* Amounts are including tax
|
|
273
|
+
*/
|
|
274
|
+
taxInclusive?: boolean | null | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* The person who approved the expense report.
|
|
277
|
+
*/
|
|
278
|
+
approvedBy?: ApprovedBy | null | undefined;
|
|
279
|
+
customFields?: Array<CustomField> | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
|
|
282
|
+
*/
|
|
283
|
+
rowVersion?: string | null | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.
|
|
286
|
+
*/
|
|
287
|
+
passThrough?: Array<PassThroughBody> | undefined;
|
|
288
|
+
};
|
|
289
|
+
/** @internal */
|
|
290
|
+
export declare const ExpenseReportEmployee$inboundSchema: z.ZodType<ExpenseReportEmployee, z.ZodTypeDef, unknown>;
|
|
291
|
+
/** @internal */
|
|
292
|
+
export type ExpenseReportEmployee$Outbound = {
|
|
293
|
+
id?: string | undefined;
|
|
294
|
+
display_name?: string | null | undefined;
|
|
295
|
+
};
|
|
296
|
+
/** @internal */
|
|
297
|
+
export declare const ExpenseReportEmployee$outboundSchema: z.ZodType<ExpenseReportEmployee$Outbound, z.ZodTypeDef, ExpenseReportEmployee>;
|
|
298
|
+
export declare function expenseReportEmployeeToJSON(expenseReportEmployee: ExpenseReportEmployee): string;
|
|
299
|
+
export declare function expenseReportEmployeeFromJSON(jsonString: string): SafeParseResult<ExpenseReportEmployee, SDKValidationError>;
|
|
300
|
+
/** @internal */
|
|
301
|
+
export declare const ExpenseReportStatus$inboundSchema: z.ZodType<ExpenseReportStatus, z.ZodTypeDef, unknown>;
|
|
302
|
+
/** @internal */
|
|
303
|
+
export declare const ExpenseReportStatus$outboundSchema: z.ZodType<string, z.ZodTypeDef, ExpenseReportStatus>;
|
|
304
|
+
/** @internal */
|
|
305
|
+
export declare const AccountingPeriod$inboundSchema: z.ZodType<AccountingPeriod, z.ZodTypeDef, unknown>;
|
|
306
|
+
/** @internal */
|
|
307
|
+
export type AccountingPeriod$Outbound = {
|
|
308
|
+
id?: string | undefined;
|
|
309
|
+
name?: string | null | undefined;
|
|
310
|
+
};
|
|
311
|
+
/** @internal */
|
|
312
|
+
export declare const AccountingPeriod$outboundSchema: z.ZodType<AccountingPeriod$Outbound, z.ZodTypeDef, AccountingPeriod>;
|
|
313
|
+
export declare function accountingPeriodToJSON(accountingPeriod: AccountingPeriod): string;
|
|
314
|
+
export declare function accountingPeriodFromJSON(jsonString: string): SafeParseResult<AccountingPeriod, SDKValidationError>;
|
|
315
|
+
/** @internal */
|
|
316
|
+
export declare const ApprovedBy$inboundSchema: z.ZodType<ApprovedBy, z.ZodTypeDef, unknown>;
|
|
317
|
+
/** @internal */
|
|
318
|
+
export type ApprovedBy$Outbound = {
|
|
319
|
+
id?: string | undefined;
|
|
320
|
+
display_name?: string | null | undefined;
|
|
321
|
+
};
|
|
322
|
+
/** @internal */
|
|
323
|
+
export declare const ApprovedBy$outboundSchema: z.ZodType<ApprovedBy$Outbound, z.ZodTypeDef, ApprovedBy>;
|
|
324
|
+
export declare function approvedByToJSON(approvedBy: ApprovedBy): string;
|
|
325
|
+
export declare function approvedByFromJSON(jsonString: string): SafeParseResult<ApprovedBy, SDKValidationError>;
|
|
326
|
+
/** @internal */
|
|
327
|
+
export declare const ExpenseReport$inboundSchema: z.ZodType<ExpenseReport, z.ZodTypeDef, unknown>;
|
|
328
|
+
export declare function expenseReportFromJSON(jsonString: string): SafeParseResult<ExpenseReport, SDKValidationError>;
|
|
329
|
+
/** @internal */
|
|
330
|
+
export type ExpenseReportInput$Outbound = {
|
|
331
|
+
display_id?: string | null | undefined;
|
|
332
|
+
number?: string | null | undefined;
|
|
333
|
+
title?: string | null | undefined;
|
|
334
|
+
employee: ExpenseReportEmployee$Outbound;
|
|
335
|
+
status?: string | null | undefined;
|
|
336
|
+
transaction_date: string | null;
|
|
337
|
+
posting_date?: string | null | undefined;
|
|
338
|
+
due_date?: string | null | undefined;
|
|
339
|
+
currency?: string | null | undefined;
|
|
340
|
+
currency_rate?: number | null | undefined;
|
|
341
|
+
sub_total?: number | null | undefined;
|
|
342
|
+
total_tax?: number | null | undefined;
|
|
343
|
+
total_amount?: number | null | undefined;
|
|
344
|
+
reimbursable_amount?: number | null | undefined;
|
|
345
|
+
memo?: string | null | undefined;
|
|
346
|
+
department?: LinkedDepartmentInput$Outbound | null | undefined;
|
|
347
|
+
location?: LinkedLocationInput$Outbound | null | undefined;
|
|
348
|
+
account?: LinkedLedgerAccount$Outbound | null | undefined;
|
|
349
|
+
accounting_period?: AccountingPeriod$Outbound | null | undefined;
|
|
350
|
+
line_items: Array<ExpenseReportLineItemInput$Outbound>;
|
|
351
|
+
subsidiary?: LinkedSubsidiaryInput$Outbound | null | undefined;
|
|
352
|
+
tracking_categories?: Array<LinkedTrackingCategory$Outbound | null> | null | undefined;
|
|
353
|
+
tax_inclusive?: boolean | null | undefined;
|
|
354
|
+
approved_by?: ApprovedBy$Outbound | null | undefined;
|
|
355
|
+
custom_fields?: Array<CustomField$Outbound> | undefined;
|
|
356
|
+
row_version?: string | null | undefined;
|
|
357
|
+
pass_through?: Array<PassThroughBody$Outbound> | undefined;
|
|
358
|
+
};
|
|
359
|
+
/** @internal */
|
|
360
|
+
export declare const ExpenseReportInput$outboundSchema: z.ZodType<ExpenseReportInput$Outbound, z.ZodTypeDef, ExpenseReportInput>;
|
|
361
|
+
export declare function expenseReportInputToJSON(expenseReportInput: ExpenseReportInput): string;
|
|
362
|
+
//# sourceMappingURL=expensereport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expensereport.d.ts","sourceRoot":"","sources":["../../src/models/components/expensereport.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,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F,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAwDlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR"}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ExpenseReportInput$outboundSchema = exports.ExpenseReport$inboundSchema = exports.ApprovedBy$outboundSchema = exports.ApprovedBy$inboundSchema = exports.AccountingPeriod$outboundSchema = exports.AccountingPeriod$inboundSchema = exports.ExpenseReportStatus$outboundSchema = exports.ExpenseReportStatus$inboundSchema = exports.ExpenseReportEmployee$outboundSchema = exports.ExpenseReportEmployee$inboundSchema = exports.ExpenseReportStatus = void 0;
|
|
40
|
+
exports.expenseReportEmployeeToJSON = expenseReportEmployeeToJSON;
|
|
41
|
+
exports.expenseReportEmployeeFromJSON = expenseReportEmployeeFromJSON;
|
|
42
|
+
exports.accountingPeriodToJSON = accountingPeriodToJSON;
|
|
43
|
+
exports.accountingPeriodFromJSON = accountingPeriodFromJSON;
|
|
44
|
+
exports.approvedByToJSON = approvedByToJSON;
|
|
45
|
+
exports.approvedByFromJSON = approvedByFromJSON;
|
|
46
|
+
exports.expenseReportFromJSON = expenseReportFromJSON;
|
|
47
|
+
exports.expenseReportInputToJSON = expenseReportInputToJSON;
|
|
48
|
+
const z = __importStar(require("zod/v3"));
|
|
49
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
50
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
51
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
52
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
53
|
+
const currency_js_1 = require("./currency.js");
|
|
54
|
+
const customfield_js_1 = require("./customfield.js");
|
|
55
|
+
const expensereportlineitem_js_1 = require("./expensereportlineitem.js");
|
|
56
|
+
const expensereportlineiteminput_js_1 = require("./expensereportlineiteminput.js");
|
|
57
|
+
const linkeddepartment_js_1 = require("./linkeddepartment.js");
|
|
58
|
+
const linkeddepartmentinput_js_1 = require("./linkeddepartmentinput.js");
|
|
59
|
+
const linkedledgeraccount_js_1 = require("./linkedledgeraccount.js");
|
|
60
|
+
const linkedlocation_js_1 = require("./linkedlocation.js");
|
|
61
|
+
const linkedlocationinput_js_1 = require("./linkedlocationinput.js");
|
|
62
|
+
const linkedsubsidiary_js_1 = require("./linkedsubsidiary.js");
|
|
63
|
+
const linkedsubsidiaryinput_js_1 = require("./linkedsubsidiaryinput.js");
|
|
64
|
+
const linkedtrackingcategory_js_1 = require("./linkedtrackingcategory.js");
|
|
65
|
+
const passthroughbody_js_1 = require("./passthroughbody.js");
|
|
66
|
+
/**
|
|
67
|
+
* The status of the expense report.
|
|
68
|
+
*/
|
|
69
|
+
exports.ExpenseReportStatus = {
|
|
70
|
+
Draft: "draft",
|
|
71
|
+
Submitted: "submitted",
|
|
72
|
+
Approved: "approved",
|
|
73
|
+
Reimbursed: "reimbursed",
|
|
74
|
+
Rejected: "rejected",
|
|
75
|
+
Reversed: "reversed",
|
|
76
|
+
Voided: "voided",
|
|
77
|
+
};
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.ExpenseReportEmployee$inboundSchema = z.object({
|
|
80
|
+
id: types.optional(types.string()),
|
|
81
|
+
display_name: z.nullable(types.string()).optional(),
|
|
82
|
+
}).transform((v) => {
|
|
83
|
+
return (0, primitives_js_1.remap)(v, {
|
|
84
|
+
"display_name": "displayName",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.ExpenseReportEmployee$outboundSchema = z.object({
|
|
89
|
+
id: z.string().optional(),
|
|
90
|
+
displayName: z.nullable(z.string()).optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return (0, primitives_js_1.remap)(v, {
|
|
93
|
+
displayName: "display_name",
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
function expenseReportEmployeeToJSON(expenseReportEmployee) {
|
|
97
|
+
return JSON.stringify(exports.ExpenseReportEmployee$outboundSchema.parse(expenseReportEmployee));
|
|
98
|
+
}
|
|
99
|
+
function expenseReportEmployeeFromJSON(jsonString) {
|
|
100
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ExpenseReportEmployee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExpenseReportEmployee' from JSON`);
|
|
101
|
+
}
|
|
102
|
+
/** @internal */
|
|
103
|
+
exports.ExpenseReportStatus$inboundSchema = openEnums.inboundSchema(exports.ExpenseReportStatus);
|
|
104
|
+
/** @internal */
|
|
105
|
+
exports.ExpenseReportStatus$outboundSchema = openEnums.outboundSchema(exports.ExpenseReportStatus);
|
|
106
|
+
/** @internal */
|
|
107
|
+
exports.AccountingPeriod$inboundSchema = z.object({
|
|
108
|
+
id: types.optional(types.string()),
|
|
109
|
+
name: z.nullable(types.string()).optional(),
|
|
110
|
+
});
|
|
111
|
+
/** @internal */
|
|
112
|
+
exports.AccountingPeriod$outboundSchema = z.object({
|
|
113
|
+
id: z.string().optional(),
|
|
114
|
+
name: z.nullable(z.string()).optional(),
|
|
115
|
+
});
|
|
116
|
+
function accountingPeriodToJSON(accountingPeriod) {
|
|
117
|
+
return JSON.stringify(exports.AccountingPeriod$outboundSchema.parse(accountingPeriod));
|
|
118
|
+
}
|
|
119
|
+
function accountingPeriodFromJSON(jsonString) {
|
|
120
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountingPeriod$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountingPeriod' from JSON`);
|
|
121
|
+
}
|
|
122
|
+
/** @internal */
|
|
123
|
+
exports.ApprovedBy$inboundSchema = z.object({
|
|
124
|
+
id: types.optional(types.string()),
|
|
125
|
+
display_name: z.nullable(types.string()).optional(),
|
|
126
|
+
}).transform((v) => {
|
|
127
|
+
return (0, primitives_js_1.remap)(v, {
|
|
128
|
+
"display_name": "displayName",
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
/** @internal */
|
|
132
|
+
exports.ApprovedBy$outboundSchema = z.object({
|
|
133
|
+
id: z.string().optional(),
|
|
134
|
+
displayName: z.nullable(z.string()).optional(),
|
|
135
|
+
}).transform((v) => {
|
|
136
|
+
return (0, primitives_js_1.remap)(v, {
|
|
137
|
+
displayName: "display_name",
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
function approvedByToJSON(approvedBy) {
|
|
141
|
+
return JSON.stringify(exports.ApprovedBy$outboundSchema.parse(approvedBy));
|
|
142
|
+
}
|
|
143
|
+
function approvedByFromJSON(jsonString) {
|
|
144
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ApprovedBy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApprovedBy' from JSON`);
|
|
145
|
+
}
|
|
146
|
+
/** @internal */
|
|
147
|
+
exports.ExpenseReport$inboundSchema = z.object({
|
|
148
|
+
id: types.optional(types.string()),
|
|
149
|
+
display_id: z.nullable(types.string()).optional(),
|
|
150
|
+
number: z.nullable(types.string()).optional(),
|
|
151
|
+
title: z.nullable(types.string()).optional(),
|
|
152
|
+
employee: z.lazy(() => exports.ExpenseReportEmployee$inboundSchema),
|
|
153
|
+
status: z.nullable(exports.ExpenseReportStatus$inboundSchema).optional(),
|
|
154
|
+
transaction_date: types.nullable(types.date()),
|
|
155
|
+
posting_date: z.nullable(types.date()).optional(),
|
|
156
|
+
due_date: z.nullable(types.date()).optional(),
|
|
157
|
+
currency: z.nullable(currency_js_1.Currency$inboundSchema).optional(),
|
|
158
|
+
currency_rate: z.nullable(types.number()).optional(),
|
|
159
|
+
sub_total: z.nullable(types.number()).optional(),
|
|
160
|
+
total_tax: z.nullable(types.number()).optional(),
|
|
161
|
+
total_amount: z.nullable(types.number()).optional(),
|
|
162
|
+
reimbursable_amount: z.nullable(types.number()).optional(),
|
|
163
|
+
memo: z.nullable(types.string()).optional(),
|
|
164
|
+
department: z.nullable(linkeddepartment_js_1.LinkedDepartment$inboundSchema).optional(),
|
|
165
|
+
location: z.nullable(linkedlocation_js_1.LinkedLocation$inboundSchema).optional(),
|
|
166
|
+
account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$inboundSchema).optional(),
|
|
167
|
+
accounting_period: z.nullable(z.lazy(() => exports.AccountingPeriod$inboundSchema))
|
|
168
|
+
.optional(),
|
|
169
|
+
line_items: z.array(expensereportlineitem_js_1.ExpenseReportLineItem$inboundSchema),
|
|
170
|
+
subsidiary: z.nullable(linkedsubsidiary_js_1.LinkedSubsidiary$inboundSchema).optional(),
|
|
171
|
+
tracking_categories: z.nullable(z.array(types.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$inboundSchema))).optional(),
|
|
172
|
+
tax_inclusive: z.nullable(types.boolean()).optional(),
|
|
173
|
+
approved_by: z.nullable(z.lazy(() => exports.ApprovedBy$inboundSchema)).optional(),
|
|
174
|
+
custom_fields: types.optional(z.array(customfield_js_1.CustomField$inboundSchema)),
|
|
175
|
+
custom_mappings: z.nullable(z.record(z.any())).optional(),
|
|
176
|
+
row_version: z.nullable(types.string()).optional(),
|
|
177
|
+
updated_by: z.nullable(types.string()).optional(),
|
|
178
|
+
created_by: z.nullable(types.string()).optional(),
|
|
179
|
+
updated_at: z.nullable(types.date()).optional(),
|
|
180
|
+
created_at: z.nullable(types.date()).optional(),
|
|
181
|
+
pass_through: types.optional(z.array(passthroughbody_js_1.PassThroughBody$inboundSchema)),
|
|
182
|
+
}).transform((v) => {
|
|
183
|
+
return (0, primitives_js_1.remap)(v, {
|
|
184
|
+
"display_id": "displayId",
|
|
185
|
+
"transaction_date": "transactionDate",
|
|
186
|
+
"posting_date": "postingDate",
|
|
187
|
+
"due_date": "dueDate",
|
|
188
|
+
"currency_rate": "currencyRate",
|
|
189
|
+
"sub_total": "subTotal",
|
|
190
|
+
"total_tax": "totalTax",
|
|
191
|
+
"total_amount": "totalAmount",
|
|
192
|
+
"reimbursable_amount": "reimbursableAmount",
|
|
193
|
+
"accounting_period": "accountingPeriod",
|
|
194
|
+
"line_items": "lineItems",
|
|
195
|
+
"tracking_categories": "trackingCategories",
|
|
196
|
+
"tax_inclusive": "taxInclusive",
|
|
197
|
+
"approved_by": "approvedBy",
|
|
198
|
+
"custom_fields": "customFields",
|
|
199
|
+
"custom_mappings": "customMappings",
|
|
200
|
+
"row_version": "rowVersion",
|
|
201
|
+
"updated_by": "updatedBy",
|
|
202
|
+
"created_by": "createdBy",
|
|
203
|
+
"updated_at": "updatedAt",
|
|
204
|
+
"created_at": "createdAt",
|
|
205
|
+
"pass_through": "passThrough",
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
function expenseReportFromJSON(jsonString) {
|
|
209
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ExpenseReport$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ExpenseReport' from JSON`);
|
|
210
|
+
}
|
|
211
|
+
/** @internal */
|
|
212
|
+
exports.ExpenseReportInput$outboundSchema = z.object({
|
|
213
|
+
displayId: z.nullable(z.string()).optional(),
|
|
214
|
+
number: z.nullable(z.string()).optional(),
|
|
215
|
+
title: z.nullable(z.string()).optional(),
|
|
216
|
+
employee: z.lazy(() => exports.ExpenseReportEmployee$outboundSchema),
|
|
217
|
+
status: z.nullable(exports.ExpenseReportStatus$outboundSchema).optional(),
|
|
218
|
+
transactionDate: z.nullable(z.date().transform(v => v.toISOString())),
|
|
219
|
+
postingDate: z.nullable(z.date().transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length))).optional(),
|
|
220
|
+
dueDate: z.nullable(z.date().transform(v => v.toISOString().slice(0, "YYYY-MM-DD".length))).optional(),
|
|
221
|
+
currency: z.nullable(currency_js_1.Currency$outboundSchema).optional(),
|
|
222
|
+
currencyRate: z.nullable(z.number()).optional(),
|
|
223
|
+
subTotal: z.nullable(z.number()).optional(),
|
|
224
|
+
totalTax: z.nullable(z.number()).optional(),
|
|
225
|
+
totalAmount: z.nullable(z.number()).optional(),
|
|
226
|
+
reimbursableAmount: z.nullable(z.number()).optional(),
|
|
227
|
+
memo: z.nullable(z.string()).optional(),
|
|
228
|
+
department: z.nullable(linkeddepartmentinput_js_1.LinkedDepartmentInput$outboundSchema).optional(),
|
|
229
|
+
location: z.nullable(linkedlocationinput_js_1.LinkedLocationInput$outboundSchema).optional(),
|
|
230
|
+
account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$outboundSchema).optional(),
|
|
231
|
+
accountingPeriod: z.nullable(z.lazy(() => exports.AccountingPeriod$outboundSchema))
|
|
232
|
+
.optional(),
|
|
233
|
+
lineItems: z.array(expensereportlineiteminput_js_1.ExpenseReportLineItemInput$outboundSchema),
|
|
234
|
+
subsidiary: z.nullable(linkedsubsidiaryinput_js_1.LinkedSubsidiaryInput$outboundSchema).optional(),
|
|
235
|
+
trackingCategories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$outboundSchema))).optional(),
|
|
236
|
+
taxInclusive: z.nullable(z.boolean()).optional(),
|
|
237
|
+
approvedBy: z.nullable(z.lazy(() => exports.ApprovedBy$outboundSchema)).optional(),
|
|
238
|
+
customFields: z.array(customfield_js_1.CustomField$outboundSchema).optional(),
|
|
239
|
+
rowVersion: z.nullable(z.string()).optional(),
|
|
240
|
+
passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
|
|
241
|
+
}).transform((v) => {
|
|
242
|
+
return (0, primitives_js_1.remap)(v, {
|
|
243
|
+
displayId: "display_id",
|
|
244
|
+
transactionDate: "transaction_date",
|
|
245
|
+
postingDate: "posting_date",
|
|
246
|
+
dueDate: "due_date",
|
|
247
|
+
currencyRate: "currency_rate",
|
|
248
|
+
subTotal: "sub_total",
|
|
249
|
+
totalTax: "total_tax",
|
|
250
|
+
totalAmount: "total_amount",
|
|
251
|
+
reimbursableAmount: "reimbursable_amount",
|
|
252
|
+
accountingPeriod: "accounting_period",
|
|
253
|
+
lineItems: "line_items",
|
|
254
|
+
trackingCategories: "tracking_categories",
|
|
255
|
+
taxInclusive: "tax_inclusive",
|
|
256
|
+
approvedBy: "approved_by",
|
|
257
|
+
customFields: "custom_fields",
|
|
258
|
+
rowVersion: "row_version",
|
|
259
|
+
passThrough: "pass_through",
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
function expenseReportInputToJSON(expenseReportInput) {
|
|
263
|
+
return JSON.stringify(exports.ExpenseReportInput$outboundSchema.parse(expenseReportInput));
|
|
264
|
+
}
|
|
265
|
+
//# sourceMappingURL=expensereport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expensereport.js","sourceRoot":"","sources":["../../src/models/components/expensereport.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgYH,kEAMC;AACD,sEAQC;AAwCD,wDAMC;AACD,4DAQC;AAmCD,4CAEC;AACD,gDAQC;AAuED,sDAQC;AAkGD,4DAMC;AAzqBD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AAEnD,+CAIuB;AACvB,qDAK0B;AAC1B,yEAGoC;AACpC,mFAIyC;AACzC,+DAG+B;AAC/B,yEAIoC;AACpC,qEAKkC;AAClC,2DAG6B;AAC7B,qEAIkC;AAClC,+DAG+B;AAC/B,yEAIoC;AACpC,2EAKqC;AACrC,6DAK8B;AAgB9B;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC;AA0PX,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,YAAY,EAA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