@getyetty-sdk/pennylane 2026.5.12 → 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.d.mts +407 -82
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +170 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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",
|
|
@@ -17915,34 +18023,18 @@ const BankEstablishments__ResponseSchema = {
|
|
|
17915
18023
|
//#endregion
|
|
17916
18024
|
//#region src/generated/sdk.gen.ts
|
|
17917
18025
|
/**
|
|
17918
|
-
*
|
|
17919
|
-
*
|
|
17920
|
-
* This endpoint allows you to delete the webhook subscription for the authenticated
|
|
17921
|
-
* token. Each token (developer token or OAuth application) can only have one webhook subscription.
|
|
17922
|
-
*
|
|
17923
|
-
*/
|
|
17924
|
-
const deleteWebhookSubscription = (options) => (options?.client ?? client).delete({
|
|
17925
|
-
security: [{
|
|
17926
|
-
scheme: "bearer",
|
|
17927
|
-
type: "http"
|
|
17928
|
-
}],
|
|
17929
|
-
url: "/api/external/v2/webhook_subscription",
|
|
17930
|
-
...options
|
|
17931
|
-
});
|
|
17932
|
-
/**
|
|
17933
|
-
* Get a webhook subscription
|
|
18026
|
+
* List webhook subscriptions
|
|
17934
18027
|
*
|
|
17935
|
-
*
|
|
17936
|
-
*
|
|
17937
|
-
* 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.
|
|
17938
18030
|
*
|
|
17939
18031
|
*/
|
|
17940
|
-
const
|
|
18032
|
+
const getWebhookSubscriptions = (options) => (options?.client ?? client).get({
|
|
17941
18033
|
security: [{
|
|
17942
18034
|
scheme: "bearer",
|
|
17943
18035
|
type: "http"
|
|
17944
18036
|
}],
|
|
17945
|
-
url: "/api/external/v2/
|
|
18037
|
+
url: "/api/external/v2/webhook_subscriptions",
|
|
17946
18038
|
...options
|
|
17947
18039
|
});
|
|
17948
18040
|
/**
|
|
@@ -17954,19 +18046,20 @@ const getWebhookSubscription = (options) => (options?.client ?? client).get({
|
|
|
17954
18046
|
* - **Developer Token**: The subscription is scoped to the single company linked to the token.
|
|
17955
18047
|
* - **OAuth Application Access Token**: The subscription covers **all companies** accessible by the OAuth application.
|
|
17956
18048
|
*
|
|
17957
|
-
*
|
|
18049
|
+
* **Limits**
|
|
18050
|
+
* Up to 10 webhook subscriptions are allowed per subscriber.
|
|
17958
18051
|
*
|
|
17959
18052
|
* **Secret**
|
|
17960
18053
|
* . The secret will be auto-generated.
|
|
17961
18054
|
*
|
|
17962
18055
|
* > 🔒 The secret is **only returned in the creation response** and cannot be retrieved afterwards. Make sure to store it securely.
|
|
17963
18056
|
*/
|
|
17964
|
-
const
|
|
18057
|
+
const postWebhookSubscriptions = (options) => (options.client ?? client).post({
|
|
17965
18058
|
security: [{
|
|
17966
18059
|
scheme: "bearer",
|
|
17967
18060
|
type: "http"
|
|
17968
18061
|
}],
|
|
17969
|
-
url: "/api/external/v2/
|
|
18062
|
+
url: "/api/external/v2/webhook_subscriptions",
|
|
17970
18063
|
...options,
|
|
17971
18064
|
headers: {
|
|
17972
18065
|
"Content-Type": "application/json",
|
|
@@ -17974,10 +18067,38 @@ const postWebhookSubscription = (options) => (options.client ?? client).post({
|
|
|
17974
18067
|
}
|
|
17975
18068
|
});
|
|
17976
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
|
+
/**
|
|
17977
18099
|
* Update a webhook subscription
|
|
17978
18100
|
*
|
|
17979
|
-
* This endpoint allows you to update
|
|
17980
|
-
* 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.
|
|
17981
18102
|
*
|
|
17982
18103
|
*/
|
|
17983
18104
|
const putWebhookSubscription = (options) => (options.client ?? client).put({
|
|
@@ -17985,7 +18106,7 @@ const putWebhookSubscription = (options) => (options.client ?? client).put({
|
|
|
17985
18106
|
scheme: "bearer",
|
|
17986
18107
|
type: "http"
|
|
17987
18108
|
}],
|
|
17988
|
-
url: "/api/external/v2/
|
|
18109
|
+
url: "/api/external/v2/webhook_subscriptions/{id}",
|
|
17989
18110
|
...options,
|
|
17990
18111
|
headers: {
|
|
17991
18112
|
"Content-Type": "application/json",
|
|
@@ -21324,6 +21445,27 @@ const AuthorizedCountryAlpha2WithAny = {
|
|
|
21324
21445
|
XK: "XK",
|
|
21325
21446
|
ANY: "any"
|
|
21326
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
|
+
};
|
|
21327
21469
|
const Currency = {
|
|
21328
21470
|
EUR: "EUR",
|
|
21329
21471
|
USD: "USD",
|
|
@@ -22190,5 +22332,5 @@ function createClientWithApiKey(apiKey) {
|
|
|
22190
22332
|
}
|
|
22191
22333
|
|
|
22192
22334
|
//#endregion
|
|
22193
|
-
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, 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__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,
|
|
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 };
|
|
22194
22336
|
//# sourceMappingURL=index.mjs.map
|