@getyetty-sdk/pennylane 2026.5.7 → 2026.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -768,6 +768,85 @@ const WebhookSubscriptions__ResponseSchema = {
768
768
  "updated_at"
769
769
  ]
770
770
  };
771
+ const WebhookSubscriptions__IndexResponseSchema = {
772
+ type: "object",
773
+ additionalProperties: false,
774
+ properties: {
775
+ items: {
776
+ type: "array",
777
+ items: {
778
+ type: "object",
779
+ additionalProperties: false,
780
+ properties: {
781
+ id: {
782
+ type: "integer",
783
+ description: "ID of the webhook subscription",
784
+ example: 12345
785
+ },
786
+ callback_url: {
787
+ description: "HTTPS URL where webhook events are sent",
788
+ type: "string",
789
+ format: "uri",
790
+ example: "https://example.com/webhooks"
791
+ },
792
+ events: {
793
+ description: "Array of event types to subscribe to.\n- `customer_invoice.created`: the event is triggered when a customer invoice is created.\n- `quote.created`: the event is triggered when a quote is created.\n- `dms_file.created`: the event is triggered when a dms file is created.\n",
794
+ type: "array",
795
+ items: {
796
+ type: "string",
797
+ enum: [
798
+ "customer_invoice.created",
799
+ "quote.created",
800
+ "dms_file.created"
801
+ ]
802
+ },
803
+ example: ["customer_invoice.created", "quote.created"],
804
+ minItems: 1
805
+ },
806
+ enabled: {
807
+ description: "Indicates whether the webhook subscription is active",
808
+ type: "boolean",
809
+ example: true
810
+ },
811
+ created_at: {
812
+ description: "Creation date of the webhook subscription",
813
+ type: "string",
814
+ format: "date-time",
815
+ example: "2023-08-07T14:23:12.000Z"
816
+ },
817
+ updated_at: {
818
+ description: "Last update date of the webhook subscription",
819
+ type: "string",
820
+ format: "date-time",
821
+ example: "2023-08-07T14:23:12.000Z"
822
+ }
823
+ },
824
+ required: [
825
+ "id",
826
+ "callback_url",
827
+ "events",
828
+ "enabled",
829
+ "created_at",
830
+ "updated_at"
831
+ ]
832
+ }
833
+ },
834
+ has_more: {
835
+ description: "Indicates whether additional results are available",
836
+ type: "boolean"
837
+ },
838
+ next_cursor: {
839
+ description: "Cursor to retrieve the next set of results",
840
+ type: "string",
841
+ nullable: true
842
+ }
843
+ },
844
+ required: [
845
+ "items",
846
+ "has_more",
847
+ "next_cursor"
848
+ ]
849
+ };
771
850
  const BadRequestCodeEnumSchema = {
772
851
  type: "string",
773
852
  enum: [
@@ -1139,6 +1218,20 @@ const AuthorizedCountryAlpha2WithAnySchema = {
1139
1218
  "any"
1140
1219
  ]
1141
1220
  };
1221
+ const LedgerEntryAccountantsStatusSchema = {
1222
+ description: "The accounting state of the entry.\n- `archived`: The entry has been archived.\n- `draft`: The customer invoice is still in draft and has not been finalized.\n- `entry`: The invoice is incomplete, some information is missing and needs to be completed.\n- `waiting_details`: The entry is awaiting additional accounting details.\n- `validation_needed`: The entry is sent to the accountant and needs validation.\n- `accounting_needed`: The entry needs to be processed by the accountant.\n- `complete`: The entry has been validated by the accountant.\n- `null` : The entry is neither a transaction nor an invoice that needs to be processed on Pennylane\n",
1223
+ type: "string",
1224
+ nullable: true,
1225
+ enum: [
1226
+ "accounting_needed",
1227
+ "archived",
1228
+ "complete",
1229
+ "draft",
1230
+ "entry",
1231
+ "validation_needed",
1232
+ "waiting_details"
1233
+ ]
1234
+ };
1142
1235
  const LedgerEntries__CategoriesSchema = {
1143
1236
  type: "array",
1144
1237
  items: {
@@ -1435,6 +1528,20 @@ const LedgerEntries__ResponseSchema = {
1435
1528
  },
1436
1529
  required: ["id", "url"]
1437
1530
  },
1531
+ status: {
1532
+ description: "The accounting state of the entry.\n- `archived`: The entry has been archived.\n- `draft`: The customer invoice is still in draft and has not been finalized.\n- `entry`: The invoice is incomplete, some information is missing and needs to be completed.\n- `waiting_details`: The entry is awaiting additional accounting details.\n- `validation_needed`: The entry is sent to the accountant and needs validation.\n- `accounting_needed`: The entry needs to be processed by the accountant.\n- `complete`: The entry has been validated by the accountant.\n- `null` : The entry is neither a transaction nor an invoice that needs to be processed on Pennylane\n",
1533
+ type: "string",
1534
+ nullable: true,
1535
+ enum: [
1536
+ "accounting_needed",
1537
+ "archived",
1538
+ "complete",
1539
+ "draft",
1540
+ "entry",
1541
+ "validation_needed",
1542
+ "waiting_details"
1543
+ ]
1544
+ },
1438
1545
  categories: {
1439
1546
  type: "array",
1440
1547
  items: {
@@ -1607,6 +1714,7 @@ const LedgerEntries__ResponseSchema = {
1607
1714
  "invoice_number",
1608
1715
  "journal_id",
1609
1716
  "journal",
1717
+ "status",
1610
1718
  "categories",
1611
1719
  "ledger_attachment_filename",
1612
1720
  "ledger_attachment_id",
@@ -7635,6 +7743,15 @@ const BillingSubscriptions__ResponseSchema = {
7635
7743
  "updated_at"
7636
7744
  ]
7637
7745
  };
7746
+ const PDPAddressStatusesSchema = {
7747
+ type: "string",
7748
+ enum: [
7749
+ "pending",
7750
+ "activated",
7751
+ "provisioned",
7752
+ "draft"
7753
+ ]
7754
+ };
7638
7755
  const PDPAddresses__ResponseSchema = {
7639
7756
  type: "object",
7640
7757
  additionalProperties: false,
@@ -7656,11 +7773,11 @@ const PDPAddresses__ResponseSchema = {
7656
7773
  },
7657
7774
  status: {
7658
7775
  type: "string",
7659
- example: "provisioned",
7660
7776
  enum: [
7661
- "provisioned",
7662
7777
  "pending",
7663
- "activated"
7778
+ "activated",
7779
+ "provisioned",
7780
+ "draft"
7664
7781
  ]
7665
7782
  },
7666
7783
  exchange_direction: {
@@ -17906,34 +18023,18 @@ const BankEstablishments__ResponseSchema = {
17906
18023
  //#endregion
17907
18024
  //#region src/generated/sdk.gen.ts
17908
18025
  /**
17909
- * Delete a webhook subscription
18026
+ * List webhook subscriptions
17910
18027
  *
17911
- * This endpoint allows you to delete the webhook subscription for the authenticated
17912
- * token. Each token (developer token or OAuth application) can only have one webhook subscription.
18028
+ * Returns all webhook subscriptions for the authenticated token, paginated.
18029
+ * Note that the secret is not included in the response.
17913
18030
  *
17914
18031
  */
17915
- const deleteWebhookSubscription = (options) => (options?.client ?? client).delete({
18032
+ const getWebhookSubscriptions = (options) => (options?.client ?? client).get({
17916
18033
  security: [{
17917
18034
  scheme: "bearer",
17918
18035
  type: "http"
17919
18036
  }],
17920
- url: "/api/external/v2/webhook_subscription",
17921
- ...options
17922
- });
17923
- /**
17924
- * Get a webhook subscription
17925
- *
17926
- * This endpoint allows you to retrieve the webhook subscription for the authenticated
17927
- * token. Note that the secret is not included in the response.
17928
- * Each token (developer token or OAuth application) can only have one webhook subscription.
17929
- *
17930
- */
17931
- const getWebhookSubscription = (options) => (options?.client ?? client).get({
17932
- security: [{
17933
- scheme: "bearer",
17934
- type: "http"
17935
- }],
17936
- url: "/api/external/v2/webhook_subscription",
18037
+ url: "/api/external/v2/webhook_subscriptions",
17937
18038
  ...options
17938
18039
  });
17939
18040
  /**
@@ -17945,19 +18046,20 @@ const getWebhookSubscription = (options) => (options?.client ?? client).get({
17945
18046
  * - **Developer Token**: The subscription is scoped to the single company linked to the token.
17946
18047
  * - **OAuth Application Access Token**: The subscription covers **all companies** accessible by the OAuth application.
17947
18048
  *
17948
- * > ⚠️ **Limit**: Only one webhook subscription is allowed per OAuth Application or Developer Token.
18049
+ * **Limits**
18050
+ * Up to 10 webhook subscriptions are allowed per subscriber.
17949
18051
  *
17950
18052
  * **Secret**
17951
18053
  * . The secret will be auto-generated.
17952
18054
  *
17953
18055
  * > 🔒 The secret is **only returned in the creation response** and cannot be retrieved afterwards. Make sure to store it securely.
17954
18056
  */
17955
- const postWebhookSubscription = (options) => (options.client ?? client).post({
18057
+ const postWebhookSubscriptions = (options) => (options.client ?? client).post({
17956
18058
  security: [{
17957
18059
  scheme: "bearer",
17958
18060
  type: "http"
17959
18061
  }],
17960
- url: "/api/external/v2/webhook_subscription",
18062
+ url: "/api/external/v2/webhook_subscriptions",
17961
18063
  ...options,
17962
18064
  headers: {
17963
18065
  "Content-Type": "application/json",
@@ -17965,10 +18067,38 @@ const postWebhookSubscription = (options) => (options.client ?? client).post({
17965
18067
  }
17966
18068
  });
17967
18069
  /**
18070
+ * Delete a webhook subscription
18071
+ *
18072
+ * This endpoint allows you to delete a webhook subscription by ID.
18073
+ *
18074
+ */
18075
+ const deleteWebhookSubscription = (options) => (options.client ?? client).delete({
18076
+ security: [{
18077
+ scheme: "bearer",
18078
+ type: "http"
18079
+ }],
18080
+ url: "/api/external/v2/webhook_subscriptions/{id}",
18081
+ ...options
18082
+ });
18083
+ /**
18084
+ * Get a webhook subscription
18085
+ *
18086
+ * This endpoint allows you to retrieve a webhook subscription by ID.
18087
+ * Note that the secret is not included in the response.
18088
+ *
18089
+ */
18090
+ const getWebhookSubscription = (options) => (options.client ?? client).get({
18091
+ security: [{
18092
+ scheme: "bearer",
18093
+ type: "http"
18094
+ }],
18095
+ url: "/api/external/v2/webhook_subscriptions/{id}",
18096
+ ...options
18097
+ });
18098
+ /**
17968
18099
  * Update a webhook subscription
17969
18100
  *
17970
- * This endpoint allows you to update the webhook subscription for the authenticated
17971
- * token. Each token (developer token or OAuth application) can only have one webhook subscription.
18101
+ * This endpoint allows you to update a webhook subscription by ID.
17972
18102
  *
17973
18103
  */
17974
18104
  const putWebhookSubscription = (options) => (options.client ?? client).put({
@@ -17976,7 +18106,7 @@ const putWebhookSubscription = (options) => (options.client ?? client).put({
17976
18106
  scheme: "bearer",
17977
18107
  type: "http"
17978
18108
  }],
17979
- url: "/api/external/v2/webhook_subscription",
18109
+ url: "/api/external/v2/webhook_subscriptions/{id}",
17980
18110
  ...options,
17981
18111
  headers: {
17982
18112
  "Content-Type": "application/json",
@@ -21315,6 +21445,27 @@ const AuthorizedCountryAlpha2WithAny = {
21315
21445
  XK: "XK",
21316
21446
  ANY: "any"
21317
21447
  };
21448
+ /**
21449
+ * The accounting state of the entry.
21450
+ * - `archived`: The entry has been archived.
21451
+ * - `draft`: The customer invoice is still in draft and has not been finalized.
21452
+ * - `entry`: The invoice is incomplete, some information is missing and needs to be completed.
21453
+ * - `waiting_details`: The entry is awaiting additional accounting details.
21454
+ * - `validation_needed`: The entry is sent to the accountant and needs validation.
21455
+ * - `accounting_needed`: The entry needs to be processed by the accountant.
21456
+ * - `complete`: The entry has been validated by the accountant.
21457
+ * - `null` : The entry is neither a transaction nor an invoice that needs to be processed on Pennylane
21458
+ *
21459
+ */
21460
+ const LedgerEntryAccountantsStatus = {
21461
+ ACCOUNTING_NEEDED: "accounting_needed",
21462
+ ARCHIVED: "archived",
21463
+ COMPLETE: "complete",
21464
+ DRAFT: "draft",
21465
+ ENTRY: "entry",
21466
+ VALIDATION_NEEDED: "validation_needed",
21467
+ WAITING_DETAILS: "waiting_details"
21468
+ };
21318
21469
  const Currency = {
21319
21470
  EUR: "EUR",
21320
21471
  USD: "USD",
@@ -21936,6 +22087,12 @@ const BillingSubscriptionRuleTypes = {
21936
22087
  MONTHLY: "monthly",
21937
22088
  YEARLY: "yearly"
21938
22089
  };
22090
+ const PdpAddressStatuses = {
22091
+ PENDING: "pending",
22092
+ ACTIVATED: "activated",
22093
+ PROVISIONED: "provisioned",
22094
+ DRAFT: "draft"
22095
+ };
21939
22096
  /**
21940
22097
  * The state of the export
21941
22098
  */
@@ -22175,5 +22332,5 @@ function createClientWithApiKey(apiKey) {
22175
22332
  }
22176
22333
 
22177
22334
  //#endregion
22178
- export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccounts__ResponseSchema, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionRuleTypes, BillingSubscriptionRuleTypesSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptions__ResponseSchema, Categories__ResponseSchema, CategoryGroups__ResponseSchema, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomers__ResponseSchema, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, Currency, Currency2, CurrencySchema, Currency_2Schema, CustomerInvoiceDocumentTypes, CustomerInvoiceDocumentTypesSchema, CustomerInvoicePDPStatusSchema, CustomerInvoicePdpStatus, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsSchema, CustomerInvoices__FinalizedInvoiceLineWithProduct_RequestSchema, CustomerInvoices__FinalizedInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__IncludedInvoiceLinesCollectionSchema, CustomerInvoices__InclusionsSchema, CustomerInvoices__InvoiceLineSchema, CustomerInvoices__MatchedTransactions__CategoriesResponseSchema, CustomerInvoices__MatchedTransactions__ResponseSchema, CustomerInvoices__PostDraft_RequestSchema, CustomerInvoices__PostFinalized_RequestSchema, CustomerInvoices__PutDraft_RequestSchema, CustomerInvoices__PutFinalized_RequestSchema, CustomerInvoices__ResponseSchema, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DecimalStringSchema, DiscountType, DiscountTypeSchema, EstimateStatus, EstimateStatusSchema, ExportStatus, ExportStatusSchema, FileAttachments__ResponseSchema, GocardlessMandates__ResponseSchema, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, Journals__ResponseSchema, Language, LanguageSchema, LedgerAccounts__ResponseSchema, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, MandateStatus, MandateStatusSchema, Null, Null2, NullSchema, PDPAddresses__ResponseSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequests__ResponseSchema, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLineWithProduct_RequestSchema, Quotes__InvoiceLineWithoutProduct_RequestSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierInvoicePDPDisputeReasonSchema, SupplierInvoicePDPReasonSchema, SupplierInvoicePDPRefuseReasonSchema, SupplierInvoicePDPStatusSchema, SupplierInvoicePdpDisputeReason, SupplierInvoicePdpReason, SupplierInvoicePdpRefuseReason, SupplierInvoicePdpStatus, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__EInvoiceStatus__DisputeRequestSchema, SupplierInvoices__EInvoiceStatus__RefuseRequestSchema, SupplierInvoices__EInvoiceStatus__ResponseSchema, SupplierInvoices__EInvoiceStatus__UndisputeRequestSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethods, SupplierPaymentMethodsSchema, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, ThirdpartySupplierDueDateRule, ThirdpartySupplierDueDateRuleSchema, TransactionDirection, TransactionDirectionSchema, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceEInvoiceImport, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createSupplierInvoiceEInvoiceImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, exportGeneralLedger, finalizeCustomerInvoice, getAnalyticalGeneralLedgerExport, getBankAccount, getBankAccounts, getBankEstablishments, getBillingSubscription, getBillingSubscriptionInvoiceLineSections, getBillingSubscriptionInvoiceLines, getBillingSubscriptions, getCategories, getCategory, getCategoryGroup, getCategoryGroupCategories, getCategoryGroups, getCommercialDocument, getCommercialDocumentAppendices, getCommercialDocumentInvoiceLineSections, getCommercialDocumentInvoiceLines, getCompanyCustomer, getCustomer, getCustomerCategories, getCustomerChanges, getCustomerContacts, getCustomerInvoice, getCustomerInvoiceAppendices, getCustomerInvoiceCategories, getCustomerInvoiceCustomHeaderFields, getCustomerInvoiceInvoiceLineSections, getCustomerInvoiceInvoiceLines, getCustomerInvoiceMatchedTransactions, getCustomerInvoicePayments, getCustomerInvoiceTemplates, getCustomerInvoices, getCustomerInvoicesChanges, getCustomers, getFecExport, getGeneralLedgerExport, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, getPaRegistrations, getProAccountMandateMigrations, getProAccountMandates, getProduct, getProductChanges, getProducts, getPurchaseRequest, getPurchaseRequests, getQuote, getQuoteAppendices, getQuoteChanges, getQuoteInvoiceLineSections, getQuoteInvoiceLines, getSepaMandate, getSepaMandates, getSupplier, getSupplierCategories, getSupplierChanges, getSupplierInvoice, getSupplierInvoiceCategories, getSupplierInvoiceLines, getSupplierInvoiceMatchedTransactions, getSupplierInvoicePayments, getSupplierInvoices, getSupplierInvoicesChanges, getSuppliers, getTransaction, getTransactionCategories, getTransactionChanges, getTransactionMatchedInvoices, getTransactions, getTrialBalance, getWebhookSubscription, importCustomerInvoices, importSupplierInvoice, linkCreditNote, listCommercialDocuments, listQuotes, markAsPaidCustomerInvoice, mergeHeaders, nullSchema, postBankAccount, postBillingSubscriptions, postCategories, postCommercialDocumentAppendices, postCompanyCustomer, postCustomerInvoiceAppendices, postCustomerInvoiceMatchedTransactions, postCustomerInvoices, postFileAttachments, postGocardlessMandateAssociations, postGocardlessMandateCancellations, postGocardlessMandateMailRequests, postIndividualCustomer, postJournals, postLedgerAccounts, postLedgerAttachments, postLedgerEntries, postLedgerEntryLinesLetter, postProAccountMandateMailRequests, postProAccountMandateMigrations, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putSupplierInvoiceEInvoiceStatus, putTransactionCategories, putWebhookSubscription, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
22335
+ export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccounts__ResponseSchema, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionRuleTypes, BillingSubscriptionRuleTypesSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptions__ResponseSchema, Categories__ResponseSchema, CategoryGroups__ResponseSchema, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCustomers__ResponseSchema, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, Currency, Currency2, CurrencySchema, Currency_2Schema, CustomerInvoiceDocumentTypes, CustomerInvoiceDocumentTypesSchema, CustomerInvoicePDPStatusSchema, CustomerInvoicePdpStatus, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, CustomerInvoices__EInvoices__Imports__ImportOptionsSchema, CustomerInvoices__FinalizedInvoiceLineWithProduct_RequestSchema, CustomerInvoices__FinalizedInvoiceLineWithoutProduct_RequestSchema, CustomerInvoices__IncludedInvoiceLinesCollectionSchema, CustomerInvoices__InclusionsSchema, CustomerInvoices__InvoiceLineSchema, CustomerInvoices__MatchedTransactions__CategoriesResponseSchema, CustomerInvoices__MatchedTransactions__ResponseSchema, CustomerInvoices__PostDraft_RequestSchema, CustomerInvoices__PostFinalized_RequestSchema, CustomerInvoices__PutDraft_RequestSchema, CustomerInvoices__PutFinalized_RequestSchema, CustomerInvoices__ResponseSchema, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DecimalStringSchema, DiscountType, DiscountTypeSchema, EstimateStatus, EstimateStatusSchema, ExportStatus, ExportStatusSchema, FileAttachments__ResponseSchema, GocardlessMandates__ResponseSchema, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, Journals__ResponseSchema, Language, LanguageSchema, LedgerAccounts__ResponseSchema, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryAccountantsStatus, LedgerEntryAccountantsStatusSchema, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, MandateStatus, MandateStatusSchema, Null, Null2, NullSchema, PDPAddressStatusesSchema, PDPAddresses__ResponseSchema, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, PdpAddressStatuses, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequests__ResponseSchema, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLineWithProduct_RequestSchema, Quotes__InvoiceLineWithoutProduct_RequestSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierInvoicePDPDisputeReasonSchema, SupplierInvoicePDPReasonSchema, SupplierInvoicePDPRefuseReasonSchema, SupplierInvoicePDPStatusSchema, SupplierInvoicePdpDisputeReason, SupplierInvoicePdpReason, SupplierInvoicePdpRefuseReason, SupplierInvoicePdpStatus, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__EInvoiceStatus__DisputeRequestSchema, SupplierInvoices__EInvoiceStatus__RefuseRequestSchema, SupplierInvoices__EInvoiceStatus__ResponseSchema, SupplierInvoices__EInvoiceStatus__UndisputeRequestSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSchema, SupplierInvoices__EInvoices__Imports__ImportOptionsSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethods, SupplierPaymentMethodsSchema, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, ThirdpartySupplierDueDateRule, ThirdpartySupplierDueDateRuleSchema, TransactionDirection, TransactionDirectionSchema, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, VatRateWithMixed, VatRateWithMixedSchema, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__IndexResponseSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceEInvoiceImport, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createSupplierInvoiceEInvoiceImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, deleteWebhookSubscription, exportAnalyticalGeneralLedger, exportFec, exportGeneralLedger, finalizeCustomerInvoice, getAnalyticalGeneralLedgerExport, getBankAccount, getBankAccounts, getBankEstablishments, getBillingSubscription, getBillingSubscriptionInvoiceLineSections, getBillingSubscriptionInvoiceLines, getBillingSubscriptions, getCategories, getCategory, getCategoryGroup, getCategoryGroupCategories, getCategoryGroups, getCommercialDocument, getCommercialDocumentAppendices, getCommercialDocumentInvoiceLineSections, getCommercialDocumentInvoiceLines, getCompanyCustomer, getCustomer, getCustomerCategories, getCustomerChanges, getCustomerContacts, getCustomerInvoice, getCustomerInvoiceAppendices, getCustomerInvoiceCategories, getCustomerInvoiceCustomHeaderFields, getCustomerInvoiceInvoiceLineSections, getCustomerInvoiceInvoiceLines, getCustomerInvoiceMatchedTransactions, getCustomerInvoicePayments, getCustomerInvoiceTemplates, getCustomerInvoices, getCustomerInvoicesChanges, getCustomers, getFecExport, getGeneralLedgerExport, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, getPaRegistrations, getProAccountMandateMigrations, getProAccountMandates, getProduct, getProductChanges, getProducts, getPurchaseRequest, getPurchaseRequests, getQuote, getQuoteAppendices, getQuoteChanges, getQuoteInvoiceLineSections, getQuoteInvoiceLines, getSepaMandate, getSepaMandates, getSupplier, getSupplierCategories, getSupplierChanges, getSupplierInvoice, getSupplierInvoiceCategories, getSupplierInvoiceLines, getSupplierInvoiceMatchedTransactions, getSupplierInvoicePayments, getSupplierInvoices, getSupplierInvoicesChanges, getSuppliers, getTransaction, getTransactionCategories, getTransactionChanges, getTransactionMatchedInvoices, getTransactions, getTrialBalance, getWebhookSubscription, getWebhookSubscriptions, importCustomerInvoices, importSupplierInvoice, linkCreditNote, listCommercialDocuments, listQuotes, markAsPaidCustomerInvoice, mergeHeaders, nullSchema, postBankAccount, postBillingSubscriptions, postCategories, postCommercialDocumentAppendices, postCompanyCustomer, postCustomerInvoiceAppendices, postCustomerInvoiceMatchedTransactions, postCustomerInvoices, postFileAttachments, postGocardlessMandateAssociations, postGocardlessMandateCancellations, postGocardlessMandateMailRequests, postIndividualCustomer, postJournals, postLedgerAccounts, postLedgerAttachments, postLedgerEntries, postLedgerEntryLinesLetter, postProAccountMandateMailRequests, postProAccountMandateMigrations, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postWebhookSubscriptions, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putSupplierInvoiceEInvoiceStatus, putTransactionCategories, putWebhookSubscription, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
22179
22336
  //# sourceMappingURL=index.mjs.map