@getyetty-sdk/pennylane 2026.3.27 → 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: {
@@ -6682,7 +6690,7 @@ type GetLedgerAccountsResponses = {
6682
6690
  };
6683
6691
  type GetLedgerAccountsResponse = GetLedgerAccountsResponses[keyof GetLedgerAccountsResponses];
6684
6692
  type PostLedgerAccountsData = {
6685
- body?: {
6693
+ body: {
6686
6694
  /**
6687
6695
  * Ledger Account's number.
6688
6696
  * If the number starts with 401 (supplier) or 411 (customer) a corresponding supplier or company customer will also be created.
@@ -7144,7 +7152,7 @@ type GetLedgerAttachmentsResponses = {
7144
7152
  };
7145
7153
  type GetLedgerAttachmentsResponse = GetLedgerAttachmentsResponses[keyof GetLedgerAttachmentsResponses];
7146
7154
  type PostLedgerAttachmentsData = {
7147
- body?: {
7155
+ body: {
7148
7156
  /**
7149
7157
  * The file you want to upload.
7150
7158
  * Allowed content types:
@@ -7941,7 +7949,7 @@ type GetLedgerEntryResponses = {
7941
7949
  };
7942
7950
  type GetLedgerEntryResponse = GetLedgerEntryResponses[keyof GetLedgerEntryResponses];
7943
7951
  type PutLedgerEntriesData = {
7944
- body?: {
7952
+ body: {
7945
7953
  /**
7946
7954
  * Date of the ledger entry (ISO 8601)
7947
7955
  */
@@ -8857,7 +8865,7 @@ type GetLedgerEntryLineResponses = {
8857
8865
  };
8858
8866
  type GetLedgerEntryLineResponse = GetLedgerEntryLineResponses[keyof GetLedgerEntryLineResponses];
8859
8867
  type DeleteLedgerEntryLinesUnletterData = {
8860
- body?: {
8868
+ body: {
8861
8869
  /**
8862
8870
  * - `none`: the API won't let you create an unbalanced lettering
8863
8871
  * and will respond with an error.
@@ -8966,7 +8974,7 @@ type DeleteLedgerEntryLinesUnletterResponses = {
8966
8974
  };
8967
8975
  type DeleteLedgerEntryLinesUnletterResponse = DeleteLedgerEntryLinesUnletterResponses[keyof DeleteLedgerEntryLinesUnletterResponses];
8968
8976
  type PostLedgerEntryLinesLetterData = {
8969
- body?: {
8977
+ body: {
8970
8978
  /**
8971
8979
  * - `none`: the API won't let you create an unbalanced lettering
8972
8980
  * and will respond with an error.
@@ -11318,6 +11326,10 @@ type CreateCustomerInvoiceEInvoiceImportData = {
11318
11326
  * Ledger account id for this line.
11319
11327
  */
11320
11328
  ledger_account_id?: number | null;
11329
+ /**
11330
+ * Product id for this line.
11331
+ */
11332
+ product_id?: number | null;
11321
11333
  }>;
11322
11334
  };
11323
11335
  };
@@ -34988,6 +35000,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsInvoiceLineSche
34988
35000
  readonly nullable: true;
34989
35001
  readonly example: 123;
34990
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
+ };
34991
35010
  };
34992
35011
  readonly required: readonly ["e_invoice_line_id"];
34993
35012
  };
@@ -35019,6 +35038,13 @@ declare const CustomerInvoices__EInvoices__Imports__ImportOptionsSchema: {
35019
35038
  readonly nullable: true;
35020
35039
  readonly example: 123;
35021
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
+ };
35022
35048
  };
35023
35049
  readonly required: readonly ["e_invoice_line_id"];
35024
35050
  };
@@ -40315,7 +40341,7 @@ declare const getLedgerAccounts: <ThrowOnError extends boolean = false>(options?
40315
40341
  * > ℹ️
40316
40342
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_accounts:all`
40317
40343
  */
40318
- 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">;
40319
40345
  /**
40320
40346
  * Get a ledger account
40321
40347
  *
@@ -40370,7 +40396,7 @@ declare const getLedgerAttachments: <ThrowOnError extends boolean = false>(optio
40370
40396
  *
40371
40397
  * @deprecated
40372
40398
  */
40373
- 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">;
40374
40400
  /**
40375
40401
  * List Ledger Entries
40376
40402
  *
@@ -40476,7 +40502,7 @@ declare const getLedgerEntryLine: <ThrowOnError extends boolean = false>(options
40476
40502
  * > ℹ️
40477
40503
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40478
40504
  */
40479
- 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">;
40480
40506
  /**
40481
40507
  * Letter ledger entry lines
40482
40508
  *
@@ -40488,7 +40514,7 @@ declare const deleteLedgerEntryLinesUnletter: <ThrowOnError extends boolean = fa
40488
40514
  * > ℹ️
40489
40515
  * > This endpoint requires one of the following scopes: `ledger (DEPRECATED)`, `ledger_entries:all`
40490
40516
  */
40491
- 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">;
40492
40518
  /**
40493
40519
  * List ledger entry lines lettered to a given ledger entry line
40494
40520
  *