@getyetty-sdk/pennylane 2026.1.22 → 2026.1.28

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @getyetty-sdk/pennylane
2
2
 
3
- TypeScript client for the [Pennylane Accounting API](https://pennylane.readme.io/reference/introduction), auto-generated from the official OpenAPI specification.
3
+ TypeScript client for the [Pennylane Accounting API](https://pennylane.readme.io/reference), auto-generated from the official OpenAPI specification.
4
4
 
5
5
  ## ⚠️ Disclaimer
6
6
 
@@ -73,7 +73,12 @@ const newCustomer = await postCompanyCustomer({
73
73
  ### Creating a Custom Client Instance
74
74
 
75
75
  ```typescript
76
- import { createClient, createClientWithApiKey, createConfig, getCustomers } from '@getyetty-sdk/pennylane';
76
+ import {
77
+ createClient,
78
+ createClientWithApiKey,
79
+ createConfig,
80
+ getCustomers,
81
+ } from '@getyetty-sdk/pennylane';
77
82
 
78
83
  const pennylane = createClient(
79
84
  createConfig({
@@ -81,11 +86,11 @@ const pennylane = createClient(
81
86
  headers: {
82
87
  Authorization: `Bearer ${process.env.PENNYLANE_API_KEY}`,
83
88
  },
84
- })
89
+ }),
85
90
  );
86
91
 
87
92
  // Or alternatively if you just have to provide an API key
88
- const pennylane = createClientWithApiKey(process.env.PENNYLANE_API_KEY)
93
+ const pennylane = createClientWithApiKey(process.env.PENNYLANE_API_KEY);
89
94
 
90
95
  // Use the custom client
91
96
  const customers = await getCustomers({
@@ -96,7 +101,7 @@ const customers = await getCustomers({
96
101
 
97
102
  ## 📚 API Documentation
98
103
 
99
- For detailed API documentation, please refer to the [official Pennylane API docs](https://pennylane.readme.io/reference/introduction).
104
+ For detailed API documentation, please refer to the [official Pennylane API docs](https://pennylane.readme.io).
100
105
 
101
106
  ## 📄 License
102
107
 
package/dist/index.d.mts CHANGED
@@ -90,18 +90,18 @@ declare const buildClientParams: (args: ReadonlyArray<unknown>, fields: FieldsCo
90
90
  //#endregion
91
91
  //#region src/generated/core/types.gen.d.ts
92
92
  type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
93
- type Client$1<RequestFn$1 = never, Config$2 = unknown, MethodFn$1 = never, BuildUrlFn$1 = never, SseFn$1 = never> = {
93
+ type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
94
94
  /**
95
95
  * Returns the final request URL.
96
96
  */
97
- buildUrl: BuildUrlFn$1;
98
- getConfig: () => Config$2;
99
- request: RequestFn$1;
100
- setConfig: (config: Config$2) => Config$2;
101
- } & { [K in HttpMethod]: MethodFn$1 } & ([SseFn$1] extends [never] ? {
97
+ buildUrl: BuildUrlFn;
98
+ getConfig: () => Config;
99
+ request: RequestFn;
100
+ setConfig: (config: Config) => Config;
101
+ } & { [K in HttpMethod]: MethodFn } & ([SseFn] extends [never] ? {
102
102
  sse?: never;
103
103
  } : {
104
- sse: { [K in HttpMethod]: SseFn$1 };
104
+ sse: { [K in HttpMethod]: SseFn };
105
105
  });
106
106
  interface Config$1 {
107
107
  /**
@@ -230,9 +230,9 @@ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> =
230
230
  //#endregion
231
231
  //#region src/generated/client/utils.gen.d.ts
232
232
  declare const mergeHeaders: (...headers: Array<Required<Config>["headers"] | undefined>) => Headers;
233
- type ErrInterceptor<Err, Res, Req, Options$2> = (error: Err, response: Res, request: Req, options: Options$2) => Err | Promise<Err>;
234
- type ReqInterceptor<Req, Options$2> = (request: Req, options: Options$2) => Req | Promise<Req>;
235
- type ResInterceptor<Res, Req, Options$2> = (response: Res, request: Req, options: Options$2) => Res | Promise<Res>;
233
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
234
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
235
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
236
236
  declare class Interceptors<Interceptor> {
237
237
  fns: Array<Interceptor | null>;
238
238
  clear(): void;
@@ -242,10 +242,10 @@ declare class Interceptors<Interceptor> {
242
242
  update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
243
243
  use(fn: Interceptor): number;
244
244
  }
245
- interface Middleware<Req, Res, Err, Options$2> {
246
- error: Interceptors<ErrInterceptor<Err, Res, Req, Options$2>>;
247
- request: Interceptors<ReqInterceptor<Req, Options$2>>;
248
- response: Interceptors<ResInterceptor<Res, Req, Options$2>>;
245
+ interface Middleware<Req, Res, Err, Options> {
246
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
247
+ request: Interceptors<ReqInterceptor<Req, Options>>;
248
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
249
249
  }
250
250
  declare const createConfig: <T extends ClientOptions = ClientOptions>(override?: Config<Omit<ClientOptions, keyof T> & T>) => Config<Omit<ClientOptions, keyof T> & T>;
251
251
  //#endregion
@@ -360,7 +360,7 @@ interface TDataShape {
360
360
  query?: unknown;
361
361
  url: string;
362
362
  }
363
- type OmitKeys<T, K$1> = Pick<T, Exclude<keyof T, K$1>>;
363
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
364
364
  type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
365
365
  //#endregion
366
366
  //#region src/generated/client/client.gen.d.ts
@@ -400,7 +400,7 @@ declare const BadRequestCodeEnum: {
400
400
  readonly NOT_ONE_OF: "NotOneOf";
401
401
  readonly VALIDATE_ERROR: "ValidateError";
402
402
  };
403
- type BadRequestCodeEnum = typeof BadRequestCodeEnum[keyof typeof BadRequestCodeEnum];
403
+ type BadRequestCodeEnum = (typeof BadRequestCodeEnum)[keyof typeof BadRequestCodeEnum];
404
404
  type LedgerAccountsResponse = {
405
405
  id: number;
406
406
  number: string;
@@ -566,7 +566,7 @@ declare const VatRateWithAnyAndMixed: {
566
566
  readonly ANY: "any";
567
567
  readonly MIXED: "mixed";
568
568
  };
569
- type VatRateWithAnyAndMixed = typeof VatRateWithAnyAndMixed[keyof typeof VatRateWithAnyAndMixed];
569
+ type VatRateWithAnyAndMixed = (typeof VatRateWithAnyAndMixed)[keyof typeof VatRateWithAnyAndMixed];
570
570
  declare const AuthorizedCountryAlpha2WithAny: {
571
571
  readonly AT: "AT";
572
572
  readonly BE: "BE";
@@ -603,7 +603,7 @@ declare const AuthorizedCountryAlpha2WithAny: {
603
603
  readonly NO: "NO";
604
604
  readonly ANY: "any";
605
605
  };
606
- type AuthorizedCountryAlpha2WithAny = typeof AuthorizedCountryAlpha2WithAny[keyof typeof AuthorizedCountryAlpha2WithAny];
606
+ type AuthorizedCountryAlpha2WithAny = (typeof AuthorizedCountryAlpha2WithAny)[keyof typeof AuthorizedCountryAlpha2WithAny];
607
607
  type LedgerEntriesCategories = Array<{
608
608
  id: number;
609
609
  label: string;
@@ -785,7 +785,7 @@ declare const Currency: {
785
785
  readonly ZMW: "ZMW";
786
786
  readonly ZWL: "ZWL";
787
787
  };
788
- type Currency = typeof Currency[keyof typeof Currency];
788
+ type Currency = (typeof Currency)[keyof typeof Currency];
789
789
  type LedgerEntriesResponse = {
790
790
  /**
791
791
  * ID of the ledger entry
@@ -1000,7 +1000,7 @@ declare const UnbalancedLetteringStrategy: {
1000
1000
  * - `partial`: a potentially unbalanced lettering will be created.
1001
1001
  *
1002
1002
  */
1003
- type UnbalancedLetteringStrategy = typeof UnbalancedLetteringStrategy[keyof typeof UnbalancedLetteringStrategy];
1003
+ type UnbalancedLetteringStrategy = (typeof UnbalancedLetteringStrategy)[keyof typeof UnbalancedLetteringStrategy];
1004
1004
  type LedgerEntryLinesLetteredLedgerEntryLinesCategoriesResponse = Array<{
1005
1005
  id: number;
1006
1006
  label: string;
@@ -1274,12 +1274,12 @@ declare const SchemasCurrency: {
1274
1274
  readonly ZMW: "ZMW";
1275
1275
  readonly ZWL: "ZWL";
1276
1276
  };
1277
- type SchemasCurrency = typeof SchemasCurrency[keyof typeof SchemasCurrency];
1277
+ type SchemasCurrency = (typeof SchemasCurrency)[keyof typeof SchemasCurrency];
1278
1278
  declare const TemplatesAvailablesLocales: {
1279
1279
  readonly FR_FR: "fr_FR";
1280
1280
  readonly EN_GB: "en_GB";
1281
1281
  };
1282
- type TemplatesAvailablesLocales = typeof TemplatesAvailablesLocales[keyof typeof TemplatesAvailablesLocales];
1282
+ type TemplatesAvailablesLocales = (typeof TemplatesAvailablesLocales)[keyof typeof TemplatesAvailablesLocales];
1283
1283
  declare const InvoiceStatuses: {
1284
1284
  readonly ARCHIVED: "archived";
1285
1285
  readonly INCOMPLETE: "incomplete";
@@ -1291,7 +1291,7 @@ declare const InvoiceStatuses: {
1291
1291
  readonly DRAFT: "draft";
1292
1292
  readonly CREDIT_NOTE: "credit_note";
1293
1293
  };
1294
- type InvoiceStatuses = typeof InvoiceStatuses[keyof typeof InvoiceStatuses];
1294
+ type InvoiceStatuses = (typeof InvoiceStatuses)[keyof typeof InvoiceStatuses];
1295
1295
  /**
1296
1296
  * Discount type.
1297
1297
  * - absolute if it is an amount
@@ -1308,7 +1308,7 @@ declare const DiscountType: {
1308
1308
  * - relative if it is a percentage
1309
1309
  *
1310
1310
  */
1311
- type DiscountType = typeof DiscountType[keyof typeof DiscountType];
1311
+ type DiscountType = (typeof DiscountType)[keyof typeof DiscountType];
1312
1312
  type CustomerInvoicesResponse = {
1313
1313
  /**
1314
1314
  * Invoice identifier
@@ -1652,7 +1652,7 @@ declare const VatRate: {
1652
1652
  /**
1653
1653
  * Product VAT rate. A 20% VAT in France is FR_200.
1654
1654
  */
1655
- type VatRate = typeof VatRate[keyof typeof VatRate];
1655
+ type VatRate = (typeof VatRate)[keyof typeof VatRate];
1656
1656
  /**
1657
1657
  * Customer Invoice Line
1658
1658
  */
@@ -2608,7 +2608,7 @@ declare const BillingSubscriptionStatus: {
2608
2608
  readonly NOT_STARTED: "not_started";
2609
2609
  readonly IN_PROGRESS: "in_progress";
2610
2610
  };
2611
- type BillingSubscriptionStatus = typeof BillingSubscriptionStatus[keyof typeof BillingSubscriptionStatus];
2611
+ type BillingSubscriptionStatus = (typeof BillingSubscriptionStatus)[keyof typeof BillingSubscriptionStatus];
2612
2612
  /**
2613
2613
  * - `awaiting_validation`: generated invoices will be in draft
2614
2614
  * - `finalized`: generated invoices will be finalized
@@ -2626,7 +2626,7 @@ declare const BillingSubscriptionMode: {
2626
2626
  * - `email`: generated invoices will be finalized and sent by email to the recipients configured on the subscription
2627
2627
  *
2628
2628
  */
2629
- type BillingSubscriptionMode = typeof BillingSubscriptionMode[keyof typeof BillingSubscriptionMode];
2629
+ type BillingSubscriptionMode = (typeof BillingSubscriptionMode)[keyof typeof BillingSubscriptionMode];
2630
2630
  declare const BillingSubscriptionPaymentConditions: {
2631
2631
  readonly UPON_RECEIPT: "upon_receipt";
2632
2632
  readonly '7_DAYS': "7_days";
@@ -2637,11 +2637,11 @@ declare const BillingSubscriptionPaymentConditions: {
2637
2637
  readonly '45_DAYS_END_OF_MONTH': "45_days_end_of_month";
2638
2638
  readonly '60_DAYS': "60_days";
2639
2639
  };
2640
- type BillingSubscriptionPaymentConditions = typeof BillingSubscriptionPaymentConditions[keyof typeof BillingSubscriptionPaymentConditions];
2640
+ type BillingSubscriptionPaymentConditions = (typeof BillingSubscriptionPaymentConditions)[keyof typeof BillingSubscriptionPaymentConditions];
2641
2641
  declare const Null: {
2642
2642
  readonly NULL: null;
2643
2643
  };
2644
- type Null = typeof Null[keyof typeof Null];
2644
+ type Null = (typeof Null)[keyof typeof Null];
2645
2645
  /**
2646
2646
  * Payment method
2647
2647
  * offline means the subscription is not linked to a payment method
@@ -2658,13 +2658,13 @@ declare const BillingSubscriptionPaymentMethod: {
2658
2658
  * gocardless_direct-debit means at each new occurrence the client will be automatically debited thanks to GoCardless. To do so, you need a GoCardless account properly configured.
2659
2659
  *
2660
2660
  */
2661
- type BillingSubscriptionPaymentMethod = typeof BillingSubscriptionPaymentMethod[keyof typeof BillingSubscriptionPaymentMethod];
2661
+ type BillingSubscriptionPaymentMethod = (typeof BillingSubscriptionPaymentMethod)[keyof typeof BillingSubscriptionPaymentMethod];
2662
2662
  declare const BillingSubscriptionOcurrenceRuleType: {
2663
2663
  readonly WEEKLY: "weekly";
2664
2664
  readonly MONTHLY: "monthly";
2665
2665
  readonly YEARLY: "yearly";
2666
2666
  };
2667
- type BillingSubscriptionOcurrenceRuleType = typeof BillingSubscriptionOcurrenceRuleType[keyof typeof BillingSubscriptionOcurrenceRuleType];
2667
+ type BillingSubscriptionOcurrenceRuleType = (typeof BillingSubscriptionOcurrenceRuleType)[keyof typeof BillingSubscriptionOcurrenceRuleType];
2668
2668
  type BillingSubscriptionsResponse = {
2669
2669
  /**
2670
2670
  * Billing subscription identifier
@@ -2882,7 +2882,7 @@ declare const ExportStatus: {
2882
2882
  /**
2883
2883
  * The state of the export
2884
2884
  */
2885
- type ExportStatus = typeof ExportStatus[keyof typeof ExportStatus];
2885
+ type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
2886
2886
  /**
2887
2887
  * Note that the `custom` option is only used on Pennylane's web app to avoid pre-filling the deadline when creating an invoice. On the API it has no effect and you will still have to provide a deadline when creating an invoice.
2888
2888
  */
@@ -2900,7 +2900,7 @@ declare const PaymentConditions: {
2900
2900
  /**
2901
2901
  * Note that the `custom` option is only used on Pennylane's web app to avoid pre-filling the deadline when creating an invoice. On the API it has no effect and you will still have to provide a deadline when creating an invoice.
2902
2902
  */
2903
- type PaymentConditions = typeof PaymentConditions[keyof typeof PaymentConditions];
2903
+ type PaymentConditions = (typeof PaymentConditions)[keyof typeof PaymentConditions];
2904
2904
  /**
2905
2905
  * The language in which the customer will receive invoices. Default is `fr_FR`
2906
2906
  */
@@ -2912,7 +2912,7 @@ declare const CustomerBillingLanguage: {
2912
2912
  /**
2913
2913
  * The language in which the customer will receive invoices. Default is `fr_FR`
2914
2914
  */
2915
- type CustomerBillingLanguage = typeof CustomerBillingLanguage[keyof typeof CustomerBillingLanguage];
2915
+ type CustomerBillingLanguage = (typeof CustomerBillingLanguage)[keyof typeof CustomerBillingLanguage];
2916
2916
  type CompanyCustomersResponse = {
2917
2917
  id: number;
2918
2918
  name: string;
@@ -3164,12 +3164,12 @@ declare const SupplierPaymentMethod: {
3164
3164
  readonly CASH: "cash";
3165
3165
  readonly CARD: "card";
3166
3166
  };
3167
- type SupplierPaymentMethod = typeof SupplierPaymentMethod[keyof typeof SupplierPaymentMethod];
3167
+ type SupplierPaymentMethod = (typeof SupplierPaymentMethod)[keyof typeof SupplierPaymentMethod];
3168
3168
  declare const SupplierDueDateRule: {
3169
3169
  readonly DAYS: "days";
3170
3170
  readonly DAYS_OR_END_OF_MONTH: "days_or_end_of_month";
3171
3171
  };
3172
- type SupplierDueDateRule = typeof SupplierDueDateRule[keyof typeof SupplierDueDateRule];
3172
+ type SupplierDueDateRule = (typeof SupplierDueDateRule)[keyof typeof SupplierDueDateRule];
3173
3173
  type SuppliersResponse = {
3174
3174
  id: number;
3175
3175
  name: string;
@@ -3233,7 +3233,7 @@ declare const PaymentStatus: {
3233
3233
  readonly CHARGED_BACK: "charged_back";
3234
3234
  readonly RESUBMISSION_REQUESTED: "resubmission_requested";
3235
3235
  };
3236
- type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
3236
+ type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
3237
3237
  type CustomerInvoicesMatchedTransactionsCategoriesResponse = {
3238
3238
  id: number;
3239
3239
  label: string;
@@ -3636,7 +3636,7 @@ declare const InvoiceAccountantsStatus: {
3636
3636
  * - `complete`: The invoice has been validated by the accountant.
3637
3637
  *
3638
3638
  */
3639
- type InvoiceAccountantsStatus = typeof InvoiceAccountantsStatus[keyof typeof InvoiceAccountantsStatus];
3639
+ type InvoiceAccountantsStatus = (typeof InvoiceAccountantsStatus)[keyof typeof InvoiceAccountantsStatus];
3640
3640
  declare const InvoicePaymentStatus: {
3641
3641
  readonly TO_BE_PROCESSED: "to_be_processed";
3642
3642
  readonly TO_BE_PAID: "to_be_paid";
@@ -3649,7 +3649,7 @@ declare const InvoicePaymentStatus: {
3649
3649
  readonly PAID_OFFLINE: "paid_offline";
3650
3650
  readonly FULLY_PAID: "fully_paid";
3651
3651
  };
3652
- type InvoicePaymentStatus = typeof InvoicePaymentStatus[keyof typeof InvoicePaymentStatus];
3652
+ type InvoicePaymentStatus = (typeof InvoicePaymentStatus)[keyof typeof InvoicePaymentStatus];
3653
3653
  type SupplierInvoicesResponse = {
3654
3654
  /**
3655
3655
  * The ID of the supplier invoice
@@ -3906,11 +3906,11 @@ declare const CategoryDirection: {
3906
3906
  /**
3907
3907
  * Only applicable for _treasury_ categories
3908
3908
  */
3909
- type CategoryDirection = typeof CategoryDirection[keyof typeof CategoryDirection];
3909
+ type CategoryDirection = (typeof CategoryDirection)[keyof typeof CategoryDirection];
3910
3910
  declare const Null2: {
3911
3911
  readonly NULL: null;
3912
3912
  };
3913
- type Null2 = typeof Null2[keyof typeof Null2];
3913
+ type Null2 = (typeof Null2)[keyof typeof Null2];
3914
3914
  type CategoriesResponse = {
3915
3915
  id: number;
3916
3916
  label: string;
@@ -3949,7 +3949,7 @@ declare const AccountType: {
3949
3949
  readonly OTHER: "other";
3950
3950
  readonly CHECKING: "checking";
3951
3951
  };
3952
- type AccountType = typeof AccountType[keyof typeof AccountType];
3952
+ type AccountType = (typeof AccountType)[keyof typeof AccountType];
3953
3953
  type TransactionsCategoriesResponse = {
3954
3954
  id: number;
3955
3955
  label: string;
@@ -4074,7 +4074,7 @@ declare const QuoteStatus: {
4074
4074
  * - pending: quote to be denied or accepted
4075
4075
  *
4076
4076
  */
4077
- type QuoteStatus = typeof QuoteStatus[keyof typeof QuoteStatus];
4077
+ type QuoteStatus = (typeof QuoteStatus)[keyof typeof QuoteStatus];
4078
4078
  type QuotesResponse = {
4079
4079
  /**
4080
4080
  * Quote identifier
@@ -4614,7 +4614,7 @@ declare const CommercialDocumentType: {
4614
4614
  readonly SHIPPING_ORDER: "shipping_order";
4615
4615
  readonly PURCHASING_ORDER: "purchasing_order";
4616
4616
  };
4617
- type CommercialDocumentType = typeof CommercialDocumentType[keyof typeof CommercialDocumentType];
4617
+ type CommercialDocumentType = (typeof CommercialDocumentType)[keyof typeof CommercialDocumentType];
4618
4618
  type CommercialDocumentsResponse = {
4619
4619
  /**
4620
4620
  * Commercial document identifier
@@ -4769,7 +4769,7 @@ declare const SepaSequenceType: {
4769
4769
  * - `FNAL`: Final payment in a series of recurring payments
4770
4770
  *
4771
4771
  */
4772
- type SepaSequenceType = typeof SepaSequenceType[keyof typeof SepaSequenceType];
4772
+ type SepaSequenceType = (typeof SepaSequenceType)[keyof typeof SepaSequenceType];
4773
4773
  type SepaMandatesResponse = {
4774
4774
  /**
4775
4775
  * ID of the created SEPA mandate
@@ -4833,7 +4833,7 @@ declare const MandateStatus: {
4833
4833
  readonly BLOCKED: "blocked";
4834
4834
  readonly BANK_DISCONNECTED: "bank_disconnected";
4835
4835
  };
4836
- type MandateStatus = typeof MandateStatus[keyof typeof MandateStatus];
4836
+ type MandateStatus = (typeof MandateStatus)[keyof typeof MandateStatus];
4837
4837
  type GocardlessMandatesResponse = {
4838
4838
  id: number;
4839
4839
  /**
@@ -4877,14 +4877,14 @@ declare const PurchaseRequestLineUnit: {
4877
4877
  readonly MG: "mg";
4878
4878
  readonly NO_UNIT: "no_unit";
4879
4879
  };
4880
- type PurchaseRequestLineUnit = typeof PurchaseRequestLineUnit[keyof typeof PurchaseRequestLineUnit];
4880
+ type PurchaseRequestLineUnit = (typeof PurchaseRequestLineUnit)[keyof typeof PurchaseRequestLineUnit];
4881
4881
  declare const PurchaseRequestStatuses: {
4882
4882
  readonly TO_BE_VALIDATED: "to_be_validated";
4883
4883
  readonly APPROVED: "approved";
4884
4884
  readonly REJECTED: "rejected";
4885
4885
  readonly INVOICED: "invoiced";
4886
4886
  };
4887
- type PurchaseRequestStatuses = typeof PurchaseRequestStatuses[keyof typeof PurchaseRequestStatuses];
4887
+ type PurchaseRequestStatuses = (typeof PurchaseRequestStatuses)[keyof typeof PurchaseRequestStatuses];
4888
4888
  type PurchaseRequestsResponse = {
4889
4889
  /**
4890
4890
  * Purchase request identifier