@servicetitan/moneyout-api-client 1.41.0-beta.255 → 1.41.0-beta.256

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.
@@ -217,6 +217,16 @@ Expense row whose linked expense is not currently live (see VendorName). */
217
217
  jobId?: number | undefined;
218
218
  /** Project the linked expense is associated with, if any. Expense rows only; null for BillPayment. */
219
219
  projectId?: number | undefined;
220
+ /** Raw Job or Project number the spender entered on the linked expense (e.g. `"45"`), as
221
+ reported by the provider; Classification says which kind it is. Mirrors
222
+ `ExpenseTransactionResponse.StReferenceNumber`. Expense rows only; null for BillPayment, and
223
+ null when none was entered. */
224
+ stReferenceNumber?: string | undefined;
225
+ /** Discriminates what StReferenceNumber identifies — `"Job"` or `"Project"` —
226
+ using the same persisted stable-string values as `ExpenseTransactionResponse.Classification`.
227
+ Lets the UI flag only the one the spender entered when JobId/ProjectId
228
+ did not resolve. Expense rows only; null for BillPayment, and null when unclassified. */
229
+ classification?: string | undefined;
220
230
  /** Employee (cardholder) who made the linked expense purchase. Expense rows only; null for BillPayment. */
221
231
  employeeId?: number | undefined;
222
232
  /** Computed field: true if essential ST-related bindings are not set for the linked expense.
@@ -1 +1 @@
1
- {"version":3,"file":"card-transactions.api.d.ts","sourceRoot":"","sources":["../src/card-transactions.api.ts"],"names":[],"mappings":"AASA,OAAc,EAAsB,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAM7E,MAAM,WAAW,iBAAiB;IAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,EAAE,aA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AAG,SAAS,CAAC;CACtC;AAED,qFAAqF;AACrF,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB;IACjE,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,kDAAkD;IAClD,gBAAgB,EAAE,MAAM,CAAC;IACzB,yBAAyB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,weAAwe;AACxe,MAAM,WAAW,gCAAgC;IAC7C;;oFAEgF;IAChF,cAAc,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED,8aAA8a;AAC9a,MAAM,WAAW,uCAAuC;IACpD,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,SAAS,EAAE,oCAAoC,EAAE,CAAC;CACrD;AAED,oOAAoO;AACpO,MAAM,WAAW,oCAAoC;IACjD,+FAA+F;IAC/F,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,qMAAqM;AACrM,MAAM,WAAW,qCAAqC;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/card-transactions.api.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// <auto-generated>\n// Generated with ApiClientGenerator, using the NSwag toolchain\n// </auto-generated>\n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosRequestConfig, AxiosPromise, CancelToken } from 'axios';\nimport { injectable, inject, optional, symbolToken } from '@servicetitan/react-ioc';\nimport { makeCodedException, makeContent } from './utils';\n// @ts-ignore: needed for Date serialization if a DateTime parameter has an Unspecified attribute on it\nimport moment from 'moment';\n\nexport interface ICardTransactions {\n /**\n * List card transactions with optional filters.\n * @ids (optional) Filter by row id — the `card_transactions` parent's own id (the id every row in this\n endpoint's response carries), not the linked expense transaction's id.\n * @vendorIds (optional) Filter by vendor IDs. Matches Expense rows only; never matches BillPayment rows.\n * @jobIds (optional) Filter by job IDs. Matches Expense rows only.\n * @projectIds (optional) Filter by project IDs. Matches Expense rows only.\n * @cardholderIds (optional) Filter by cardholder directory IDs. Matches Expense rows only. An unknown, foreign, or retired\n id matches nothing (no existence check) — same behavior as Ids.\n * @purchaseOrderIds (optional) Filter by purchase order IDs. Matches Expense rows only; never matches BillPayment rows (no\n linked purchase order to compare against). An unknown, foreign, or retired id matches nothing\n (no existence check).\n * @syncStatuses (optional) Filter by sync statuses (e.g. \"Pending\", \"Posted\", \"Exported\"). Matches Expense rows only.\n * @transactionStatuses (optional) Filter by transaction statuses (e.g. \"Pending\", \"Complete\", \"Declined\"). Matches Expense rows only.\n * @receiptStatuses (optional) Filter by receipt statuses (e.g. \"Missing\", \"Attached\", \"Verified\"). Matches Expense rows only.\n * @dateFrom (optional) Filter by transaction date (inclusive start).\n * @dateTo (optional) Filter by transaction date (inclusive end).\n * @businessUnitIds (optional) Filter by business unit IDs. Matches Expense rows only.\n * @needsReview (optional) Filter by review state. Matches Expense rows only; see NeedsReview for the tri-state semantics this mirrors.\n * @searchTerm (optional) Case-insensitive substring search across the raw merchant/cardholder name (every row) and — for\n Expense rows only — vendor name, job/project number (`StReferenceNumber`), and PO number.\n Trimmed before matching; empty or whitespace-only is treated as omitted. Composes conjunctively\n with every other filter on this request.\n * @page (optional) Page number (1-based). Defaults to 1.\n * @pageSize (optional) Number of items per page. Defaults to 50.\n * @sortBy (optional) Property name to sort by (e.g. \"transactionDate\", \"total\"). Defaults to \"transactionDate\".\n * @sortDirection (optional) Sort direction: \"asc\" or \"desc\". Defaults to \"desc\".\n */\n list(tenantId: number, ids: string[] | null | undefined, vendorIds: number[] | null | undefined, jobIds: number[] | null | undefined, projectIds: number[] | null | undefined, cardholderIds: string[] | null | undefined, purchaseOrderIds: number[] | null | undefined, syncStatuses: string[] | null | undefined, transactionStatuses: string[] | null | undefined, receiptStatuses: string[] | null | undefined, dateFrom: Date | null | undefined, dateTo: Date | null | undefined, businessUnitIds: number[] | null | undefined, needsReview: boolean | null | undefined, searchTerm: string | null | undefined, page: number | undefined, pageSize: number | undefined, sortBy: string | null | undefined, sortDirection: string | null | undefined, cancelToken?: CancelToken): AxiosPromise<PagedResponseOfCardTransactionResponse>;\n /**\n * Get a card transaction by its canonical parent ID.\n */\n get(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse>;\n /**\n * Get the visible expense linked to a card transaction parent ID.\n */\n getExpense(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<ExpenseTransactionResponse>;\n /**\n * Reclassify a card transaction, keyed off the `card_transactions` PARENT id (not the expense\n child). Writes the target classification to the provider first, then mirrors locally. Every\n MOS-side refusal is a 400/404/409; a 400 carries a machine-readable `code`, so a code-less 400\n on this route is adapter-origin (ARCH-EXP-RECLASS-001, seam-reclassify-endpoint).\n */\n reclassify(tenantId: number, cardTransactionId: string, request: ReclassifyCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<void>;\n /**\n * Download a card-transaction attachment file. Card-transaction-keyed counterpart of\n DownloadAttachment — see\n ICardTransactionAttachmentService\n for why this route exists.\n */\n downloadAttachment(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void>;\n /**\n * Edit a Bill Payment card transaction's line items. Dedicated Bill-Payment-only route\n (REQ-EXP-CTDETAIL-004 AC-1) — Memo/GL/every other header field stay provider-authoritative;\n submitting a changed value 400s (see IBillPaymentCardTransactionEditService).\n */\n updateBillPayment(tenantId: number, cardTransactionId: string, request: UpdateBillPaymentCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse>;\n /**\n * Promote already-uploaded draft receipts (from the shared\n `POST expense-attachments/draft` upload) onto a Bill Payment card transaction.\n */\n promoteBillPaymentReceipts(tenantId: number, cardTransactionId: string, request: PromoteCardTransactionReceiptsRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionAttachmentResponse[]>;\n /**\n * Delete a user-uploaded receipt from a Bill Payment card transaction.\n */\n deleteBillPaymentReceipt(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void>;\n}\n\nexport const BASE_URL_TOKEN_CardTransactions = symbolToken<string>('BASE_URL_TOKEN', false);\n\n@injectable()\nexport class CardTransactions implements ICardTransactions {\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(@inject(BASE_URL_TOKEN_CardTransactions) @optional() private readonly baseUrl = \"\") {\n }\n\n /**\n * List card transactions with optional filters.\n * @ids (optional) Filter by row id — the `card_transactions` parent's own id (the id every row in this\n endpoint's response carries), not the linked expense transaction's id.\n * @vendorIds (optional) Filter by vendor IDs. Matches Expense rows only; never matches BillPayment rows.\n * @jobIds (optional) Filter by job IDs. Matches Expense rows only.\n * @projectIds (optional) Filter by project IDs. Matches Expense rows only.\n * @cardholderIds (optional) Filter by cardholder directory IDs. Matches Expense rows only. An unknown, foreign, or retired\n id matches nothing (no existence check) — same behavior as Ids.\n * @purchaseOrderIds (optional) Filter by purchase order IDs. Matches Expense rows only; never matches BillPayment rows (no\n linked purchase order to compare against). An unknown, foreign, or retired id matches nothing\n (no existence check).\n * @syncStatuses (optional) Filter by sync statuses (e.g. \"Pending\", \"Posted\", \"Exported\"). Matches Expense rows only.\n * @transactionStatuses (optional) Filter by transaction statuses (e.g. \"Pending\", \"Complete\", \"Declined\"). Matches Expense rows only.\n * @receiptStatuses (optional) Filter by receipt statuses (e.g. \"Missing\", \"Attached\", \"Verified\"). Matches Expense rows only.\n * @dateFrom (optional) Filter by transaction date (inclusive start).\n * @dateTo (optional) Filter by transaction date (inclusive end).\n * @businessUnitIds (optional) Filter by business unit IDs. Matches Expense rows only.\n * @needsReview (optional) Filter by review state. Matches Expense rows only; see NeedsReview for the tri-state semantics this mirrors.\n * @searchTerm (optional) Case-insensitive substring search across the raw merchant/cardholder name (every row) and — for\n Expense rows only — vendor name, job/project number (`StReferenceNumber`), and PO number.\n Trimmed before matching; empty or whitespace-only is treated as omitted. Composes conjunctively\n with every other filter on this request.\n * @page (optional) Page number (1-based). Defaults to 1.\n * @pageSize (optional) Number of items per page. Defaults to 50.\n * @sortBy (optional) Property name to sort by (e.g. \"transactionDate\", \"total\"). Defaults to \"transactionDate\".\n * @sortDirection (optional) Sort direction: \"asc\" or \"desc\". Defaults to \"desc\".\n */\n list(tenantId: number, ids: string[] | null | undefined, vendorIds: number[] | null | undefined, jobIds: number[] | null | undefined, projectIds: number[] | null | undefined, cardholderIds: string[] | null | undefined, purchaseOrderIds: number[] | null | undefined, syncStatuses: string[] | null | undefined, transactionStatuses: string[] | null | undefined, receiptStatuses: string[] | null | undefined, dateFrom: Date | null | undefined, dateTo: Date | null | undefined, businessUnitIds: number[] | null | undefined, needsReview: boolean | null | undefined, searchTerm: string | null | undefined, page: number | undefined, pageSize: number | undefined, sortBy: string | null | undefined, sortDirection: string | null | undefined, cancelToken?: CancelToken): AxiosPromise<PagedResponseOfCardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions?\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (ids !== undefined && ids !== null)\n ids && ids.forEach(item => { url_ += \"ids=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (vendorIds !== undefined && vendorIds !== null)\n vendorIds && vendorIds.forEach(item => { url_ += \"vendorIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (jobIds !== undefined && jobIds !== null)\n jobIds && jobIds.forEach(item => { url_ += \"jobIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (projectIds !== undefined && projectIds !== null)\n projectIds && projectIds.forEach(item => { url_ += \"projectIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (cardholderIds !== undefined && cardholderIds !== null)\n cardholderIds && cardholderIds.forEach(item => { url_ += \"cardholderIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (purchaseOrderIds !== undefined && purchaseOrderIds !== null)\n purchaseOrderIds && purchaseOrderIds.forEach(item => { url_ += \"purchaseOrderIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (syncStatuses !== undefined && syncStatuses !== null)\n syncStatuses && syncStatuses.forEach(item => { url_ += \"syncStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (transactionStatuses !== undefined && transactionStatuses !== null)\n transactionStatuses && transactionStatuses.forEach(item => { url_ += \"transactionStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (receiptStatuses !== undefined && receiptStatuses !== null)\n receiptStatuses && receiptStatuses.forEach(item => { url_ += \"receiptStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (dateFrom !== undefined && dateFrom !== null)\n url_ += \"dateFrom=\" + encodeURIComponent(dateFrom ? \"\" + dateFrom.toJSON() : \"\") + \"&\";\n if (dateTo !== undefined && dateTo !== null)\n url_ += \"dateTo=\" + encodeURIComponent(dateTo ? \"\" + dateTo.toJSON() : \"\") + \"&\";\n if (businessUnitIds !== undefined && businessUnitIds !== null)\n businessUnitIds && businessUnitIds.forEach(item => { url_ += \"businessUnitIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (needsReview !== undefined && needsReview !== null)\n url_ += \"needsReview=\" + encodeURIComponent(\"\" + needsReview) + \"&\";\n if (searchTerm !== undefined && searchTerm !== null)\n url_ += \"searchTerm=\" + encodeURIComponent(\"\" + searchTerm) + \"&\";\n if (page === null)\n throw new Error(\"The parameter 'page' cannot be null.\");\n else if (page !== undefined)\n url_ += \"page=\" + encodeURIComponent(\"\" + page) + \"&\";\n if (pageSize === null)\n throw new Error(\"The parameter 'pageSize' cannot be null.\");\n else if (pageSize !== undefined)\n url_ += \"pageSize=\" + encodeURIComponent(\"\" + pageSize) + \"&\";\n if (sortBy !== undefined && sortBy !== null)\n url_ += \"sortBy=\" + encodeURIComponent(\"\" + sortBy) + \"&\";\n if (sortDirection !== undefined && sortDirection !== null)\n url_ += \"sortDirection=\" + encodeURIComponent(\"\" + sortDirection) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<PagedResponseOfCardTransactionResponse>(options_));\n }\n\n /**\n * Get a card transaction by its canonical parent ID.\n */\n get(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionResponse>(options_));\n }\n\n /**\n * Get the visible expense linked to a card transaction parent ID.\n */\n getExpense(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<ExpenseTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/expense\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<ExpenseTransactionResponse>(options_));\n }\n\n /**\n * Reclassify a card transaction, keyed off the `card_transactions` PARENT id (not the expense\n child). Writes the target classification to the provider first, then mirrors locally. Every\n MOS-side refusal is a 400/404/409; a 400 carries a machine-readable `code`, so a code-less 400\n on this route is adapter-origin (ARCH-EXP-RECLASS-001, seam-reclassify-endpoint).\n */\n reclassify(tenantId: number, cardTransactionId: string, request: ReclassifyCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/classification\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n\n /**\n * Download a card-transaction attachment file. Card-transaction-keyed counterpart of\n DownloadAttachment — see\n ICardTransactionAttachmentService\n for why this route exists.\n */\n downloadAttachment(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/attachments/{attachmentId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n if (attachmentId === undefined || attachmentId === null)\n throw new Error(\"The parameter 'attachmentId' must be defined.\");\n url_ = url_.replace(\"{attachmentId}\", encodeURIComponent(\"\" + attachmentId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n\n /**\n * Edit a Bill Payment card transaction's line items. Dedicated Bill-Payment-only route\n (REQ-EXP-CTDETAIL-004 AC-1) — Memo/GL/every other header field stay provider-authoritative;\n submitting a changed value 400s (see IBillPaymentCardTransactionEditService).\n */\n updateBillPayment(tenantId: number, cardTransactionId: string, request: UpdateBillPaymentCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionResponse>(options_));\n }\n\n /**\n * Promote already-uploaded draft receipts (from the shared\n `POST expense-attachments/draft` upload) onto a Bill Payment card transaction.\n */\n promoteBillPaymentReceipts(tenantId: number, cardTransactionId: string, request: PromoteCardTransactionReceiptsRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionAttachmentResponse[]> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment/receipts/promote\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionAttachmentResponse[]>(options_));\n }\n\n /**\n * Delete a user-uploaded receipt from a Bill Payment card transaction.\n */\n deleteBillPaymentReceipt(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment/receipts/{attachmentId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n if (attachmentId === undefined || attachmentId === null)\n throw new Error(\"The parameter 'attachmentId' must be defined.\");\n url_ = url_.replace(\"{attachmentId}\", encodeURIComponent(\"\" + attachmentId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"DELETE\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n}\n\n/** Generic paged response wrapper with total count for pagination support. */\nexport interface PagedResponseOfCardTransactionResponse {\n /** Data collection */\n data: CardTransactionResponse[];\n /** Current page number */\n page: number;\n /** Page size */\n pageSize: number;\n /** Total count of items (null if pagination not required) */\n totalCount?: number | undefined;\n /** Whether there are more pages */\n hasMore: boolean;\n}\n\nexport interface BaseEntityApiModel {\n id: string;\n createdOn: Date;\n modifiedOn: Date;\n}\n\n/** Response row for `GET /v1/tenant/{tenantId}/card-transactions`. `Id` (from BaseEntityApiModel) is the `card_transactions` parent row's own id. Returns both `Expense`- and `BillPayment`-typed rows (phase 4). */\nexport interface CardTransactionResponse extends BaseEntityApiModel {\n /** Tenant that owns this row. */\n tenantId: number;\n /** Discriminates Expense vs BillPayment. Non-nullable — every row carries a definite type, driven\nby ingest-time classification (never inferred). String wire convention matches\n`ExpenseTransactionResponse.TransactionStatus`/`SyncStatus`. */\n transactionType: string;\n /** Merchant name as reported by the external card provider, verbatim (parent-level, present on\nboth types). Independent of VendorName — never overwrites and is never overwritten\nby it. */\n externalMerchantName?: string | undefined;\n /** Resolved ServiceTitan vendor name (Expense rows only; null for BillPayment, and null when the\nExpense row's vendor does not resolve against the tenant's `Vendors` mirror — never coerced\nto ExternalMerchantName in that case). */\n vendorName?: string | undefined;\n /** The date the transaction occurred (from card statement). */\n transactionDate?: Date | undefined;\n /** Transaction total as reported by the provider. */\n total: number;\n /** Identifier from the external card provider. */\n externalId?: string | undefined;\n /** Name of the external provider (e.g. \"Ramp\"). */\n externalSource?: string | undefined;\n /** Cardholder display name as reported by the provider, verbatim. */\n cardholderName?: string | undefined;\n /** Cardholder email as reported by the provider, verbatim. */\n cardholderEmail?: string | undefined;\n /** Last 4 digits of the card number. */\n cardNumberLast4?: string | undefined;\n /** Card identifier from the external provider. */\n externalCardId?: string | undefined;\n /** Physical vs virtual card (\"Physical\", \"Virtual\"), as reported by the provider. Null when unknown\n(manual entries, historical rows predating this field, or a NotSet/unrecognized provider value). */\n cardType?: string | undefined;\n /** Human-readable merchant category (e.g. \"Supermarkets and grocery stores\"). */\n merchantCategory?: string | undefined;\n /** Numeric ISO 18245 Merchant Category Code (MCC), e.g. \"5411\". */\n merchantCategoryCode?: string | undefined;\n /** ISO description paired with the MCC, e.g. \"Grocery Stores, Supermarkets\". */\n merchantCategoryCodeDescription?: string | undefined;\n /** Raw bank-statement descriptor for the charge. */\n merchantDescriptor?: string | undefined;\n /** City of the merchant (card acceptor) location reported by the provider. */\n merchantLocationCity?: string | undefined;\n /** State/region of the merchant (card acceptor) location reported by the provider. */\n merchantLocationState?: string | undefined;\n /** Postal/ZIP code of the merchant (card acceptor) location reported by the provider. */\n merchantLocationPostalCode?: string | undefined;\n /** Country of the merchant (card acceptor) location reported by the provider. */\n merchantLocationCountry?: string | undefined;\n /** Vendor where the expense was incurred. Expense rows only; null for BillPayment and for an\nExpense row whose linked expense is not currently live (see VendorName). */\n vendorId?: number | undefined;\n /** Business unit the linked expense is charged to. Expense rows only; null for BillPayment. */\n businessUnitId?: number | undefined;\n /** Job the linked expense is associated with, if any. Expense rows only; null for BillPayment. */\n jobId?: number | undefined;\n /** Project the linked expense is associated with, if any. Expense rows only; null for BillPayment. */\n projectId?: number | undefined;\n /** Employee (cardholder) who made the linked expense purchase. Expense rows only; null for BillPayment. */\n employeeId?: number | undefined;\n /** Computed field: true if essential ST-related bindings are not set for the linked expense.\nExpense rows only; null for BillPayment. */\n needsReview?: boolean | undefined;\n /** Merchant processing status of the linked expense (e.g. Pending, Complete, Error, Declined). Expense rows only; null for BillPayment. */\n transactionStatus?: string | undefined;\n /** Status of receipt documentation for the linked expense (e.g. Pending, Received). Expense rows only; null for BillPayment. */\n receiptStatus?: string | undefined;\n /** Accounting sync/export status of the linked expense (e.g. Pending, Posted, Exported). Expense rows only; null for BillPayment. */\n syncStatus?: string | undefined;\n /** True when the linked expense is a refund/reversal rather than a charge. Expense rows only; null for BillPayment. */\n isRefund?: boolean | undefined;\n /** Tax portion of the total, mirroring `ExpenseTransactionResponse.Tax`. Placeholder field:\ncurrently always null pending Level-3 provider data wiring (deferred to a follow-up ticket). */\n tax?: number | undefined;\n /** Shipping portion of the total, mirroring `ExpenseTransactionResponse.Shipping`. Placeholder\nfield: currently always null pending Level-3 provider data wiring (deferred to a follow-up ticket). */\n shipping?: number | undefined;\n /** Free-text memo/notes. Mirrors `ExpenseTransactionResponse.Summary`. */\n memo?: string | undefined;\n /** Default debit general ledger account for the transaction. */\n debitAccountId?: number | undefined;\n /** GL account identifier the provider coded on the transaction header, when supplied. */\n externalGlAccountId?: string | undefined;\n /** Human-readable GL account name the provider coded on the transaction header, when supplied. */\n externalGlAccountName?: string | undefined;\n /** True when DebitAccountId was assigned via the safe-degrade fallback rather than a\nconfident binding — folded into NeedsReview on MOS; surfaced so the UI can warn that\nthe GL account needs correcting. Expense rows only; null for BillPayment. */\n debitGlFallbackApplied?: boolean | undefined;\n /** Line items on the shared card-transaction detail store. Empty when none. */\n lines: CardTransactionLineResponse[];\n /** Receipt attachments on the shared card-transaction detail store. Empty when none. */\n attachments: CardTransactionAttachmentResponse[];\n}\n\n/** A line item on the shared card-transaction detail store, common to both an Expense and a BillPayment card transaction. Carries only the provider-agnostic line fields (Description/Amount/Quantity/UnitPrice) — the per-line ST-resolution overrides (GL account, job, project, business unit, budget code, project labels) are expense-specific and stay on `ExpenseTransactionLineItemResponse`, so a BillPayment never carries them. */\nexport interface CardTransactionLineResponse extends BaseEntityApiModel {\n /** Description of the line item. */\n description: string;\n /** Total dollar amount for this line item (Quantity × UnitPrice). */\n amount: number;\n /** Number of units purchased. */\n quantity: number;\n /** Dollar amount per unit. */\n unitPrice: number;\n}\n\n/** Metadata for a receipt/attachment on the shared card-transaction detail store (not the file itself). Mirrors the field set of `ExpenseAttachmentResponse` so a BillPayment renders receipts in the same shape as an Expense. File content lives in Azure Blob Storage. */\nexport interface CardTransactionAttachmentResponse extends BaseEntityApiModel {\n /** Sanitized file name for display and download. */\n filename: string;\n /** Original file name as uploaded by the user. */\n originalFilename: string;\n /** MIME content type. */\n contentType: string;\n /** File size in bytes. */\n fileSize: number;\n}\n\nexport interface ExpenseTransactionResponse extends BaseEntityApiModel {\n /** Tenant that owns this expense. */\n tenantId: number;\n /** Canonical card transaction ID used by Card Transactions page routes. */\n cardTransactionId?: string | undefined;\n /** Tenant-scoped expense transaction display number. */\n number: string;\n /** Free-text summary or notes for the expense. */\n summary?: string | undefined;\n /** The date the transaction occurred (from card statement). */\n transactionDate?: Date | undefined;\n /** Computed total: sum of line item amounts + tax + shipping. Negative for refunds. */\n total: number;\n /** True when this transaction is a refund/reversal rather than a charge. */\n isRefund: boolean;\n /** Provider id of the parent charge this refund reverses; null otherwise. */\n parentExternalId?: string | undefined;\n /** Internal MOS ExpenseId of the parent charge this refund reverses, when known; null otherwise. */\n parentExpenseId?: string | undefined;\n /** IDs of refund transactions that reference this expense as their parent.\nPopulated on GET-by-id only; null on list responses. Empty list when no refunds exist. */\n refundExpenseIds?: string[] | undefined;\n /** Tax portion of the total. */\n tax: number;\n /** Shipping portion of the total. */\n shipping: number;\n /** Vendor where the expense was incurred. */\n vendorId: number;\n /** True when VendorId was bound via an explicit merchant→vendor mapping rather than an\nexact-name match, a default vendor, or left unbound. Lets the UI show \"Mapped to {vendor}\" beneath\nthe raw merchant name. Reflects the source stamped at ingest, so it stays correct after a remap. */\n vendorBoundByMapping: boolean;\n /** Business unit this expense is charged to. */\n businessUnitId?: number | undefined;\n /** Job this expense is associated with, if any. */\n jobId?: number | undefined;\n /** Project this expense is associated with, if any. */\n projectId?: number | undefined;\n /** Purchase order linked to this expense for two-way matching. */\n purchaseOrderId?: number | undefined;\n /** Employee (cardholder) who made the purchase. */\n employeeId?: number | undefined;\n /** Discriminates whether EmployeeId refers to an employee or a technician.\nNon-nullable: a persisted null normalizes to Employee. */\n spenderType: ExpenseSpenderType;\n /** Credit card GL account (Liability:Credit Card) this expense was charged to. */\n creditCardAccountId?: number | undefined;\n /** Merchant processing status (e.g. Pending, Complete, Error, Declined). */\n transactionStatus: string;\n /** Provider-supplied context for the transaction status — e.g. decline reason, error message, or status-specific note. */\n transactionStatusDetails?: string | undefined;\n /** Computed field: true if essential ST-related bindings are not set for the transaction (such as VendorId, cardholder, etc). */\n needsReview: boolean;\n /** MOS-owned export-readiness headline (e.g. Pending, ReadyForExport, Exported). Composed by\nExpenseStatusRules; folds in NeedsReview and ProviderRequirementsMet. */\n expenseStatus: string;\n /** Whether the upstream card provider considers this transaction's requirements met and approved.\nTri-state: null = provider has not yet determined (never coerced to false). Distinct from\nNeedsReview, which reflects ServiceTitan binding gaps rather than provider sign-off. */\n providerRequirementsMet?: boolean | undefined;\n /** Status of receipt documentation (e.g. Pending, Received). */\n receiptStatus: string;\n /** Last 4 digits of the card number. */\n cardNumberLast4?: string | undefined;\n /** Accounting sync/export status (e.g. Pending, Posted, Exported). */\n syncStatus: string;\n /** Batch this expense was posted in, if any. */\n batchId?: number | undefined;\n /** Identifier from the external expense provider (e.g. Ramp transaction ID). */\n externalId?: string | undefined;\n /** Name of the external provider (e.g. \"Ramp\"). */\n externalSource?: string | undefined;\n /** Card identifier from the external provider (e.g. Ramp card_id). */\n externalCardId?: string | undefined;\n /** Human-readable merchant category (e.g. \"Supermarkets and grocery stores\").\nProvider-supplied for card-sourced expenses (e.g. Ramp's `sk_category_name`); free-text for manual entries. */\n merchantCategory?: string | undefined;\n /** Default debit GL account for the expense. Line items may override with their own GeneralLedgerAccountId. */\n debitAccountId?: number | undefined;\n /** Default budget code for the expense. Line items may override with their own BudgetCodeId. */\n budgetCodeId?: number | undefined;\n /** True when the debit GL account was assigned via the safe-degrade fallback (the tenant's\nUncategorized account) rather than a confident binding. Mirrors the persisted\nExpenseTransaction.DebitGlFallbackApplied and is folded into NeedsReview; surfaced so the UI\ncan warn that the GL account needs correcting. */\n debitGlFallbackApplied: boolean;\n /** True when this expense transaction originated in ServiceTitan (as opposed to being sourced\nentirely from an external provider). Tri-state: null means unknown/not set. */\n isStExpense?: boolean | undefined;\n /** ServiceTitan-internal reference number for this expense, when it originated in ST. Null for\nprovider-sourced transactions. A blank value on an ST expense is folded into NeedsReview;\nsurfaced so the UI can explain the review reason. */\n stReferenceNumber?: string | undefined;\n /** Discriminates what StReferenceNumber identifies: `\"Job\"`, `\"Project\"`,\n`\"NotStExpense\"`, or `\"BillPayment\"`. Mirrors the persisted domain\n`ExpenseTransaction.Classification` stable-string convention (ARCH-EXP-CLS-001) — same\nvalues as Classification. Null\nwhen unclassified. */\n classification?: string | undefined;\n /** Denormalized project label(s) for display/export. */\n projectLabels?: string | undefined;\n /** Provider-reported (external) values, captured verbatim before ServiceTitan resolution. Surfaced\nso a \"needs review\" expense whose merchant/cardholder did not resolve to a ServiceTitan\nvendor/employee can show what the provider sent. Null when no provider details are recorded. */\n externalDetails?: ExpenseTransactionExternalDetailsResponse;\n /** Line items with expense GL accounts. */\n lineItems: ExpenseTransactionLineItemResponse[];\n /** Receipt attachments. File content is in Azure Blob Storage; these are metadata records. */\n attachments: ExpenseAttachmentResponse[];\n}\n\n/** Discriminates who an expense's spender-identity columns (`EmployeeId`/`EmployeeName`) refer to — the same monolith employee/technician id space that ExpenseTransaction has always stored, now disambiguated so name resolution can route to the right Public API surface. Employee = 0 / Technician = 1 are wire values, pinned because three repos decode them positionally — MOS, the monolith, and any future consumer of the outbound event. Renumbering or reordering the members is a breaking change caught only by ExpenseSpenderTypeContractTests (UNIT-105). Declare new members with an explicit value, at the end, never renumbering an existing one. null on the entity's SpenderType column reads as — which is exactly why Employee = 0 must stay pinned at zero: every pre-existing row and every pre-upgrade event has no value here, and the absent-means-Employee default depends on zero being that value. Realigning to match the monolith's ordering would trade a mappable hazard for a silent data-wide default inversion. Never cast to or from a monolith EmployeeType. The monolith declares 15 same-named EmployeeType enums, and Model/Timesheets/EmployeeType is the mirror image of this one (Technician = 0, Employee = 1). An (int) bridge compiles cleanly and silently inverts the tag, mistagging a financial record with no error anywhere. Map member-by-member, by name, if a bridge is ever needed. */\nexport enum ExpenseSpenderType {\n Employee = 0,\n Technician = 1,\n}\n\n/** Provider-reported (external) values for an expense transaction, captured verbatim as the card provider sent them. Present so a \"needs review\" expense whose merchant/cardholder did not resolve to a ServiceTitan vendor/employee can surface what the provider sent (with a not-found-in-ServiceTitan indicator) instead of a blank. Null when no provider details are recorded. */\nexport interface ExpenseTransactionExternalDetailsResponse {\n /** Merchant name as reported by the provider. */\n merchantName?: string | undefined;\n /** Cardholder display name as reported by the provider. */\n cardholderName?: string | undefined;\n /** Cardholder email as reported by the provider. */\n cardholderEmail?: string | undefined;\n /** Provider's own identifier for the cardholder. */\n cardholderUserId?: string | undefined;\n /** Human-readable GL account name the provider coded on the transaction header. */\n glAccountName?: string | undefined;\n /** GL account identifier the provider coded on the transaction header. */\n glAccountId?: string | undefined;\n}\n\nexport interface ExpenseTransactionLineItemResponse extends BaseEntityApiModel {\n /** Description of the line item. */\n description: string;\n /** Total dollar amount for this line item (Quantity × UnitPrice). */\n amount: number;\n /** Number of units purchased. */\n quantity: number;\n /** Dollar amount per unit. */\n unitPrice: number;\n /** Optional debit GL account override at the line level (defaults to header DebitAccountId if null). */\n generalLedgerAccountId?: number | undefined;\n /** Optional job override at the line level (defaults to header job if null). */\n jobId?: number | undefined;\n /** Optional project override at the line level (defaults to header project if null). */\n projectId?: number | undefined;\n /** Optional business unit override at the line level (defaults to header BU if null). */\n businessUnitId?: number | undefined;\n /** Optional budget code override at the line level (defaults to header BudgetCodeId if null). */\n budgetCodeId?: number | undefined;\n /** Denormalized project label for this line item. */\n projectLabels?: string | undefined;\n}\n\n/** Metadata information for an expense attachment (receipt). Not the actual file. */\nexport interface ExpenseAttachmentResponse extends BaseEntityApiModel {\n /** Sanitized file name for display and download. */\n filename: string;\n /** Original file name as uploaded by the user. */\n originalFilename: string;\n /** MIME content type. */\n contentType: string;\n /** File size in bytes. */\n fileSize: number;\n}\n\n/** Body of `PATCH /v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/classification`. Classification is a string parsed at the boundary (an unknown/out-of-enum value is a coded 400, not a bind failure), so the request contract is final across all phases — every named classification is a valid target from phase 1, even when its local behaviour lands in a later phase. JobNumber/ProjectNumber name the target for a Job/Project reclassify and are unused for the other targets. */\nexport interface ReclassifyCardTransactionRequest {\n /** The target classification: `NotStExpense`, `Job`, `Project`, `NotSet`, or\n`BillPayment`. Parsed by `ExpenseInputValidator.ParseReclassificationTarget`; a malformed\nor out-of-enum value is refused as a 400 with `code: unsupported_classification`. */\n classification: string;\n /** The job reference number, for a `Job` target. Ignored for other targets. */\n jobNumber?: string | undefined;\n /** The project reference number, for a `Project` target. Ignored for other targets. */\n projectNumber?: string | undefined;\n}\n\n/** Body for `PUT /v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment`. Only LineItems is actually editable. Memo/ExternalGlAccountId/ ExternalGlAccountName are accepted so a well-behaved caller can echo the current header back unchanged (same shape convention as `UpdateExpenseTransactionRequest`'s locked partner fields); submitting a different value is rejected — see the endpoint's partner-field guard. */\nexport interface UpdateBillPaymentCardTransactionRequest {\n memo?: string | undefined;\n externalGlAccountId?: string | undefined;\n externalGlAccountName?: string | undefined;\n lineItems: UpdateCardTransactionLineItemRequest[];\n}\n\n/** One line item in a Bill Payment card-transaction edit. Narrower than `UpdateExpenseTransactionLineItemRequest` — a card transaction line carries no GL/job/project/BU override, matching CardTransactionLineResponse's shape. */\nexport interface UpdateCardTransactionLineItemRequest {\n /** Reuse an existing line's id to update it; omit (or supply a fresh id) to add a new line. */\n id?: string | undefined;\n description: string;\n quantity: number;\n unitPrice: number;\n}\n\n/** Body for the card-transaction receipt promote endpoint: draft tokens previously returned from `POST /v1/tenant/{tenantId}/expense-attachments/draft`, to be attached to this card transaction. */\nexport interface PromoteCardTransactionReceiptsRequest {\n tokens: string[];\n}\n"],"names":["axios","injectable","inject","optional","symbolToken","makeCodedException","BASE_URL_TOKEN_CardTransactions","CardTransactions","list","tenantId","ids","vendorIds","jobIds","projectIds","cardholderIds","purchaseOrderIds","syncStatuses","transactionStatuses","receiptStatuses","dateFrom","dateTo","businessUnitIds","needsReview","searchTerm","page","pageSize","sortBy","sortDirection","cancelToken","url_","undefined","Error","replace","encodeURIComponent","forEach","item","toJSON","options_","baseURL","baseUrl","url","method","headers","request","get","cardTransactionId","getExpense","reclassify","content_","data","downloadAttachment","attachmentId","updateBillPayment","promoteBillPaymentReceipts","deleteBillPaymentReceipt","jsonParseReviver","ExpenseSpenderType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB,GAClB,kBAAkB,GAClB,wBAAwB;AACxB,mBAAmB;AACnB,mEAAmE;AACnE,oBAAoB;AACpB,wBAAwB;AACxB,uCAAuC;AAEvC,OAAOA,WAA8D,QAAQ;AAC7E,SAASC,UAAU,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,WAAW,QAAQ,0BAA0B;AACpF,SAASC,kBAAkB,QAAqB,UAAU;AAyE1D,OAAO,MAAMC,kCAAkCF,YAAoB,kBAAkB,OAAO;AAG5F,OAAO,MAAMG;IAMT;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BC,GACDC,KAAKC,QAAgB,EAAEC,GAAgC,EAAEC,SAAsC,EAAEC,MAA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slint-disable */\n//----------------------\n// <auto-generated>\n// Generated with ApiClientGenerator, using the NSwag toolchain\n// </auto-generated>\n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosRequestConfig, AxiosPromise, CancelToken } from 'axios';\nimport { injectable, inject, optional, symbolToken } from '@servicetitan/react-ioc';\nimport { makeCodedException, makeContent } from './utils';\n// @ts-ignore: needed for Date serialization if a DateTime parameter has an Unspecified attribute on it\nimport moment from 'moment';\n\nexport interface ICardTransactions {\n /**\n * List card transactions with optional filters.\n * @ids (optional) Filter by row id — the `card_transactions` parent's own id (the id every row in this\n endpoint's response carries), not the linked expense transaction's id.\n * @vendorIds (optional) Filter by vendor IDs. Matches Expense rows only; never matches BillPayment rows.\n * @jobIds (optional) Filter by job IDs. Matches Expense rows only.\n * @projectIds (optional) Filter by project IDs. Matches Expense rows only.\n * @cardholderIds (optional) Filter by cardholder directory IDs. Matches Expense rows only. An unknown, foreign, or retired\n id matches nothing (no existence check) — same behavior as Ids.\n * @purchaseOrderIds (optional) Filter by purchase order IDs. Matches Expense rows only; never matches BillPayment rows (no\n linked purchase order to compare against). An unknown, foreign, or retired id matches nothing\n (no existence check).\n * @syncStatuses (optional) Filter by sync statuses (e.g. \"Pending\", \"Posted\", \"Exported\"). Matches Expense rows only.\n * @transactionStatuses (optional) Filter by transaction statuses (e.g. \"Pending\", \"Complete\", \"Declined\"). Matches Expense rows only.\n * @receiptStatuses (optional) Filter by receipt statuses (e.g. \"Missing\", \"Attached\", \"Verified\"). Matches Expense rows only.\n * @dateFrom (optional) Filter by transaction date (inclusive start).\n * @dateTo (optional) Filter by transaction date (inclusive end).\n * @businessUnitIds (optional) Filter by business unit IDs. Matches Expense rows only.\n * @needsReview (optional) Filter by review state. Matches Expense rows only; see NeedsReview for the tri-state semantics this mirrors.\n * @searchTerm (optional) Case-insensitive substring search across the raw merchant/cardholder name (every row) and — for\n Expense rows only — vendor name, job/project number (`StReferenceNumber`), and PO number.\n Trimmed before matching; empty or whitespace-only is treated as omitted. Composes conjunctively\n with every other filter on this request.\n * @page (optional) Page number (1-based). Defaults to 1.\n * @pageSize (optional) Number of items per page. Defaults to 50.\n * @sortBy (optional) Property name to sort by (e.g. \"transactionDate\", \"total\"). Defaults to \"transactionDate\".\n * @sortDirection (optional) Sort direction: \"asc\" or \"desc\". Defaults to \"desc\".\n */\n list(tenantId: number, ids: string[] | null | undefined, vendorIds: number[] | null | undefined, jobIds: number[] | null | undefined, projectIds: number[] | null | undefined, cardholderIds: string[] | null | undefined, purchaseOrderIds: number[] | null | undefined, syncStatuses: string[] | null | undefined, transactionStatuses: string[] | null | undefined, receiptStatuses: string[] | null | undefined, dateFrom: Date | null | undefined, dateTo: Date | null | undefined, businessUnitIds: number[] | null | undefined, needsReview: boolean | null | undefined, searchTerm: string | null | undefined, page: number | undefined, pageSize: number | undefined, sortBy: string | null | undefined, sortDirection: string | null | undefined, cancelToken?: CancelToken): AxiosPromise<PagedResponseOfCardTransactionResponse>;\n /**\n * Get a card transaction by its canonical parent ID.\n */\n get(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse>;\n /**\n * Get the visible expense linked to a card transaction parent ID.\n */\n getExpense(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<ExpenseTransactionResponse>;\n /**\n * Reclassify a card transaction, keyed off the `card_transactions` PARENT id (not the expense\n child). Writes the target classification to the provider first, then mirrors locally. Every\n MOS-side refusal is a 400/404/409; a 400 carries a machine-readable `code`, so a code-less 400\n on this route is adapter-origin (ARCH-EXP-RECLASS-001, seam-reclassify-endpoint).\n */\n reclassify(tenantId: number, cardTransactionId: string, request: ReclassifyCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<void>;\n /**\n * Download a card-transaction attachment file. Card-transaction-keyed counterpart of\n DownloadAttachment — see\n ICardTransactionAttachmentService\n for why this route exists.\n */\n downloadAttachment(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void>;\n /**\n * Edit a Bill Payment card transaction's line items. Dedicated Bill-Payment-only route\n (REQ-EXP-CTDETAIL-004 AC-1) — Memo/GL/every other header field stay provider-authoritative;\n submitting a changed value 400s (see IBillPaymentCardTransactionEditService).\n */\n updateBillPayment(tenantId: number, cardTransactionId: string, request: UpdateBillPaymentCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse>;\n /**\n * Promote already-uploaded draft receipts (from the shared\n `POST expense-attachments/draft` upload) onto a Bill Payment card transaction.\n */\n promoteBillPaymentReceipts(tenantId: number, cardTransactionId: string, request: PromoteCardTransactionReceiptsRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionAttachmentResponse[]>;\n /**\n * Delete a user-uploaded receipt from a Bill Payment card transaction.\n */\n deleteBillPaymentReceipt(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void>;\n}\n\nexport const BASE_URL_TOKEN_CardTransactions = symbolToken<string>('BASE_URL_TOKEN', false);\n\n@injectable()\nexport class CardTransactions implements ICardTransactions {\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(@inject(BASE_URL_TOKEN_CardTransactions) @optional() private readonly baseUrl = \"\") {\n }\n\n /**\n * List card transactions with optional filters.\n * @ids (optional) Filter by row id — the `card_transactions` parent's own id (the id every row in this\n endpoint's response carries), not the linked expense transaction's id.\n * @vendorIds (optional) Filter by vendor IDs. Matches Expense rows only; never matches BillPayment rows.\n * @jobIds (optional) Filter by job IDs. Matches Expense rows only.\n * @projectIds (optional) Filter by project IDs. Matches Expense rows only.\n * @cardholderIds (optional) Filter by cardholder directory IDs. Matches Expense rows only. An unknown, foreign, or retired\n id matches nothing (no existence check) — same behavior as Ids.\n * @purchaseOrderIds (optional) Filter by purchase order IDs. Matches Expense rows only; never matches BillPayment rows (no\n linked purchase order to compare against). An unknown, foreign, or retired id matches nothing\n (no existence check).\n * @syncStatuses (optional) Filter by sync statuses (e.g. \"Pending\", \"Posted\", \"Exported\"). Matches Expense rows only.\n * @transactionStatuses (optional) Filter by transaction statuses (e.g. \"Pending\", \"Complete\", \"Declined\"). Matches Expense rows only.\n * @receiptStatuses (optional) Filter by receipt statuses (e.g. \"Missing\", \"Attached\", \"Verified\"). Matches Expense rows only.\n * @dateFrom (optional) Filter by transaction date (inclusive start).\n * @dateTo (optional) Filter by transaction date (inclusive end).\n * @businessUnitIds (optional) Filter by business unit IDs. Matches Expense rows only.\n * @needsReview (optional) Filter by review state. Matches Expense rows only; see NeedsReview for the tri-state semantics this mirrors.\n * @searchTerm (optional) Case-insensitive substring search across the raw merchant/cardholder name (every row) and — for\n Expense rows only — vendor name, job/project number (`StReferenceNumber`), and PO number.\n Trimmed before matching; empty or whitespace-only is treated as omitted. Composes conjunctively\n with every other filter on this request.\n * @page (optional) Page number (1-based). Defaults to 1.\n * @pageSize (optional) Number of items per page. Defaults to 50.\n * @sortBy (optional) Property name to sort by (e.g. \"transactionDate\", \"total\"). Defaults to \"transactionDate\".\n * @sortDirection (optional) Sort direction: \"asc\" or \"desc\". Defaults to \"desc\".\n */\n list(tenantId: number, ids: string[] | null | undefined, vendorIds: number[] | null | undefined, jobIds: number[] | null | undefined, projectIds: number[] | null | undefined, cardholderIds: string[] | null | undefined, purchaseOrderIds: number[] | null | undefined, syncStatuses: string[] | null | undefined, transactionStatuses: string[] | null | undefined, receiptStatuses: string[] | null | undefined, dateFrom: Date | null | undefined, dateTo: Date | null | undefined, businessUnitIds: number[] | null | undefined, needsReview: boolean | null | undefined, searchTerm: string | null | undefined, page: number | undefined, pageSize: number | undefined, sortBy: string | null | undefined, sortDirection: string | null | undefined, cancelToken?: CancelToken): AxiosPromise<PagedResponseOfCardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions?\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (ids !== undefined && ids !== null)\n ids && ids.forEach(item => { url_ += \"ids=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (vendorIds !== undefined && vendorIds !== null)\n vendorIds && vendorIds.forEach(item => { url_ += \"vendorIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (jobIds !== undefined && jobIds !== null)\n jobIds && jobIds.forEach(item => { url_ += \"jobIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (projectIds !== undefined && projectIds !== null)\n projectIds && projectIds.forEach(item => { url_ += \"projectIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (cardholderIds !== undefined && cardholderIds !== null)\n cardholderIds && cardholderIds.forEach(item => { url_ += \"cardholderIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (purchaseOrderIds !== undefined && purchaseOrderIds !== null)\n purchaseOrderIds && purchaseOrderIds.forEach(item => { url_ += \"purchaseOrderIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (syncStatuses !== undefined && syncStatuses !== null)\n syncStatuses && syncStatuses.forEach(item => { url_ += \"syncStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (transactionStatuses !== undefined && transactionStatuses !== null)\n transactionStatuses && transactionStatuses.forEach(item => { url_ += \"transactionStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (receiptStatuses !== undefined && receiptStatuses !== null)\n receiptStatuses && receiptStatuses.forEach(item => { url_ += \"receiptStatuses=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (dateFrom !== undefined && dateFrom !== null)\n url_ += \"dateFrom=\" + encodeURIComponent(dateFrom ? \"\" + dateFrom.toJSON() : \"\") + \"&\";\n if (dateTo !== undefined && dateTo !== null)\n url_ += \"dateTo=\" + encodeURIComponent(dateTo ? \"\" + dateTo.toJSON() : \"\") + \"&\";\n if (businessUnitIds !== undefined && businessUnitIds !== null)\n businessUnitIds && businessUnitIds.forEach(item => { url_ += \"businessUnitIds=\" + encodeURIComponent(\"\" + item) + \"&\"; });\n if (needsReview !== undefined && needsReview !== null)\n url_ += \"needsReview=\" + encodeURIComponent(\"\" + needsReview) + \"&\";\n if (searchTerm !== undefined && searchTerm !== null)\n url_ += \"searchTerm=\" + encodeURIComponent(\"\" + searchTerm) + \"&\";\n if (page === null)\n throw new Error(\"The parameter 'page' cannot be null.\");\n else if (page !== undefined)\n url_ += \"page=\" + encodeURIComponent(\"\" + page) + \"&\";\n if (pageSize === null)\n throw new Error(\"The parameter 'pageSize' cannot be null.\");\n else if (pageSize !== undefined)\n url_ += \"pageSize=\" + encodeURIComponent(\"\" + pageSize) + \"&\";\n if (sortBy !== undefined && sortBy !== null)\n url_ += \"sortBy=\" + encodeURIComponent(\"\" + sortBy) + \"&\";\n if (sortDirection !== undefined && sortDirection !== null)\n url_ += \"sortDirection=\" + encodeURIComponent(\"\" + sortDirection) + \"&\";\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<PagedResponseOfCardTransactionResponse>(options_));\n }\n\n /**\n * Get a card transaction by its canonical parent ID.\n */\n get(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionResponse>(options_));\n }\n\n /**\n * Get the visible expense linked to a card transaction parent ID.\n */\n getExpense(tenantId: number, cardTransactionId: string, cancelToken?: CancelToken): AxiosPromise<ExpenseTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/expense\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<ExpenseTransactionResponse>(options_));\n }\n\n /**\n * Reclassify a card transaction, keyed off the `card_transactions` PARENT id (not the expense\n child). Writes the target classification to the provider first, then mirrors locally. Every\n MOS-side refusal is a 400/404/409; a 400 carries a machine-readable `code`, so a code-less 400\n on this route is adapter-origin (ARCH-EXP-RECLASS-001, seam-reclassify-endpoint).\n */\n reclassify(tenantId: number, cardTransactionId: string, request: ReclassifyCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/classification\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n\n /**\n * Download a card-transaction attachment file. Card-transaction-keyed counterpart of\n DownloadAttachment — see\n ICardTransactionAttachmentService\n for why this route exists.\n */\n downloadAttachment(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/attachments/{attachmentId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n if (attachmentId === undefined || attachmentId === null)\n throw new Error(\"The parameter 'attachmentId' must be defined.\");\n url_ = url_.replace(\"{attachmentId}\", encodeURIComponent(\"\" + attachmentId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n\n /**\n * Edit a Bill Payment card transaction's line items. Dedicated Bill-Payment-only route\n (REQ-EXP-CTDETAIL-004 AC-1) — Memo/GL/every other header field stay provider-authoritative;\n submitting a changed value 400s (see IBillPaymentCardTransactionEditService).\n */\n updateBillPayment(tenantId: number, cardTransactionId: string, request: UpdateBillPaymentCardTransactionRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionResponse> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionResponse>(options_));\n }\n\n /**\n * Promote already-uploaded draft receipts (from the shared\n `POST expense-attachments/draft` upload) onto a Bill Payment card transaction.\n */\n promoteBillPaymentReceipts(tenantId: number, cardTransactionId: string, request: PromoteCardTransactionReceiptsRequest, cancelToken?: CancelToken): AxiosPromise<CardTransactionAttachmentResponse[]> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment/receipts/promote\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<CardTransactionAttachmentResponse[]>(options_));\n }\n\n /**\n * Delete a user-uploaded receipt from a Bill Payment card transaction.\n */\n deleteBillPaymentReceipt(tenantId: number, cardTransactionId: string, attachmentId: string, cancelToken?: CancelToken): AxiosPromise<void> {\n let url_ = \"/v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment/receipts/{attachmentId}\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n if (cardTransactionId === undefined || cardTransactionId === null)\n throw new Error(\"The parameter 'cardTransactionId' must be defined.\");\n url_ = url_.replace(\"{cardTransactionId}\", encodeURIComponent(\"\" + cardTransactionId));\n if (attachmentId === undefined || attachmentId === null)\n throw new Error(\"The parameter 'attachmentId' must be defined.\");\n url_ = url_.replace(\"{attachmentId}\", encodeURIComponent(\"\" + attachmentId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"DELETE\",\n headers: {\n \"Content-Type\": \"application/json\",\n }\n };\n\n return makeCodedException(axios.request<void>(options_));\n }\n}\n\n/** Generic paged response wrapper with total count for pagination support. */\nexport interface PagedResponseOfCardTransactionResponse {\n /** Data collection */\n data: CardTransactionResponse[];\n /** Current page number */\n page: number;\n /** Page size */\n pageSize: number;\n /** Total count of items (null if pagination not required) */\n totalCount?: number | undefined;\n /** Whether there are more pages */\n hasMore: boolean;\n}\n\nexport interface BaseEntityApiModel {\n id: string;\n createdOn: Date;\n modifiedOn: Date;\n}\n\n/** Response row for `GET /v1/tenant/{tenantId}/card-transactions`. `Id` (from BaseEntityApiModel) is the `card_transactions` parent row's own id. Returns both `Expense`- and `BillPayment`-typed rows (phase 4). */\nexport interface CardTransactionResponse extends BaseEntityApiModel {\n /** Tenant that owns this row. */\n tenantId: number;\n /** Discriminates Expense vs BillPayment. Non-nullable — every row carries a definite type, driven\nby ingest-time classification (never inferred). String wire convention matches\n`ExpenseTransactionResponse.TransactionStatus`/`SyncStatus`. */\n transactionType: string;\n /** Merchant name as reported by the external card provider, verbatim (parent-level, present on\nboth types). Independent of VendorName — never overwrites and is never overwritten\nby it. */\n externalMerchantName?: string | undefined;\n /** Resolved ServiceTitan vendor name (Expense rows only; null for BillPayment, and null when the\nExpense row's vendor does not resolve against the tenant's `Vendors` mirror — never coerced\nto ExternalMerchantName in that case). */\n vendorName?: string | undefined;\n /** The date the transaction occurred (from card statement). */\n transactionDate?: Date | undefined;\n /** Transaction total as reported by the provider. */\n total: number;\n /** Identifier from the external card provider. */\n externalId?: string | undefined;\n /** Name of the external provider (e.g. \"Ramp\"). */\n externalSource?: string | undefined;\n /** Cardholder display name as reported by the provider, verbatim. */\n cardholderName?: string | undefined;\n /** Cardholder email as reported by the provider, verbatim. */\n cardholderEmail?: string | undefined;\n /** Last 4 digits of the card number. */\n cardNumberLast4?: string | undefined;\n /** Card identifier from the external provider. */\n externalCardId?: string | undefined;\n /** Physical vs virtual card (\"Physical\", \"Virtual\"), as reported by the provider. Null when unknown\n(manual entries, historical rows predating this field, or a NotSet/unrecognized provider value). */\n cardType?: string | undefined;\n /** Human-readable merchant category (e.g. \"Supermarkets and grocery stores\"). */\n merchantCategory?: string | undefined;\n /** Numeric ISO 18245 Merchant Category Code (MCC), e.g. \"5411\". */\n merchantCategoryCode?: string | undefined;\n /** ISO description paired with the MCC, e.g. \"Grocery Stores, Supermarkets\". */\n merchantCategoryCodeDescription?: string | undefined;\n /** Raw bank-statement descriptor for the charge. */\n merchantDescriptor?: string | undefined;\n /** City of the merchant (card acceptor) location reported by the provider. */\n merchantLocationCity?: string | undefined;\n /** State/region of the merchant (card acceptor) location reported by the provider. */\n merchantLocationState?: string | undefined;\n /** Postal/ZIP code of the merchant (card acceptor) location reported by the provider. */\n merchantLocationPostalCode?: string | undefined;\n /** Country of the merchant (card acceptor) location reported by the provider. */\n merchantLocationCountry?: string | undefined;\n /** Vendor where the expense was incurred. Expense rows only; null for BillPayment and for an\nExpense row whose linked expense is not currently live (see VendorName). */\n vendorId?: number | undefined;\n /** Business unit the linked expense is charged to. Expense rows only; null for BillPayment. */\n businessUnitId?: number | undefined;\n /** Job the linked expense is associated with, if any. Expense rows only; null for BillPayment. */\n jobId?: number | undefined;\n /** Project the linked expense is associated with, if any. Expense rows only; null for BillPayment. */\n projectId?: number | undefined;\n /** Raw Job or Project number the spender entered on the linked expense (e.g. `\"45\"`), as\nreported by the provider; Classification says which kind it is. Mirrors\n`ExpenseTransactionResponse.StReferenceNumber`. Expense rows only; null for BillPayment, and\nnull when none was entered. */\n stReferenceNumber?: string | undefined;\n /** Discriminates what StReferenceNumber identifies — `\"Job\"` or `\"Project\"` —\nusing the same persisted stable-string values as `ExpenseTransactionResponse.Classification`.\nLets the UI flag only the one the spender entered when JobId/ProjectId\ndid not resolve. Expense rows only; null for BillPayment, and null when unclassified. */\n classification?: string | undefined;\n /** Employee (cardholder) who made the linked expense purchase. Expense rows only; null for BillPayment. */\n employeeId?: number | undefined;\n /** Computed field: true if essential ST-related bindings are not set for the linked expense.\nExpense rows only; null for BillPayment. */\n needsReview?: boolean | undefined;\n /** Merchant processing status of the linked expense (e.g. Pending, Complete, Error, Declined). Expense rows only; null for BillPayment. */\n transactionStatus?: string | undefined;\n /** Status of receipt documentation for the linked expense (e.g. Pending, Received). Expense rows only; null for BillPayment. */\n receiptStatus?: string | undefined;\n /** Accounting sync/export status of the linked expense (e.g. Pending, Posted, Exported). Expense rows only; null for BillPayment. */\n syncStatus?: string | undefined;\n /** True when the linked expense is a refund/reversal rather than a charge. Expense rows only; null for BillPayment. */\n isRefund?: boolean | undefined;\n /** Tax portion of the total, mirroring `ExpenseTransactionResponse.Tax`. Placeholder field:\ncurrently always null pending Level-3 provider data wiring (deferred to a follow-up ticket). */\n tax?: number | undefined;\n /** Shipping portion of the total, mirroring `ExpenseTransactionResponse.Shipping`. Placeholder\nfield: currently always null pending Level-3 provider data wiring (deferred to a follow-up ticket). */\n shipping?: number | undefined;\n /** Free-text memo/notes. Mirrors `ExpenseTransactionResponse.Summary`. */\n memo?: string | undefined;\n /** Default debit general ledger account for the transaction. */\n debitAccountId?: number | undefined;\n /** GL account identifier the provider coded on the transaction header, when supplied. */\n externalGlAccountId?: string | undefined;\n /** Human-readable GL account name the provider coded on the transaction header, when supplied. */\n externalGlAccountName?: string | undefined;\n /** True when DebitAccountId was assigned via the safe-degrade fallback rather than a\nconfident binding — folded into NeedsReview on MOS; surfaced so the UI can warn that\nthe GL account needs correcting. Expense rows only; null for BillPayment. */\n debitGlFallbackApplied?: boolean | undefined;\n /** Line items on the shared card-transaction detail store. Empty when none. */\n lines: CardTransactionLineResponse[];\n /** Receipt attachments on the shared card-transaction detail store. Empty when none. */\n attachments: CardTransactionAttachmentResponse[];\n}\n\n/** A line item on the shared card-transaction detail store, common to both an Expense and a BillPayment card transaction. Carries only the provider-agnostic line fields (Description/Amount/Quantity/UnitPrice) — the per-line ST-resolution overrides (GL account, job, project, business unit, budget code, project labels) are expense-specific and stay on `ExpenseTransactionLineItemResponse`, so a BillPayment never carries them. */\nexport interface CardTransactionLineResponse extends BaseEntityApiModel {\n /** Description of the line item. */\n description: string;\n /** Total dollar amount for this line item (Quantity × UnitPrice). */\n amount: number;\n /** Number of units purchased. */\n quantity: number;\n /** Dollar amount per unit. */\n unitPrice: number;\n}\n\n/** Metadata for a receipt/attachment on the shared card-transaction detail store (not the file itself). Mirrors the field set of `ExpenseAttachmentResponse` so a BillPayment renders receipts in the same shape as an Expense. File content lives in Azure Blob Storage. */\nexport interface CardTransactionAttachmentResponse extends BaseEntityApiModel {\n /** Sanitized file name for display and download. */\n filename: string;\n /** Original file name as uploaded by the user. */\n originalFilename: string;\n /** MIME content type. */\n contentType: string;\n /** File size in bytes. */\n fileSize: number;\n}\n\nexport interface ExpenseTransactionResponse extends BaseEntityApiModel {\n /** Tenant that owns this expense. */\n tenantId: number;\n /** Canonical card transaction ID used by Card Transactions page routes. */\n cardTransactionId?: string | undefined;\n /** Tenant-scoped expense transaction display number. */\n number: string;\n /** Free-text summary or notes for the expense. */\n summary?: string | undefined;\n /** The date the transaction occurred (from card statement). */\n transactionDate?: Date | undefined;\n /** Computed total: sum of line item amounts + tax + shipping. Negative for refunds. */\n total: number;\n /** True when this transaction is a refund/reversal rather than a charge. */\n isRefund: boolean;\n /** Provider id of the parent charge this refund reverses; null otherwise. */\n parentExternalId?: string | undefined;\n /** Internal MOS ExpenseId of the parent charge this refund reverses, when known; null otherwise. */\n parentExpenseId?: string | undefined;\n /** IDs of refund transactions that reference this expense as their parent.\nPopulated on GET-by-id only; null on list responses. Empty list when no refunds exist. */\n refundExpenseIds?: string[] | undefined;\n /** Tax portion of the total. */\n tax: number;\n /** Shipping portion of the total. */\n shipping: number;\n /** Vendor where the expense was incurred. */\n vendorId: number;\n /** True when VendorId was bound via an explicit merchant→vendor mapping rather than an\nexact-name match, a default vendor, or left unbound. Lets the UI show \"Mapped to {vendor}\" beneath\nthe raw merchant name. Reflects the source stamped at ingest, so it stays correct after a remap. */\n vendorBoundByMapping: boolean;\n /** Business unit this expense is charged to. */\n businessUnitId?: number | undefined;\n /** Job this expense is associated with, if any. */\n jobId?: number | undefined;\n /** Project this expense is associated with, if any. */\n projectId?: number | undefined;\n /** Purchase order linked to this expense for two-way matching. */\n purchaseOrderId?: number | undefined;\n /** Employee (cardholder) who made the purchase. */\n employeeId?: number | undefined;\n /** Discriminates whether EmployeeId refers to an employee or a technician.\nNon-nullable: a persisted null normalizes to Employee. */\n spenderType: ExpenseSpenderType;\n /** Credit card GL account (Liability:Credit Card) this expense was charged to. */\n creditCardAccountId?: number | undefined;\n /** Merchant processing status (e.g. Pending, Complete, Error, Declined). */\n transactionStatus: string;\n /** Provider-supplied context for the transaction status — e.g. decline reason, error message, or status-specific note. */\n transactionStatusDetails?: string | undefined;\n /** Computed field: true if essential ST-related bindings are not set for the transaction (such as VendorId, cardholder, etc). */\n needsReview: boolean;\n /** MOS-owned export-readiness headline (e.g. Pending, ReadyForExport, Exported). Composed by\nExpenseStatusRules; folds in NeedsReview and ProviderRequirementsMet. */\n expenseStatus: string;\n /** Whether the upstream card provider considers this transaction's requirements met and approved.\nTri-state: null = provider has not yet determined (never coerced to false). Distinct from\nNeedsReview, which reflects ServiceTitan binding gaps rather than provider sign-off. */\n providerRequirementsMet?: boolean | undefined;\n /** Status of receipt documentation (e.g. Pending, Received). */\n receiptStatus: string;\n /** Last 4 digits of the card number. */\n cardNumberLast4?: string | undefined;\n /** Accounting sync/export status (e.g. Pending, Posted, Exported). */\n syncStatus: string;\n /** Batch this expense was posted in, if any. */\n batchId?: number | undefined;\n /** Identifier from the external expense provider (e.g. Ramp transaction ID). */\n externalId?: string | undefined;\n /** Name of the external provider (e.g. \"Ramp\"). */\n externalSource?: string | undefined;\n /** Card identifier from the external provider (e.g. Ramp card_id). */\n externalCardId?: string | undefined;\n /** Human-readable merchant category (e.g. \"Supermarkets and grocery stores\").\nProvider-supplied for card-sourced expenses (e.g. Ramp's `sk_category_name`); free-text for manual entries. */\n merchantCategory?: string | undefined;\n /** Default debit GL account for the expense. Line items may override with their own GeneralLedgerAccountId. */\n debitAccountId?: number | undefined;\n /** Default budget code for the expense. Line items may override with their own BudgetCodeId. */\n budgetCodeId?: number | undefined;\n /** True when the debit GL account was assigned via the safe-degrade fallback (the tenant's\nUncategorized account) rather than a confident binding. Mirrors the persisted\nExpenseTransaction.DebitGlFallbackApplied and is folded into NeedsReview; surfaced so the UI\ncan warn that the GL account needs correcting. */\n debitGlFallbackApplied: boolean;\n /** True when this expense transaction originated in ServiceTitan (as opposed to being sourced\nentirely from an external provider). Tri-state: null means unknown/not set. */\n isStExpense?: boolean | undefined;\n /** ServiceTitan-internal reference number for this expense, when it originated in ST. Null for\nprovider-sourced transactions. A blank value on an ST expense is folded into NeedsReview;\nsurfaced so the UI can explain the review reason. */\n stReferenceNumber?: string | undefined;\n /** Discriminates what StReferenceNumber identifies: `\"Job\"`, `\"Project\"`,\n`\"NotStExpense\"`, or `\"BillPayment\"`. Mirrors the persisted domain\n`ExpenseTransaction.Classification` stable-string convention (ARCH-EXP-CLS-001) — same\nvalues as Classification. Null\nwhen unclassified. */\n classification?: string | undefined;\n /** Denormalized project label(s) for display/export. */\n projectLabels?: string | undefined;\n /** Provider-reported (external) values, captured verbatim before ServiceTitan resolution. Surfaced\nso a \"needs review\" expense whose merchant/cardholder did not resolve to a ServiceTitan\nvendor/employee can show what the provider sent. Null when no provider details are recorded. */\n externalDetails?: ExpenseTransactionExternalDetailsResponse;\n /** Line items with expense GL accounts. */\n lineItems: ExpenseTransactionLineItemResponse[];\n /** Receipt attachments. File content is in Azure Blob Storage; these are metadata records. */\n attachments: ExpenseAttachmentResponse[];\n}\n\n/** Discriminates who an expense's spender-identity columns (`EmployeeId`/`EmployeeName`) refer to — the same monolith employee/technician id space that ExpenseTransaction has always stored, now disambiguated so name resolution can route to the right Public API surface. Employee = 0 / Technician = 1 are wire values, pinned because three repos decode them positionally — MOS, the monolith, and any future consumer of the outbound event. Renumbering or reordering the members is a breaking change caught only by ExpenseSpenderTypeContractTests (UNIT-105). Declare new members with an explicit value, at the end, never renumbering an existing one. null on the entity's SpenderType column reads as — which is exactly why Employee = 0 must stay pinned at zero: every pre-existing row and every pre-upgrade event has no value here, and the absent-means-Employee default depends on zero being that value. Realigning to match the monolith's ordering would trade a mappable hazard for a silent data-wide default inversion. Never cast to or from a monolith EmployeeType. The monolith declares 15 same-named EmployeeType enums, and Model/Timesheets/EmployeeType is the mirror image of this one (Technician = 0, Employee = 1). An (int) bridge compiles cleanly and silently inverts the tag, mistagging a financial record with no error anywhere. Map member-by-member, by name, if a bridge is ever needed. */\nexport enum ExpenseSpenderType {\n Employee = 0,\n Technician = 1,\n}\n\n/** Provider-reported (external) values for an expense transaction, captured verbatim as the card provider sent them. Present so a \"needs review\" expense whose merchant/cardholder did not resolve to a ServiceTitan vendor/employee can surface what the provider sent (with a not-found-in-ServiceTitan indicator) instead of a blank. Null when no provider details are recorded. */\nexport interface ExpenseTransactionExternalDetailsResponse {\n /** Merchant name as reported by the provider. */\n merchantName?: string | undefined;\n /** Cardholder display name as reported by the provider. */\n cardholderName?: string | undefined;\n /** Cardholder email as reported by the provider. */\n cardholderEmail?: string | undefined;\n /** Provider's own identifier for the cardholder. */\n cardholderUserId?: string | undefined;\n /** Human-readable GL account name the provider coded on the transaction header. */\n glAccountName?: string | undefined;\n /** GL account identifier the provider coded on the transaction header. */\n glAccountId?: string | undefined;\n}\n\nexport interface ExpenseTransactionLineItemResponse extends BaseEntityApiModel {\n /** Description of the line item. */\n description: string;\n /** Total dollar amount for this line item (Quantity × UnitPrice). */\n amount: number;\n /** Number of units purchased. */\n quantity: number;\n /** Dollar amount per unit. */\n unitPrice: number;\n /** Optional debit GL account override at the line level (defaults to header DebitAccountId if null). */\n generalLedgerAccountId?: number | undefined;\n /** Optional job override at the line level (defaults to header job if null). */\n jobId?: number | undefined;\n /** Optional project override at the line level (defaults to header project if null). */\n projectId?: number | undefined;\n /** Optional business unit override at the line level (defaults to header BU if null). */\n businessUnitId?: number | undefined;\n /** Optional budget code override at the line level (defaults to header BudgetCodeId if null). */\n budgetCodeId?: number | undefined;\n /** Denormalized project label for this line item. */\n projectLabels?: string | undefined;\n}\n\n/** Metadata information for an expense attachment (receipt). Not the actual file. */\nexport interface ExpenseAttachmentResponse extends BaseEntityApiModel {\n /** Sanitized file name for display and download. */\n filename: string;\n /** Original file name as uploaded by the user. */\n originalFilename: string;\n /** MIME content type. */\n contentType: string;\n /** File size in bytes. */\n fileSize: number;\n}\n\n/** Body of `PATCH /v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/classification`. Classification is a string parsed at the boundary (an unknown/out-of-enum value is a coded 400, not a bind failure), so the request contract is final across all phases — every named classification is a valid target from phase 1, even when its local behaviour lands in a later phase. JobNumber/ProjectNumber name the target for a Job/Project reclassify and are unused for the other targets. */\nexport interface ReclassifyCardTransactionRequest {\n /** The target classification: `NotStExpense`, `Job`, `Project`, `NotSet`, or\n`BillPayment`. Parsed by `ExpenseInputValidator.ParseReclassificationTarget`; a malformed\nor out-of-enum value is refused as a 400 with `code: unsupported_classification`. */\n classification: string;\n /** The job reference number, for a `Job` target. Ignored for other targets. */\n jobNumber?: string | undefined;\n /** The project reference number, for a `Project` target. Ignored for other targets. */\n projectNumber?: string | undefined;\n}\n\n/** Body for `PUT /v1/tenant/{tenantId}/card-transactions/{cardTransactionId}/bill-payment`. Only LineItems is actually editable. Memo/ExternalGlAccountId/ ExternalGlAccountName are accepted so a well-behaved caller can echo the current header back unchanged (same shape convention as `UpdateExpenseTransactionRequest`'s locked partner fields); submitting a different value is rejected — see the endpoint's partner-field guard. */\nexport interface UpdateBillPaymentCardTransactionRequest {\n memo?: string | undefined;\n externalGlAccountId?: string | undefined;\n externalGlAccountName?: string | undefined;\n lineItems: UpdateCardTransactionLineItemRequest[];\n}\n\n/** One line item in a Bill Payment card-transaction edit. Narrower than `UpdateExpenseTransactionLineItemRequest` — a card transaction line carries no GL/job/project/BU override, matching CardTransactionLineResponse's shape. */\nexport interface UpdateCardTransactionLineItemRequest {\n /** Reuse an existing line's id to update it; omit (or supply a fresh id) to add a new line. */\n id?: string | undefined;\n description: string;\n quantity: number;\n unitPrice: number;\n}\n\n/** Body for the card-transaction receipt promote endpoint: draft tokens previously returned from `POST /v1/tenant/{tenantId}/expense-attachments/draft`, to be attached to this card transaction. */\nexport interface PromoteCardTransactionReceiptsRequest {\n tokens: string[];\n}\n"],"names":["axios","injectable","inject","optional","symbolToken","makeCodedException","BASE_URL_TOKEN_CardTransactions","CardTransactions","list","tenantId","ids","vendorIds","jobIds","projectIds","cardholderIds","purchaseOrderIds","syncStatuses","transactionStatuses","receiptStatuses","dateFrom","dateTo","businessUnitIds","needsReview","searchTerm","page","pageSize","sortBy","sortDirection","cancelToken","url_","undefined","Error","replace","encodeURIComponent","forEach","item","toJSON","options_","baseURL","baseUrl","url","method","headers","request","get","cardTransactionId","getExpense","reclassify","content_","data","downloadAttachment","attachmentId","updateBillPayment","promoteBillPaymentReceipts","deleteBillPaymentReceipt","jsonParseReviver","Exp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,OAAOA,KAAKG,OAAO,CAAC,SAAS;QAE7B,IAAIK,WAA+B;YAC/BC,SAAS,IAAI,CAACC,OAAO;YACrBX;YACAY,KAAKX;YACLY,QAAQ;YACRC,SAAS;gBACL,gBAAgB;YACpB;QACJ;QAEA,OAAOrC,mBAAmBL,MAAM2C,OAAO,CAAON;IAClD;IA5SA,YAAY,AAAsEE,UAAU,EAAE,CAAE;;QAFhG,uBAAUgB,oBAAV,KAAA;aAEkFhB,UAAAA;aAFxEgB,mBAAmEzB;IAG7E;AA4SJ;;;;;;;;;;AAwQA,k3CAAk3C,GACl3C,OAAO,IAAA,AAAK0B,4CAAAA;;;WAAAA;MAGX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/moneyout-api-client",
3
- "version": "1.41.0-beta.255",
3
+ "version": "1.41.0-beta.256",
4
4
  "description": "Auto-generated TypeScript API client for MoneyOut Service",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",