@getyetty-sdk/pennylane 2026.3.27 → 2026.4.3

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 CHANGED
@@ -2773,6 +2773,10 @@ type CustomerInvoicesEInvoicesImportsImportOptionsInvoiceLine = {
2773
2773
  * Ledger account id for this line.
2774
2774
  */
2775
2775
  ledger_account_id?: number | null;
2776
+ /**
2777
+ * Product id for this line.
2778
+ */
2779
+ product_id?: number | null;
2776
2780
  };
2777
2781
  /**
2778
2782
  * Optional JSON payload to enrich the imported customer invoice.
@@ -2793,6 +2797,10 @@ type CustomerInvoicesEInvoicesImportsImportOptions = {
2793
2797
  * Ledger account id for this line.
2794
2798
  */
2795
2799
  ledger_account_id?: number | null;
2800
+ /**
2801
+ * Product id for this line.
2802
+ */
2803
+ product_id?: number | null;
2796
2804
  }>;
2797
2805
  };
2798
2806
  declare const BillingSubscriptionStatus: {
@@ -4446,6 +4454,7 @@ type BankAccountsResponse = {
4446
4454
  id: number;
4447
4455
  name: string;
4448
4456
  currency: 'EUR' | 'USD' | 'GBP' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SLE' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'ZWL';
4457
+ balance: string;
4449
4458
  created_at: string;
4450
4459
  updated_at: string;
4451
4460
  bank_establishment: {
@@ -6682,7 +6691,7 @@ type GetLedgerAccountsResponses = {
6682
6691
  };
6683
6692
  type GetLedgerAccountsResponse = GetLedgerAccountsResponses[keyof GetLedgerAccountsResponses];
6684
6693
  type PostLedgerAccountsData = {
6685
- body?: {
6694
+ body: {
6686
6695
  /**
6687
6696
  * Ledger Account's number.
6688
6697
  * If the number starts with 401 (supplier) or 411 (customer) a corresponding supplier or company customer will also be created.
@@ -7144,7 +7153,7 @@ type GetLedgerAttachmentsResponses = {
7144
7153
  };
7145
7154
  type GetLedgerAttachmentsResponse = GetLedgerAttachmentsResponses[keyof GetLedgerAttachmentsResponses];
7146
7155
  type PostLedgerAttachmentsData = {
7147
- body?: {
7156
+ body: {
7148
7157
  /**
7149
7158
  * The file you want to upload.
7150
7159
  * Allowed content types:
@@ -7941,7 +7950,7 @@ type GetLedgerEntryResponses = {
7941
7950
  };
7942
7951
  type GetLedgerEntryResponse = GetLedgerEntryResponses[keyof GetLedgerEntryResponses];
7943
7952
  type PutLedgerEntriesData = {
7944
- body?: {
7953
+ body: {
7945
7954
  /**
7946
7955
  * Date of the ledger entry (ISO 8601)
7947
7956
  */
@@ -8857,7 +8866,7 @@ type GetLedgerEntryLineResponses = {
8857
8866
  };
8858
8867
  type GetLedgerEntryLineResponse = GetLedgerEntryLineResponses[keyof GetLedgerEntryLineResponses];
8859
8868
  type DeleteLedgerEntryLinesUnletterData = {
8860
- body?: {
8869
+ body: {
8861
8870
  /**
8862
8871
  * - `none`: the API won't let you create an unbalanced lettering
8863
8872
  * and will respond with an error.
@@ -8966,7 +8975,7 @@ type DeleteLedgerEntryLinesUnletterResponses = {
8966
8975
  };
8967
8976
  type DeleteLedgerEntryLinesUnletterResponse = DeleteLedgerEntryLinesUnletterResponses[keyof DeleteLedgerEntryLinesUnletterResponses];
8968
8977
  type PostLedgerEntryLinesLetterData = {
8969
- body?: {
8978
+ body: {
8970
8979
  /**
8971
8980
  * - `none`: the API won't let you create an unbalanced lettering
8972
8981
  * and will respond with an error.
@@ -11318,6 +11327,10 @@ type CreateCustomerInvoiceEInvoiceImportData = {
11318
11327
  * Ledger account id for this line.
11319
11328
  */
11320
11329
  ledger_account_id?: number | null;
11330
+ /**
11331
+ * Product id for this line.
11332
+ */
11333
+ product_id?: number | null;
11321
11334
  }>;
11322
11335
  };
11323
11336
  };
@@ -25539,6 +25552,7 @@ type GetBankAccountsResponses = {
25539
25552
  id: number;
25540
25553
  name: string;
25541
25554
  currency: 'EUR' | 'USD' | 'GBP' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SLE' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'ZWL';
25555
+ balance: string;
25542
25556
  created_at: string;
25543
25557
  updated_at: string;
25544
25558
  bank_establishment: {
@@ -25649,6 +25663,7 @@ type PostBankAccountResponses = {
25649
25663
  id: number;
25650
25664
  name: string;
25651
25665
  currency: 'EUR' | 'USD' | 'GBP' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SLE' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'ZWL';
25666
+ balance: string;
25652
25667
  created_at: string;
25653
25668
  updated_at: string;
25654
25669
  bank_establishment: {
@@ -25730,6 +25745,7 @@ type GetBankAccountResponses = {
25730
25745
  id: number;
25731
25746
  name: string;
25732
25747
  currency: 'EUR' | 'USD' | 'GBP' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SLE' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZMW' | 'ZWL';
25748
+ balance: string;
25733
25749
  created_at: string;
25734
25750
  updated_at: string;
25735
25751
  bank_establishment: {
@@ -34988,6 +35004,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSche
34988
35004
  readonly nullable: true;
34989
35005
  readonly example: 123;
34990
35006
  };
35007
+ readonly product_id: {
35008
+ readonly description: "Product id for this line.";
35009
+ readonly type: "integer";
35010
+ readonly format: "int64";
35011
+ readonly nullable: true;
35012
+ readonly example: 456;
35013
+ };
34991
35014
  };
34992
35015
  readonly required: readonly ["e_invoice_line_id"];
34993
35016
  };
@@ -35019,6 +35042,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsSchema: {
35019
35042
  readonly nullable: true;
35020
35043
  readonly example: 123;
35021
35044
  };
35045
+ readonly product_id: {
35046
+ readonly description: "Product id for this line.";
35047
+ readonly type: "integer";
35048
+ readonly format: "int64";
35049
+ readonly nullable: true;
35050
+ readonly example: 456;
35051
+ };
35022
35052
  };
35023
35053
  readonly required: readonly ["e_invoice_line_id"];
35024
35054
  };
@@ -37987,6 +38017,10 @@ declare const BankAccounts__ResponseSchema: {
37987
38017
  readonly default: "EUR";
37988
38018
  readonly enum: readonly ["EUR", "USD", "GBP", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CLF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SLE", "SOS", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMK", "ZMW", "ZWL"];
37989
38019
  };
38020
+ readonly balance: {
38021
+ readonly type: "string";
38022
+ readonly example: "100.15";
38023
+ };
37990
38024
  readonly created_at: {
37991
38025
  readonly type: "string";
37992
38026
  readonly format: "date-time";
@@ -38043,7 +38077,7 @@ declare const BankAccounts__ResponseSchema: {
38043
38077
  readonly required: readonly ["id", "url"];
38044
38078
  };
38045
38079
  };
38046
- readonly required: readonly ["id", "name", "currency", "created_at", "updated_at", "bank_establishment", "journal", "ledger_account"];
38080
+ readonly required: readonly ["id", "name", "currency", "balance", "created_at", "updated_at", "bank_establishment", "journal", "ledger_account"];
38047
38081
  };
38048
38082
  declare const AccountTypeSchema: {
38049
38083
  readonly description: "- `current`: Deprecated. This value will be removed in a future version. Please use `checking` instead.\n";
@@ -40315,7 +40349,7 @@ declare const getLedgerAccounts: <ThrowOnError extends boolean = false>(options?
40315
40349
  * > ℹ️
40316
40350
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_accounts:all`
40317
40351
  */
40318
- declare const postLedgerAccounts: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerAccountsData, ThrowOnError>) => RequestResult<PostLedgerAccountsResponses, PostLedgerAccountsErrors, ThrowOnError, "fields">;
40352
+ declare const postLedgerAccounts: <ThrowOnError extends boolean = false>(options: Options<PostLedgerAccountsData, ThrowOnError>) => RequestResult<PostLedgerAccountsResponses, PostLedgerAccountsErrors, ThrowOnError, "fields">;
40319
40353
  /**
40320
40354
  * Get a ledger account
40321
40355
  *
@@ -40370,7 +40404,7 @@ declare const getLedgerAttachments: <ThrowOnError extends boolean = false>(optio
40370
40404
  *
40371
40405
  * @deprecated
40372
40406
  */
40373
- declare const postLedgerAttachments: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerAttachmentsData, ThrowOnError>) => RequestResult<PostLedgerAttachmentsResponses, PostLedgerAttachmentsErrors, ThrowOnError, "fields">;
40407
+ declare const postLedgerAttachments: <ThrowOnError extends boolean = false>(options: Options<PostLedgerAttachmentsData, ThrowOnError>) => RequestResult<PostLedgerAttachmentsResponses, PostLedgerAttachmentsErrors, ThrowOnError, "fields">;
40374
40408
  /**
40375
40409
  * List Ledger Entries
40376
40410
  *
@@ -40476,7 +40510,7 @@ declare const getLedgerEntryLine: <ThrowOnError extends boolean = false>(options
40476
40510
  * > ℹ️
40477
40511
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40478
40512
  */
40479
- declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = false>(options?: Options<DeleteLedgerEntryLinesUnletterData, ThrowOnError>) => RequestResult<DeleteLedgerEntryLinesUnletterResponses, DeleteLedgerEntryLinesUnletterErrors, ThrowOnError, "fields">;
40513
+ declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = false>(options: Options<DeleteLedgerEntryLinesUnletterData, ThrowOnError>) => RequestResult<DeleteLedgerEntryLinesUnletterResponses, DeleteLedgerEntryLinesUnletterErrors, ThrowOnError, "fields">;
40480
40514
  /**
40481
40515
  * Letter ledger entry lines
40482
40516
  *
@@ -40488,7 +40522,7 @@ declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = fa
40488
40522
  * > ℹ️
40489
40523
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40490
40524
  */
40491
- declare const postLedgerEntryLinesLetter: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerEntryLinesLetterData, ThrowOnError>) => RequestResult<PostLedgerEntryLinesLetterResponses, PostLedgerEntryLinesLetterErrors, ThrowOnError, "fields">;
40525
+ declare const postLedgerEntryLinesLetter: <ThrowOnError extends boolean = false>(options: Options<PostLedgerEntryLinesLetterData, ThrowOnError>) => RequestResult<PostLedgerEntryLinesLetterResponses, PostLedgerEntryLinesLetterErrors, ThrowOnError, "fields">;
40492
40526
  /**
40493
40527
  * List ledger entry lines lettered to a given ledger entry line
40494
40528
  *