@getyetty-sdk/pennylane 2026.3.26 → 2026.4.1

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: {
@@ -4460,6 +4468,10 @@ type BankAccountsResponse = {
4460
4468
  url: string;
4461
4469
  };
4462
4470
  };
4471
+ /**
4472
+ * - `current`: Deprecated. This value will be removed in a future version. Please use `checking` instead.
4473
+ *
4474
+ */
4463
4475
  declare const AccountType: {
4464
4476
  readonly CURRENT: "current";
4465
4477
  readonly CARD: "card";
@@ -4470,6 +4482,10 @@ declare const AccountType: {
4470
4482
  readonly OTHER: "other";
4471
4483
  readonly CHECKING: "checking";
4472
4484
  };
4485
+ /**
4486
+ * - `current`: Deprecated. This value will be removed in a future version. Please use `checking` instead.
4487
+ *
4488
+ */
4473
4489
  type AccountType = (typeof AccountType)[keyof typeof AccountType];
4474
4490
  type TransactionsCategoriesResponse = {
4475
4491
  id: number;
@@ -6674,7 +6690,7 @@ type GetLedgerAccountsResponses = {
6674
6690
  };
6675
6691
  type GetLedgerAccountsResponse = GetLedgerAccountsResponses[keyof GetLedgerAccountsResponses];
6676
6692
  type PostLedgerAccountsData = {
6677
- body?: {
6693
+ body: {
6678
6694
  /**
6679
6695
  * Ledger Account's number.
6680
6696
  * If the number starts with 401 (supplier) or 411 (customer) a corresponding supplier or company customer will also be created.
@@ -7136,7 +7152,7 @@ type GetLedgerAttachmentsResponses = {
7136
7152
  };
7137
7153
  type GetLedgerAttachmentsResponse = GetLedgerAttachmentsResponses[keyof GetLedgerAttachmentsResponses];
7138
7154
  type PostLedgerAttachmentsData = {
7139
- body?: {
7155
+ body: {
7140
7156
  /**
7141
7157
  * The file you want to upload.
7142
7158
  * Allowed content types:
@@ -7933,7 +7949,7 @@ type GetLedgerEntryResponses = {
7933
7949
  };
7934
7950
  type GetLedgerEntryResponse = GetLedgerEntryResponses[keyof GetLedgerEntryResponses];
7935
7951
  type PutLedgerEntriesData = {
7936
- body?: {
7952
+ body: {
7937
7953
  /**
7938
7954
  * Date of the ledger entry (ISO 8601)
7939
7955
  */
@@ -8849,7 +8865,7 @@ type GetLedgerEntryLineResponses = {
8849
8865
  };
8850
8866
  type GetLedgerEntryLineResponse = GetLedgerEntryLineResponses[keyof GetLedgerEntryLineResponses];
8851
8867
  type DeleteLedgerEntryLinesUnletterData = {
8852
- body?: {
8868
+ body: {
8853
8869
  /**
8854
8870
  * - `none`: the API won't let you create an unbalanced lettering
8855
8871
  * and will respond with an error.
@@ -8958,7 +8974,7 @@ type DeleteLedgerEntryLinesUnletterResponses = {
8958
8974
  };
8959
8975
  type DeleteLedgerEntryLinesUnletterResponse = DeleteLedgerEntryLinesUnletterResponses[keyof DeleteLedgerEntryLinesUnletterResponses];
8960
8976
  type PostLedgerEntryLinesLetterData = {
8961
- body?: {
8977
+ body: {
8962
8978
  /**
8963
8979
  * - `none`: the API won't let you create an unbalanced lettering
8964
8980
  * and will respond with an error.
@@ -11310,6 +11326,10 @@ type CreateCustomerInvoiceEInvoiceImportData = {
11310
11326
  * Ledger account id for this line.
11311
11327
  */
11312
11328
  ledger_account_id?: number | null;
11329
+ /**
11330
+ * Product id for this line.
11331
+ */
11332
+ product_id?: number | null;
11313
11333
  }>;
11314
11334
  };
11315
11335
  };
@@ -25567,6 +25587,10 @@ type PostBankAccountData = {
25567
25587
  */
25568
25588
  bic?: string;
25569
25589
  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';
25590
+ /**
25591
+ * - `current`: Deprecated. This value will be removed in a future version. Please use `checking` instead.
25592
+ *
25593
+ */
25570
25594
  account_type?: 'current' | 'card' | 'savings' | 'shares' | 'loan' | 'life_insurance' | 'other' | 'checking';
25571
25595
  };
25572
25596
  path?: never;
@@ -34976,6 +35000,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSche
34976
35000
  readonly nullable: true;
34977
35001
  readonly example: 123;
34978
35002
  };
35003
+ readonly product_id: {
35004
+ readonly description: "Product id for this line.";
35005
+ readonly type: "integer";
35006
+ readonly format: "int64";
35007
+ readonly nullable: true;
35008
+ readonly example: 456;
35009
+ };
34979
35010
  };
34980
35011
  readonly required: readonly ["e_invoice_line_id"];
34981
35012
  };
@@ -35007,6 +35038,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsSchema: {
35007
35038
  readonly nullable: true;
35008
35039
  readonly example: 123;
35009
35040
  };
35041
+ readonly product_id: {
35042
+ readonly description: "Product id for this line.";
35043
+ readonly type: "integer";
35044
+ readonly format: "int64";
35045
+ readonly nullable: true;
35046
+ readonly example: 456;
35047
+ };
35010
35048
  };
35011
35049
  readonly required: readonly ["e_invoice_line_id"];
35012
35050
  };
@@ -38034,6 +38072,7 @@ declare const BankAccounts__ResponseSchema: {
38034
38072
  readonly required: readonly ["id", "name", "currency", "created_at", "updated_at", "bank_establishment", "journal", "ledger_account"];
38035
38073
  };
38036
38074
  declare const AccountTypeSchema: {
38075
+ readonly description: "- `current`: Deprecated. This value will be removed in a future version. Please use `checking` instead.\n";
38037
38076
  readonly type: "string";
38038
38077
  readonly enum: readonly ["current", "card", "savings", "shares", "loan", "life_insurance", "other", "checking"];
38039
38078
  };
@@ -40302,7 +40341,7 @@ declare const getLedgerAccounts: <ThrowOnError extends boolean = false>(options?
40302
40341
  * > ℹ️
40303
40342
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_accounts:all`
40304
40343
  */
40305
- declare const postLedgerAccounts: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerAccountsData, ThrowOnError>) => RequestResult<PostLedgerAccountsResponses, PostLedgerAccountsErrors, ThrowOnError, "fields">;
40344
+ declare const postLedgerAccounts: <ThrowOnError extends boolean = false>(options: Options<PostLedgerAccountsData, ThrowOnError>) => RequestResult<PostLedgerAccountsResponses, PostLedgerAccountsErrors, ThrowOnError, "fields">;
40306
40345
  /**
40307
40346
  * Get a ledger account
40308
40347
  *
@@ -40357,7 +40396,7 @@ declare const getLedgerAttachments: <ThrowOnError extends boolean = false>(optio
40357
40396
  *
40358
40397
  * @deprecated
40359
40398
  */
40360
- declare const postLedgerAttachments: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerAttachmentsData, ThrowOnError>) => RequestResult<PostLedgerAttachmentsResponses, PostLedgerAttachmentsErrors, ThrowOnError, "fields">;
40399
+ declare const postLedgerAttachments: <ThrowOnError extends boolean = false>(options: Options<PostLedgerAttachmentsData, ThrowOnError>) => RequestResult<PostLedgerAttachmentsResponses, PostLedgerAttachmentsErrors, ThrowOnError, "fields">;
40361
40400
  /**
40362
40401
  * List Ledger Entries
40363
40402
  *
@@ -40463,7 +40502,7 @@ declare const getLedgerEntryLine: <ThrowOnError extends boolean = false>(options
40463
40502
  * > ℹ️
40464
40503
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40465
40504
  */
40466
- declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = false>(options?: Options<DeleteLedgerEntryLinesUnletterData, ThrowOnError>) => RequestResult<DeleteLedgerEntryLinesUnletterResponses, DeleteLedgerEntryLinesUnletterErrors, ThrowOnError, "fields">;
40505
+ declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = false>(options: Options<DeleteLedgerEntryLinesUnletterData, ThrowOnError>) => RequestResult<DeleteLedgerEntryLinesUnletterResponses, DeleteLedgerEntryLinesUnletterErrors, ThrowOnError, "fields">;
40467
40506
  /**
40468
40507
  * Letter ledger entry lines
40469
40508
  *
@@ -40475,7 +40514,7 @@ declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = fa
40475
40514
  * > ℹ️
40476
40515
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40477
40516
  */
40478
- declare const postLedgerEntryLinesLetter: <ThrowOnError extends boolean = false>(options?: Options<PostLedgerEntryLinesLetterData, ThrowOnError>) => RequestResult<PostLedgerEntryLinesLetterResponses, PostLedgerEntryLinesLetterErrors, ThrowOnError, "fields">;
40517
+ declare const postLedgerEntryLinesLetter: <ThrowOnError extends boolean = false>(options: Options<PostLedgerEntryLinesLetterData, ThrowOnError>) => RequestResult<PostLedgerEntryLinesLetterResponses, PostLedgerEntryLinesLetterErrors, ThrowOnError, "fields">;
40479
40518
  /**
40480
40519
  * List ledger entry lines lettered to a given ledger entry line
40481
40520
  *