@tesouro/embedded-components-react 0.11.91 → 0.11.92

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.
@@ -289,6 +289,7 @@ type BankAccountApplicationResponse = {
289
289
  */
290
290
  id: string;
291
291
  applicant?: null | BankAccountApplicantOutput;
292
+ bankRequirements?: null | EmbeddedBankingBankRequirementsOutput;
292
293
  businessDetails?: null | BusinessDetailsOutput;
293
294
  /**
294
295
  * List of business owners associated with the application.
@@ -605,6 +606,7 @@ type BusinessOwnerOutput = {
605
606
  * Date of birth of the business owner.
606
607
  */
607
608
  birthDate?: null | string;
609
+ business?: null | OwnerBusinessDetailsOutput;
608
610
  /**
609
611
  * First name of the business owner.
610
612
  */
@@ -618,6 +620,10 @@ type BusinessOwnerOutput = {
618
620
  * Mobile phone number of the business owner.
619
621
  */
620
622
  mobilePhoneNumber?: null | string;
623
+ /**
624
+ * Whether the owner is a person or a business.
625
+ */
626
+ ownerType?: OwnerType;
621
627
  /**
622
628
  * Ownership percentage as a decimal between 0 and 1 (e.g., 25% = 0.25).
623
629
  */
@@ -769,7 +775,7 @@ type CounterpartOrganizationRootResponse = {
769
775
  */
770
776
  updated_at: string;
771
777
  /**
772
- * `true` if the counterpart was created automatically by Monite when processing incoming invoices with OCR. `false` if the counterpart was created by the API client.
778
+ * `true` if the counterpart was created automatically when processing incoming invoices with OCR. `false` if the counterpart was created by the API client.
773
779
  */
774
780
  created_automatically?: boolean;
775
781
  /**
@@ -1019,7 +1025,7 @@ type DebitCardStatusReason = 'LOST' | 'STOLEN' | 'FRAUD' | 'CARDHOLDER_EXIT' | '
1019
1025
  type DebitCardType = 'DIGITAL' | 'PHYSICAL';
1020
1026
  type DeductionItem = {
1021
1027
  /**
1022
- * The amount of the deduction in minor units(https://docs.monite.com/references/currencies#minor-units)
1028
+ * The amount of the deduction in minor units(https://docs.tesouro.com/finops/support/currencies#minor-units)
1023
1029
  */
1024
1030
  amount: number;
1025
1031
  /**
@@ -1130,7 +1136,7 @@ type DisclosuresResponseDto = {
1130
1136
  };
1131
1137
  type Discount = {
1132
1138
  /**
1133
- * The actual discount of the product in [minor units](https://docs.monite.com/references/currencies#minor-units) if type field equals amount, else in percent minor units
1139
+ * The actual discount of the product in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units) if type field equals amount, else in percent minor units
1134
1140
  */
1135
1141
  amount: number;
1136
1142
  /**
@@ -1140,7 +1146,7 @@ type Discount = {
1140
1146
  };
1141
1147
  type DiscountResponse = {
1142
1148
  /**
1143
- * The actual discount of the product in [minor units](https://docs.monite.com/references/currencies#minor-units) if type field equals amount, else in percent minor units
1149
+ * The actual discount of the product in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units) if type field equals amount, else in percent minor units
1144
1150
  */
1145
1151
  amount: number;
1146
1152
  /**
@@ -1148,7 +1154,7 @@ type DiscountResponse = {
1148
1154
  */
1149
1155
  type: DiscountType;
1150
1156
  /**
1151
- * The monetary amount of the discount, in [minor units](https://docs.monite.com/references/currencies#minor-units). If the discount `type` is `amount`, this value is the same as the `amount` value. If `type` is `percentage`, the value is the calculated discount amount.
1157
+ * The monetary amount of the discount, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). If the discount `type` is `amount`, this value is the same as the `amount` value. If `type` is `percentage`, the value is the calculated discount amount.
1152
1158
  */
1153
1159
  value?: number | null;
1154
1160
  };
@@ -1222,7 +1228,18 @@ type DocumentVerificationTextAttemptOutput = {
1222
1228
  };
1223
1229
  type DocumentVerificationTextStatusDto = 'SENT' | 'FAILED';
1224
1230
  /**
1225
- * Response DTO for embedded business entity data.
1231
+ * Application requirements of Cogent Bank, version 2026-01-01.
1232
+ */
1233
+ type EmbeddedBankingBankRequirementsCogentBank20260101Output = {
1234
+ requirementsVersion: 'cogent-bank@2026-01-01';
1235
+ };
1236
+ /**
1237
+ * Answers to the questions a bank asks beyond the core application, under the version of the bank's
1238
+ * requirements named in `requirementsVersion`.
1239
+ */
1240
+ type EmbeddedBankingBankRequirementsOutput = EmbeddedBankingBankRequirementsCogentBank20260101Output;
1241
+ /**
1242
+ * Business entity details of an organization.
1226
1243
  */
1227
1244
  type EmbeddedBusinessDataResponseDto = {
1228
1245
  /**
@@ -1512,6 +1529,10 @@ type ExpenseCreatedEventData = {
1512
1529
  source_of_data?: {
1513
1530
  [key: string]: FieldSourceEnum;
1514
1531
  } | null;
1532
+ /**
1533
+ * Whether the expense was created as a card or a reimbursement.
1534
+ */
1535
+ type?: ExpenseTypeEnum | null;
1515
1536
  };
1516
1537
  type ExpenseDeletedEventData = {
1517
1538
  /**
@@ -1544,7 +1565,7 @@ type ExpenseHistoryEntryResponse = {
1544
1565
  /**
1545
1566
  * Structured event payload, or null for an event that carries none. The shape follows event_type: status_changed reads as ExpenseStatusChangedEventData, approval_action as ApprovalActionEventData, expense_updated as ExpenseUpdatedEventData, and each remaining type as the Expense<Type>EventData member of the same name, except reopened and canceled, which are plain status transitions and read as ExpenseStatusChangedEventData.
1546
1567
  */
1547
- event_data: ExpenseStatusChangedEventData | ApprovalActionEventData | ExpenseUpdatedEventData | ExpenseCreatedEventData | ExpenseSubmittedEventData | ExpenseApprovalRequestedEventData | ExpenseAutoApprovedEventData | ExpenseApprovalsBypassedEventData | ExpenseDeletedEventData | ExpenseReceiptMatchedEventData | ExpenseReceiptUnlinkedEventData | ExpenseAutoCategorizedEventData | ExpensePaymentStatusChangedEventData | null;
1568
+ event_data: ExpenseStatusChangedEventData | ApprovalActionEventData | ExpenseUpdatedEventData | ExpenseCreatedEventData | ExpenseSubmittedEventData | ExpenseApprovalRequestedEventData | ExpenseAutoApprovedEventData | ExpenseApprovalsBypassedEventData | ExpenseDeletedEventData | ExpenseReceiptMatchedEventData | ExpenseReceiptUnlinkedEventData | ExpenseAutoCategorizedEventData | ExpensePaymentStatusChangedEventData | ExpensePayoutStatusChangedEventData | null;
1548
1569
  /**
1549
1570
  * The type of the event or change.
1550
1571
  */
@@ -1569,6 +1590,24 @@ type ExpensePaymentStatusChangedEventData = {
1569
1590
  */
1570
1591
  old_status?: TransactionStatusEnum | null;
1571
1592
  };
1593
+ type ExpensePayoutStatusChangedEventData = {
1594
+ /**
1595
+ * The payout status after the change.
1596
+ */
1597
+ new_payout_status: PayoutStatusEnum;
1598
+ /**
1599
+ * The payout status before the change.
1600
+ */
1601
+ old_payout_status?: PayoutStatusEnum | null;
1602
+ /**
1603
+ * ISO timestamp of when it was paid.
1604
+ */
1605
+ paid_at?: string | null;
1606
+ /**
1607
+ * How the reimbursement was paid out.
1608
+ */
1609
+ payout_method?: PayoutMethodEnum | null;
1610
+ };
1572
1611
  type ExpenseReceiptMatchedEventData = {
1573
1612
  /**
1574
1613
  * Receipt document id, snapshotted for display.
@@ -1638,6 +1677,7 @@ type ExpenseSubmittedEventData = {
1638
1677
  */
1639
1678
  old_status: ExpenseStatusEnum;
1640
1679
  };
1680
+ type ExpenseTypeEnum = 'card' | 'reimbursement';
1641
1681
  type ExpenseUpdatedEventData = {
1642
1682
  fields?: {
1643
1683
  [key: string]: FieldDiff;
@@ -1816,7 +1856,7 @@ type FileSchema2 = {
1816
1856
  */
1817
1857
  id: string;
1818
1858
  /**
1819
- * UTC date and time when this file was uploaded to Monite. Timestamps follow the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
1859
+ * UTC date and time when this file was uploaded. Timestamps follow the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
1820
1860
  */
1821
1861
  created_at: string;
1822
1862
  /**
@@ -1891,15 +1931,15 @@ type InvoiceResponsePayload = {
1891
1931
  */
1892
1932
  updated_at: string;
1893
1933
  /**
1894
- * How much is left to be paid in [minor units](https://docs.monite.com/references/currencies#minor-units). Equal 0 if the Invoice is fully paid.
1934
+ * How much is left to be paid in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). Equal 0 if the Invoice is fully paid.
1895
1935
  */
1896
1936
  amount_due: number;
1897
1937
  /**
1898
- * How much has been paid [minor units](https://docs.monite.com/references/currencies#minor-units)
1938
+ * How much has been paid [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units)
1899
1939
  */
1900
1940
  amount_paid: number;
1901
1941
  /**
1902
- * How much is left to be paid in in [minor units](https://docs.monite.com/references/currencies#minor-units), including payment_term discounts.
1942
+ * How much is left to be paid in in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units), including payment_term discounts.
1903
1943
  */
1904
1944
  amount_to_pay?: number | null;
1905
1945
  /**
@@ -1987,7 +2027,7 @@ type InvoiceResponsePayload = {
1987
2027
  */
1988
2028
  discount?: DiscountResponse | null;
1989
2029
  /**
1990
- * Total price of the receivable with discounts before taxes [minor units](https://docs.monite.com/references/currencies#minor-units).
2030
+ * Total price of the receivable with discounts before taxes [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
1991
2031
  */
1992
2032
  discounted_subtotal?: number | null;
1993
2033
  /**
@@ -2032,7 +2072,7 @@ type InvoiceResponsePayload = {
2032
2072
  *
2033
2073
  * Some countries require the fulfillment date in invoices for regulatory compliance. In this case, if the fulfillment date was not provided by the user, it is automatically set to the invoice issue date once the invoice gets issued.
2034
2074
  *
2035
- * In countries where the fulfillment date is optional, Monite does not auto-assign it if it was omitted by the user.
2075
+ * In countries where the fulfillment date is optional, it is not auto-assigned if it was omitted by the user.
2036
2076
  */
2037
2077
  fulfillment_date?: string | null;
2038
2078
  /**
@@ -2064,7 +2104,7 @@ type InvoiceResponsePayload = {
2064
2104
  [key: string]: unknown;
2065
2105
  };
2066
2106
  /**
2067
- * Link to the invoice's payment page. Either Monite's payment links or your custom payment links.
2107
+ * Link to the invoice's payment page. Either the built-in payment links or your custom payment links.
2068
2108
  */
2069
2109
  payment_page_url?: string | null;
2070
2110
  payment_reminder_id?: string | null;
@@ -2090,11 +2130,11 @@ type InvoiceResponsePayload = {
2090
2130
  */
2091
2131
  status: ReceivablesStatusEnum;
2092
2132
  /**
2093
- * The subtotal (excluding tax), in [minor units](https://docs.monite.com/references/currencies#minor-units).
2133
+ * The subtotal (excluding tax), in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
2094
2134
  */
2095
2135
  subtotal?: number | null;
2096
2136
  /**
2097
- * The subtotal including tax but without invoice discount, in [minor units](https://docs.monite.com/references/currencies#minor-units).
2137
+ * The subtotal including tax but without invoice discount, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
2098
2138
  */
2099
2139
  subtotal_after_tax?: number | null;
2100
2140
  /**
@@ -2118,19 +2158,19 @@ type InvoiceResponsePayload = {
2118
2158
  */
2119
2159
  tax_mode?: VatModeEnum;
2120
2160
  /**
2121
- * Total price of the receivable in [minor units](https://docs.monite.com/references/currencies#minor-units). Calculated as a subtotal + total_tax_amount.
2161
+ * Total price of the receivable in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). Calculated as a subtotal + total_tax_amount.
2122
2162
  */
2123
2163
  total_amount?: number;
2124
2164
  /**
2125
- * The total price of the receivable in [minor units](https://docs.monite.com/references/currencies#minor-units), including tax and excluding all issued credit notes.
2165
+ * The total price of the receivable in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units), including tax and excluding all issued credit notes.
2126
2166
  */
2127
2167
  total_amount_with_credit_notes: number;
2128
2168
  /**
2129
- * The total deduction amount of all deductions, in [minor units](https://docs.monite.com/references/currencies#minor-units).
2169
+ * The total deduction amount of all deductions, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
2130
2170
  */
2131
2171
  total_deduction_amount?: number | null;
2132
2172
  /**
2133
- * The total tax of all line items, in [minor units](https://docs.monite.com/references/currencies#minor-units).
2173
+ * The total tax of all line items, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
2134
2174
  */
2135
2175
  total_tax_amount: number;
2136
2176
  /**
@@ -2208,7 +2248,7 @@ type LedgerAccountResponse = {
2208
2248
  */
2209
2249
  updated_at: string;
2210
2250
  /**
2211
- * The currency of the ledger account, specified as a three-letter [currency code](https://docs.monite.com/references/currencies) (ISO 4217).
2251
+ * The currency of the ledger account, specified as a three-letter [currency code](https://docs.tesouro.com/finops/support/currencies) (ISO 4217).
2212
2252
  */
2213
2253
  currency?: CurrencyEnum | null;
2214
2254
  /**
@@ -2251,7 +2291,7 @@ type LedgerAccountResponse = {
2251
2291
  type LineItemColumnSettings = {
2252
2292
  display?: boolean;
2253
2293
  /**
2254
- * Line item table column header to override Monite's default. If not set, the Monite's default will be used.
2294
+ * Line item table column header to override the default. If not set, the default will be used.
2255
2295
  */
2256
2296
  label?: string | null;
2257
2297
  };
@@ -2261,7 +2301,7 @@ type LineItemColumnSettings = {
2261
2301
  type LineItemNumericColumnSettings = {
2262
2302
  display?: boolean;
2263
2303
  /**
2264
- * Line item table column header to override Monite's default. If not set, the Monite's default will be used.
2304
+ * Line item table column header to override the default. If not set, the default will be used.
2265
2305
  */
2266
2306
  label?: string | null;
2267
2307
  /**
@@ -2283,7 +2323,7 @@ type LineItemProduct = {
2283
2323
  */
2284
2324
  description?: string | null;
2285
2325
  /**
2286
- * A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map the products in Monite to an external product catalog.
2326
+ * A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map products to an external product catalog.
2287
2327
  */
2288
2328
  external_reference?: string | null;
2289
2329
  /**
@@ -2675,7 +2715,7 @@ type OcrResponseInvoiceReceiptLineItemRaw = {
2675
2715
  */
2676
2716
  vat_percentage?: number | null;
2677
2717
  };
2678
- type ObjectType = 'account' | 'accounting_config' | 'accounting_tax_rate' | 'approval' | 'approval_request' | 'approval_policy' | 'approval_policy_process' | 'audit_trail' | 'bank_account' | 'comment' | 'cost_center' | 'counterpart' | 'counterpart_address' | 'counterpart_bank_account' | 'counterpart_contact_person' | 'counterpart_partner_metadata' | 'counterpart_tax_id' | 'counterpart_vat_id' | 'delivery_note' | 'einvoicing' | 'entity' | 'entity_bank_account' | 'entity_settings' | 'entity_token' | 'entity_user' | 'entity_user_token' | 'entity_vat_ids' | 'export' | 'ledger_account' | 'mailbox' | 'monitescript_process' | 'ocr_task' | 'onboarding' | 'overdue_reminder' | 'partner' | 'partner_internal_config' | 'partner_settings' | 'partner_token' | 'payable' | 'payable_line_item' | 'payables_credit_note' | 'payables_purchase_order' | 'payment' | 'payment_intent' | 'payment_link' | 'payment_record' | 'payment_reminder' | 'person' | 'product' | 'project' | 'receivable' | 'reconciliation' | 'recurrence' | 'receipt' | 'role' | 'tag' | 'todo_task' | 'todo_task_mute' | 'transaction' | 'transaction_validation' | 'webhook' | 'workflow' | 'workflow_pipeline';
2718
+ type ObjectType = 'account' | 'accounting_config' | 'accounting_tax_rate' | 'approval' | 'approval_request' | 'approval_policy' | 'approval_policy_process' | 'audit_trail' | 'bank_account' | 'comment' | 'cost_center' | 'counterpart' | 'counterpart_address' | 'counterpart_bank_account' | 'counterpart_contact_person' | 'counterpart_partner_metadata' | 'counterpart_tax_id' | 'counterpart_vat_id' | 'delivery_note' | 'einvoicing' | 'entity' | 'entity_bank_account' | 'entity_settings' | 'entity_token' | 'entity_user' | 'entity_user_token' | 'entity_vat_ids' | 'export' | 'ledger_account' | 'mailbox' | 'monitescript_process' | 'ocr_task' | 'onboarding' | 'overdue_reminder' | 'partner' | 'partner_internal_config' | 'partner_settings' | 'partner_token' | 'payable' | 'payable_line_item' | 'payables_credit_note' | 'payables_purchase_order' | 'payment' | 'payment_intent' | 'payment_link' | 'payment_record' | 'payment_reminder' | 'person' | 'product' | 'project' | 'receivable' | 'reconciliation' | 'recurrence' | 'receipt' | 'reimbursement' | 'role' | 'tag' | 'todo_task' | 'todo_task_mute' | 'transaction' | 'transaction_validation' | 'webhook' | 'workflow' | 'workflow_pipeline';
2679
2719
  type ObjectTypeEnum = 'receivable' | 'payable';
2680
2720
  /**
2681
2721
  * Contains information about all text blocks extracted from an uploaded invoice by OCR.
@@ -2694,7 +2734,7 @@ type OcrRecognitionResponse = {
2694
2734
  };
2695
2735
  type OcrStatusEnum = 'processing' | 'error' | 'success' | 'canceled';
2696
2736
  /**
2697
- * Response DTO for the organization details endpoint.
2737
+ * Full details of an organization.
2698
2738
  */
2699
2739
  type OrganizationDetailsResponseDto = {
2700
2740
  /**
@@ -2741,7 +2781,7 @@ type OrganizationDetailsResponseDto = {
2741
2781
  types: Array<OrganizationType>;
2742
2782
  };
2743
2783
  /**
2744
- * Response DTO for an organization's logo.
2784
+ * An organization's logo.
2745
2785
  */
2746
2786
  type OrganizationLogoResponseDto = {
2747
2787
  /**
@@ -2814,6 +2854,26 @@ type OverdueReminderTerm = {
2814
2854
  days_after: number;
2815
2855
  subject: string;
2816
2856
  };
2857
+ type OwnerBusinessContactOutput = {
2858
+ emailAddress?: null | string;
2859
+ fullName?: null | string;
2860
+ phoneNumber?: null | string;
2861
+ };
2862
+ /**
2863
+ * The business behind an owner whose `ownerType` is `BUSINESS`.
2864
+ */
2865
+ type OwnerBusinessDetailsOutput = {
2866
+ address?: null | AddressOutput;
2867
+ contact?: null | OwnerBusinessContactOutput;
2868
+ dbaName?: null | string;
2869
+ /**
2870
+ * Last four digits of the EIN already on file. The full value is never returned.
2871
+ */
2872
+ einLast4?: null | string;
2873
+ entityType?: null | BusinessStructureType;
2874
+ legalName?: null | string;
2875
+ };
2876
+ type OwnerType = 'INDIVIDUAL' | 'BUSINESS';
2817
2877
  /**
2818
2878
  * When a PDF document is uploaded to Monite, it extracts individual pages from the document
2819
2879
  * and saves them as PNG images. This object contains the image and metadata of a single page.
@@ -3002,7 +3062,7 @@ type PayableResponseSchema = {
3002
3062
  */
3003
3063
  credit_notes: Array<PayableCreditNoteData>;
3004
3064
  /**
3005
- * The [currency code](https://docs.monite.com/references/currencies) of the currency used in the payable.
3065
+ * The [currency code](https://docs.tesouro.com/finops/support/currencies) of the currency used in the payable.
3006
3066
  */
3007
3067
  currency?: CurrencyEnum | null;
3008
3068
  currency_exchange?: CurrencyExchangeSchema | null;
@@ -3011,11 +3071,11 @@ type PayableResponseSchema = {
3011
3071
  */
3012
3072
  description?: string | null;
3013
3073
  /**
3014
- * The discount stated on the document. This is informational only: total_amount is expected to already reflect it, and the API never applies or subtracts it separately. in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
3074
+ * The discount stated on the document. This is informational only: total_amount is expected to already reflect it, and the API never applies or subtracts it separately. in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). For example, $12.50 is represented as 1250.
3015
3075
  */
3016
3076
  discount?: number | null;
3017
3077
  /**
3018
- * A unique invoice number assigned by the invoice issuer for payment tracking purposes. This is different from `id` which is an internal ID created automatically by Monite.
3078
+ * A unique invoice number assigned by the invoice issuer for payment tracking purposes. This is different from `id` which is an internal ID created automatically.
3019
3079
  */
3020
3080
  document_id?: string | null;
3021
3081
  /**
@@ -3077,11 +3137,11 @@ type PayableResponseSchema = {
3077
3137
  [key: string]: unknown;
3078
3138
  } | null;
3079
3139
  /**
3080
- * Specifies how this payable was created in Monite: `upload` - created via an API call, `email` - sent via email to the entity's mailbox.
3140
+ * Specifies how this payable was created: `upload` - created via an API call, `email` - sent via email to the entity's mailbox.
3081
3141
  */
3082
3142
  payable_origin: PayableOriginEnum;
3083
3143
  /**
3084
- * The ID of the FIS payee account object stored in the Payments service, used for FIS Bill Pay STP.
3144
+ * The ID of the payee account used to send payments for this payable.
3085
3145
  */
3086
3146
  payee_account_id?: string | null;
3087
3147
  /**
@@ -3109,15 +3169,15 @@ type PayableResponseSchema = {
3109
3169
  */
3110
3170
  sender?: string | null;
3111
3171
  /**
3112
- * Specifies how the property values of this payable were provided: `ocr` - Monite OCR service extracted the values from the provided PDF or image file, `user_specified` - values were added or updated via an API call.
3172
+ * Specifies how the property values of this payable were provided: `ocr` - OCR extracted the values from the provided PDF or image file, `user_specified` - values were added or updated via an API call.
3113
3173
  */
3114
3174
  source_of_payable_data: SourceOfPayableDataEnum;
3115
3175
  /**
3116
- * The [status](https://docs.monite.com/accounts-payable/payables/index) of the payable.
3176
+ * The [status](https://docs.tesouro.com/finops/guides/accounts-payable/payables) of the payable.
3117
3177
  */
3118
3178
  status: PayableStateEnum;
3119
3179
  /**
3120
- * The subtotal amount to be paid, in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
3180
+ * The subtotal amount to be paid, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). For example, $12.50 is represented as 1250.
3121
3181
  */
3122
3182
  subtotal?: number | null;
3123
3183
  /**
@@ -3133,15 +3193,15 @@ type PayableResponseSchema = {
3133
3193
  */
3134
3194
  tax?: number | null;
3135
3195
  /**
3136
- * Tax amount in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
3196
+ * Tax amount in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). For example, $12.50 is represented as 1250.
3137
3197
  */
3138
3198
  tax_amount?: number | null;
3139
3199
  /**
3140
- * The total amount to be paid, in [minor units](https://docs.monite.com/references/currencies#minor-units). For example, $12.50 is represented as 1250.
3200
+ * The total amount to be paid, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). For example, $12.50 is represented as 1250.
3141
3201
  */
3142
3202
  total_amount?: number | null;
3143
3203
  /**
3144
- * The total price of the payable in [minor units](https://docs.monite.com/references/currencies#minor-units), excluding all issued credit notes.
3204
+ * The total price of the payable in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units), excluding all issued credit notes.
3145
3205
  */
3146
3206
  total_amount_with_credit_notes?: number | null;
3147
3207
  was_created_by_user_id?: string | null;
@@ -3152,7 +3212,7 @@ type PayableStateEnum = 'draft' | 'new' | 'approve_in_progress' | 'waiting_to_be
3152
3212
  */
3153
3213
  type PaymentReceivedEventData = {
3154
3214
  /**
3155
- * The remaining amount due of the invoice, in [minor units](https://docs.monite.com/references/currencies#minor-units) of the currency. For example, $12.5 is represented as 1250.
3215
+ * The remaining amount due of the invoice, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units) of the currency. For example, $12.5 is represented as 1250.
3156
3216
  */
3157
3217
  amount_due: number;
3158
3218
  /**
@@ -3325,6 +3385,8 @@ type PaymentTermsResponse = {
3325
3385
  */
3326
3386
  term_final: TermFinalDays;
3327
3387
  };
3388
+ type PayoutMethodEnum = 'outside_platform';
3389
+ type PayoutStatusEnum = 'unpaid' | 'paid';
3328
3390
  /**
3329
3391
  * A preview image generated for a file.
3330
3392
  */
@@ -3386,7 +3448,7 @@ type ProductServiceResponse = {
3386
3448
  entity_id: string;
3387
3449
  entity_user_id?: string | null;
3388
3450
  /**
3389
- * A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map the products in Monite to an external product catalog.
3451
+ * A user-defined identifier of the product. For example, an internal product code or SKU (stock keeping unit). Client applications can use this field to map products to an external product catalog.
3390
3452
  */
3391
3453
  external_reference?: string | null;
3392
3454
  ledger_account_id?: string | null;
@@ -3493,7 +3555,7 @@ type ReceiptResponseSchema = {
3493
3555
  */
3494
3556
  ocr_status?: string | null;
3495
3557
  /**
3496
- * Specifies how this receipt was created in Monite.
3558
+ * Specifies how this receipt was created.
3497
3559
  */
3498
3560
  origin: ReceiptOriginEnum;
3499
3561
  /**
@@ -3714,7 +3776,7 @@ type ReceivableHistoryResponse = {
3714
3776
  *
3715
3777
  * In `payment_received` events, the `current_pdf_url` value is available only in case of full payments and only if the entity setting `generate_paid_invoice_pdf` is `true`.
3716
3778
  *
3717
- * Note that Monite generates PDFs asynchronously. This means that the initial value of `current_pdf_url` for the abovementioned events right after they occurred is usually `null` and the value gets populated later after the PDF document has been generated.
3779
+ * Note that PDFs are generated asynchronously. This means that the initial value of `current_pdf_url` for the abovementioned events right after they occurred is usually `null` and the value gets populated later after the PDF document has been generated.
3718
3780
  */
3719
3781
  current_pdf_url?: string | null;
3720
3782
  /**
@@ -3923,10 +3985,10 @@ type ReminderMailSentEventData = {
3923
3985
  /**
3924
3986
  * Invoice reminder type:
3925
3987
  *
3926
- * * `term_1` - [payment reminder](https://docs.monite.com/accounts-receivable/invoices/payment-reminders) sent before discount date 1,
3988
+ * * `term_1` - [payment reminder](https://docs.tesouro.com/finops/guides/accounts-receivable/invoices/payment-reminders) sent before discount date 1,
3927
3989
  * * `term_2` - payment reminder sent before discount date 2,
3928
3990
  * * `term_final` - payment reminder sent before the invoice due date.
3929
- * * `overdue` - [overdue reminder](https://docs.monite.com/accounts-receivable/invoices/overdue-reminders) sent after the due date.
3991
+ * * `overdue` - [overdue reminder](https://docs.tesouro.com/finops/guides/accounts-receivable/invoices/overdue-reminders) sent after the due date.
3930
3992
  */
3931
3993
  term: ReminderTypeEnum;
3932
3994
  };
@@ -3954,11 +4016,11 @@ type ResponseItem = {
3954
4016
  */
3955
4017
  tax_status?: TaxStatusEnum;
3956
4018
  /**
3957
- * Total of line_item after tax with applied line item discount in [minor units](https://docs.monite.com/references/currencies#minor-units).
4019
+ * Total of line_item after tax with applied line item discount in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
3958
4020
  */
3959
4021
  total_after_tax: number;
3960
4022
  /**
3961
- * Total of line_item before tax in [minor units](https://docs.monite.com/references/currencies#minor-units).
4023
+ * Total of line_item before tax in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
3962
4024
  */
3963
4025
  total_before_tax: number;
3964
4026
  };
@@ -4024,9 +4086,9 @@ type StatementResponse = {
4024
4086
  };
4025
4087
  /**
4026
4088
  * Contains information about a document's status change. See the applicable
4027
- * [invoice statuses](https://docs.monite.com/accounts-receivable/invoices/index),
4028
- * [quote statuses](https://docs.monite.com/accounts-receivable/quotes/index),
4029
- * and [credit note statuses](https://docs.monite.com/accounts-receivable/credit-notes#credit-note-lifecycle).
4089
+ * [invoice statuses](https://docs.tesouro.com/finops/guides/accounts-receivable/invoices),
4090
+ * [quote statuses](https://docs.tesouro.com/finops/guides/accounts-receivable/quotes),
4091
+ * and [credit note statuses](https://docs.tesouro.com/finops/guides/accounts-receivable/credit-notes#credit-note-lifecycle).
4030
4092
  */
4031
4093
  type StatusChangedEventData = {
4032
4094
  /**
@@ -4086,7 +4148,7 @@ type TagReadSchema = {
4086
4148
  name: string;
4087
4149
  };
4088
4150
  /**
4089
- * Response DTO for masked tax identification data.
4151
+ * Masked tax identification data.
4090
4152
  */
4091
4153
  type TaxIdResponseDto = {
4092
4154
  /**
@@ -4118,7 +4180,7 @@ type TermFinalDays = {
4118
4180
  type TotalTaxAmountItem = {
4119
4181
  id?: string | null;
4120
4182
  /**
4121
- * The total tax of all line items, in [minor units](https://docs.monite.com/references/currencies#minor-units).
4183
+ * The total tax of all line items, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
4122
4184
  */
4123
4185
  amount: number;
4124
4186
  /**
@@ -4130,7 +4192,7 @@ type TotalTaxAmountItem = {
4130
4192
  */
4131
4193
  name?: string | null;
4132
4194
  /**
4133
- * The amount on which this VAT is calculated, in [minor units](https://docs.monite.com/references/currencies#minor-units).
4195
+ * The amount on which this VAT is calculated, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
4134
4196
  */
4135
4197
  taxable_amount: number;
4136
4198
  /**
@@ -4140,7 +4202,7 @@ type TotalTaxAmountItem = {
4140
4202
  };
4141
4203
  type TotalTaxAmountItemComponent = {
4142
4204
  /**
4143
- * The total tax of all line items, in [minor units](https://docs.monite.com/references/currencies#minor-units).
4205
+ * The total tax of all line items, in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units).
4144
4206
  */
4145
4207
  amount: number;
4146
4208
  name: string;
@@ -4164,11 +4226,11 @@ type TransactionRequiredFieldItem = {
4164
4226
  };
4165
4227
  type TransactionResponse = {
4166
4228
  /**
4167
- * A unique Monite-generated ID assigned to this transaction.
4229
+ * A unique system-generated ID assigned to this transaction.
4168
4230
  */
4169
4231
  id: string;
4170
4232
  /**
4171
- * The transaction amount in [minor units](https://docs.monite.com/references/currencies#minor-units). Positive values for in-flow, negative values for out-flow.
4233
+ * The transaction amount in [minor units](https://docs.tesouro.com/finops/support/currencies#minor-units). Positive values for in-flow, negative values for out-flow.
4172
4234
  */
4173
4235
  amount: number;
4174
4236
  /**
package/dist/index.d.ts CHANGED
@@ -431,11 +431,13 @@ declare const Scope: {
431
431
  readonly DisputeWrite: "dispute:write";
432
432
  readonly Email: "email";
433
433
  readonly ExpenseApproveOrg: "expense:approve:org";
434
+ readonly ExpensePayOrg: "expense:pay:org";
434
435
  readonly ExpenseReadOrg: "expense:read:org";
435
436
  readonly ExpenseReadSelf: "expense:read:self";
436
437
  readonly ExpenseWriteOrg: "expense:write:org";
437
438
  readonly ExpenseWriteSelf: "expense:write:self";
438
439
  readonly ExportReadOrg: "export:read:org";
440
+ readonly ExportReadSelf: "export:read:self";
439
441
  readonly ExportWriteOrg: "export:write:org";
440
442
  readonly ExternalBankAccountMicroDepositOrg: "external_bank_account:micro_deposit:org";
441
443
  readonly ExternalBankAccountReadOrg: "external_bank_account:read:org";
@@ -39,11 +39,13 @@ var e = {
39
39
  DisputeWrite: "dispute:write",
40
40
  Email: "email",
41
41
  ExpenseApproveOrg: "expense:approve:org",
42
+ ExpensePayOrg: "expense:pay:org",
42
43
  ExpenseReadOrg: "expense:read:org",
43
44
  ExpenseReadSelf: "expense:read:self",
44
45
  ExpenseWriteOrg: "expense:write:org",
45
46
  ExpenseWriteSelf: "expense:write:self",
46
47
  ExportReadOrg: "export:read:org",
48
+ ExportReadSelf: "export:read:self",
47
49
  ExportWriteOrg: "export:write:org",
48
50
  ExternalBankAccountMicroDepositOrg: "external_bank_account:micro_deposit:org",
49
51
  ExternalBankAccountReadOrg: "external_bank_account:read:org",
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.91", n = "940cd8c947f93f3833cbab34b4c24f7ad374991b", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.92", n = "242e44d05ee24f69748f0cb3367d576ba37a532b", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.91",
3
+ "version": "0.11.92",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [