@getyetty-sdk/pennylane 2026.2.20 → 2026.2.27
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 +1023 -37
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +393 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -367,6 +367,18 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
367
367
|
declare const createClient: (config?: Config) => Client;
|
|
368
368
|
//#endregion
|
|
369
369
|
//#region src/generated/types.gen.d.ts
|
|
370
|
+
declare const CompanyWebhookSubscriptionEvents: {
|
|
371
|
+
readonly CUSTOMER_INVOICE_CREATED: "customer_invoice.created";
|
|
372
|
+
readonly QUOTE_CREATED: "quote.created";
|
|
373
|
+
};
|
|
374
|
+
type CompanyWebhookSubscriptionEvents = (typeof CompanyWebhookSubscriptionEvents)[keyof typeof CompanyWebhookSubscriptionEvents];
|
|
375
|
+
/**
|
|
376
|
+
* Array of event types to subscribe to.
|
|
377
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
378
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
379
|
+
*
|
|
380
|
+
*/
|
|
381
|
+
type WebhookSubscriptionsEvents = Array<'customer_invoice.created' | 'quote.created'>;
|
|
370
382
|
type WebhookSubscriptionsResponse = {
|
|
371
383
|
/**
|
|
372
384
|
* ID of the webhook subscription
|
|
@@ -377,9 +389,12 @@ type WebhookSubscriptionsResponse = {
|
|
|
377
389
|
*/
|
|
378
390
|
callback_url: string;
|
|
379
391
|
/**
|
|
380
|
-
* Array of event types
|
|
392
|
+
* Array of event types to subscribe to.
|
|
393
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
394
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
395
|
+
*
|
|
381
396
|
*/
|
|
382
|
-
events: Array<
|
|
397
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
383
398
|
/**
|
|
384
399
|
* Creation date of the webhook subscription
|
|
385
400
|
*/
|
|
@@ -417,6 +432,37 @@ declare const BadRequestCodeEnum: {
|
|
|
417
432
|
readonly VALIDATE_ERROR: "ValidateError";
|
|
418
433
|
};
|
|
419
434
|
type BadRequestCodeEnum = (typeof BadRequestCodeEnum)[keyof typeof BadRequestCodeEnum];
|
|
435
|
+
type WebhookSubscriptionsCreateResponse = {
|
|
436
|
+
/**
|
|
437
|
+
* ID of the webhook subscription
|
|
438
|
+
*/
|
|
439
|
+
id: number;
|
|
440
|
+
/**
|
|
441
|
+
* HTTPS URL where webhook events are sent
|
|
442
|
+
*/
|
|
443
|
+
callback_url: string;
|
|
444
|
+
/**
|
|
445
|
+
* Array of event types to subscribe to.
|
|
446
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
447
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
451
|
+
/**
|
|
452
|
+
* Automatically generated secret for HMAC signature verification. This is only returned once
|
|
453
|
+
* on creation. Store it securely as it cannot be retrieved afterwards.
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
secret: string;
|
|
457
|
+
/**
|
|
458
|
+
* Creation date of the webhook subscription
|
|
459
|
+
*/
|
|
460
|
+
created_at: string;
|
|
461
|
+
/**
|
|
462
|
+
* Last update date of the webhook subscription
|
|
463
|
+
*/
|
|
464
|
+
updated_at: string;
|
|
465
|
+
};
|
|
420
466
|
type JournalsResponse = {
|
|
421
467
|
code: string;
|
|
422
468
|
id: number;
|
|
@@ -1376,11 +1422,11 @@ type CustomerInvoicesResponse = {
|
|
|
1376
1422
|
*/
|
|
1377
1423
|
deadline: string | null;
|
|
1378
1424
|
/**
|
|
1379
|
-
* Invoice taxable amount (in
|
|
1425
|
+
* Invoice taxable amount (in invoice currency)
|
|
1380
1426
|
*/
|
|
1381
1427
|
currency_tax: string;
|
|
1382
1428
|
/**
|
|
1383
|
-
* Invoice taxable amount (in
|
|
1429
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
1384
1430
|
*/
|
|
1385
1431
|
tax: string;
|
|
1386
1432
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -4933,6 +4979,112 @@ type GocardlessMandatesResponse = {
|
|
|
4933
4979
|
*/
|
|
4934
4980
|
updated_at: string;
|
|
4935
4981
|
};
|
|
4982
|
+
type ProAccountMandateMigrationsResponse = {
|
|
4983
|
+
/**
|
|
4984
|
+
* Numeric ID extracted from the display_id
|
|
4985
|
+
*/
|
|
4986
|
+
id: number;
|
|
4987
|
+
/**
|
|
4988
|
+
* Status of the mandate migration candidate.
|
|
4989
|
+
* - `available`: The mandate is available for migration
|
|
4990
|
+
* - `completed`: The mandate has been successfully migrated
|
|
4991
|
+
*
|
|
4992
|
+
*/
|
|
4993
|
+
status: 'available' | 'completed';
|
|
4994
|
+
/**
|
|
4995
|
+
* The direct debit method used by this mandate.
|
|
4996
|
+
* - `GoCardless`: GoCardless mandate
|
|
4997
|
+
* - `XML`: SEPA XML mandate
|
|
4998
|
+
* - `ProAccount`: Pro Account mandate
|
|
4999
|
+
*
|
|
5000
|
+
*/
|
|
5001
|
+
direct_debit_method: 'GoCardless' | 'XML' | 'ProAccount';
|
|
5002
|
+
/**
|
|
5003
|
+
* Date when the mandate was signed
|
|
5004
|
+
*/
|
|
5005
|
+
signed_at: string | null;
|
|
5006
|
+
/**
|
|
5007
|
+
* Error message if the migration failed
|
|
5008
|
+
*/
|
|
5009
|
+
error_message: string | null;
|
|
5010
|
+
/**
|
|
5011
|
+
* Date when the mandate was successfully migrated
|
|
5012
|
+
*/
|
|
5013
|
+
migrated_at: string | null;
|
|
5014
|
+
/**
|
|
5015
|
+
* Date when the migration was started
|
|
5016
|
+
*/
|
|
5017
|
+
migration_started_at: string | null;
|
|
5018
|
+
/**
|
|
5019
|
+
* A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.
|
|
5020
|
+
*/
|
|
5021
|
+
mandate: {
|
|
5022
|
+
id: number;
|
|
5023
|
+
type: 'SepaMandate' | 'Mandate';
|
|
5024
|
+
};
|
|
5025
|
+
/**
|
|
5026
|
+
* The customer associated with this mandate
|
|
5027
|
+
*/
|
|
5028
|
+
customer: {
|
|
5029
|
+
id: number;
|
|
5030
|
+
/**
|
|
5031
|
+
* URL to get the customer.
|
|
5032
|
+
*/
|
|
5033
|
+
url: string;
|
|
5034
|
+
} | null;
|
|
5035
|
+
/**
|
|
5036
|
+
* Creation date of the mandate migration candidate
|
|
5037
|
+
*/
|
|
5038
|
+
created_at: string;
|
|
5039
|
+
/**
|
|
5040
|
+
* Last update date of the mandate migration candidate
|
|
5041
|
+
*/
|
|
5042
|
+
updated_at: string;
|
|
5043
|
+
};
|
|
5044
|
+
type ProAccountMandateMigrationsCreateResponse = {
|
|
5045
|
+
id: number;
|
|
5046
|
+
status: string;
|
|
5047
|
+
/**
|
|
5048
|
+
* The direct debit method used by this mandate.
|
|
5049
|
+
* - `GoCardless`: GoCardless mandate
|
|
5050
|
+
* - `XML`: SEPA mandate
|
|
5051
|
+
* - `ProAccount`: Pro Account mandate
|
|
5052
|
+
*
|
|
5053
|
+
*/
|
|
5054
|
+
direct_debit_method: 'GoCardless' | 'XML' | 'ProAccount';
|
|
5055
|
+
/**
|
|
5056
|
+
* Date when the mandate was signed
|
|
5057
|
+
*/
|
|
5058
|
+
signed_at: string | null;
|
|
5059
|
+
/**
|
|
5060
|
+
* Error message if the migration failed
|
|
5061
|
+
*/
|
|
5062
|
+
error_message: string | null;
|
|
5063
|
+
/**
|
|
5064
|
+
* Date when the mandate was successfully migrated
|
|
5065
|
+
*/
|
|
5066
|
+
migrated_at: string | null;
|
|
5067
|
+
/**
|
|
5068
|
+
* Date when the migration was started
|
|
5069
|
+
*/
|
|
5070
|
+
migration_started_at: string | null;
|
|
5071
|
+
created_at: string;
|
|
5072
|
+
updated_at: string;
|
|
5073
|
+
/**
|
|
5074
|
+
* A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.
|
|
5075
|
+
*/
|
|
5076
|
+
mandate: {
|
|
5077
|
+
id: number;
|
|
5078
|
+
type: string;
|
|
5079
|
+
};
|
|
5080
|
+
customer: {
|
|
5081
|
+
id: number;
|
|
5082
|
+
/**
|
|
5083
|
+
* URL to get the customer.
|
|
5084
|
+
*/
|
|
5085
|
+
url: string;
|
|
5086
|
+
};
|
|
5087
|
+
};
|
|
4936
5088
|
/**
|
|
4937
5089
|
* Payment mandate for Pro Account
|
|
4938
5090
|
*/
|
|
@@ -5159,9 +5311,12 @@ type GetWebhookSubscriptionResponses = {
|
|
|
5159
5311
|
*/
|
|
5160
5312
|
callback_url: string;
|
|
5161
5313
|
/**
|
|
5162
|
-
* Array of event types
|
|
5314
|
+
* Array of event types to subscribe to.
|
|
5315
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5316
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
5317
|
+
*
|
|
5163
5318
|
*/
|
|
5164
|
-
events: Array<
|
|
5319
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5165
5320
|
/**
|
|
5166
5321
|
* Creation date of the webhook subscription
|
|
5167
5322
|
*/
|
|
@@ -5173,6 +5328,222 @@ type GetWebhookSubscriptionResponses = {
|
|
|
5173
5328
|
};
|
|
5174
5329
|
};
|
|
5175
5330
|
type GetWebhookSubscriptionResponse = GetWebhookSubscriptionResponses[keyof GetWebhookSubscriptionResponses];
|
|
5331
|
+
type PostWebhookSubscriptionData = {
|
|
5332
|
+
body: {
|
|
5333
|
+
/**
|
|
5334
|
+
* HTTPS URL where webhook events will be sent
|
|
5335
|
+
*/
|
|
5336
|
+
callback_url: string;
|
|
5337
|
+
/**
|
|
5338
|
+
* Array of event types to subscribe to.
|
|
5339
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5340
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
5341
|
+
*
|
|
5342
|
+
*/
|
|
5343
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5344
|
+
};
|
|
5345
|
+
path?: never;
|
|
5346
|
+
query?: never;
|
|
5347
|
+
url: '/api/external/v2/webhook_subscription';
|
|
5348
|
+
};
|
|
5349
|
+
type PostWebhookSubscriptionErrors = {
|
|
5350
|
+
/**
|
|
5351
|
+
* Bad request
|
|
5352
|
+
*/
|
|
5353
|
+
400: {
|
|
5354
|
+
error: string;
|
|
5355
|
+
status: number;
|
|
5356
|
+
} | {
|
|
5357
|
+
message: string;
|
|
5358
|
+
} | {
|
|
5359
|
+
message: string;
|
|
5360
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5361
|
+
} | {
|
|
5362
|
+
message: string;
|
|
5363
|
+
field: string;
|
|
5364
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5365
|
+
} | {
|
|
5366
|
+
message: string;
|
|
5367
|
+
payload: string;
|
|
5368
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5369
|
+
} | {
|
|
5370
|
+
message: string;
|
|
5371
|
+
field: string;
|
|
5372
|
+
payload: string;
|
|
5373
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5374
|
+
};
|
|
5375
|
+
/**
|
|
5376
|
+
* Access token is missing or invalid
|
|
5377
|
+
*/
|
|
5378
|
+
401: {
|
|
5379
|
+
error: string;
|
|
5380
|
+
status: number;
|
|
5381
|
+
};
|
|
5382
|
+
/**
|
|
5383
|
+
* Access to this resource forbidden
|
|
5384
|
+
*/
|
|
5385
|
+
403: {
|
|
5386
|
+
error: string;
|
|
5387
|
+
status: number;
|
|
5388
|
+
};
|
|
5389
|
+
/**
|
|
5390
|
+
* Conflict with the current state of the target resource, such as when trying to create a resource that already exists.
|
|
5391
|
+
*/
|
|
5392
|
+
409: {
|
|
5393
|
+
error: string;
|
|
5394
|
+
status: number;
|
|
5395
|
+
};
|
|
5396
|
+
/**
|
|
5397
|
+
* Unprocessable content
|
|
5398
|
+
*/
|
|
5399
|
+
422: {
|
|
5400
|
+
error: string;
|
|
5401
|
+
status: number;
|
|
5402
|
+
};
|
|
5403
|
+
};
|
|
5404
|
+
type PostWebhookSubscriptionError = PostWebhookSubscriptionErrors[keyof PostWebhookSubscriptionErrors];
|
|
5405
|
+
type PostWebhookSubscriptionResponses = {
|
|
5406
|
+
/**
|
|
5407
|
+
* Renders the created webhook subscription
|
|
5408
|
+
*/
|
|
5409
|
+
201: {
|
|
5410
|
+
/**
|
|
5411
|
+
* ID of the webhook subscription
|
|
5412
|
+
*/
|
|
5413
|
+
id: number;
|
|
5414
|
+
/**
|
|
5415
|
+
* HTTPS URL where webhook events are sent
|
|
5416
|
+
*/
|
|
5417
|
+
callback_url: string;
|
|
5418
|
+
/**
|
|
5419
|
+
* Array of event types to subscribe to.
|
|
5420
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5421
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
5422
|
+
*
|
|
5423
|
+
*/
|
|
5424
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5425
|
+
/**
|
|
5426
|
+
* Automatically generated secret for HMAC signature verification. This is only returned once
|
|
5427
|
+
* on creation. Store it securely as it cannot be retrieved afterwards.
|
|
5428
|
+
*
|
|
5429
|
+
*/
|
|
5430
|
+
secret: string;
|
|
5431
|
+
/**
|
|
5432
|
+
* Creation date of the webhook subscription
|
|
5433
|
+
*/
|
|
5434
|
+
created_at: string;
|
|
5435
|
+
/**
|
|
5436
|
+
* Last update date of the webhook subscription
|
|
5437
|
+
*/
|
|
5438
|
+
updated_at: string;
|
|
5439
|
+
};
|
|
5440
|
+
};
|
|
5441
|
+
type PostWebhookSubscriptionResponse = PostWebhookSubscriptionResponses[keyof PostWebhookSubscriptionResponses];
|
|
5442
|
+
type PutWebhookSubscriptionData = {
|
|
5443
|
+
body: {
|
|
5444
|
+
/**
|
|
5445
|
+
* HTTPS URL where webhook events will be sent
|
|
5446
|
+
*/
|
|
5447
|
+
callback_url?: string;
|
|
5448
|
+
/**
|
|
5449
|
+
* Array of event types to subscribe to.
|
|
5450
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5451
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
5452
|
+
*
|
|
5453
|
+
*/
|
|
5454
|
+
events?: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5455
|
+
};
|
|
5456
|
+
path?: never;
|
|
5457
|
+
query?: never;
|
|
5458
|
+
url: '/api/external/v2/webhook_subscription';
|
|
5459
|
+
};
|
|
5460
|
+
type PutWebhookSubscriptionErrors = {
|
|
5461
|
+
/**
|
|
5462
|
+
* Bad request
|
|
5463
|
+
*/
|
|
5464
|
+
400: {
|
|
5465
|
+
error: string;
|
|
5466
|
+
status: number;
|
|
5467
|
+
} | {
|
|
5468
|
+
message: string;
|
|
5469
|
+
} | {
|
|
5470
|
+
message: string;
|
|
5471
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5472
|
+
} | {
|
|
5473
|
+
message: string;
|
|
5474
|
+
field: string;
|
|
5475
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5476
|
+
} | {
|
|
5477
|
+
message: string;
|
|
5478
|
+
payload: string;
|
|
5479
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5480
|
+
} | {
|
|
5481
|
+
message: string;
|
|
5482
|
+
field: string;
|
|
5483
|
+
payload: string;
|
|
5484
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
5485
|
+
};
|
|
5486
|
+
/**
|
|
5487
|
+
* Access token is missing or invalid
|
|
5488
|
+
*/
|
|
5489
|
+
401: {
|
|
5490
|
+
error: string;
|
|
5491
|
+
status: number;
|
|
5492
|
+
};
|
|
5493
|
+
/**
|
|
5494
|
+
* Access to this resource forbidden
|
|
5495
|
+
*/
|
|
5496
|
+
403: {
|
|
5497
|
+
error: string;
|
|
5498
|
+
status: number;
|
|
5499
|
+
};
|
|
5500
|
+
/**
|
|
5501
|
+
* The resource was not found
|
|
5502
|
+
*/
|
|
5503
|
+
404: {
|
|
5504
|
+
error: string;
|
|
5505
|
+
status: number;
|
|
5506
|
+
};
|
|
5507
|
+
/**
|
|
5508
|
+
* Unprocessable content
|
|
5509
|
+
*/
|
|
5510
|
+
422: {
|
|
5511
|
+
error: string;
|
|
5512
|
+
status: number;
|
|
5513
|
+
};
|
|
5514
|
+
};
|
|
5515
|
+
type PutWebhookSubscriptionError = PutWebhookSubscriptionErrors[keyof PutWebhookSubscriptionErrors];
|
|
5516
|
+
type PutWebhookSubscriptionResponses = {
|
|
5517
|
+
/**
|
|
5518
|
+
* Returns the updated webhook subscription
|
|
5519
|
+
*/
|
|
5520
|
+
200: {
|
|
5521
|
+
/**
|
|
5522
|
+
* ID of the webhook subscription
|
|
5523
|
+
*/
|
|
5524
|
+
id: number;
|
|
5525
|
+
/**
|
|
5526
|
+
* HTTPS URL where webhook events are sent
|
|
5527
|
+
*/
|
|
5528
|
+
callback_url: string;
|
|
5529
|
+
/**
|
|
5530
|
+
* Array of event types to subscribe to.
|
|
5531
|
+
* - `customer_invoice.created`: the event is triggered when a customer invoice is created.
|
|
5532
|
+
* - `quote.created`: the event is triggered when a quote is created.
|
|
5533
|
+
*
|
|
5534
|
+
*/
|
|
5535
|
+
events: Array<'customer_invoice.created' | 'quote.created'>;
|
|
5536
|
+
/**
|
|
5537
|
+
* Creation date of the webhook subscription
|
|
5538
|
+
*/
|
|
5539
|
+
created_at: string;
|
|
5540
|
+
/**
|
|
5541
|
+
* Last update date of the webhook subscription
|
|
5542
|
+
*/
|
|
5543
|
+
updated_at: string;
|
|
5544
|
+
};
|
|
5545
|
+
};
|
|
5546
|
+
type PutWebhookSubscriptionResponse = PutWebhookSubscriptionResponses[keyof PutWebhookSubscriptionResponses];
|
|
5176
5547
|
type GetJournalsData = {
|
|
5177
5548
|
body?: never;
|
|
5178
5549
|
path?: never;
|
|
@@ -8925,11 +9296,11 @@ type GetCustomerInvoicesResponses = {
|
|
|
8925
9296
|
*/
|
|
8926
9297
|
deadline: string | null;
|
|
8927
9298
|
/**
|
|
8928
|
-
* Invoice taxable amount (in
|
|
9299
|
+
* Invoice taxable amount (in invoice currency)
|
|
8929
9300
|
*/
|
|
8930
9301
|
currency_tax: string;
|
|
8931
9302
|
/**
|
|
8932
|
-
* Invoice taxable amount (in
|
|
9303
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
8933
9304
|
*/
|
|
8934
9305
|
tax: string;
|
|
8935
9306
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -9713,11 +10084,11 @@ type PostCustomerInvoicesResponses = {
|
|
|
9713
10084
|
*/
|
|
9714
10085
|
deadline: string | null;
|
|
9715
10086
|
/**
|
|
9716
|
-
* Invoice taxable amount (in
|
|
10087
|
+
* Invoice taxable amount (in invoice currency)
|
|
9717
10088
|
*/
|
|
9718
10089
|
currency_tax: string;
|
|
9719
10090
|
/**
|
|
9720
|
-
* Invoice taxable amount (in
|
|
10091
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
9721
10092
|
*/
|
|
9722
10093
|
tax: string;
|
|
9723
10094
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -10153,11 +10524,11 @@ type ImportCustomerInvoicesResponses = {
|
|
|
10153
10524
|
*/
|
|
10154
10525
|
deadline: string | null;
|
|
10155
10526
|
/**
|
|
10156
|
-
* Invoice taxable amount (in
|
|
10527
|
+
* Invoice taxable amount (in invoice currency)
|
|
10157
10528
|
*/
|
|
10158
10529
|
currency_tax: string;
|
|
10159
10530
|
/**
|
|
10160
|
-
* Invoice taxable amount (in
|
|
10531
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
10161
10532
|
*/
|
|
10162
10533
|
tax: string;
|
|
10163
10534
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -10458,11 +10829,11 @@ type CreateCustomerInvoiceFromQuoteResponses = {
|
|
|
10458
10829
|
*/
|
|
10459
10830
|
deadline: string | null;
|
|
10460
10831
|
/**
|
|
10461
|
-
* Invoice taxable amount (in
|
|
10832
|
+
* Invoice taxable amount (in invoice currency)
|
|
10462
10833
|
*/
|
|
10463
10834
|
currency_tax: string;
|
|
10464
10835
|
/**
|
|
10465
|
-
* Invoice taxable amount (in
|
|
10836
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
10466
10837
|
*/
|
|
10467
10838
|
tax: string;
|
|
10468
10839
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -17585,11 +17956,11 @@ type GetCustomerInvoiceResponses = {
|
|
|
17585
17956
|
*/
|
|
17586
17957
|
deadline: string | null;
|
|
17587
17958
|
/**
|
|
17588
|
-
* Invoice taxable amount (in
|
|
17959
|
+
* Invoice taxable amount (in invoice currency)
|
|
17589
17960
|
*/
|
|
17590
17961
|
currency_tax: string;
|
|
17591
17962
|
/**
|
|
17592
|
-
* Invoice taxable amount (in
|
|
17963
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
17593
17964
|
*/
|
|
17594
17965
|
tax: string;
|
|
17595
17966
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -18145,11 +18516,11 @@ type UpdateCustomerInvoiceResponses = {
|
|
|
18145
18516
|
*/
|
|
18146
18517
|
deadline: string | null;
|
|
18147
18518
|
/**
|
|
18148
|
-
* Invoice taxable amount (in
|
|
18519
|
+
* Invoice taxable amount (in invoice currency)
|
|
18149
18520
|
*/
|
|
18150
18521
|
currency_tax: string;
|
|
18151
18522
|
/**
|
|
18152
|
-
* Invoice taxable amount (in
|
|
18523
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
18153
18524
|
*/
|
|
18154
18525
|
tax: string;
|
|
18155
18526
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -18735,11 +19106,11 @@ type UpdateImportedCustomerInvoiceData = {
|
|
|
18735
19106
|
*/
|
|
18736
19107
|
amount?: string;
|
|
18737
19108
|
/**
|
|
18738
|
-
* Invoice line taxable amount (in
|
|
19109
|
+
* Invoice line taxable amount (in invoice currency)
|
|
18739
19110
|
*/
|
|
18740
19111
|
currency_tax: string;
|
|
18741
19112
|
/**
|
|
18742
|
-
*
|
|
19113
|
+
* Invoice line taxable amount (in euros). If the currency is euro, currency_tax and tax are identical.
|
|
18743
19114
|
*/
|
|
18744
19115
|
tax?: string;
|
|
18745
19116
|
/**
|
|
@@ -18817,11 +19188,11 @@ type UpdateImportedCustomerInvoiceData = {
|
|
|
18817
19188
|
*/
|
|
18818
19189
|
amount?: string;
|
|
18819
19190
|
/**
|
|
18820
|
-
* Invoice line taxable amount (in
|
|
19191
|
+
* Invoice line taxable amount (in invoice currency)
|
|
18821
19192
|
*/
|
|
18822
19193
|
currency_tax?: string;
|
|
18823
19194
|
/**
|
|
18824
|
-
*
|
|
19195
|
+
* Invoice line taxable amount (in euros). If the currency is euro, currency_tax and tax are identical.
|
|
18825
19196
|
*/
|
|
18826
19197
|
tax?: string;
|
|
18827
19198
|
/**
|
|
@@ -19028,11 +19399,11 @@ type UpdateImportedCustomerInvoiceResponses = {
|
|
|
19028
19399
|
*/
|
|
19029
19400
|
deadline: string | null;
|
|
19030
19401
|
/**
|
|
19031
|
-
* Invoice taxable amount (in
|
|
19402
|
+
* Invoice taxable amount (in invoice currency)
|
|
19032
19403
|
*/
|
|
19033
19404
|
currency_tax: string;
|
|
19034
19405
|
/**
|
|
19035
|
-
* Invoice taxable amount (in
|
|
19406
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
19036
19407
|
*/
|
|
19037
19408
|
tax: string;
|
|
19038
19409
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -19321,11 +19692,11 @@ type FinalizeCustomerInvoiceResponses = {
|
|
|
19321
19692
|
*/
|
|
19322
19693
|
deadline: string | null;
|
|
19323
19694
|
/**
|
|
19324
|
-
* Invoice taxable amount (in
|
|
19695
|
+
* Invoice taxable amount (in invoice currency)
|
|
19325
19696
|
*/
|
|
19326
19697
|
currency_tax: string;
|
|
19327
19698
|
/**
|
|
19328
|
-
* Invoice taxable amount (in
|
|
19699
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
19329
19700
|
*/
|
|
19330
19701
|
tax: string;
|
|
19331
19702
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -19619,11 +19990,11 @@ type LinkCreditNoteResponses = {
|
|
|
19619
19990
|
*/
|
|
19620
19991
|
deadline: string | null;
|
|
19621
19992
|
/**
|
|
19622
|
-
* Invoice taxable amount (in
|
|
19993
|
+
* Invoice taxable amount (in invoice currency)
|
|
19623
19994
|
*/
|
|
19624
19995
|
currency_tax: string;
|
|
19625
19996
|
/**
|
|
19626
|
-
* Invoice taxable amount (in
|
|
19997
|
+
* Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.
|
|
19627
19998
|
*/
|
|
19628
19999
|
tax: string;
|
|
19629
20000
|
language: 'fr_FR' | 'en_GB';
|
|
@@ -25058,6 +25429,13 @@ type CreateTransactionErrors = {
|
|
|
25058
25429
|
error: string;
|
|
25059
25430
|
status: number;
|
|
25060
25431
|
};
|
|
25432
|
+
/**
|
|
25433
|
+
* Unprocessable content
|
|
25434
|
+
*/
|
|
25435
|
+
422: {
|
|
25436
|
+
error: string;
|
|
25437
|
+
status: number;
|
|
25438
|
+
};
|
|
25061
25439
|
};
|
|
25062
25440
|
type CreateTransactionError = CreateTransactionErrors[keyof CreateTransactionErrors];
|
|
25063
25441
|
type CreateTransactionResponses = {
|
|
@@ -29783,13 +30161,319 @@ type PostGocardlessMandateAssociationsErrors = {
|
|
|
29783
30161
|
status: number;
|
|
29784
30162
|
};
|
|
29785
30163
|
};
|
|
29786
|
-
type PostGocardlessMandateAssociationsError = PostGocardlessMandateAssociationsErrors[keyof PostGocardlessMandateAssociationsErrors];
|
|
29787
|
-
type PostGocardlessMandateAssociationsResponses = {
|
|
30164
|
+
type PostGocardlessMandateAssociationsError = PostGocardlessMandateAssociationsErrors[keyof PostGocardlessMandateAssociationsErrors];
|
|
30165
|
+
type PostGocardlessMandateAssociationsResponses = {
|
|
30166
|
+
/**
|
|
30167
|
+
* Association created successfully.
|
|
30168
|
+
*/
|
|
30169
|
+
200: unknown;
|
|
30170
|
+
};
|
|
30171
|
+
type GetProAccountMandateMigrationsData = {
|
|
30172
|
+
body?: never;
|
|
30173
|
+
path?: never;
|
|
30174
|
+
query?: {
|
|
30175
|
+
/**
|
|
30176
|
+
* Cursor for pagination. Use this to fetch the next set of results.
|
|
30177
|
+
* The cursor is an opaque string returned in the previous response's metadata.
|
|
30178
|
+
* Leave empty for the first request.
|
|
30179
|
+
*
|
|
30180
|
+
*/
|
|
30181
|
+
cursor?: string;
|
|
30182
|
+
/**
|
|
30183
|
+
* Number of items to return per request.
|
|
30184
|
+
* Defaults to 20 if not specified.
|
|
30185
|
+
* Must be between 1 and 100.
|
|
30186
|
+
*
|
|
30187
|
+
*/
|
|
30188
|
+
limit?: number;
|
|
30189
|
+
/**
|
|
30190
|
+
* You can choose to filter items on specific fields.
|
|
30191
|
+
* Available fields and values:
|
|
30192
|
+
* - `customer_id`: `lt`, `lteq`, `gt`, `gteq`, `eq`, `not_eq`, `in`, `not_in`
|
|
30193
|
+
* - `status`: `lt`, `lteq`, `gt`, `gteq`, `eq`, `not_eq`, `in`, `not_in`
|
|
30194
|
+
*
|
|
30195
|
+
*/
|
|
30196
|
+
filter?: string;
|
|
30197
|
+
/**
|
|
30198
|
+
* You can choose to sort items on specific attributes.
|
|
30199
|
+
* Sort field may be prefixed with `-` for descending order.
|
|
30200
|
+
* Example: `id` will sort by ascending order, `-id` will sort by descending order.
|
|
30201
|
+
* Available fields: `id`
|
|
30202
|
+
*
|
|
30203
|
+
*/
|
|
30204
|
+
sort?: string;
|
|
30205
|
+
};
|
|
30206
|
+
url: '/api/external/v2/pro_account/mandate_migrations';
|
|
30207
|
+
};
|
|
30208
|
+
type GetProAccountMandateMigrationsErrors = {
|
|
30209
|
+
/**
|
|
30210
|
+
* Bad request
|
|
30211
|
+
*/
|
|
30212
|
+
400: {
|
|
30213
|
+
error: string;
|
|
30214
|
+
status: number;
|
|
30215
|
+
} | {
|
|
30216
|
+
message: string;
|
|
30217
|
+
} | {
|
|
30218
|
+
message: string;
|
|
30219
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30220
|
+
} | {
|
|
30221
|
+
message: string;
|
|
30222
|
+
field: string;
|
|
30223
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30224
|
+
} | {
|
|
30225
|
+
message: string;
|
|
30226
|
+
payload: string;
|
|
30227
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30228
|
+
} | {
|
|
30229
|
+
message: string;
|
|
30230
|
+
field: string;
|
|
30231
|
+
payload: string;
|
|
30232
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30233
|
+
};
|
|
30234
|
+
/**
|
|
30235
|
+
* Access token is missing or invalid
|
|
30236
|
+
*/
|
|
30237
|
+
401: {
|
|
30238
|
+
error: string;
|
|
30239
|
+
status: number;
|
|
30240
|
+
};
|
|
30241
|
+
/**
|
|
30242
|
+
* Access to this resource forbidden
|
|
30243
|
+
*/
|
|
30244
|
+
403: {
|
|
30245
|
+
error: string;
|
|
30246
|
+
status: number;
|
|
30247
|
+
};
|
|
30248
|
+
/**
|
|
30249
|
+
* The resource was not found
|
|
30250
|
+
*/
|
|
30251
|
+
404: {
|
|
30252
|
+
error: string;
|
|
30253
|
+
status: number;
|
|
30254
|
+
};
|
|
30255
|
+
};
|
|
30256
|
+
type GetProAccountMandateMigrationsError = GetProAccountMandateMigrationsErrors[keyof GetProAccountMandateMigrationsErrors];
|
|
30257
|
+
type GetProAccountMandateMigrationsResponses = {
|
|
30258
|
+
/**
|
|
30259
|
+
* The list of mandate migration candidates
|
|
30260
|
+
*/
|
|
30261
|
+
200: {
|
|
30262
|
+
/**
|
|
30263
|
+
* Indicates whether additional results are available beyond this set.
|
|
30264
|
+
* Use this flag to determine if another request is needed.
|
|
30265
|
+
*
|
|
30266
|
+
*/
|
|
30267
|
+
has_more: boolean;
|
|
30268
|
+
/**
|
|
30269
|
+
* Cursor to retrieve the next set of results.
|
|
30270
|
+
* Include this value in the cursor parameter of your next request to fetch subsequent items.
|
|
30271
|
+
* A `null` `next_cursor` in the response indicates no further results.
|
|
30272
|
+
*
|
|
30273
|
+
*/
|
|
30274
|
+
next_cursor: string | null;
|
|
30275
|
+
items: Array<{
|
|
30276
|
+
/**
|
|
30277
|
+
* Numeric ID extracted from the display_id
|
|
30278
|
+
*/
|
|
30279
|
+
id: number;
|
|
30280
|
+
/**
|
|
30281
|
+
* Status of the mandate migration candidate.
|
|
30282
|
+
* - `available`: The mandate is available for migration
|
|
30283
|
+
* - `completed`: The mandate has been successfully migrated
|
|
30284
|
+
*
|
|
30285
|
+
*/
|
|
30286
|
+
status: 'available' | 'completed';
|
|
30287
|
+
/**
|
|
30288
|
+
* The direct debit method used by this mandate.
|
|
30289
|
+
* - `GoCardless`: GoCardless mandate
|
|
30290
|
+
* - `XML`: SEPA XML mandate
|
|
30291
|
+
* - `ProAccount`: Pro Account mandate
|
|
30292
|
+
*
|
|
30293
|
+
*/
|
|
30294
|
+
direct_debit_method: 'GoCardless' | 'XML' | 'ProAccount';
|
|
30295
|
+
/**
|
|
30296
|
+
* Date when the mandate was signed
|
|
30297
|
+
*/
|
|
30298
|
+
signed_at: string | null;
|
|
30299
|
+
/**
|
|
30300
|
+
* Error message if the migration failed
|
|
30301
|
+
*/
|
|
30302
|
+
error_message: string | null;
|
|
30303
|
+
/**
|
|
30304
|
+
* Date when the mandate was successfully migrated
|
|
30305
|
+
*/
|
|
30306
|
+
migrated_at: string | null;
|
|
30307
|
+
/**
|
|
30308
|
+
* Date when the migration was started
|
|
30309
|
+
*/
|
|
30310
|
+
migration_started_at: string | null;
|
|
30311
|
+
/**
|
|
30312
|
+
* A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.
|
|
30313
|
+
*/
|
|
30314
|
+
mandate: {
|
|
30315
|
+
id: number;
|
|
30316
|
+
type: 'SepaMandate' | 'Mandate';
|
|
30317
|
+
};
|
|
30318
|
+
/**
|
|
30319
|
+
* The customer associated with this mandate
|
|
30320
|
+
*/
|
|
30321
|
+
customer: {
|
|
30322
|
+
id: number;
|
|
30323
|
+
/**
|
|
30324
|
+
* URL to get the customer.
|
|
30325
|
+
*/
|
|
30326
|
+
url: string;
|
|
30327
|
+
} | null;
|
|
30328
|
+
/**
|
|
30329
|
+
* Creation date of the mandate migration candidate
|
|
30330
|
+
*/
|
|
30331
|
+
created_at: string;
|
|
30332
|
+
/**
|
|
30333
|
+
* Last update date of the mandate migration candidate
|
|
30334
|
+
*/
|
|
30335
|
+
updated_at: string;
|
|
30336
|
+
}>;
|
|
30337
|
+
};
|
|
30338
|
+
};
|
|
30339
|
+
type GetProAccountMandateMigrationsResponse = GetProAccountMandateMigrationsResponses[keyof GetProAccountMandateMigrationsResponses];
|
|
30340
|
+
type PostProAccountMandateMigrationsData = {
|
|
30341
|
+
body: {
|
|
30342
|
+
/**
|
|
30343
|
+
* The type of the mandate to migrate.
|
|
30344
|
+
* Use "Mandate" for GoCardless mandates or "SepaMandate" for SEPA mandates.
|
|
30345
|
+
*
|
|
30346
|
+
*/
|
|
30347
|
+
mandate_type: 'SepaMandate' | 'Mandate';
|
|
30348
|
+
/**
|
|
30349
|
+
* The ID of the mandate to migrate.
|
|
30350
|
+
*/
|
|
30351
|
+
mandate_id: number;
|
|
30352
|
+
/**
|
|
30353
|
+
* Whether to permit early execution date for the migration.
|
|
30354
|
+
* Defaults to false if not specified.
|
|
30355
|
+
*
|
|
30356
|
+
*/
|
|
30357
|
+
early_execution_date_permitted?: boolean;
|
|
30358
|
+
};
|
|
30359
|
+
path?: never;
|
|
30360
|
+
query?: never;
|
|
30361
|
+
url: '/api/external/v2/pro_account/mandate_migrations';
|
|
30362
|
+
};
|
|
30363
|
+
type PostProAccountMandateMigrationsErrors = {
|
|
30364
|
+
/**
|
|
30365
|
+
* Bad request
|
|
30366
|
+
*/
|
|
30367
|
+
400: {
|
|
30368
|
+
error: string;
|
|
30369
|
+
status: number;
|
|
30370
|
+
} | {
|
|
30371
|
+
message: string;
|
|
30372
|
+
} | {
|
|
30373
|
+
message: string;
|
|
30374
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30375
|
+
} | {
|
|
30376
|
+
message: string;
|
|
30377
|
+
field: string;
|
|
30378
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30379
|
+
} | {
|
|
30380
|
+
message: string;
|
|
30381
|
+
payload: string;
|
|
30382
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30383
|
+
} | {
|
|
30384
|
+
message: string;
|
|
30385
|
+
field: string;
|
|
30386
|
+
payload: string;
|
|
30387
|
+
code: 'InvalidDateFormat' | 'InvalidDateTimeFormat' | 'InvalidEmailFormat' | 'InvalidPattern' | 'InvalidUUIDFormat' | 'LessThanExclusiveMinimum' | 'LessThanMinimum' | 'LessThanMinItems' | 'LessThanMinLength' | 'MoreThanExclusiveMaximum' | 'MoreThanMaximum' | 'MoreThanMaxItems' | 'MoreThanMaxLength' | 'NotAMultipartFile' | 'NotAnyOf' | 'NotEnumInclude' | 'NotExistContentTypeDefinition' | 'NotExistDiscriminatorMappedSchema' | 'NotExistDiscriminatorPropertyName' | 'NotExistPropertyDefinition' | 'NotExistRequiredKey' | 'NotExistStatusCodeDefinition' | 'NotNullError' | 'NotOneOf' | 'ValidateError';
|
|
30388
|
+
};
|
|
30389
|
+
/**
|
|
30390
|
+
* Access token is missing or invalid
|
|
30391
|
+
*/
|
|
30392
|
+
401: {
|
|
30393
|
+
error: string;
|
|
30394
|
+
status: number;
|
|
30395
|
+
};
|
|
30396
|
+
/**
|
|
30397
|
+
* Access to this resource forbidden
|
|
30398
|
+
*/
|
|
30399
|
+
403: {
|
|
30400
|
+
error: string;
|
|
30401
|
+
status: number;
|
|
30402
|
+
};
|
|
30403
|
+
/**
|
|
30404
|
+
* The resource was not found
|
|
30405
|
+
*/
|
|
30406
|
+
404: {
|
|
30407
|
+
error: string;
|
|
30408
|
+
status: number;
|
|
30409
|
+
};
|
|
30410
|
+
/**
|
|
30411
|
+
* Unprocessable content
|
|
30412
|
+
*/
|
|
30413
|
+
422: {
|
|
30414
|
+
error: string;
|
|
30415
|
+
status: number;
|
|
30416
|
+
};
|
|
30417
|
+
};
|
|
30418
|
+
type PostProAccountMandateMigrationsError = PostProAccountMandateMigrationsErrors[keyof PostProAccountMandateMigrationsErrors];
|
|
30419
|
+
type PostProAccountMandateMigrationsResponses = {
|
|
29788
30420
|
/**
|
|
29789
|
-
*
|
|
30421
|
+
* Mandate migration initiated successfully
|
|
29790
30422
|
*/
|
|
29791
|
-
|
|
30423
|
+
201: {
|
|
30424
|
+
mandate_migration: {
|
|
30425
|
+
id: number;
|
|
30426
|
+
status: string;
|
|
30427
|
+
/**
|
|
30428
|
+
* The direct debit method used by this mandate.
|
|
30429
|
+
* - `GoCardless`: GoCardless mandate
|
|
30430
|
+
* - `XML`: SEPA mandate
|
|
30431
|
+
* - `ProAccount`: Pro Account mandate
|
|
30432
|
+
*
|
|
30433
|
+
*/
|
|
30434
|
+
direct_debit_method: 'GoCardless' | 'XML' | 'ProAccount';
|
|
30435
|
+
/**
|
|
30436
|
+
* Date when the mandate was signed
|
|
30437
|
+
*/
|
|
30438
|
+
signed_at: string | null;
|
|
30439
|
+
/**
|
|
30440
|
+
* Error message if the migration failed
|
|
30441
|
+
*/
|
|
30442
|
+
error_message: string | null;
|
|
30443
|
+
/**
|
|
30444
|
+
* Date when the mandate was successfully migrated
|
|
30445
|
+
*/
|
|
30446
|
+
migrated_at: string | null;
|
|
30447
|
+
/**
|
|
30448
|
+
* Date when the migration was started
|
|
30449
|
+
*/
|
|
30450
|
+
migration_started_at: string | null;
|
|
30451
|
+
created_at: string;
|
|
30452
|
+
updated_at: string;
|
|
30453
|
+
/**
|
|
30454
|
+
* A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.
|
|
30455
|
+
*/
|
|
30456
|
+
mandate: {
|
|
30457
|
+
id: number;
|
|
30458
|
+
type: string;
|
|
30459
|
+
};
|
|
30460
|
+
customer: {
|
|
30461
|
+
id: number;
|
|
30462
|
+
/**
|
|
30463
|
+
* URL to get the customer.
|
|
30464
|
+
*/
|
|
30465
|
+
url: string;
|
|
30466
|
+
};
|
|
30467
|
+
};
|
|
30468
|
+
/**
|
|
30469
|
+
* The Pro Account mandate associated with this migration
|
|
30470
|
+
*/
|
|
30471
|
+
pro_account_mandate: {
|
|
30472
|
+
id: number;
|
|
30473
|
+
} | null;
|
|
30474
|
+
};
|
|
29792
30475
|
};
|
|
30476
|
+
type PostProAccountMandateMigrationsResponse = PostProAccountMandateMigrationsResponses[keyof PostProAccountMandateMigrationsResponses];
|
|
29793
30477
|
type GetProAccountMandatesData = {
|
|
29794
30478
|
body?: never;
|
|
29795
30479
|
path?: never;
|
|
@@ -30831,6 +31515,20 @@ type GetBankEstablishmentsResponse = GetBankEstablishmentsResponses[keyof GetBan
|
|
|
30831
31515
|
declare const client: Client;
|
|
30832
31516
|
//#endregion
|
|
30833
31517
|
//#region src/generated/schemas.gen.d.ts
|
|
31518
|
+
declare const CompanyWebhookSubscriptionEventsSchema: {
|
|
31519
|
+
readonly type: "string";
|
|
31520
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
31521
|
+
};
|
|
31522
|
+
declare const WebhookSubscriptions__EventsSchema: {
|
|
31523
|
+
readonly 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";
|
|
31524
|
+
readonly type: "array";
|
|
31525
|
+
readonly items: {
|
|
31526
|
+
readonly type: "string";
|
|
31527
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
31528
|
+
};
|
|
31529
|
+
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
31530
|
+
readonly minItems: 1;
|
|
31531
|
+
};
|
|
30834
31532
|
declare const WebhookSubscriptions__ResponseSchema: {
|
|
30835
31533
|
readonly type: "object";
|
|
30836
31534
|
readonly additionalProperties: false;
|
|
@@ -30847,12 +31545,14 @@ declare const WebhookSubscriptions__ResponseSchema: {
|
|
|
30847
31545
|
readonly example: "https://example.com/webhooks";
|
|
30848
31546
|
};
|
|
30849
31547
|
readonly events: {
|
|
30850
|
-
readonly description: "Array of event types
|
|
31548
|
+
readonly 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";
|
|
30851
31549
|
readonly type: "array";
|
|
30852
31550
|
readonly items: {
|
|
30853
31551
|
readonly type: "string";
|
|
31552
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
30854
31553
|
};
|
|
30855
|
-
readonly example: readonly [];
|
|
31554
|
+
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
31555
|
+
readonly minItems: 1;
|
|
30856
31556
|
};
|
|
30857
31557
|
readonly created_at: {
|
|
30858
31558
|
readonly description: "Creation date of the webhook subscription";
|
|
@@ -30873,6 +31573,50 @@ declare const BadRequestCodeEnumSchema: {
|
|
|
30873
31573
|
readonly type: "string";
|
|
30874
31574
|
readonly enum: readonly ["InvalidDateFormat", "InvalidDateTimeFormat", "InvalidEmailFormat", "InvalidPattern", "InvalidUUIDFormat", "LessThanExclusiveMinimum", "LessThanMinimum", "LessThanMinItems", "LessThanMinLength", "MoreThanExclusiveMaximum", "MoreThanMaximum", "MoreThanMaxItems", "MoreThanMaxLength", "NotAMultipartFile", "NotAnyOf", "NotEnumInclude", "NotExistContentTypeDefinition", "NotExistDiscriminatorMappedSchema", "NotExistDiscriminatorPropertyName", "NotExistPropertyDefinition", "NotExistRequiredKey", "NotExistStatusCodeDefinition", "NotNullError", "NotOneOf", "ValidateError"];
|
|
30875
31575
|
};
|
|
31576
|
+
declare const WebhookSubscriptions__CreateResponseSchema: {
|
|
31577
|
+
readonly type: "object";
|
|
31578
|
+
readonly additionalProperties: false;
|
|
31579
|
+
readonly properties: {
|
|
31580
|
+
readonly id: {
|
|
31581
|
+
readonly type: "integer";
|
|
31582
|
+
readonly description: "ID of the webhook subscription";
|
|
31583
|
+
readonly example: 12345;
|
|
31584
|
+
};
|
|
31585
|
+
readonly callback_url: {
|
|
31586
|
+
readonly description: "HTTPS URL where webhook events are sent";
|
|
31587
|
+
readonly type: "string";
|
|
31588
|
+
readonly format: "uri";
|
|
31589
|
+
readonly example: "https://example.com/webhooks";
|
|
31590
|
+
};
|
|
31591
|
+
readonly events: {
|
|
31592
|
+
readonly 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";
|
|
31593
|
+
readonly type: "array";
|
|
31594
|
+
readonly items: {
|
|
31595
|
+
readonly type: "string";
|
|
31596
|
+
readonly enum: readonly ["customer_invoice.created", "quote.created"];
|
|
31597
|
+
};
|
|
31598
|
+
readonly example: readonly ["customer_invoice.created", "quote.created"];
|
|
31599
|
+
readonly minItems: 1;
|
|
31600
|
+
};
|
|
31601
|
+
readonly secret: {
|
|
31602
|
+
readonly description: "Automatically generated secret for HMAC signature verification. This is only returned once\non creation. Store it securely as it cannot be retrieved afterwards.\n";
|
|
31603
|
+
readonly type: "string";
|
|
31604
|
+
};
|
|
31605
|
+
readonly created_at: {
|
|
31606
|
+
readonly description: "Creation date of the webhook subscription";
|
|
31607
|
+
readonly type: "string";
|
|
31608
|
+
readonly format: "date-time";
|
|
31609
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
31610
|
+
};
|
|
31611
|
+
readonly updated_at: {
|
|
31612
|
+
readonly description: "Last update date of the webhook subscription";
|
|
31613
|
+
readonly type: "string";
|
|
31614
|
+
readonly format: "date-time";
|
|
31615
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
31616
|
+
};
|
|
31617
|
+
};
|
|
31618
|
+
readonly required: readonly ["id", "callback_url", "events", "secret", "created_at", "updated_at"];
|
|
31619
|
+
};
|
|
30876
31620
|
declare const Journals__ResponseSchema: {
|
|
30877
31621
|
readonly type: "object";
|
|
30878
31622
|
readonly additionalProperties: false;
|
|
@@ -31777,12 +32521,12 @@ declare const CustomerInvoices__ResponseSchema: {
|
|
|
31777
32521
|
readonly example: "2020-09-02";
|
|
31778
32522
|
};
|
|
31779
32523
|
readonly currency_tax: {
|
|
31780
|
-
readonly description: "Invoice taxable amount (in
|
|
32524
|
+
readonly description: "Invoice taxable amount (in invoice currency)";
|
|
31781
32525
|
readonly type: "string";
|
|
31782
32526
|
readonly example: "34.0";
|
|
31783
32527
|
};
|
|
31784
32528
|
readonly tax: {
|
|
31785
|
-
readonly description: "Invoice taxable amount (in
|
|
32529
|
+
readonly description: "Invoice taxable amount (in euros). If the currency is euro, `currency_tax` and `tax` are identical.";
|
|
31786
32530
|
readonly type: "string";
|
|
31787
32531
|
readonly example: "34.0";
|
|
31788
32532
|
};
|
|
@@ -38014,6 +38758,201 @@ declare const GocardlessMandates__ResponseSchema: {
|
|
|
38014
38758
|
};
|
|
38015
38759
|
readonly required: readonly ["id", "external_reference", "customer", "status", "external_customer_account", "external_customer_label", "created_at", "updated_at"];
|
|
38016
38760
|
};
|
|
38761
|
+
declare const ProAccount__MandateMigrations__ResponseSchema: {
|
|
38762
|
+
readonly type: "object";
|
|
38763
|
+
readonly additionalProperties: false;
|
|
38764
|
+
readonly properties: {
|
|
38765
|
+
readonly id: {
|
|
38766
|
+
readonly description: "Numeric ID extracted from the display_id";
|
|
38767
|
+
readonly type: "integer";
|
|
38768
|
+
readonly format: "int64";
|
|
38769
|
+
readonly example: 42;
|
|
38770
|
+
};
|
|
38771
|
+
readonly status: {
|
|
38772
|
+
readonly description: "Status of the mandate migration candidate.\n- `available`: The mandate is available for migration\n- `completed`: The mandate has been successfully migrated\n";
|
|
38773
|
+
readonly type: "string";
|
|
38774
|
+
readonly example: "available";
|
|
38775
|
+
readonly enum: readonly ["available", "completed"];
|
|
38776
|
+
};
|
|
38777
|
+
readonly direct_debit_method: {
|
|
38778
|
+
readonly description: "The direct debit method used by this mandate.\n- `GoCardless`: GoCardless mandate\n- `XML`: SEPA XML mandate\n- `ProAccount`: Pro Account mandate\n";
|
|
38779
|
+
readonly type: "string";
|
|
38780
|
+
readonly example: "GoCardless";
|
|
38781
|
+
readonly enum: readonly ["GoCardless", "XML", "ProAccount"];
|
|
38782
|
+
};
|
|
38783
|
+
readonly signed_at: {
|
|
38784
|
+
readonly description: "Date when the mandate was signed";
|
|
38785
|
+
readonly type: "string";
|
|
38786
|
+
readonly format: "date-time";
|
|
38787
|
+
readonly nullable: true;
|
|
38788
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38789
|
+
};
|
|
38790
|
+
readonly error_message: {
|
|
38791
|
+
readonly description: "Error message if the migration failed";
|
|
38792
|
+
readonly type: "string";
|
|
38793
|
+
readonly nullable: true;
|
|
38794
|
+
readonly example: null;
|
|
38795
|
+
};
|
|
38796
|
+
readonly migrated_at: {
|
|
38797
|
+
readonly description: "Date when the mandate was successfully migrated";
|
|
38798
|
+
readonly type: "string";
|
|
38799
|
+
readonly format: "date-time";
|
|
38800
|
+
readonly nullable: true;
|
|
38801
|
+
readonly example: null;
|
|
38802
|
+
};
|
|
38803
|
+
readonly migration_started_at: {
|
|
38804
|
+
readonly description: "Date when the migration was started";
|
|
38805
|
+
readonly type: "string";
|
|
38806
|
+
readonly format: "date-time";
|
|
38807
|
+
readonly nullable: true;
|
|
38808
|
+
readonly example: null;
|
|
38809
|
+
};
|
|
38810
|
+
readonly mandate: {
|
|
38811
|
+
readonly description: "A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.";
|
|
38812
|
+
readonly type: "object";
|
|
38813
|
+
readonly additionalProperties: false;
|
|
38814
|
+
readonly properties: {
|
|
38815
|
+
readonly id: {
|
|
38816
|
+
readonly type: "integer";
|
|
38817
|
+
readonly format: "int64";
|
|
38818
|
+
readonly example: 42;
|
|
38819
|
+
};
|
|
38820
|
+
readonly type: {
|
|
38821
|
+
readonly type: "string";
|
|
38822
|
+
readonly example: "Mandate";
|
|
38823
|
+
readonly enum: readonly ["SepaMandate", "Mandate"];
|
|
38824
|
+
};
|
|
38825
|
+
};
|
|
38826
|
+
readonly required: readonly ["id", "type"];
|
|
38827
|
+
};
|
|
38828
|
+
readonly customer: {
|
|
38829
|
+
readonly description: "The customer associated with this mandate";
|
|
38830
|
+
readonly type: "object";
|
|
38831
|
+
readonly nullable: true;
|
|
38832
|
+
readonly additionalProperties: false;
|
|
38833
|
+
readonly properties: {
|
|
38834
|
+
readonly id: {
|
|
38835
|
+
readonly type: "integer";
|
|
38836
|
+
readonly format: "int64";
|
|
38837
|
+
readonly example: 42;
|
|
38838
|
+
};
|
|
38839
|
+
readonly url: {
|
|
38840
|
+
readonly description: "URL to get the customer.";
|
|
38841
|
+
readonly type: "string";
|
|
38842
|
+
readonly example: "https://app.pennylane.com/api/external/v2/customers/42";
|
|
38843
|
+
};
|
|
38844
|
+
};
|
|
38845
|
+
readonly required: readonly ["id", "url"];
|
|
38846
|
+
};
|
|
38847
|
+
readonly created_at: {
|
|
38848
|
+
readonly description: "Creation date of the mandate migration candidate";
|
|
38849
|
+
readonly type: "string";
|
|
38850
|
+
readonly format: "date-time";
|
|
38851
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38852
|
+
};
|
|
38853
|
+
readonly updated_at: {
|
|
38854
|
+
readonly description: "Last update date of the mandate migration candidate";
|
|
38855
|
+
readonly type: "string";
|
|
38856
|
+
readonly format: "date-time";
|
|
38857
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38858
|
+
};
|
|
38859
|
+
};
|
|
38860
|
+
readonly required: readonly ["id", "status", "direct_debit_method", "signed_at", "error_message", "migrated_at", "migration_started_at", "mandate", "customer", "created_at", "updated_at"];
|
|
38861
|
+
};
|
|
38862
|
+
declare const ProAccount__MandateMigrations__CreateResponseSchema: {
|
|
38863
|
+
readonly type: "object";
|
|
38864
|
+
readonly additionalProperties: false;
|
|
38865
|
+
readonly properties: {
|
|
38866
|
+
readonly id: {
|
|
38867
|
+
readonly type: "integer";
|
|
38868
|
+
readonly format: "int64";
|
|
38869
|
+
readonly example: 42;
|
|
38870
|
+
};
|
|
38871
|
+
readonly status: {
|
|
38872
|
+
readonly type: "string";
|
|
38873
|
+
readonly example: "pending";
|
|
38874
|
+
};
|
|
38875
|
+
readonly direct_debit_method: {
|
|
38876
|
+
readonly description: "The direct debit method used by this mandate.\n- `GoCardless`: GoCardless mandate\n- `XML`: SEPA mandate\n- `ProAccount`: Pro Account mandate\n";
|
|
38877
|
+
readonly type: "string";
|
|
38878
|
+
readonly nullable: true;
|
|
38879
|
+
readonly example: "GoCardless";
|
|
38880
|
+
readonly enum: readonly ["GoCardless", "XML", "ProAccount"];
|
|
38881
|
+
};
|
|
38882
|
+
readonly signed_at: {
|
|
38883
|
+
readonly description: "Date when the mandate was signed";
|
|
38884
|
+
readonly type: "string";
|
|
38885
|
+
readonly format: "date-time";
|
|
38886
|
+
readonly nullable: true;
|
|
38887
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38888
|
+
};
|
|
38889
|
+
readonly error_message: {
|
|
38890
|
+
readonly description: "Error message if the migration failed";
|
|
38891
|
+
readonly type: "string";
|
|
38892
|
+
readonly nullable: true;
|
|
38893
|
+
readonly example: null;
|
|
38894
|
+
};
|
|
38895
|
+
readonly migrated_at: {
|
|
38896
|
+
readonly description: "Date when the mandate was successfully migrated";
|
|
38897
|
+
readonly type: "string";
|
|
38898
|
+
readonly format: "date-time";
|
|
38899
|
+
readonly nullable: true;
|
|
38900
|
+
readonly example: null;
|
|
38901
|
+
};
|
|
38902
|
+
readonly migration_started_at: {
|
|
38903
|
+
readonly description: "Date when the migration was started";
|
|
38904
|
+
readonly type: "string";
|
|
38905
|
+
readonly format: "date-time";
|
|
38906
|
+
readonly nullable: true;
|
|
38907
|
+
readonly example: null;
|
|
38908
|
+
};
|
|
38909
|
+
readonly created_at: {
|
|
38910
|
+
readonly type: "string";
|
|
38911
|
+
readonly format: "date-time";
|
|
38912
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38913
|
+
};
|
|
38914
|
+
readonly updated_at: {
|
|
38915
|
+
readonly type: "string";
|
|
38916
|
+
readonly format: "date-time";
|
|
38917
|
+
readonly example: "2023-08-07T14:23:12.000Z";
|
|
38918
|
+
};
|
|
38919
|
+
readonly mandate: {
|
|
38920
|
+
readonly description: "A polymorphic mandate object can either be a SepaMandate or a Gocardless mandate.";
|
|
38921
|
+
readonly type: "object";
|
|
38922
|
+
readonly additionalProperties: false;
|
|
38923
|
+
readonly properties: {
|
|
38924
|
+
readonly id: {
|
|
38925
|
+
readonly type: "integer";
|
|
38926
|
+
readonly format: "int64";
|
|
38927
|
+
readonly example: 42;
|
|
38928
|
+
};
|
|
38929
|
+
readonly type: {
|
|
38930
|
+
readonly type: "string";
|
|
38931
|
+
readonly example: "SepaMandate";
|
|
38932
|
+
};
|
|
38933
|
+
};
|
|
38934
|
+
readonly required: readonly ["id", "type"];
|
|
38935
|
+
};
|
|
38936
|
+
readonly customer: {
|
|
38937
|
+
readonly type: "object";
|
|
38938
|
+
readonly additionalProperties: false;
|
|
38939
|
+
readonly properties: {
|
|
38940
|
+
readonly id: {
|
|
38941
|
+
readonly type: "integer";
|
|
38942
|
+
readonly format: "int64";
|
|
38943
|
+
readonly example: 42;
|
|
38944
|
+
};
|
|
38945
|
+
readonly url: {
|
|
38946
|
+
readonly description: "URL to get the customer.";
|
|
38947
|
+
readonly type: "string";
|
|
38948
|
+
readonly example: "https://app.pennylane.com/api/external/v2/customers/42";
|
|
38949
|
+
};
|
|
38950
|
+
};
|
|
38951
|
+
readonly required: readonly ["id", "url"];
|
|
38952
|
+
};
|
|
38953
|
+
};
|
|
38954
|
+
readonly required: readonly ["id", "status", "direct_debit_method", "signed_at", "error_message", "migrated_at", "migration_started_at", "created_at", "updated_at", "mandate", "customer"];
|
|
38955
|
+
};
|
|
38017
38956
|
declare const ProAccount__SwanSepaPaymentMandates__MandateSchema: {
|
|
38018
38957
|
readonly description: "Payment mandate for Pro Account";
|
|
38019
38958
|
readonly type: "object";
|
|
@@ -38317,6 +39256,31 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
38317
39256
|
*
|
|
38318
39257
|
*/
|
|
38319
39258
|
declare const getWebhookSubscription: <ThrowOnError extends boolean = false>(options?: Options<GetWebhookSubscriptionData, ThrowOnError>) => RequestResult<GetWebhookSubscriptionResponses, GetWebhookSubscriptionErrors, ThrowOnError, "fields">;
|
|
39259
|
+
/**
|
|
39260
|
+
* Create a webhook subscription
|
|
39261
|
+
*
|
|
39262
|
+
* Creates a webhook subscription to receive real-time notifications for events occurring within your company or companies.
|
|
39263
|
+
*
|
|
39264
|
+
* **Authentication & Scope**
|
|
39265
|
+
* - **Developer Token**: The subscription is scoped to the single company linked to the token.
|
|
39266
|
+
* - **OAuth Application Access Token**: The subscription covers **all companies** accessible by the OAuth application.
|
|
39267
|
+
*
|
|
39268
|
+
* > ⚠️ **Limit**: Only one webhook subscription is allowed per OAuth Application or Developer Token.
|
|
39269
|
+
*
|
|
39270
|
+
* **Secret**
|
|
39271
|
+
* . The secret will be auto-generated.
|
|
39272
|
+
*
|
|
39273
|
+
* > 🔒 The secret is **only returned in the creation response** and cannot be retrieved afterwards. Make sure to store it securely.
|
|
39274
|
+
*/
|
|
39275
|
+
declare const postWebhookSubscription: <ThrowOnError extends boolean = false>(options: Options<PostWebhookSubscriptionData, ThrowOnError>) => RequestResult<PostWebhookSubscriptionResponses, PostWebhookSubscriptionErrors, ThrowOnError, "fields">;
|
|
39276
|
+
/**
|
|
39277
|
+
* Update a webhook subscription
|
|
39278
|
+
*
|
|
39279
|
+
* This endpoint allows you to update the webhook subscription for the authenticated
|
|
39280
|
+
* token. Each token (developer token or OAuth application) can only have one webhook subscription.
|
|
39281
|
+
*
|
|
39282
|
+
*/
|
|
39283
|
+
declare const putWebhookSubscription: <ThrowOnError extends boolean = false>(options: Options<PutWebhookSubscriptionData, ThrowOnError>) => RequestResult<PutWebhookSubscriptionResponses, PutWebhookSubscriptionErrors, ThrowOnError, "fields">;
|
|
38320
39284
|
/**
|
|
38321
39285
|
* List journals
|
|
38322
39286
|
*
|
|
@@ -39937,6 +40901,28 @@ declare const postGocardlessMandateCancellations: <ThrowOnError extends boolean
|
|
|
39937
40901
|
* > This endpoint requires one of the following scopes: `customer_mandates:all`
|
|
39938
40902
|
*/
|
|
39939
40903
|
declare const postGocardlessMandateAssociations: <ThrowOnError extends boolean = false>(options: Options<PostGocardlessMandateAssociationsData, ThrowOnError>) => RequestResult<PostGocardlessMandateAssociationsResponses, PostGocardlessMandateAssociationsErrors, ThrowOnError, "fields">;
|
|
40904
|
+
/**
|
|
40905
|
+
* List mandate migration candidates
|
|
40906
|
+
*
|
|
40907
|
+
* This endpoint allows you to retrieve all mandate migration candidates
|
|
40908
|
+
* for your company. These are mandates that can be migrated to a Pro Account.
|
|
40909
|
+
*
|
|
40910
|
+
*
|
|
40911
|
+
* > ℹ️
|
|
40912
|
+
* > This endpoint requires one of the following scopes: `customer_mandates:readonly`, `customer_mandates:all`
|
|
40913
|
+
*/
|
|
40914
|
+
declare const getProAccountMandateMigrations: <ThrowOnError extends boolean = false>(options?: Options<GetProAccountMandateMigrationsData, ThrowOnError>) => RequestResult<GetProAccountMandateMigrationsResponses, GetProAccountMandateMigrationsErrors, ThrowOnError, "fields">;
|
|
40915
|
+
/**
|
|
40916
|
+
* Migrate a mandate to Pro Account
|
|
40917
|
+
*
|
|
40918
|
+
* This endpoint allows you to migrate a mandate to a Pro Account.
|
|
40919
|
+
* Only mandates with status 'available' are eligible for migration.
|
|
40920
|
+
*
|
|
40921
|
+
*
|
|
40922
|
+
* > ℹ️
|
|
40923
|
+
* > This endpoint requires one of the following scopes: `customer_mandates:all`
|
|
40924
|
+
*/
|
|
40925
|
+
declare const postProAccountMandateMigrations: <ThrowOnError extends boolean = false>(options: Options<PostProAccountMandateMigrationsData, ThrowOnError>) => RequestResult<PostProAccountMandateMigrationsResponses, PostProAccountMandateMigrationsErrors, ThrowOnError, "fields">;
|
|
39940
40926
|
/**
|
|
39941
40927
|
* List Pro Account payment mandates
|
|
39942
40928
|
*
|
|
@@ -40006,5 +40992,5 @@ declare const getBankEstablishments: <ThrowOnError extends boolean = false>(opti
|
|
|
40006
40992
|
//#region src/index.d.ts
|
|
40007
40993
|
declare function createClientWithApiKey(apiKey: string): Client;
|
|
40008
40994
|
//#endregion
|
|
40009
|
-
export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccountsResponse, BankAccounts__ResponseSchema, BankEstablishmentsResponse, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionOcurrenceRuleType, BillingSubscriptionOcurrenceRuleTypeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptionsResponse, BillingSubscriptions__ResponseSchema, CategoriesResponse, Categories__ResponseSchema, CategoryDirection, CategoryDirectionSchema, CategoryGroupsResponse, CategoryGroups__ResponseSchema, type Client, type ClientOptions, CommercialDocumentType, CommercialDocumentTypeSchema, CommercialDocumentsAppendicesResponse, CommercialDocumentsResponse, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCompleteRegistrationData, CompanyCompleteRegistrationError, CompanyCompleteRegistrationErrors, CompanyCompleteRegistrationResponse, CompanyCompleteRegistrationResponses, CompanyCreateData, CompanyCreateError, CompanyCreateErrors, CompanyCreateResponse, CompanyCreateResponses, CompanyCustomersResponse, CompanyCustomers__ResponseSchema, CompanyFiscalYearsData, CompanyFiscalYearsError, CompanyFiscalYearsErrors, CompanyFiscalYearsResponse, CompanyFiscalYearsResponses, type Config, type CreateClientConfig, CreateCustomerInvoiceFromQuoteData, CreateCustomerInvoiceFromQuoteError, CreateCustomerInvoiceFromQuoteErrors, CreateCustomerInvoiceFromQuoteResponse, CreateCustomerInvoiceFromQuoteResponses, CreateEInvoiceImportData, CreateEInvoiceImportError, CreateEInvoiceImportErrors, CreateEInvoiceImportResponse, CreateEInvoiceImportResponses, CreatePurchaseRequestImportData, CreatePurchaseRequestImportError, CreatePurchaseRequestImportErrors, CreatePurchaseRequestImportResponse, CreatePurchaseRequestImportResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionResponse, CreateTransactionResponses, Currency, CurrencySchema, CustomerBillingLanguage, CustomerBillingLanguageSchema, CustomerInvoiceTemplatesResponse, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoicesAppendicesResponse, CustomerInvoicesCategoriesResponse, CustomerInvoicesDraftInvoiceLineWithProductRequest, CustomerInvoicesDraftInvoiceLineWithoutProductRequest, CustomerInvoicesFinalizedInvoiceLineWithProductRequest, CustomerInvoicesFinalizedInvoiceLineWithoutProductRequest, CustomerInvoicesIncludedInvoiceLinesCollection, CustomerInvoicesInclusions, CustomerInvoicesInvoiceLine, CustomerInvoicesMatchedTransactionsCategoriesResponse, CustomerInvoicesMatchedTransactionsResponse, CustomerInvoicesPostDraftRequest, CustomerInvoicesPostFinalizedRequest, CustomerInvoicesPutDraftRequest, CustomerInvoicesPutFinalizedRequest, CustomerInvoicesResponse, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, 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, CustomersCategoriesResponse, CustomersContactsResponse, CustomersResponse, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DeleteCustomerInvoiceMatchedTransactionsData, DeleteCustomerInvoiceMatchedTransactionsError, DeleteCustomerInvoiceMatchedTransactionsErrors, DeleteCustomerInvoiceMatchedTransactionsResponse, DeleteCustomerInvoiceMatchedTransactionsResponses, DeleteCustomerInvoicesData, DeleteCustomerInvoicesError, DeleteCustomerInvoicesErrors, DeleteCustomerInvoicesResponse, DeleteCustomerInvoicesResponses, DeleteLedgerEntryLinesUnletterData, DeleteLedgerEntryLinesUnletterError, DeleteLedgerEntryLinesUnletterErrors, DeleteLedgerEntryLinesUnletterResponse, DeleteLedgerEntryLinesUnletterResponses, DeleteSepaMandateData, DeleteSepaMandateError, DeleteSepaMandateErrors, DeleteSepaMandateResponse, DeleteSepaMandateResponses, DeleteSupplierInvoiceMatchedTransactionsData, DeleteSupplierInvoiceMatchedTransactionsError, DeleteSupplierInvoiceMatchedTransactionsErrors, DeleteSupplierInvoiceMatchedTransactionsResponse, DeleteSupplierInvoiceMatchedTransactionsResponses, DiscountType, DiscountTypeSchema, ExportAnalyticalGeneralLedgerData, ExportAnalyticalGeneralLedgerError, ExportAnalyticalGeneralLedgerErrors, ExportAnalyticalGeneralLedgerResponse, ExportAnalyticalGeneralLedgerResponses, ExportFecData, ExportFecError, ExportFecErrors, ExportFecResponse, ExportFecResponses, ExportStatus, ExportStatusSchema, FileAttachmentsResponse, FileAttachments__ResponseSchema, FinalizeCustomerInvoiceData, FinalizeCustomerInvoiceError, FinalizeCustomerInvoiceErrors, FinalizeCustomerInvoiceResponse, FinalizeCustomerInvoiceResponses, FindUserData, FindUserError, FindUserErrors, FindUserResponse, FindUserResponses, GetAnalyticalGeneralLedgerExportData, GetAnalyticalGeneralLedgerExportError, GetAnalyticalGeneralLedgerExportErrors, GetAnalyticalGeneralLedgerExportResponse, GetAnalyticalGeneralLedgerExportResponses, GetBankAccountData, GetBankAccountError, GetBankAccountErrors, GetBankAccountResponse, GetBankAccountResponses, GetBankAccountsData, GetBankAccountsError, GetBankAccountsErrors, GetBankAccountsResponse, GetBankAccountsResponses, GetBankEstablishmentsData, GetBankEstablishmentsError, GetBankEstablishmentsErrors, GetBankEstablishmentsResponse, GetBankEstablishmentsResponses, GetBillingSubscriptionData, GetBillingSubscriptionError, GetBillingSubscriptionErrors, GetBillingSubscriptionInvoiceLineSectionsData, GetBillingSubscriptionInvoiceLineSectionsError, GetBillingSubscriptionInvoiceLineSectionsErrors, GetBillingSubscriptionInvoiceLineSectionsResponse, GetBillingSubscriptionInvoiceLineSectionsResponses, GetBillingSubscriptionInvoiceLinesData, GetBillingSubscriptionInvoiceLinesError, GetBillingSubscriptionInvoiceLinesErrors, GetBillingSubscriptionInvoiceLinesResponse, GetBillingSubscriptionInvoiceLinesResponses, GetBillingSubscriptionResponse, GetBillingSubscriptionResponses, GetBillingSubscriptionsData, GetBillingSubscriptionsError, GetBillingSubscriptionsErrors, GetBillingSubscriptionsResponse, GetBillingSubscriptionsResponses, GetCategoriesData, GetCategoriesError, GetCategoriesErrors, GetCategoriesResponse, GetCategoriesResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryGroupCategoriesData, GetCategoryGroupCategoriesError, GetCategoryGroupCategoriesErrors, GetCategoryGroupCategoriesResponse, GetCategoryGroupCategoriesResponses, GetCategoryGroupData, GetCategoryGroupError, GetCategoryGroupErrors, GetCategoryGroupResponse, GetCategoryGroupResponses, GetCategoryGroupsData, GetCategoryGroupsError, GetCategoryGroupsErrors, GetCategoryGroupsResponse, GetCategoryGroupsResponses, GetCategoryResponse, GetCategoryResponses, GetCommercialDocumentAppendicesData, GetCommercialDocumentAppendicesError, GetCommercialDocumentAppendicesErrors, GetCommercialDocumentAppendicesResponse, GetCommercialDocumentAppendicesResponses, GetCommercialDocumentData, GetCommercialDocumentError, GetCommercialDocumentErrors, GetCommercialDocumentInvoiceLineSectionsData, GetCommercialDocumentInvoiceLineSectionsError, GetCommercialDocumentInvoiceLineSectionsErrors, GetCommercialDocumentInvoiceLineSectionsResponse, GetCommercialDocumentInvoiceLineSectionsResponses, GetCommercialDocumentInvoiceLinesData, GetCommercialDocumentInvoiceLinesError, GetCommercialDocumentInvoiceLinesErrors, GetCommercialDocumentInvoiceLinesResponse, GetCommercialDocumentInvoiceLinesResponses, GetCommercialDocumentResponse, GetCommercialDocumentResponses, GetCompanyCustomerData, GetCompanyCustomerError, GetCompanyCustomerErrors, GetCompanyCustomerResponse, GetCompanyCustomerResponses, GetCustomerCategoriesData, GetCustomerCategoriesError, GetCustomerCategoriesErrors, GetCustomerCategoriesResponse, GetCustomerCategoriesResponses, GetCustomerChangesData, GetCustomerChangesError, GetCustomerChangesErrors, GetCustomerChangesResponse, GetCustomerChangesResponses, GetCustomerContactsData, GetCustomerContactsError, GetCustomerContactsErrors, GetCustomerContactsResponse, GetCustomerContactsResponses, GetCustomerData, GetCustomerError, GetCustomerErrors, GetCustomerInvoiceAppendicesData, GetCustomerInvoiceAppendicesError, GetCustomerInvoiceAppendicesErrors, GetCustomerInvoiceAppendicesResponse, GetCustomerInvoiceAppendicesResponses, GetCustomerInvoiceCategoriesData, GetCustomerInvoiceCategoriesError, GetCustomerInvoiceCategoriesErrors, GetCustomerInvoiceCategoriesResponse, GetCustomerInvoiceCategoriesResponses, GetCustomerInvoiceCustomHeaderFieldsData, GetCustomerInvoiceCustomHeaderFieldsError, GetCustomerInvoiceCustomHeaderFieldsErrors, GetCustomerInvoiceCustomHeaderFieldsResponse, GetCustomerInvoiceCustomHeaderFieldsResponses, GetCustomerInvoiceData, GetCustomerInvoiceError, GetCustomerInvoiceErrors, GetCustomerInvoiceInvoiceLineSectionsData, GetCustomerInvoiceInvoiceLineSectionsError, GetCustomerInvoiceInvoiceLineSectionsErrors, GetCustomerInvoiceInvoiceLineSectionsResponse, GetCustomerInvoiceInvoiceLineSectionsResponses, GetCustomerInvoiceInvoiceLinesData, GetCustomerInvoiceInvoiceLinesError, GetCustomerInvoiceInvoiceLinesErrors, GetCustomerInvoiceInvoiceLinesResponse, GetCustomerInvoiceInvoiceLinesResponses, GetCustomerInvoiceMatchedTransactionsData, GetCustomerInvoiceMatchedTransactionsError, GetCustomerInvoiceMatchedTransactionsErrors, GetCustomerInvoiceMatchedTransactionsResponse, GetCustomerInvoiceMatchedTransactionsResponses, GetCustomerInvoicePaymentsData, GetCustomerInvoicePaymentsError, GetCustomerInvoicePaymentsErrors, GetCustomerInvoicePaymentsResponse, GetCustomerInvoicePaymentsResponses, GetCustomerInvoiceResponse, GetCustomerInvoiceResponses, GetCustomerInvoiceTemplatesData, GetCustomerInvoiceTemplatesError, GetCustomerInvoiceTemplatesErrors, GetCustomerInvoiceTemplatesResponse, GetCustomerInvoiceTemplatesResponses, GetCustomerInvoicesChangesData, GetCustomerInvoicesChangesError, GetCustomerInvoicesChangesErrors, GetCustomerInvoicesChangesResponse, GetCustomerInvoicesChangesResponses, GetCustomerInvoicesData, GetCustomerInvoicesError, GetCustomerInvoicesErrors, GetCustomerInvoicesResponse, GetCustomerInvoicesResponses, GetCustomerResponse, GetCustomerResponses, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetFecExportData, GetFecExportError, GetFecExportErrors, GetFecExportResponse, GetFecExportResponses, GetFileAttachmentsData, GetFileAttachmentsError, GetFileAttachmentsErrors, GetFileAttachmentsResponse, GetFileAttachmentsResponses, GetGocardlessMandateData, GetGocardlessMandateError, GetGocardlessMandateErrors, GetGocardlessMandateResponse, GetGocardlessMandateResponses, GetGocardlessMandatesData, GetGocardlessMandatesError, GetGocardlessMandatesErrors, GetGocardlessMandatesResponse, GetGocardlessMandatesResponses, GetIndividualCustomerData, GetIndividualCustomerError, GetIndividualCustomerErrors, GetIndividualCustomerResponse, GetIndividualCustomerResponses, GetJournalData, GetJournalError, GetJournalErrors, GetJournalResponse, GetJournalResponses, GetJournalsData, GetJournalsError, GetJournalsErrors, GetJournalsResponse, GetJournalsResponses, GetLedgerAccountData, GetLedgerAccountError, GetLedgerAccountErrors, GetLedgerAccountResponse, GetLedgerAccountResponses, GetLedgerAccountsData, GetLedgerAccountsError, GetLedgerAccountsErrors, GetLedgerAccountsResponse, GetLedgerAccountsResponses, GetLedgerAttachmentsData, GetLedgerAttachmentsError, GetLedgerAttachmentsErrors, GetLedgerAttachmentsResponse, GetLedgerAttachmentsResponses, GetLedgerEntriesData, GetLedgerEntriesError, GetLedgerEntriesErrors, GetLedgerEntriesLedgerEntryLinesData, GetLedgerEntriesLedgerEntryLinesError, GetLedgerEntriesLedgerEntryLinesErrors, GetLedgerEntriesLedgerEntryLinesResponse, GetLedgerEntriesLedgerEntryLinesResponses, GetLedgerEntriesResponse, GetLedgerEntriesResponses, GetLedgerEntryData, GetLedgerEntryError, GetLedgerEntryErrors, GetLedgerEntryLineChangesData, GetLedgerEntryLineChangesError, GetLedgerEntryLineChangesErrors, GetLedgerEntryLineChangesResponse, GetLedgerEntryLineChangesResponses, GetLedgerEntryLineData, GetLedgerEntryLineError, GetLedgerEntryLineErrors, GetLedgerEntryLineResponse, GetLedgerEntryLineResponses, GetLedgerEntryLinesCategoriesData, GetLedgerEntryLinesCategoriesError, GetLedgerEntryLinesCategoriesErrors, GetLedgerEntryLinesCategoriesResponse, GetLedgerEntryLinesCategoriesResponses, GetLedgerEntryLinesData, GetLedgerEntryLinesError, GetLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesData, GetLedgerEntryLinesLetteredLedgerEntryLinesError, GetLedgerEntryLinesLetteredLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesResponse, GetLedgerEntryLinesLetteredLedgerEntryLinesResponses, GetLedgerEntryLinesResponse, GetLedgerEntryLinesResponses, GetLedgerEntryResponse, GetLedgerEntryResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetProAccountMandatesData, GetProAccountMandatesError, GetProAccountMandatesErrors, GetProAccountMandatesResponse, GetProAccountMandatesResponses, GetProductChangesData, GetProductChangesError, GetProductChangesErrors, GetProductChangesResponse, GetProductChangesResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsData, GetProductsError, GetProductsErrors, GetProductsResponse, GetProductsResponses, GetPurchaseRequestData, GetPurchaseRequestError, GetPurchaseRequestErrors, GetPurchaseRequestResponse, GetPurchaseRequestResponses, GetPurchaseRequestsData, GetPurchaseRequestsError, GetPurchaseRequestsErrors, GetPurchaseRequestsResponse, GetPurchaseRequestsResponses, GetQuoteAppendicesData, GetQuoteAppendicesError, GetQuoteAppendicesErrors, GetQuoteAppendicesResponse, GetQuoteAppendicesResponses, GetQuoteChangesData, GetQuoteChangesError, GetQuoteChangesErrors, GetQuoteChangesResponse, GetQuoteChangesResponses, GetQuoteData, GetQuoteError, GetQuoteErrors, GetQuoteInvoiceLineSectionsData, GetQuoteInvoiceLineSectionsError, GetQuoteInvoiceLineSectionsErrors, GetQuoteInvoiceLineSectionsResponse, GetQuoteInvoiceLineSectionsResponses, GetQuoteInvoiceLinesData, GetQuoteInvoiceLinesError, GetQuoteInvoiceLinesErrors, GetQuoteInvoiceLinesResponse, GetQuoteInvoiceLinesResponses, GetQuoteResponse, GetQuoteResponses, GetSepaMandateData, GetSepaMandateError, GetSepaMandateErrors, GetSepaMandateResponse, GetSepaMandateResponses, GetSepaMandatesData, GetSepaMandatesError, GetSepaMandatesErrors, GetSepaMandatesResponse, GetSepaMandatesResponses, GetSupplierCategoriesData, GetSupplierCategoriesError, GetSupplierCategoriesErrors, GetSupplierCategoriesResponse, GetSupplierCategoriesResponses, GetSupplierChangesData, GetSupplierChangesError, GetSupplierChangesErrors, GetSupplierChangesResponse, GetSupplierChangesResponses, GetSupplierData, GetSupplierError, GetSupplierErrors, GetSupplierInvoiceCategoriesData, GetSupplierInvoiceCategoriesError, GetSupplierInvoiceCategoriesErrors, GetSupplierInvoiceCategoriesResponse, GetSupplierInvoiceCategoriesResponses, GetSupplierInvoiceData, GetSupplierInvoiceError, GetSupplierInvoiceErrors, GetSupplierInvoiceLinesData, GetSupplierInvoiceLinesError, GetSupplierInvoiceLinesErrors, GetSupplierInvoiceLinesResponse, GetSupplierInvoiceLinesResponses, GetSupplierInvoiceMatchedTransactionsData, GetSupplierInvoiceMatchedTransactionsError, GetSupplierInvoiceMatchedTransactionsErrors, GetSupplierInvoiceMatchedTransactionsResponse, GetSupplierInvoiceMatchedTransactionsResponses, GetSupplierInvoicePaymentsData, GetSupplierInvoicePaymentsError, GetSupplierInvoicePaymentsErrors, GetSupplierInvoicePaymentsResponse, GetSupplierInvoicePaymentsResponses, GetSupplierInvoiceResponse, GetSupplierInvoiceResponses, GetSupplierInvoicesChangesData, GetSupplierInvoicesChangesError, GetSupplierInvoicesChangesErrors, GetSupplierInvoicesChangesResponse, GetSupplierInvoicesChangesResponses, GetSupplierInvoicesData, GetSupplierInvoicesError, GetSupplierInvoicesErrors, GetSupplierInvoicesResponse, GetSupplierInvoicesResponses, GetSupplierResponse, GetSupplierResponses, GetSuppliersData, GetSuppliersError, GetSuppliersErrors, GetSuppliersResponse, GetSuppliersResponses, GetTransactionCategoriesData, GetTransactionCategoriesError, GetTransactionCategoriesErrors, GetTransactionCategoriesResponse, GetTransactionCategoriesResponses, GetTransactionChangesData, GetTransactionChangesError, GetTransactionChangesErrors, GetTransactionChangesResponse, GetTransactionChangesResponses, GetTransactionData, GetTransactionError, GetTransactionErrors, GetTransactionMatchedInvoicesData, GetTransactionMatchedInvoicesError, GetTransactionMatchedInvoicesErrors, GetTransactionMatchedInvoicesResponse, GetTransactionMatchedInvoicesResponses, GetTransactionResponse, GetTransactionResponses, GetTransactionsData, GetTransactionsError, GetTransactionsErrors, GetTransactionsResponse, GetTransactionsResponses, GetTrialBalanceData, GetTrialBalanceError, GetTrialBalanceErrors, GetTrialBalanceResponse, GetTrialBalanceResponses, GetWebhookSubscriptionData, GetWebhookSubscriptionError, GetWebhookSubscriptionErrors, GetWebhookSubscriptionResponse, GetWebhookSubscriptionResponses, GocardlessMandatesResponse, GocardlessMandates__ResponseSchema, ImportCustomerInvoicesData, ImportCustomerInvoicesError, ImportCustomerInvoicesErrors, ImportCustomerInvoicesResponse, ImportCustomerInvoicesResponses, ImportSupplierInvoiceData, ImportSupplierInvoiceError, ImportSupplierInvoiceErrors, ImportSupplierInvoiceResponse, ImportSupplierInvoiceResponses, IndividualCustomersResponse, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, JournalsResponse, Journals__ResponseSchema, LedgerAccountsResponse, LedgerAccounts__ResponseSchema, LedgerEntriesCategories, LedgerEntriesResponse, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLinesCategories, LedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesResponse, LedgerEntryLinesResponse, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, LinkCreditNoteData, LinkCreditNoteError, LinkCreditNoteErrors, LinkCreditNoteResponse, LinkCreditNoteResponses, ListCommercialDocumentsData, ListCommercialDocumentsError, ListCommercialDocumentsErrors, ListCommercialDocumentsResponse, ListCommercialDocumentsResponses, ListQuotesData, ListQuotesError, ListQuotesErrors, ListQuotesResponse, ListQuotesResponses, MandateStatus, MandateStatusSchema, MarkAsPaidCustomerInvoiceData, MarkAsPaidCustomerInvoiceError, MarkAsPaidCustomerInvoiceErrors, MarkAsPaidCustomerInvoiceResponse, MarkAsPaidCustomerInvoiceResponses, Null, Null2, NullSchema, Options, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, PostBankAccountData, PostBankAccountError, PostBankAccountErrors, PostBankAccountResponse, PostBankAccountResponses, PostBillingSubscriptionsData, PostBillingSubscriptionsError, PostBillingSubscriptionsErrors, PostBillingSubscriptionsResponse, PostBillingSubscriptionsResponses, PostCategoriesData, PostCategoriesError, PostCategoriesErrors, PostCategoriesResponse, PostCategoriesResponses, PostCommercialDocumentAppendicesData, PostCommercialDocumentAppendicesError, PostCommercialDocumentAppendicesErrors, PostCommercialDocumentAppendicesResponse, PostCommercialDocumentAppendicesResponses, PostCompanyCustomerData, PostCompanyCustomerError, PostCompanyCustomerErrors, PostCompanyCustomerResponse, PostCompanyCustomerResponses, PostCustomerInvoiceAppendicesData, PostCustomerInvoiceAppendicesError, PostCustomerInvoiceAppendicesErrors, PostCustomerInvoiceAppendicesResponse, PostCustomerInvoiceAppendicesResponses, PostCustomerInvoiceMatchedTransactionsData, PostCustomerInvoiceMatchedTransactionsError, PostCustomerInvoiceMatchedTransactionsErrors, PostCustomerInvoiceMatchedTransactionsResponse, PostCustomerInvoiceMatchedTransactionsResponses, PostCustomerInvoicesData, PostCustomerInvoicesError, PostCustomerInvoicesErrors, PostCustomerInvoicesResponse, PostCustomerInvoicesResponses, PostFileAttachmentsData, PostFileAttachmentsError, PostFileAttachmentsErrors, PostFileAttachmentsResponse, PostFileAttachmentsResponses, PostGocardlessMandateAssociationsData, PostGocardlessMandateAssociationsError, PostGocardlessMandateAssociationsErrors, PostGocardlessMandateAssociationsResponses, PostGocardlessMandateCancellationsData, PostGocardlessMandateCancellationsError, PostGocardlessMandateCancellationsErrors, PostGocardlessMandateCancellationsResponse, PostGocardlessMandateCancellationsResponses, PostGocardlessMandateMailRequestsData, PostGocardlessMandateMailRequestsError, PostGocardlessMandateMailRequestsErrors, PostGocardlessMandateMailRequestsResponse, PostGocardlessMandateMailRequestsResponses, PostIndividualCustomerData, PostIndividualCustomerError, PostIndividualCustomerErrors, PostIndividualCustomerResponse, PostIndividualCustomerResponses, PostJournalsData, PostJournalsError, PostJournalsErrors, PostJournalsResponse, PostJournalsResponses, PostLedgerAccountsData, PostLedgerAccountsError, PostLedgerAccountsErrors, PostLedgerAccountsResponse, PostLedgerAccountsResponses, PostLedgerAttachmentsData, PostLedgerAttachmentsError, PostLedgerAttachmentsErrors, PostLedgerAttachmentsResponse, PostLedgerAttachmentsResponses, PostLedgerEntriesData, PostLedgerEntriesError, PostLedgerEntriesErrors, PostLedgerEntriesResponse, PostLedgerEntriesResponses, PostLedgerEntryLinesLetterData, PostLedgerEntryLinesLetterError, PostLedgerEntryLinesLetterErrors, PostLedgerEntryLinesLetterResponse, PostLedgerEntryLinesLetterResponses, PostProductsData, PostProductsError, PostProductsErrors, PostProductsResponse, PostProductsResponses, PostQuoteAppendicesData, PostQuoteAppendicesError, PostQuoteAppendicesErrors, PostQuoteAppendicesResponse, PostQuoteAppendicesResponses, PostQuotesData, PostQuotesError, PostQuotesErrors, PostQuotesResponse, PostQuotesResponses, PostSepaMandatesData, PostSepaMandatesError, PostSepaMandatesErrors, PostSepaMandatesResponse, PostSepaMandatesResponses, PostSupplierData, PostSupplierError, PostSupplierErrors, PostSupplierInvoiceLinkedPurchaseRequestsData, PostSupplierInvoiceLinkedPurchaseRequestsError, PostSupplierInvoiceLinkedPurchaseRequestsErrors, PostSupplierInvoiceLinkedPurchaseRequestsResponse, PostSupplierInvoiceLinkedPurchaseRequestsResponses, PostSupplierInvoiceMatchedTransactionsData, PostSupplierInvoiceMatchedTransactionsError, PostSupplierInvoiceMatchedTransactionsErrors, PostSupplierInvoiceMatchedTransactionsResponse, PostSupplierInvoiceMatchedTransactionsResponses, PostSupplierResponse, PostSupplierResponses, PostUsersData, PostUsersError, PostUsersErrors, PostUsersResponse, PostUsersResponses, ProAccountSwanSepaPaymentMandatesMandate, ProAccount__SwanSepaPaymentMandates__MandateSchema, ProductsResponse, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequestsResponse, PurchaseRequests__ResponseSchema, PutBillingSubscriptionsData, PutBillingSubscriptionsError, PutBillingSubscriptionsErrors, PutBillingSubscriptionsResponse, PutBillingSubscriptionsResponses, PutCompanyCustomerData, PutCompanyCustomerError, PutCompanyCustomerErrors, PutCompanyCustomerResponse, PutCompanyCustomerResponses, PutCustomerCategoriesData, PutCustomerCategoriesError, PutCustomerCategoriesErrors, PutCustomerCategoriesResponse, PutCustomerCategoriesResponses, PutCustomerInvoiceCategoriesData, PutCustomerInvoiceCategoriesError, PutCustomerInvoiceCategoriesErrors, PutCustomerInvoiceCategoriesResponse, PutCustomerInvoiceCategoriesResponses, PutIndividualCustomerData, PutIndividualCustomerError, PutIndividualCustomerErrors, PutIndividualCustomerResponse, PutIndividualCustomerResponses, PutLedgerEntriesData, PutLedgerEntriesError, PutLedgerEntriesErrors, PutLedgerEntriesResponse, PutLedgerEntriesResponses, PutLedgerEntryLinesCategoriesData, PutLedgerEntryLinesCategoriesError, PutLedgerEntryLinesCategoriesErrors, PutLedgerEntryLinesCategoriesResponse, PutLedgerEntryLinesCategoriesResponses, PutProductData, PutProductError, PutProductErrors, PutProductResponse, PutProductResponses, PutSepaMandateData, PutSepaMandateError, PutSepaMandateErrors, PutSepaMandateResponse, PutSepaMandateResponses, PutSupplierCategoriesData, PutSupplierCategoriesError, PutSupplierCategoriesErrors, PutSupplierCategoriesResponse, PutSupplierCategoriesResponses, PutSupplierData, PutSupplierError, PutSupplierErrors, PutSupplierInvoiceCategoriesData, PutSupplierInvoiceCategoriesError, PutSupplierInvoiceCategoriesErrors, PutSupplierInvoiceCategoriesResponse, PutSupplierInvoiceCategoriesResponses, PutSupplierInvoiceData, PutSupplierInvoiceError, PutSupplierInvoiceErrors, PutSupplierInvoiceResponse, PutSupplierInvoiceResponses, PutSupplierResponse, PutSupplierResponses, PutTransactionCategoriesData, PutTransactionCategoriesError, PutTransactionCategoriesErrors, PutTransactionCategoriesResponse, PutTransactionCategoriesResponses, PutUsersData, PutUsersError, PutUsersErrors, PutUsersResponse, PutUsersResponses, QuoteStatus, QuoteStatusSchema, QuotesAppendicesResponse, QuotesInvoiceLineSectionsResponse, QuotesInvoiceLinesResponse, QuotesPostRequest, QuotesPutRequest, QuotesResponse, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, type RequestOptions, type RequestResult, type ResolvedRequestOptions, type ResponseStyle, SchemasCurrency, SendByEmailCustomerInvoiceData, SendByEmailCustomerInvoiceError, SendByEmailCustomerInvoiceErrors, SendByEmailCustomerInvoiceResponse, SendByEmailCustomerInvoiceResponses, SendByEmailQuoteData, SendByEmailQuoteError, SendByEmailQuoteErrors, SendByEmailQuoteResponse, SendByEmailQuoteResponses, SepaMandatesResponse, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierDueDateRule, SupplierDueDateRuleSchema, SupplierInvoicesCategoriesResponse, SupplierInvoicesMatchedTransactionsCategoriesResponse, SupplierInvoicesMatchedTransactionsResponse, SupplierInvoicesResponse, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethod, SupplierPaymentMethodSchema, SuppliersCategoriesResponse, SuppliersResponse, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, type TDataShape, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, TransactionsCategoriesResponse, TransactionsCategoriesResponse2, TransactionsResponse, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, UpdateCategoryData, UpdateCategoryError, UpdateCategoryErrors, UpdateCategoryResponse, UpdateCategoryResponses, UpdateCustomerInvoiceData, UpdateCustomerInvoiceError, UpdateCustomerInvoiceErrors, UpdateCustomerInvoiceResponse, UpdateCustomerInvoiceResponses, UpdateImportedCustomerInvoiceData, UpdateImportedCustomerInvoiceError, UpdateImportedCustomerInvoiceErrors, UpdateImportedCustomerInvoiceResponse, UpdateImportedCustomerInvoiceResponses, UpdateLedgerAccountData, UpdateLedgerAccountError, UpdateLedgerAccountErrors, UpdateLedgerAccountResponse, UpdateLedgerAccountResponses, UpdateQuoteData, UpdateQuoteError, UpdateQuoteErrors, UpdateQuoteResponse, UpdateQuoteResponses, UpdateStatusQuoteData, UpdateStatusQuoteError, UpdateStatusQuoteErrors, UpdateStatusQuoteResponse, UpdateStatusQuoteResponses, UpdateSupplierInvoicePaymentStatusData, UpdateSupplierInvoicePaymentStatusError, UpdateSupplierInvoicePaymentStatusErrors, UpdateSupplierInvoicePaymentStatusResponse, UpdateSupplierInvoicePaymentStatusResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionResponse, UpdateTransactionResponses, ValidateAccountingSupplierInvoiceData, ValidateAccountingSupplierInvoiceError, ValidateAccountingSupplierInvoiceErrors, ValidateAccountingSupplierInvoiceResponse, ValidateAccountingSupplierInvoiceResponses, VatRate, VatRateSchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, WebhookSubscriptionsResponse, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyCompleteRegistration, companyCreate, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, exportAnalyticalGeneralLedger, exportFec, finalizeCustomerInvoice, findUser, 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, getFileAttachments, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, 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, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postUsers, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putTransactionCategories, putUsers, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
|
|
40995
|
+
export { AccountType, AccountTypeSchema, AuthorizedCountryAlpha2WithAny, AuthorizedCountryAlpha2WithAnySchema, BadRequestCodeEnum, BadRequestCodeEnumSchema, BankAccountsResponse, BankAccounts__ResponseSchema, BankEstablishmentsResponse, BankEstablishments__ResponseSchema, BillingSubscriptionMode, BillingSubscriptionModeSchema, BillingSubscriptionOcurrenceRuleType, BillingSubscriptionOcurrenceRuleTypeSchema, BillingSubscriptionPaymentConditions, BillingSubscriptionPaymentConditionsSchema, BillingSubscriptionPaymentMethod, BillingSubscriptionPaymentMethodSchema, BillingSubscriptionStatus, BillingSubscriptionStatusSchema, BillingSubscriptionsResponse, BillingSubscriptions__ResponseSchema, CategoriesResponse, Categories__ResponseSchema, CategoryDirection, CategoryDirectionSchema, CategoryGroupsResponse, CategoryGroups__ResponseSchema, type Client, type ClientOptions, CommercialDocumentType, CommercialDocumentTypeSchema, CommercialDocumentsAppendicesResponse, CommercialDocumentsResponse, CommercialDocuments__Appendices__ResponseSchema, CommercialDocuments__ResponseSchema, CompanyCompleteRegistrationData, CompanyCompleteRegistrationError, CompanyCompleteRegistrationErrors, CompanyCompleteRegistrationResponse, CompanyCompleteRegistrationResponses, CompanyCreateData, CompanyCreateError, CompanyCreateErrors, CompanyCreateResponse, CompanyCreateResponses, CompanyCustomersResponse, CompanyCustomers__ResponseSchema, CompanyFiscalYearsData, CompanyFiscalYearsError, CompanyFiscalYearsErrors, CompanyFiscalYearsResponse, CompanyFiscalYearsResponses, CompanyWebhookSubscriptionEvents, CompanyWebhookSubscriptionEventsSchema, type Config, type CreateClientConfig, CreateCustomerInvoiceFromQuoteData, CreateCustomerInvoiceFromQuoteError, CreateCustomerInvoiceFromQuoteErrors, CreateCustomerInvoiceFromQuoteResponse, CreateCustomerInvoiceFromQuoteResponses, CreateEInvoiceImportData, CreateEInvoiceImportError, CreateEInvoiceImportErrors, CreateEInvoiceImportResponse, CreateEInvoiceImportResponses, CreatePurchaseRequestImportData, CreatePurchaseRequestImportError, CreatePurchaseRequestImportErrors, CreatePurchaseRequestImportResponse, CreatePurchaseRequestImportResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionResponse, CreateTransactionResponses, Currency, CurrencySchema, CustomerBillingLanguage, CustomerBillingLanguageSchema, CustomerInvoiceTemplatesResponse, CustomerInvoiceTemplates__ResponseSchema, CustomerInvoicesAppendicesResponse, CustomerInvoicesCategoriesResponse, CustomerInvoicesDraftInvoiceLineWithProductRequest, CustomerInvoicesDraftInvoiceLineWithoutProductRequest, CustomerInvoicesFinalizedInvoiceLineWithProductRequest, CustomerInvoicesFinalizedInvoiceLineWithoutProductRequest, CustomerInvoicesIncludedInvoiceLinesCollection, CustomerInvoicesInclusions, CustomerInvoicesInvoiceLine, CustomerInvoicesMatchedTransactionsCategoriesResponse, CustomerInvoicesMatchedTransactionsResponse, CustomerInvoicesPostDraftRequest, CustomerInvoicesPostFinalizedRequest, CustomerInvoicesPutDraftRequest, CustomerInvoicesPutFinalizedRequest, CustomerInvoicesResponse, CustomerInvoices__Appendices__ResponseSchema, CustomerInvoices__Categories__ResponseSchema, CustomerInvoices__DraftInvoiceLineWithProduct_RequestSchema, CustomerInvoices__DraftInvoiceLineWithoutProduct_RequestSchema, 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, CustomersCategoriesResponse, CustomersContactsResponse, CustomersResponse, Customers__Categories__ResponseSchema, Customers__Contacts__ResponseSchema, Customers__ResponseSchema, DeleteCustomerInvoiceMatchedTransactionsData, DeleteCustomerInvoiceMatchedTransactionsError, DeleteCustomerInvoiceMatchedTransactionsErrors, DeleteCustomerInvoiceMatchedTransactionsResponse, DeleteCustomerInvoiceMatchedTransactionsResponses, DeleteCustomerInvoicesData, DeleteCustomerInvoicesError, DeleteCustomerInvoicesErrors, DeleteCustomerInvoicesResponse, DeleteCustomerInvoicesResponses, DeleteLedgerEntryLinesUnletterData, DeleteLedgerEntryLinesUnletterError, DeleteLedgerEntryLinesUnletterErrors, DeleteLedgerEntryLinesUnletterResponse, DeleteLedgerEntryLinesUnletterResponses, DeleteSepaMandateData, DeleteSepaMandateError, DeleteSepaMandateErrors, DeleteSepaMandateResponse, DeleteSepaMandateResponses, DeleteSupplierInvoiceMatchedTransactionsData, DeleteSupplierInvoiceMatchedTransactionsError, DeleteSupplierInvoiceMatchedTransactionsErrors, DeleteSupplierInvoiceMatchedTransactionsResponse, DeleteSupplierInvoiceMatchedTransactionsResponses, DiscountType, DiscountTypeSchema, ExportAnalyticalGeneralLedgerData, ExportAnalyticalGeneralLedgerError, ExportAnalyticalGeneralLedgerErrors, ExportAnalyticalGeneralLedgerResponse, ExportAnalyticalGeneralLedgerResponses, ExportFecData, ExportFecError, ExportFecErrors, ExportFecResponse, ExportFecResponses, ExportStatus, ExportStatusSchema, FileAttachmentsResponse, FileAttachments__ResponseSchema, FinalizeCustomerInvoiceData, FinalizeCustomerInvoiceError, FinalizeCustomerInvoiceErrors, FinalizeCustomerInvoiceResponse, FinalizeCustomerInvoiceResponses, FindUserData, FindUserError, FindUserErrors, FindUserResponse, FindUserResponses, GetAnalyticalGeneralLedgerExportData, GetAnalyticalGeneralLedgerExportError, GetAnalyticalGeneralLedgerExportErrors, GetAnalyticalGeneralLedgerExportResponse, GetAnalyticalGeneralLedgerExportResponses, GetBankAccountData, GetBankAccountError, GetBankAccountErrors, GetBankAccountResponse, GetBankAccountResponses, GetBankAccountsData, GetBankAccountsError, GetBankAccountsErrors, GetBankAccountsResponse, GetBankAccountsResponses, GetBankEstablishmentsData, GetBankEstablishmentsError, GetBankEstablishmentsErrors, GetBankEstablishmentsResponse, GetBankEstablishmentsResponses, GetBillingSubscriptionData, GetBillingSubscriptionError, GetBillingSubscriptionErrors, GetBillingSubscriptionInvoiceLineSectionsData, GetBillingSubscriptionInvoiceLineSectionsError, GetBillingSubscriptionInvoiceLineSectionsErrors, GetBillingSubscriptionInvoiceLineSectionsResponse, GetBillingSubscriptionInvoiceLineSectionsResponses, GetBillingSubscriptionInvoiceLinesData, GetBillingSubscriptionInvoiceLinesError, GetBillingSubscriptionInvoiceLinesErrors, GetBillingSubscriptionInvoiceLinesResponse, GetBillingSubscriptionInvoiceLinesResponses, GetBillingSubscriptionResponse, GetBillingSubscriptionResponses, GetBillingSubscriptionsData, GetBillingSubscriptionsError, GetBillingSubscriptionsErrors, GetBillingSubscriptionsResponse, GetBillingSubscriptionsResponses, GetCategoriesData, GetCategoriesError, GetCategoriesErrors, GetCategoriesResponse, GetCategoriesResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryGroupCategoriesData, GetCategoryGroupCategoriesError, GetCategoryGroupCategoriesErrors, GetCategoryGroupCategoriesResponse, GetCategoryGroupCategoriesResponses, GetCategoryGroupData, GetCategoryGroupError, GetCategoryGroupErrors, GetCategoryGroupResponse, GetCategoryGroupResponses, GetCategoryGroupsData, GetCategoryGroupsError, GetCategoryGroupsErrors, GetCategoryGroupsResponse, GetCategoryGroupsResponses, GetCategoryResponse, GetCategoryResponses, GetCommercialDocumentAppendicesData, GetCommercialDocumentAppendicesError, GetCommercialDocumentAppendicesErrors, GetCommercialDocumentAppendicesResponse, GetCommercialDocumentAppendicesResponses, GetCommercialDocumentData, GetCommercialDocumentError, GetCommercialDocumentErrors, GetCommercialDocumentInvoiceLineSectionsData, GetCommercialDocumentInvoiceLineSectionsError, GetCommercialDocumentInvoiceLineSectionsErrors, GetCommercialDocumentInvoiceLineSectionsResponse, GetCommercialDocumentInvoiceLineSectionsResponses, GetCommercialDocumentInvoiceLinesData, GetCommercialDocumentInvoiceLinesError, GetCommercialDocumentInvoiceLinesErrors, GetCommercialDocumentInvoiceLinesResponse, GetCommercialDocumentInvoiceLinesResponses, GetCommercialDocumentResponse, GetCommercialDocumentResponses, GetCompanyCustomerData, GetCompanyCustomerError, GetCompanyCustomerErrors, GetCompanyCustomerResponse, GetCompanyCustomerResponses, GetCustomerCategoriesData, GetCustomerCategoriesError, GetCustomerCategoriesErrors, GetCustomerCategoriesResponse, GetCustomerCategoriesResponses, GetCustomerChangesData, GetCustomerChangesError, GetCustomerChangesErrors, GetCustomerChangesResponse, GetCustomerChangesResponses, GetCustomerContactsData, GetCustomerContactsError, GetCustomerContactsErrors, GetCustomerContactsResponse, GetCustomerContactsResponses, GetCustomerData, GetCustomerError, GetCustomerErrors, GetCustomerInvoiceAppendicesData, GetCustomerInvoiceAppendicesError, GetCustomerInvoiceAppendicesErrors, GetCustomerInvoiceAppendicesResponse, GetCustomerInvoiceAppendicesResponses, GetCustomerInvoiceCategoriesData, GetCustomerInvoiceCategoriesError, GetCustomerInvoiceCategoriesErrors, GetCustomerInvoiceCategoriesResponse, GetCustomerInvoiceCategoriesResponses, GetCustomerInvoiceCustomHeaderFieldsData, GetCustomerInvoiceCustomHeaderFieldsError, GetCustomerInvoiceCustomHeaderFieldsErrors, GetCustomerInvoiceCustomHeaderFieldsResponse, GetCustomerInvoiceCustomHeaderFieldsResponses, GetCustomerInvoiceData, GetCustomerInvoiceError, GetCustomerInvoiceErrors, GetCustomerInvoiceInvoiceLineSectionsData, GetCustomerInvoiceInvoiceLineSectionsError, GetCustomerInvoiceInvoiceLineSectionsErrors, GetCustomerInvoiceInvoiceLineSectionsResponse, GetCustomerInvoiceInvoiceLineSectionsResponses, GetCustomerInvoiceInvoiceLinesData, GetCustomerInvoiceInvoiceLinesError, GetCustomerInvoiceInvoiceLinesErrors, GetCustomerInvoiceInvoiceLinesResponse, GetCustomerInvoiceInvoiceLinesResponses, GetCustomerInvoiceMatchedTransactionsData, GetCustomerInvoiceMatchedTransactionsError, GetCustomerInvoiceMatchedTransactionsErrors, GetCustomerInvoiceMatchedTransactionsResponse, GetCustomerInvoiceMatchedTransactionsResponses, GetCustomerInvoicePaymentsData, GetCustomerInvoicePaymentsError, GetCustomerInvoicePaymentsErrors, GetCustomerInvoicePaymentsResponse, GetCustomerInvoicePaymentsResponses, GetCustomerInvoiceResponse, GetCustomerInvoiceResponses, GetCustomerInvoiceTemplatesData, GetCustomerInvoiceTemplatesError, GetCustomerInvoiceTemplatesErrors, GetCustomerInvoiceTemplatesResponse, GetCustomerInvoiceTemplatesResponses, GetCustomerInvoicesChangesData, GetCustomerInvoicesChangesError, GetCustomerInvoicesChangesErrors, GetCustomerInvoicesChangesResponse, GetCustomerInvoicesChangesResponses, GetCustomerInvoicesData, GetCustomerInvoicesError, GetCustomerInvoicesErrors, GetCustomerInvoicesResponse, GetCustomerInvoicesResponses, GetCustomerResponse, GetCustomerResponses, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetFecExportData, GetFecExportError, GetFecExportErrors, GetFecExportResponse, GetFecExportResponses, GetFileAttachmentsData, GetFileAttachmentsError, GetFileAttachmentsErrors, GetFileAttachmentsResponse, GetFileAttachmentsResponses, GetGocardlessMandateData, GetGocardlessMandateError, GetGocardlessMandateErrors, GetGocardlessMandateResponse, GetGocardlessMandateResponses, GetGocardlessMandatesData, GetGocardlessMandatesError, GetGocardlessMandatesErrors, GetGocardlessMandatesResponse, GetGocardlessMandatesResponses, GetIndividualCustomerData, GetIndividualCustomerError, GetIndividualCustomerErrors, GetIndividualCustomerResponse, GetIndividualCustomerResponses, GetJournalData, GetJournalError, GetJournalErrors, GetJournalResponse, GetJournalResponses, GetJournalsData, GetJournalsError, GetJournalsErrors, GetJournalsResponse, GetJournalsResponses, GetLedgerAccountData, GetLedgerAccountError, GetLedgerAccountErrors, GetLedgerAccountResponse, GetLedgerAccountResponses, GetLedgerAccountsData, GetLedgerAccountsError, GetLedgerAccountsErrors, GetLedgerAccountsResponse, GetLedgerAccountsResponses, GetLedgerAttachmentsData, GetLedgerAttachmentsError, GetLedgerAttachmentsErrors, GetLedgerAttachmentsResponse, GetLedgerAttachmentsResponses, GetLedgerEntriesData, GetLedgerEntriesError, GetLedgerEntriesErrors, GetLedgerEntriesLedgerEntryLinesData, GetLedgerEntriesLedgerEntryLinesError, GetLedgerEntriesLedgerEntryLinesErrors, GetLedgerEntriesLedgerEntryLinesResponse, GetLedgerEntriesLedgerEntryLinesResponses, GetLedgerEntriesResponse, GetLedgerEntriesResponses, GetLedgerEntryData, GetLedgerEntryError, GetLedgerEntryErrors, GetLedgerEntryLineChangesData, GetLedgerEntryLineChangesError, GetLedgerEntryLineChangesErrors, GetLedgerEntryLineChangesResponse, GetLedgerEntryLineChangesResponses, GetLedgerEntryLineData, GetLedgerEntryLineError, GetLedgerEntryLineErrors, GetLedgerEntryLineResponse, GetLedgerEntryLineResponses, GetLedgerEntryLinesCategoriesData, GetLedgerEntryLinesCategoriesError, GetLedgerEntryLinesCategoriesErrors, GetLedgerEntryLinesCategoriesResponse, GetLedgerEntryLinesCategoriesResponses, GetLedgerEntryLinesData, GetLedgerEntryLinesError, GetLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesData, GetLedgerEntryLinesLetteredLedgerEntryLinesError, GetLedgerEntryLinesLetteredLedgerEntryLinesErrors, GetLedgerEntryLinesLetteredLedgerEntryLinesResponse, GetLedgerEntryLinesLetteredLedgerEntryLinesResponses, GetLedgerEntryLinesResponse, GetLedgerEntryLinesResponses, GetLedgerEntryResponse, GetLedgerEntryResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetProAccountMandateMigrationsData, GetProAccountMandateMigrationsError, GetProAccountMandateMigrationsErrors, GetProAccountMandateMigrationsResponse, GetProAccountMandateMigrationsResponses, GetProAccountMandatesData, GetProAccountMandatesError, GetProAccountMandatesErrors, GetProAccountMandatesResponse, GetProAccountMandatesResponses, GetProductChangesData, GetProductChangesError, GetProductChangesErrors, GetProductChangesResponse, GetProductChangesResponses, GetProductData, GetProductError, GetProductErrors, GetProductResponse, GetProductResponses, GetProductsData, GetProductsError, GetProductsErrors, GetProductsResponse, GetProductsResponses, GetPurchaseRequestData, GetPurchaseRequestError, GetPurchaseRequestErrors, GetPurchaseRequestResponse, GetPurchaseRequestResponses, GetPurchaseRequestsData, GetPurchaseRequestsError, GetPurchaseRequestsErrors, GetPurchaseRequestsResponse, GetPurchaseRequestsResponses, GetQuoteAppendicesData, GetQuoteAppendicesError, GetQuoteAppendicesErrors, GetQuoteAppendicesResponse, GetQuoteAppendicesResponses, GetQuoteChangesData, GetQuoteChangesError, GetQuoteChangesErrors, GetQuoteChangesResponse, GetQuoteChangesResponses, GetQuoteData, GetQuoteError, GetQuoteErrors, GetQuoteInvoiceLineSectionsData, GetQuoteInvoiceLineSectionsError, GetQuoteInvoiceLineSectionsErrors, GetQuoteInvoiceLineSectionsResponse, GetQuoteInvoiceLineSectionsResponses, GetQuoteInvoiceLinesData, GetQuoteInvoiceLinesError, GetQuoteInvoiceLinesErrors, GetQuoteInvoiceLinesResponse, GetQuoteInvoiceLinesResponses, GetQuoteResponse, GetQuoteResponses, GetSepaMandateData, GetSepaMandateError, GetSepaMandateErrors, GetSepaMandateResponse, GetSepaMandateResponses, GetSepaMandatesData, GetSepaMandatesError, GetSepaMandatesErrors, GetSepaMandatesResponse, GetSepaMandatesResponses, GetSupplierCategoriesData, GetSupplierCategoriesError, GetSupplierCategoriesErrors, GetSupplierCategoriesResponse, GetSupplierCategoriesResponses, GetSupplierChangesData, GetSupplierChangesError, GetSupplierChangesErrors, GetSupplierChangesResponse, GetSupplierChangesResponses, GetSupplierData, GetSupplierError, GetSupplierErrors, GetSupplierInvoiceCategoriesData, GetSupplierInvoiceCategoriesError, GetSupplierInvoiceCategoriesErrors, GetSupplierInvoiceCategoriesResponse, GetSupplierInvoiceCategoriesResponses, GetSupplierInvoiceData, GetSupplierInvoiceError, GetSupplierInvoiceErrors, GetSupplierInvoiceLinesData, GetSupplierInvoiceLinesError, GetSupplierInvoiceLinesErrors, GetSupplierInvoiceLinesResponse, GetSupplierInvoiceLinesResponses, GetSupplierInvoiceMatchedTransactionsData, GetSupplierInvoiceMatchedTransactionsError, GetSupplierInvoiceMatchedTransactionsErrors, GetSupplierInvoiceMatchedTransactionsResponse, GetSupplierInvoiceMatchedTransactionsResponses, GetSupplierInvoicePaymentsData, GetSupplierInvoicePaymentsError, GetSupplierInvoicePaymentsErrors, GetSupplierInvoicePaymentsResponse, GetSupplierInvoicePaymentsResponses, GetSupplierInvoiceResponse, GetSupplierInvoiceResponses, GetSupplierInvoicesChangesData, GetSupplierInvoicesChangesError, GetSupplierInvoicesChangesErrors, GetSupplierInvoicesChangesResponse, GetSupplierInvoicesChangesResponses, GetSupplierInvoicesData, GetSupplierInvoicesError, GetSupplierInvoicesErrors, GetSupplierInvoicesResponse, GetSupplierInvoicesResponses, GetSupplierResponse, GetSupplierResponses, GetSuppliersData, GetSuppliersError, GetSuppliersErrors, GetSuppliersResponse, GetSuppliersResponses, GetTransactionCategoriesData, GetTransactionCategoriesError, GetTransactionCategoriesErrors, GetTransactionCategoriesResponse, GetTransactionCategoriesResponses, GetTransactionChangesData, GetTransactionChangesError, GetTransactionChangesErrors, GetTransactionChangesResponse, GetTransactionChangesResponses, GetTransactionData, GetTransactionError, GetTransactionErrors, GetTransactionMatchedInvoicesData, GetTransactionMatchedInvoicesError, GetTransactionMatchedInvoicesErrors, GetTransactionMatchedInvoicesResponse, GetTransactionMatchedInvoicesResponses, GetTransactionResponse, GetTransactionResponses, GetTransactionsData, GetTransactionsError, GetTransactionsErrors, GetTransactionsResponse, GetTransactionsResponses, GetTrialBalanceData, GetTrialBalanceError, GetTrialBalanceErrors, GetTrialBalanceResponse, GetTrialBalanceResponses, GetWebhookSubscriptionData, GetWebhookSubscriptionError, GetWebhookSubscriptionErrors, GetWebhookSubscriptionResponse, GetWebhookSubscriptionResponses, GocardlessMandatesResponse, GocardlessMandates__ResponseSchema, ImportCustomerInvoicesData, ImportCustomerInvoicesError, ImportCustomerInvoicesErrors, ImportCustomerInvoicesResponse, ImportCustomerInvoicesResponses, ImportSupplierInvoiceData, ImportSupplierInvoiceError, ImportSupplierInvoiceErrors, ImportSupplierInvoiceResponse, ImportSupplierInvoiceResponses, IndividualCustomersResponse, IndividualCustomers__ResponseSchema, InvoiceAccountantsStatus, InvoiceAccountantsStatusSchema, InvoicePaymentStatus, InvoicePaymentStatusSchema, InvoiceStatuses, InvoiceStatusesSchema, JournalsResponse, Journals__ResponseSchema, LedgerAccountsResponse, LedgerAccounts__ResponseSchema, LedgerEntriesCategories, LedgerEntriesResponse, LedgerEntries__CategoriesSchema, LedgerEntries__ResponseSchema, LedgerEntryLinesCategories, LedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesCategoriesResponse, LedgerEntryLinesLetteredLedgerEntryLinesResponse, LedgerEntryLinesResponse, LedgerEntryLines__CategoriesSchema, LedgerEntryLines__Categories__ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__Categories_ResponseSchema, LedgerEntryLines__LetteredLedgerEntryLines__ResponseSchema, LedgerEntryLines__ResponseSchema, LinkCreditNoteData, LinkCreditNoteError, LinkCreditNoteErrors, LinkCreditNoteResponse, LinkCreditNoteResponses, ListCommercialDocumentsData, ListCommercialDocumentsError, ListCommercialDocumentsErrors, ListCommercialDocumentsResponse, ListCommercialDocumentsResponses, ListQuotesData, ListQuotesError, ListQuotesErrors, ListQuotesResponse, ListQuotesResponses, MandateStatus, MandateStatusSchema, MarkAsPaidCustomerInvoiceData, MarkAsPaidCustomerInvoiceError, MarkAsPaidCustomerInvoiceErrors, MarkAsPaidCustomerInvoiceResponse, MarkAsPaidCustomerInvoiceResponses, Null, Null2, NullSchema, Options, PaymentConditions, PaymentConditionsSchema, PaymentStatus, PaymentStatusSchema, PostBankAccountData, PostBankAccountError, PostBankAccountErrors, PostBankAccountResponse, PostBankAccountResponses, PostBillingSubscriptionsData, PostBillingSubscriptionsError, PostBillingSubscriptionsErrors, PostBillingSubscriptionsResponse, PostBillingSubscriptionsResponses, PostCategoriesData, PostCategoriesError, PostCategoriesErrors, PostCategoriesResponse, PostCategoriesResponses, PostCommercialDocumentAppendicesData, PostCommercialDocumentAppendicesError, PostCommercialDocumentAppendicesErrors, PostCommercialDocumentAppendicesResponse, PostCommercialDocumentAppendicesResponses, PostCompanyCustomerData, PostCompanyCustomerError, PostCompanyCustomerErrors, PostCompanyCustomerResponse, PostCompanyCustomerResponses, PostCustomerInvoiceAppendicesData, PostCustomerInvoiceAppendicesError, PostCustomerInvoiceAppendicesErrors, PostCustomerInvoiceAppendicesResponse, PostCustomerInvoiceAppendicesResponses, PostCustomerInvoiceMatchedTransactionsData, PostCustomerInvoiceMatchedTransactionsError, PostCustomerInvoiceMatchedTransactionsErrors, PostCustomerInvoiceMatchedTransactionsResponse, PostCustomerInvoiceMatchedTransactionsResponses, PostCustomerInvoicesData, PostCustomerInvoicesError, PostCustomerInvoicesErrors, PostCustomerInvoicesResponse, PostCustomerInvoicesResponses, PostFileAttachmentsData, PostFileAttachmentsError, PostFileAttachmentsErrors, PostFileAttachmentsResponse, PostFileAttachmentsResponses, PostGocardlessMandateAssociationsData, PostGocardlessMandateAssociationsError, PostGocardlessMandateAssociationsErrors, PostGocardlessMandateAssociationsResponses, PostGocardlessMandateCancellationsData, PostGocardlessMandateCancellationsError, PostGocardlessMandateCancellationsErrors, PostGocardlessMandateCancellationsResponse, PostGocardlessMandateCancellationsResponses, PostGocardlessMandateMailRequestsData, PostGocardlessMandateMailRequestsError, PostGocardlessMandateMailRequestsErrors, PostGocardlessMandateMailRequestsResponse, PostGocardlessMandateMailRequestsResponses, PostIndividualCustomerData, PostIndividualCustomerError, PostIndividualCustomerErrors, PostIndividualCustomerResponse, PostIndividualCustomerResponses, PostJournalsData, PostJournalsError, PostJournalsErrors, PostJournalsResponse, PostJournalsResponses, PostLedgerAccountsData, PostLedgerAccountsError, PostLedgerAccountsErrors, PostLedgerAccountsResponse, PostLedgerAccountsResponses, PostLedgerAttachmentsData, PostLedgerAttachmentsError, PostLedgerAttachmentsErrors, PostLedgerAttachmentsResponse, PostLedgerAttachmentsResponses, PostLedgerEntriesData, PostLedgerEntriesError, PostLedgerEntriesErrors, PostLedgerEntriesResponse, PostLedgerEntriesResponses, PostLedgerEntryLinesLetterData, PostLedgerEntryLinesLetterError, PostLedgerEntryLinesLetterErrors, PostLedgerEntryLinesLetterResponse, PostLedgerEntryLinesLetterResponses, PostProAccountMandateMigrationsData, PostProAccountMandateMigrationsError, PostProAccountMandateMigrationsErrors, PostProAccountMandateMigrationsResponse, PostProAccountMandateMigrationsResponses, PostProductsData, PostProductsError, PostProductsErrors, PostProductsResponse, PostProductsResponses, PostQuoteAppendicesData, PostQuoteAppendicesError, PostQuoteAppendicesErrors, PostQuoteAppendicesResponse, PostQuoteAppendicesResponses, PostQuotesData, PostQuotesError, PostQuotesErrors, PostQuotesResponse, PostQuotesResponses, PostSepaMandatesData, PostSepaMandatesError, PostSepaMandatesErrors, PostSepaMandatesResponse, PostSepaMandatesResponses, PostSupplierData, PostSupplierError, PostSupplierErrors, PostSupplierInvoiceLinkedPurchaseRequestsData, PostSupplierInvoiceLinkedPurchaseRequestsError, PostSupplierInvoiceLinkedPurchaseRequestsErrors, PostSupplierInvoiceLinkedPurchaseRequestsResponse, PostSupplierInvoiceLinkedPurchaseRequestsResponses, PostSupplierInvoiceMatchedTransactionsData, PostSupplierInvoiceMatchedTransactionsError, PostSupplierInvoiceMatchedTransactionsErrors, PostSupplierInvoiceMatchedTransactionsResponse, PostSupplierInvoiceMatchedTransactionsResponses, PostSupplierResponse, PostSupplierResponses, PostUsersData, PostUsersError, PostUsersErrors, PostUsersResponse, PostUsersResponses, PostWebhookSubscriptionData, PostWebhookSubscriptionError, PostWebhookSubscriptionErrors, PostWebhookSubscriptionResponse, PostWebhookSubscriptionResponses, ProAccountMandateMigrationsCreateResponse, ProAccountMandateMigrationsResponse, ProAccountSwanSepaPaymentMandatesMandate, ProAccount__MandateMigrations__CreateResponseSchema, ProAccount__MandateMigrations__ResponseSchema, ProAccount__SwanSepaPaymentMandates__MandateSchema, ProductsResponse, Products__ResponseSchema, PurchaseRequestLineUnit, PurchaseRequestLineUnitSchema, PurchaseRequestStatuses, PurchaseRequestStatusesSchema, PurchaseRequestsResponse, PurchaseRequests__ResponseSchema, PutBillingSubscriptionsData, PutBillingSubscriptionsError, PutBillingSubscriptionsErrors, PutBillingSubscriptionsResponse, PutBillingSubscriptionsResponses, PutCompanyCustomerData, PutCompanyCustomerError, PutCompanyCustomerErrors, PutCompanyCustomerResponse, PutCompanyCustomerResponses, PutCustomerCategoriesData, PutCustomerCategoriesError, PutCustomerCategoriesErrors, PutCustomerCategoriesResponse, PutCustomerCategoriesResponses, PutCustomerInvoiceCategoriesData, PutCustomerInvoiceCategoriesError, PutCustomerInvoiceCategoriesErrors, PutCustomerInvoiceCategoriesResponse, PutCustomerInvoiceCategoriesResponses, PutIndividualCustomerData, PutIndividualCustomerError, PutIndividualCustomerErrors, PutIndividualCustomerResponse, PutIndividualCustomerResponses, PutLedgerEntriesData, PutLedgerEntriesError, PutLedgerEntriesErrors, PutLedgerEntriesResponse, PutLedgerEntriesResponses, PutLedgerEntryLinesCategoriesData, PutLedgerEntryLinesCategoriesError, PutLedgerEntryLinesCategoriesErrors, PutLedgerEntryLinesCategoriesResponse, PutLedgerEntryLinesCategoriesResponses, PutProductData, PutProductError, PutProductErrors, PutProductResponse, PutProductResponses, PutSepaMandateData, PutSepaMandateError, PutSepaMandateErrors, PutSepaMandateResponse, PutSepaMandateResponses, PutSupplierCategoriesData, PutSupplierCategoriesError, PutSupplierCategoriesErrors, PutSupplierCategoriesResponse, PutSupplierCategoriesResponses, PutSupplierData, PutSupplierError, PutSupplierErrors, PutSupplierInvoiceCategoriesData, PutSupplierInvoiceCategoriesError, PutSupplierInvoiceCategoriesErrors, PutSupplierInvoiceCategoriesResponse, PutSupplierInvoiceCategoriesResponses, PutSupplierInvoiceData, PutSupplierInvoiceError, PutSupplierInvoiceErrors, PutSupplierInvoiceResponse, PutSupplierInvoiceResponses, PutSupplierResponse, PutSupplierResponses, PutTransactionCategoriesData, PutTransactionCategoriesError, PutTransactionCategoriesErrors, PutTransactionCategoriesResponse, PutTransactionCategoriesResponses, PutUsersData, PutUsersError, PutUsersErrors, PutUsersResponse, PutUsersResponses, PutWebhookSubscriptionData, PutWebhookSubscriptionError, PutWebhookSubscriptionErrors, PutWebhookSubscriptionResponse, PutWebhookSubscriptionResponses, QuoteStatus, QuoteStatusSchema, QuotesAppendicesResponse, QuotesInvoiceLineSectionsResponse, QuotesInvoiceLinesResponse, QuotesPostRequest, QuotesPutRequest, QuotesResponse, Quotes__Appendices__ResponseSchema, Quotes__InvoiceLineSections__ResponseSchema, Quotes__InvoiceLines__ResponseSchema, Quotes__Post_RequestSchema, Quotes__Put_RequestSchema, Quotes__ResponseSchema, type RequestOptions, type RequestResult, type ResolvedRequestOptions, type ResponseStyle, SchemasCurrency, SendByEmailCustomerInvoiceData, SendByEmailCustomerInvoiceError, SendByEmailCustomerInvoiceErrors, SendByEmailCustomerInvoiceResponse, SendByEmailCustomerInvoiceResponses, SendByEmailQuoteData, SendByEmailQuoteError, SendByEmailQuoteErrors, SendByEmailQuoteResponse, SendByEmailQuoteResponses, SepaMandatesResponse, SepaMandates__ResponseSchema, SepaSequenceType, SepaSequenceTypeSchema, SupplierDueDateRule, SupplierDueDateRuleSchema, SupplierInvoicesCategoriesResponse, SupplierInvoicesMatchedTransactionsCategoriesResponse, SupplierInvoicesMatchedTransactionsResponse, SupplierInvoicesResponse, SupplierInvoices__Categories__ResponseSchema, SupplierInvoices__MatchedTransactions__CategoriesResponseSchema, SupplierInvoices__MatchedTransactions__ResponseSchema, SupplierInvoices__ResponseSchema, SupplierPaymentMethod, SupplierPaymentMethodSchema, SuppliersCategoriesResponse, SuppliersResponse, Suppliers__Categories__ResponseSchema, Suppliers__ResponseSchema, type TDataShape, TemplatesAvailablesLocales, TemplatesAvailablesLocalesSchema, TransactionsCategoriesResponse, TransactionsCategoriesResponse2, TransactionsResponse, Transactions__CategoriesResponseSchema, Transactions__Categories__ResponseSchema, Transactions__ResponseSchema, UnbalancedLetteringStrategy, UnbalancedLetteringStrategySchema, UpdateCategoryData, UpdateCategoryError, UpdateCategoryErrors, UpdateCategoryResponse, UpdateCategoryResponses, UpdateCustomerInvoiceData, UpdateCustomerInvoiceError, UpdateCustomerInvoiceErrors, UpdateCustomerInvoiceResponse, UpdateCustomerInvoiceResponses, UpdateImportedCustomerInvoiceData, UpdateImportedCustomerInvoiceError, UpdateImportedCustomerInvoiceErrors, UpdateImportedCustomerInvoiceResponse, UpdateImportedCustomerInvoiceResponses, UpdateLedgerAccountData, UpdateLedgerAccountError, UpdateLedgerAccountErrors, UpdateLedgerAccountResponse, UpdateLedgerAccountResponses, UpdateQuoteData, UpdateQuoteError, UpdateQuoteErrors, UpdateQuoteResponse, UpdateQuoteResponses, UpdateStatusQuoteData, UpdateStatusQuoteError, UpdateStatusQuoteErrors, UpdateStatusQuoteResponse, UpdateStatusQuoteResponses, UpdateSupplierInvoicePaymentStatusData, UpdateSupplierInvoicePaymentStatusError, UpdateSupplierInvoicePaymentStatusErrors, UpdateSupplierInvoicePaymentStatusResponse, UpdateSupplierInvoicePaymentStatusResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionResponse, UpdateTransactionResponses, ValidateAccountingSupplierInvoiceData, ValidateAccountingSupplierInvoiceError, ValidateAccountingSupplierInvoiceErrors, ValidateAccountingSupplierInvoiceResponse, ValidateAccountingSupplierInvoiceResponses, VatRate, VatRateSchema, VatRateWithAnyAndMixed, VatRateWithAnyAndMixedSchema, WebhookSubscriptionsCreateResponse, WebhookSubscriptionsEvents, WebhookSubscriptionsResponse, WebhookSubscriptions__CreateResponseSchema, WebhookSubscriptions__EventsSchema, WebhookSubscriptions__ResponseSchema, buildClientParams, client, companyCompleteRegistration, companyCreate, companyFiscalYears, createClient, createClientWithApiKey, createConfig, createCustomerInvoiceFromQuote, createEInvoiceImport, createPurchaseRequestImport, createTransaction, deleteCustomerInvoiceMatchedTransactions, deleteCustomerInvoices, deleteLedgerEntryLinesUnletter, deleteSepaMandate, deleteSupplierInvoiceMatchedTransactions, exportAnalyticalGeneralLedger, exportFec, finalizeCustomerInvoice, findUser, 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, getFileAttachments, getGocardlessMandate, getGocardlessMandates, getIndividualCustomer, getJournal, getJournals, getLedgerAccount, getLedgerAccounts, getLedgerAttachments, getLedgerEntries, getLedgerEntriesLedgerEntryLines, getLedgerEntry, getLedgerEntryLine, getLedgerEntryLineChanges, getLedgerEntryLines, getLedgerEntryLinesCategories, getLedgerEntryLinesLetteredLedgerEntryLines, getMe, 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, postProAccountMandateMigrations, postProducts, postQuoteAppendices, postQuotes, postSepaMandates, postSupplier, postSupplierInvoiceLinkedPurchaseRequests, postSupplierInvoiceMatchedTransactions, postUsers, postWebhookSubscription, putBillingSubscriptions, putCompanyCustomer, putCustomerCategories, putCustomerInvoiceCategories, putIndividualCustomer, putLedgerEntries, putLedgerEntryLinesCategories, putProduct, putSepaMandate, putSupplier, putSupplierCategories, putSupplierInvoice, putSupplierInvoiceCategories, putTransactionCategories, putUsers, putWebhookSubscription, schemas_CurrencySchema, sendByEmailCustomerInvoice, sendByEmailQuote, updateCategory, updateCustomerInvoice, updateImportedCustomerInvoice, updateLedgerAccount, updateQuote, updateStatusQuote, updateSupplierInvoicePaymentStatus, updateTransaction, validateAccountingSupplierInvoice };
|
|
40010
40996
|
//# sourceMappingURL=index.d.mts.map
|