Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions dist/cjs/types/generated/generated.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/types/generated/generated.d.ts.map

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions dist/esm/types/generated/generated.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/types/generated/generated.d.ts.map

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions generated/generated.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions tests/fixtures/generated-edge-case-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,8 @@ export type LedgerLinesFilterSet = {
currency?: InputMaybe<CurrencyFilter>;
/** Use this filter to filter Ledger Lines by their `posted` date. */
date?: InputMaybe<DateFilter>;
/** Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account. */
externalTxIds?: InputMaybe<Array<Scalars['String']['input']>>;
/** Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`. */
isReversal?: InputMaybe<Scalars['Boolean']['input']>;
/** Use this to filter Ledger Lines that have been reversed. */
Expand Down Expand Up @@ -2259,8 +2261,11 @@ export type Link = {
name: Scalars['String']['output'];
};

/** Specify a Link by ID, or a Custom Link by its creation IK. */
export type LinkMatchInput = {
id: Scalars['ID']['input'];
id?: InputMaybe<Scalars['ID']['input']>;
/** The IK passed to createCustomLink. If id is also provided, both must identify the same Link. */
ik?: InputMaybe<Scalars['SafeString']['input']>;
};

/** The type of Link an external account belongs to. */
Expand Down Expand Up @@ -2683,7 +2688,7 @@ export type Query = {
ledgerLine?: Maybe<LedgerLine>;
/** Query Ledgers in workspace. Ledgers are paginated and returned in reverse-chronological order by their created date. */
ledgers: LedgersConnection;
/** Get a Link by ID. Returns a BadRequestError if the Link is not found. */
/** Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found. */
link?: Maybe<Link>;
/** Get all links in a workspace */
links: LinksConnection;
Expand Down
9 changes: 7 additions & 2 deletions tests/fixtures/generated-template-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,8 @@ export type LedgerLinesFilterSet = {
currency?: InputMaybe<CurrencyFilter>;
/** Use this filter to filter Ledger Lines by their `posted` date. */
date?: InputMaybe<DateFilter>;
/** Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account. */
externalTxIds?: InputMaybe<Array<Scalars['String']['input']>>;
/** Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`. */
isReversal?: InputMaybe<Scalars['Boolean']['input']>;
/** Use this to filter Ledger Lines that have been reversed. */
Expand Down Expand Up @@ -2259,8 +2261,11 @@ export type Link = {
name: Scalars['String']['output'];
};

/** Specify a Link by ID, or a Custom Link by its creation IK. */
export type LinkMatchInput = {
id: Scalars['ID']['input'];
id?: InputMaybe<Scalars['ID']['input']>;
/** The IK passed to createCustomLink. If id is also provided, both must identify the same Link. */
ik?: InputMaybe<Scalars['SafeString']['input']>;
};

/** The type of Link an external account belongs to. */
Expand Down Expand Up @@ -2683,7 +2688,7 @@ export type Query = {
ledgerLine?: Maybe<LedgerLine>;
/** Query Ledgers in workspace. Ledgers are paginated and returned in reverse-chronological order by their created date. */
ledgers: LedgersConnection;
/** Get a Link by ID. Returns a BadRequestError if the Link is not found. */
/** Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found. */
link?: Maybe<Link>;
/** Get all links in a workspace */
links: LinksConnection;
Expand Down
9 changes: 7 additions & 2 deletions tests/fixtures/generated-template-runtime-args-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,8 @@ export type LedgerLinesFilterSet = {
currency?: InputMaybe<CurrencyFilter>;
/** Use this filter to filter Ledger Lines by their `posted` date. */
date?: InputMaybe<DateFilter>;
/** Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account. */
externalTxIds?: InputMaybe<Array<Scalars['String']['input']>>;
/** Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`. */
isReversal?: InputMaybe<Scalars['Boolean']['input']>;
/** Use this to filter Ledger Lines that have been reversed. */
Expand Down Expand Up @@ -2259,8 +2261,11 @@ export type Link = {
name: Scalars['String']['output'];
};

/** Specify a Link by ID, or a Custom Link by its creation IK. */
export type LinkMatchInput = {
id: Scalars['ID']['input'];
id?: InputMaybe<Scalars['ID']['input']>;
/** The IK passed to createCustomLink. If id is also provided, both must identify the same Link. */
ik?: InputMaybe<Scalars['SafeString']['input']>;
};

/** The type of Link an external account belongs to. */
Expand Down Expand Up @@ -2683,7 +2688,7 @@ export type Query = {
ledgerLine?: Maybe<LedgerLine>;
/** Query Ledgers in workspace. Ledgers are paginated and returned in reverse-chronological order by their created date. */
ledgers: LedgersConnection;
/** Get a Link by ID. Returns a BadRequestError if the Link is not found. */
/** Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found. */
link?: Maybe<Link>;
/** Get all links in a workspace */
links: LinksConnection;
Expand Down
9 changes: 7 additions & 2 deletions tests/fixtures/generated-test-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,8 @@ export type LedgerLinesFilterSet = {
currency?: InputMaybe<CurrencyFilter>;
/** Use this filter to filter Ledger Lines by their `posted` date. */
date?: InputMaybe<DateFilter>;
/** Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account. */
externalTxIds?: InputMaybe<Array<Scalars['String']['input']>>;
/** Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`. */
isReversal?: InputMaybe<Scalars['Boolean']['input']>;
/** Use this to filter Ledger Lines that have been reversed. */
Expand Down Expand Up @@ -2259,8 +2261,11 @@ export type Link = {
name: Scalars['String']['output'];
};

/** Specify a Link by ID, or a Custom Link by its creation IK. */
export type LinkMatchInput = {
id: Scalars['ID']['input'];
id?: InputMaybe<Scalars['ID']['input']>;
/** The IK passed to createCustomLink. If id is also provided, both must identify the same Link. */
ik?: InputMaybe<Scalars['SafeString']['input']>;
};

/** The type of Link an external account belongs to. */
Expand Down Expand Up @@ -2683,7 +2688,7 @@ export type Query = {
ledgerLine?: Maybe<LedgerLine>;
/** Query Ledgers in workspace. Ledgers are paginated and returned in reverse-chronological order by their created date. */
ledgers: LedgersConnection;
/** Get a Link by ID. Returns a BadRequestError if the Link is not found. */
/** Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found. */
link?: Maybe<Link>;
/** Get all links in a workspace */
links: LinksConnection;
Expand Down
Loading