@gr4vy/sdk 1.0.0-beta.15 → 1.0.0-beta.17
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/bin/mcp-server.js +161 -179
- package/bin/mcp-server.js.map +12 -13
- package/docs/sdks/all/README.md +1 -1
- package/funcs/transactionsRefundsAllCreate.d.ts +1 -1
- package/funcs/transactionsRefundsAllCreate.d.ts.map +1 -1
- package/funcs/transactionsRefundsAllCreate.js +1 -1
- package/funcs/transactionsRefundsAllCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/all.d.ts +1 -1
- package/sdk/all.d.ts.map +1 -1
- package/src/funcs/transactionsRefundsAllCreate.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/index.ts +0 -1
- package/src/sdk/all.ts +1 -1
- package/models/components/collectionnocursorrefund.d.ts +0 -33
- package/models/components/collectionnocursorrefund.d.ts.map +0 -1
- package/models/components/collectionnocursorrefund.js +0 -60
- package/models/components/collectionnocursorrefund.js.map +0 -1
- package/src/models/components/collectionnocursorrefund.ts +0 -75
package/bin/mcp-server.js
CHANGED
|
@@ -4046,9 +4046,9 @@ var init_config = __esm(() => {
|
|
|
4046
4046
|
SDK_METADATA = {
|
|
4047
4047
|
language: "typescript",
|
|
4048
4048
|
openapiDocVersion: "1.0.0",
|
|
4049
|
-
sdkVersion: "1.0.0-beta.
|
|
4050
|
-
genVersion: "2.
|
|
4051
|
-
userAgent: "speakeasy-sdk/typescript 1.0.0-beta.
|
|
4049
|
+
sdkVersion: "1.0.0-beta.17",
|
|
4050
|
+
genVersion: "2.618.0",
|
|
4051
|
+
userAgent: "speakeasy-sdk/typescript 1.0.0-beta.17 2.618.0 1.0.0 @gr4vy/sdk"
|
|
4052
4052
|
};
|
|
4053
4053
|
});
|
|
4054
4054
|
|
|
@@ -38899,177 +38899,6 @@ var init_collectionnocursorpaymentservicetoken = __esm(() => {
|
|
|
38899
38899
|
})(CollectionNoCursorPaymentServiceToken$ ||= {});
|
|
38900
38900
|
});
|
|
38901
38901
|
|
|
38902
|
-
// src/models/components/creator.ts
|
|
38903
|
-
var Creator$inboundSchema, Creator$outboundSchema, Creator$;
|
|
38904
|
-
var init_creator = __esm(() => {
|
|
38905
|
-
init_esm();
|
|
38906
|
-
init_primitives();
|
|
38907
|
-
Creator$inboundSchema = objectType({
|
|
38908
|
-
id: stringType(),
|
|
38909
|
-
name: stringType(),
|
|
38910
|
-
email_address: stringType()
|
|
38911
|
-
}).transform((v2) => {
|
|
38912
|
-
return remap(v2, {
|
|
38913
|
-
email_address: "emailAddress"
|
|
38914
|
-
});
|
|
38915
|
-
});
|
|
38916
|
-
Creator$outboundSchema = objectType({
|
|
38917
|
-
id: stringType(),
|
|
38918
|
-
name: stringType(),
|
|
38919
|
-
emailAddress: stringType()
|
|
38920
|
-
}).transform((v2) => {
|
|
38921
|
-
return remap(v2, {
|
|
38922
|
-
emailAddress: "email_address"
|
|
38923
|
-
});
|
|
38924
|
-
});
|
|
38925
|
-
((Creator$) => {
|
|
38926
|
-
Creator$.inboundSchema = Creator$inboundSchema;
|
|
38927
|
-
Creator$.outboundSchema = Creator$outboundSchema;
|
|
38928
|
-
})(Creator$ ||= {});
|
|
38929
|
-
});
|
|
38930
|
-
|
|
38931
|
-
// src/models/components/refundstatus.ts
|
|
38932
|
-
var RefundStatus, RefundStatus$inboundSchema, RefundStatus$outboundSchema, RefundStatus$;
|
|
38933
|
-
var init_refundstatus = __esm(() => {
|
|
38934
|
-
init_esm();
|
|
38935
|
-
RefundStatus = {
|
|
38936
|
-
Processing: "processing",
|
|
38937
|
-
Succeeded: "succeeded",
|
|
38938
|
-
Failed: "failed",
|
|
38939
|
-
Declined: "declined",
|
|
38940
|
-
Voided: "voided"
|
|
38941
|
-
};
|
|
38942
|
-
RefundStatus$inboundSchema = unionType([
|
|
38943
|
-
nativeEnumType(RefundStatus),
|
|
38944
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38945
|
-
]);
|
|
38946
|
-
RefundStatus$outboundSchema = unionType([
|
|
38947
|
-
nativeEnumType(RefundStatus),
|
|
38948
|
-
stringType().and(custom())
|
|
38949
|
-
]);
|
|
38950
|
-
((RefundStatus$) => {
|
|
38951
|
-
RefundStatus$.inboundSchema = RefundStatus$inboundSchema;
|
|
38952
|
-
RefundStatus$.outboundSchema = RefundStatus$outboundSchema;
|
|
38953
|
-
})(RefundStatus$ ||= {});
|
|
38954
|
-
});
|
|
38955
|
-
|
|
38956
|
-
// src/models/components/refundtargettype.ts
|
|
38957
|
-
var RefundTargetType, RefundTargetType$inboundSchema, RefundTargetType$outboundSchema, RefundTargetType$;
|
|
38958
|
-
var init_refundtargettype = __esm(() => {
|
|
38959
|
-
init_esm();
|
|
38960
|
-
RefundTargetType = {
|
|
38961
|
-
PaymentMethod: "payment-method",
|
|
38962
|
-
GiftCardRedemption: "gift-card-redemption"
|
|
38963
|
-
};
|
|
38964
|
-
RefundTargetType$inboundSchema = unionType([
|
|
38965
|
-
nativeEnumType(RefundTargetType),
|
|
38966
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
38967
|
-
]);
|
|
38968
|
-
RefundTargetType$outboundSchema = unionType([
|
|
38969
|
-
nativeEnumType(RefundTargetType),
|
|
38970
|
-
stringType().and(custom())
|
|
38971
|
-
]);
|
|
38972
|
-
((RefundTargetType$) => {
|
|
38973
|
-
RefundTargetType$.inboundSchema = RefundTargetType$inboundSchema;
|
|
38974
|
-
RefundTargetType$.outboundSchema = RefundTargetType$outboundSchema;
|
|
38975
|
-
})(RefundTargetType$ ||= {});
|
|
38976
|
-
});
|
|
38977
|
-
|
|
38978
|
-
// src/models/components/refund.ts
|
|
38979
|
-
var Refund$inboundSchema, Refund$outboundSchema, Refund$;
|
|
38980
|
-
var init_refund = __esm(() => {
|
|
38981
|
-
init_esm();
|
|
38982
|
-
init_primitives();
|
|
38983
|
-
init_creator();
|
|
38984
|
-
init_refundstatus();
|
|
38985
|
-
init_refundtargettype();
|
|
38986
|
-
Refund$inboundSchema = objectType({
|
|
38987
|
-
type: literalType("refund").default("refund"),
|
|
38988
|
-
id: stringType(),
|
|
38989
|
-
transaction_id: stringType(),
|
|
38990
|
-
payment_service_refund_id: nullableType(stringType()).optional(),
|
|
38991
|
-
status: RefundStatus$inboundSchema,
|
|
38992
|
-
currency: stringType(),
|
|
38993
|
-
amount: numberType().int(),
|
|
38994
|
-
reason: nullableType(stringType()).optional(),
|
|
38995
|
-
target_type: RefundTargetType$inboundSchema,
|
|
38996
|
-
target_id: nullableType(stringType()).optional(),
|
|
38997
|
-
reconciliation_id: stringType(),
|
|
38998
|
-
external_identifier: nullableType(stringType()).optional(),
|
|
38999
|
-
transaction_reconciliation_id: stringType(),
|
|
39000
|
-
transaction_external_identifier: nullableType(stringType()).optional(),
|
|
39001
|
-
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
39002
|
-
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
39003
|
-
creator: nullableType(Creator$inboundSchema).optional()
|
|
39004
|
-
}).transform((v2) => {
|
|
39005
|
-
return remap(v2, {
|
|
39006
|
-
transaction_id: "transactionId",
|
|
39007
|
-
payment_service_refund_id: "paymentServiceRefundId",
|
|
39008
|
-
target_type: "targetType",
|
|
39009
|
-
target_id: "targetId",
|
|
39010
|
-
reconciliation_id: "reconciliationId",
|
|
39011
|
-
external_identifier: "externalIdentifier",
|
|
39012
|
-
transaction_reconciliation_id: "transactionReconciliationId",
|
|
39013
|
-
transaction_external_identifier: "transactionExternalIdentifier",
|
|
39014
|
-
created_at: "createdAt",
|
|
39015
|
-
updated_at: "updatedAt"
|
|
39016
|
-
});
|
|
39017
|
-
});
|
|
39018
|
-
Refund$outboundSchema = objectType({
|
|
39019
|
-
type: literalType("refund").default("refund"),
|
|
39020
|
-
id: stringType(),
|
|
39021
|
-
transactionId: stringType(),
|
|
39022
|
-
paymentServiceRefundId: nullableType(stringType()).optional(),
|
|
39023
|
-
status: RefundStatus$outboundSchema,
|
|
39024
|
-
currency: stringType(),
|
|
39025
|
-
amount: numberType().int(),
|
|
39026
|
-
reason: nullableType(stringType()).optional(),
|
|
39027
|
-
targetType: RefundTargetType$outboundSchema,
|
|
39028
|
-
targetId: nullableType(stringType()).optional(),
|
|
39029
|
-
reconciliationId: stringType(),
|
|
39030
|
-
externalIdentifier: nullableType(stringType()).optional(),
|
|
39031
|
-
transactionReconciliationId: stringType(),
|
|
39032
|
-
transactionExternalIdentifier: nullableType(stringType()).optional(),
|
|
39033
|
-
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
39034
|
-
updatedAt: dateType().transform((v2) => v2.toISOString()),
|
|
39035
|
-
creator: nullableType(Creator$outboundSchema).optional()
|
|
39036
|
-
}).transform((v2) => {
|
|
39037
|
-
return remap(v2, {
|
|
39038
|
-
transactionId: "transaction_id",
|
|
39039
|
-
paymentServiceRefundId: "payment_service_refund_id",
|
|
39040
|
-
targetType: "target_type",
|
|
39041
|
-
targetId: "target_id",
|
|
39042
|
-
reconciliationId: "reconciliation_id",
|
|
39043
|
-
externalIdentifier: "external_identifier",
|
|
39044
|
-
transactionReconciliationId: "transaction_reconciliation_id",
|
|
39045
|
-
transactionExternalIdentifier: "transaction_external_identifier",
|
|
39046
|
-
createdAt: "created_at",
|
|
39047
|
-
updatedAt: "updated_at"
|
|
39048
|
-
});
|
|
39049
|
-
});
|
|
39050
|
-
((Refund$) => {
|
|
39051
|
-
Refund$.inboundSchema = Refund$inboundSchema;
|
|
39052
|
-
Refund$.outboundSchema = Refund$outboundSchema;
|
|
39053
|
-
})(Refund$ ||= {});
|
|
39054
|
-
});
|
|
39055
|
-
|
|
39056
|
-
// src/models/components/collectionnocursorrefund.ts
|
|
39057
|
-
var CollectionNoCursorRefund$inboundSchema, CollectionNoCursorRefund$outboundSchema, CollectionNoCursorRefund$;
|
|
39058
|
-
var init_collectionnocursorrefund = __esm(() => {
|
|
39059
|
-
init_esm();
|
|
39060
|
-
init_refund();
|
|
39061
|
-
CollectionNoCursorRefund$inboundSchema = objectType({
|
|
39062
|
-
items: arrayType(Refund$inboundSchema)
|
|
39063
|
-
});
|
|
39064
|
-
CollectionNoCursorRefund$outboundSchema = objectType({
|
|
39065
|
-
items: arrayType(Refund$outboundSchema)
|
|
39066
|
-
});
|
|
39067
|
-
((CollectionNoCursorRefund$) => {
|
|
39068
|
-
CollectionNoCursorRefund$.inboundSchema = CollectionNoCursorRefund$inboundSchema;
|
|
39069
|
-
CollectionNoCursorRefund$.outboundSchema = CollectionNoCursorRefund$outboundSchema;
|
|
39070
|
-
})(CollectionNoCursorRefund$ ||= {});
|
|
39071
|
-
});
|
|
39072
|
-
|
|
39073
38902
|
// src/models/components/shippingdetails.ts
|
|
39074
38903
|
var ShippingDetails$inboundSchema, ShippingDetails$outboundSchema, ShippingDetails$;
|
|
39075
38904
|
var init_shippingdetails = __esm(() => {
|
|
@@ -40074,6 +39903,160 @@ var init_collectionpayoutsummary = __esm(() => {
|
|
|
40074
39903
|
})(CollectionPayoutSummary$ ||= {});
|
|
40075
39904
|
});
|
|
40076
39905
|
|
|
39906
|
+
// src/models/components/creator.ts
|
|
39907
|
+
var Creator$inboundSchema, Creator$outboundSchema, Creator$;
|
|
39908
|
+
var init_creator = __esm(() => {
|
|
39909
|
+
init_esm();
|
|
39910
|
+
init_primitives();
|
|
39911
|
+
Creator$inboundSchema = objectType({
|
|
39912
|
+
id: stringType(),
|
|
39913
|
+
name: stringType(),
|
|
39914
|
+
email_address: stringType()
|
|
39915
|
+
}).transform((v2) => {
|
|
39916
|
+
return remap(v2, {
|
|
39917
|
+
email_address: "emailAddress"
|
|
39918
|
+
});
|
|
39919
|
+
});
|
|
39920
|
+
Creator$outboundSchema = objectType({
|
|
39921
|
+
id: stringType(),
|
|
39922
|
+
name: stringType(),
|
|
39923
|
+
emailAddress: stringType()
|
|
39924
|
+
}).transform((v2) => {
|
|
39925
|
+
return remap(v2, {
|
|
39926
|
+
emailAddress: "email_address"
|
|
39927
|
+
});
|
|
39928
|
+
});
|
|
39929
|
+
((Creator$) => {
|
|
39930
|
+
Creator$.inboundSchema = Creator$inboundSchema;
|
|
39931
|
+
Creator$.outboundSchema = Creator$outboundSchema;
|
|
39932
|
+
})(Creator$ ||= {});
|
|
39933
|
+
});
|
|
39934
|
+
|
|
39935
|
+
// src/models/components/refundstatus.ts
|
|
39936
|
+
var RefundStatus, RefundStatus$inboundSchema, RefundStatus$outboundSchema, RefundStatus$;
|
|
39937
|
+
var init_refundstatus = __esm(() => {
|
|
39938
|
+
init_esm();
|
|
39939
|
+
RefundStatus = {
|
|
39940
|
+
Processing: "processing",
|
|
39941
|
+
Succeeded: "succeeded",
|
|
39942
|
+
Failed: "failed",
|
|
39943
|
+
Declined: "declined",
|
|
39944
|
+
Voided: "voided"
|
|
39945
|
+
};
|
|
39946
|
+
RefundStatus$inboundSchema = unionType([
|
|
39947
|
+
nativeEnumType(RefundStatus),
|
|
39948
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
39949
|
+
]);
|
|
39950
|
+
RefundStatus$outboundSchema = unionType([
|
|
39951
|
+
nativeEnumType(RefundStatus),
|
|
39952
|
+
stringType().and(custom())
|
|
39953
|
+
]);
|
|
39954
|
+
((RefundStatus$) => {
|
|
39955
|
+
RefundStatus$.inboundSchema = RefundStatus$inboundSchema;
|
|
39956
|
+
RefundStatus$.outboundSchema = RefundStatus$outboundSchema;
|
|
39957
|
+
})(RefundStatus$ ||= {});
|
|
39958
|
+
});
|
|
39959
|
+
|
|
39960
|
+
// src/models/components/refundtargettype.ts
|
|
39961
|
+
var RefundTargetType, RefundTargetType$inboundSchema, RefundTargetType$outboundSchema, RefundTargetType$;
|
|
39962
|
+
var init_refundtargettype = __esm(() => {
|
|
39963
|
+
init_esm();
|
|
39964
|
+
RefundTargetType = {
|
|
39965
|
+
PaymentMethod: "payment-method",
|
|
39966
|
+
GiftCardRedemption: "gift-card-redemption"
|
|
39967
|
+
};
|
|
39968
|
+
RefundTargetType$inboundSchema = unionType([
|
|
39969
|
+
nativeEnumType(RefundTargetType),
|
|
39970
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
39971
|
+
]);
|
|
39972
|
+
RefundTargetType$outboundSchema = unionType([
|
|
39973
|
+
nativeEnumType(RefundTargetType),
|
|
39974
|
+
stringType().and(custom())
|
|
39975
|
+
]);
|
|
39976
|
+
((RefundTargetType$) => {
|
|
39977
|
+
RefundTargetType$.inboundSchema = RefundTargetType$inboundSchema;
|
|
39978
|
+
RefundTargetType$.outboundSchema = RefundTargetType$outboundSchema;
|
|
39979
|
+
})(RefundTargetType$ ||= {});
|
|
39980
|
+
});
|
|
39981
|
+
|
|
39982
|
+
// src/models/components/refund.ts
|
|
39983
|
+
var Refund$inboundSchema, Refund$outboundSchema, Refund$;
|
|
39984
|
+
var init_refund = __esm(() => {
|
|
39985
|
+
init_esm();
|
|
39986
|
+
init_primitives();
|
|
39987
|
+
init_creator();
|
|
39988
|
+
init_refundstatus();
|
|
39989
|
+
init_refundtargettype();
|
|
39990
|
+
Refund$inboundSchema = objectType({
|
|
39991
|
+
type: literalType("refund").default("refund"),
|
|
39992
|
+
id: stringType(),
|
|
39993
|
+
transaction_id: stringType(),
|
|
39994
|
+
payment_service_refund_id: nullableType(stringType()).optional(),
|
|
39995
|
+
status: RefundStatus$inboundSchema,
|
|
39996
|
+
currency: stringType(),
|
|
39997
|
+
amount: numberType().int(),
|
|
39998
|
+
reason: nullableType(stringType()).optional(),
|
|
39999
|
+
target_type: RefundTargetType$inboundSchema,
|
|
40000
|
+
target_id: nullableType(stringType()).optional(),
|
|
40001
|
+
reconciliation_id: stringType(),
|
|
40002
|
+
external_identifier: nullableType(stringType()).optional(),
|
|
40003
|
+
transaction_reconciliation_id: stringType(),
|
|
40004
|
+
transaction_external_identifier: nullableType(stringType()).optional(),
|
|
40005
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
40006
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
40007
|
+
creator: nullableType(Creator$inboundSchema).optional()
|
|
40008
|
+
}).transform((v2) => {
|
|
40009
|
+
return remap(v2, {
|
|
40010
|
+
transaction_id: "transactionId",
|
|
40011
|
+
payment_service_refund_id: "paymentServiceRefundId",
|
|
40012
|
+
target_type: "targetType",
|
|
40013
|
+
target_id: "targetId",
|
|
40014
|
+
reconciliation_id: "reconciliationId",
|
|
40015
|
+
external_identifier: "externalIdentifier",
|
|
40016
|
+
transaction_reconciliation_id: "transactionReconciliationId",
|
|
40017
|
+
transaction_external_identifier: "transactionExternalIdentifier",
|
|
40018
|
+
created_at: "createdAt",
|
|
40019
|
+
updated_at: "updatedAt"
|
|
40020
|
+
});
|
|
40021
|
+
});
|
|
40022
|
+
Refund$outboundSchema = objectType({
|
|
40023
|
+
type: literalType("refund").default("refund"),
|
|
40024
|
+
id: stringType(),
|
|
40025
|
+
transactionId: stringType(),
|
|
40026
|
+
paymentServiceRefundId: nullableType(stringType()).optional(),
|
|
40027
|
+
status: RefundStatus$outboundSchema,
|
|
40028
|
+
currency: stringType(),
|
|
40029
|
+
amount: numberType().int(),
|
|
40030
|
+
reason: nullableType(stringType()).optional(),
|
|
40031
|
+
targetType: RefundTargetType$outboundSchema,
|
|
40032
|
+
targetId: nullableType(stringType()).optional(),
|
|
40033
|
+
reconciliationId: stringType(),
|
|
40034
|
+
externalIdentifier: nullableType(stringType()).optional(),
|
|
40035
|
+
transactionReconciliationId: stringType(),
|
|
40036
|
+
transactionExternalIdentifier: nullableType(stringType()).optional(),
|
|
40037
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
40038
|
+
updatedAt: dateType().transform((v2) => v2.toISOString()),
|
|
40039
|
+
creator: nullableType(Creator$outboundSchema).optional()
|
|
40040
|
+
}).transform((v2) => {
|
|
40041
|
+
return remap(v2, {
|
|
40042
|
+
transactionId: "transaction_id",
|
|
40043
|
+
paymentServiceRefundId: "payment_service_refund_id",
|
|
40044
|
+
targetType: "target_type",
|
|
40045
|
+
targetId: "target_id",
|
|
40046
|
+
reconciliationId: "reconciliation_id",
|
|
40047
|
+
externalIdentifier: "external_identifier",
|
|
40048
|
+
transactionReconciliationId: "transaction_reconciliation_id",
|
|
40049
|
+
transactionExternalIdentifier: "transaction_external_identifier",
|
|
40050
|
+
createdAt: "created_at",
|
|
40051
|
+
updatedAt: "updated_at"
|
|
40052
|
+
});
|
|
40053
|
+
});
|
|
40054
|
+
((Refund$) => {
|
|
40055
|
+
Refund$.inboundSchema = Refund$inboundSchema;
|
|
40056
|
+
Refund$.outboundSchema = Refund$outboundSchema;
|
|
40057
|
+
})(Refund$ ||= {});
|
|
40058
|
+
});
|
|
40059
|
+
|
|
40077
40060
|
// src/models/components/collectionrefund.ts
|
|
40078
40061
|
var CollectionRefund$inboundSchema, CollectionRefund$outboundSchema, CollectionRefund$;
|
|
40079
40062
|
var init_collectionrefund = __esm(() => {
|
|
@@ -43310,7 +43293,6 @@ var init_components = __esm(() => {
|
|
|
43310
43293
|
init_collectionnocursorpaymentmethodsummary();
|
|
43311
43294
|
init_collectionnocursorpaymentoption();
|
|
43312
43295
|
init_collectionnocursorpaymentservicetoken();
|
|
43313
|
-
init_collectionnocursorrefund();
|
|
43314
43296
|
init_collectionnocursorshippingdetails();
|
|
43315
43297
|
init_collectionpaymentmethod();
|
|
43316
43298
|
init_collectionpaymentservice();
|
|
@@ -57109,7 +57091,7 @@ async function $do72(client, transactionId, transactionRefundAllCreate, merchant
|
|
|
57109
57091
|
const responseFields = {
|
|
57110
57092
|
HttpMeta: { Response: response, Request: req }
|
|
57111
57093
|
};
|
|
57112
|
-
const [result] = await match(json(201,
|
|
57094
|
+
const [result] = await match(json(201, CollectionRefund$inboundSchema), jsonErr(400, Error400$inboundSchema), jsonErr(401, Error401$inboundSchema), jsonErr(403, Error403$inboundSchema), jsonErr(404, Error404$inboundSchema), jsonErr(405, Error405$inboundSchema), jsonErr(409, Error409$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), jsonErr(425, Error425$inboundSchema), jsonErr(429, Error429$inboundSchema), jsonErr(500, Error500$inboundSchema), jsonErr(502, Error502$inboundSchema), jsonErr(504, Error504$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
57113
57095
|
if (!result.ok) {
|
|
57114
57096
|
return [result, { status: "complete", request: req, response }];
|
|
57115
57097
|
}
|
|
@@ -57844,7 +57826,7 @@ Void a previously authorized transaction.`,
|
|
|
57844
57826
|
function createMCPServer(deps) {
|
|
57845
57827
|
const server = new McpServer({
|
|
57846
57828
|
name: "Gr4vy",
|
|
57847
|
-
version: "1.0.0-beta.
|
|
57829
|
+
version: "1.0.0-beta.17"
|
|
57848
57830
|
});
|
|
57849
57831
|
const client = new Gr4vyCore({
|
|
57850
57832
|
bearerAuth: deps.bearerAuth,
|
|
@@ -59230,7 +59212,7 @@ var routes = an({
|
|
|
59230
59212
|
var app = He(routes, {
|
|
59231
59213
|
name: "mcp",
|
|
59232
59214
|
versionInfo: {
|
|
59233
|
-
currentVersion: "1.0.0-beta.
|
|
59215
|
+
currentVersion: "1.0.0-beta.17"
|
|
59234
59216
|
}
|
|
59235
59217
|
});
|
|
59236
59218
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -59238,5 +59220,5 @@ export {
|
|
|
59238
59220
|
app
|
|
59239
59221
|
};
|
|
59240
59222
|
|
|
59241
|
-
//# debugId=
|
|
59223
|
+
//# debugId=7108F1A08D822BB964756E2164756E21
|
|
59242
59224
|
//# sourceMappingURL=mcp-server.js.map
|