Skip to content

Commit 7a322ff

Browse files
feat(api): api update
1 parent 27ef0ad commit 7a322ff

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-640ec74bfc2f335f7277863ee0cbd0af98bb6018cb1ec2f116ce4145148f4477.yml
3-
openapi_spec_hash: 315e7859c3f77311261fb824b74a8247
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-d9cb320c8313cd122b4851d726c6cea39a14a5317880c6d063671ad3f412e632.yml
3+
openapi_spec_hash: 58c2cf578f0736b8c5df957f6a61190b
44
config_hash: 0892e2e0eeb0343a022afa62e9080dd1

packages/mcp-server/src/tools/sandbox/payment/create-sandbox-payment.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export const tool: Tool = {
8080
},
8181
name: {
8282
type: 'string',
83+
description: 'The deduction name. Required when type is specified.',
8384
},
8485
pre_tax: {
8586
type: 'boolean',
@@ -121,6 +122,7 @@ export const tool: Tool = {
121122
},
122123
name: {
123124
type: 'string',
125+
description: 'The contribution name. Required when type is specified.',
124126
},
125127
type: {
126128
type: 'string',

src/resources/sandbox/payment.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export namespace PaymentCreateParams {
9494
export interface EmployeeDeduction {
9595
amount?: number;
9696

97+
/**
98+
* The deduction name. Required when type is specified.
99+
*/
97100
name?: string;
98101

99102
pre_tax?: boolean;
@@ -123,6 +126,9 @@ export namespace PaymentCreateParams {
123126
export interface EmployerContribution {
124127
amount?: number;
125128

129+
/**
130+
* The contribution name. Required when type is specified.
131+
*/
126132
name?: string;
127133

128134
type?:

0 commit comments

Comments
 (0)