@greensecurity/javascript-sdk 0.35.13 → 0.35.19
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 +126 -53
- package/bin/mcp-server.js.map +10 -9
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +2 -5
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invoicetransaction.d.ts +24 -4
- package/dist/commonjs/models/components/invoicetransaction.d.ts.map +1 -1
- package/dist/commonjs/models/components/invoicetransaction.js +29 -7
- package/dist/commonjs/models/components/invoicetransaction.js.map +1 -1
- package/dist/commonjs/models/components/paymentprofile.d.ts +105 -0
- package/dist/commonjs/models/components/paymentprofile.d.ts.map +1 -0
- package/dist/commonjs/models/components/paymentprofile.js +172 -0
- package/dist/commonjs/models/components/paymentprofile.js.map +1 -0
- package/dist/commonjs/models/components/vendor.d.ts +56 -56
- package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendor.js +73 -74
- package/dist/commonjs/models/components/vendor.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +2 -5
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invoicetransaction.d.ts +24 -4
- package/dist/esm/models/components/invoicetransaction.d.ts.map +1 -1
- package/dist/esm/models/components/invoicetransaction.js +26 -6
- package/dist/esm/models/components/invoicetransaction.js.map +1 -1
- package/dist/esm/models/components/paymentprofile.d.ts +105 -0
- package/dist/esm/models/components/paymentprofile.d.ts.map +1 -0
- package/dist/esm/models/components/paymentprofile.js +128 -0
- package/dist/esm/models/components/paymentprofile.js.map +1 -0
- package/dist/esm/models/components/vendor.d.ts +56 -56
- package/dist/esm/models/components/vendor.d.ts.map +1 -1
- package/dist/esm/models/components/vendor.js +64 -65
- package/dist/esm/models/components/vendor.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +2 -5
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/invoicetransaction.ts +70 -10
- package/src/models/components/paymentprofile.ts +247 -0
- package/src/models/components/vendor.ts +130 -103
package/bin/mcp-server.js
CHANGED
|
@@ -34236,9 +34236,9 @@ var init_config = __esm(() => {
|
|
|
34236
34236
|
SDK_METADATA = {
|
|
34237
34237
|
language: "typescript",
|
|
34238
34238
|
openapiDocVersion: "0.0.3",
|
|
34239
|
-
sdkVersion: "0.35.
|
|
34239
|
+
sdkVersion: "0.35.19",
|
|
34240
34240
|
genVersion: "2.620.2",
|
|
34241
|
-
userAgent: "speakeasy-sdk/typescript 0.35.
|
|
34241
|
+
userAgent: "speakeasy-sdk/typescript 0.35.19 2.620.2 0.0.3 @greensecurity/javascript-sdk"
|
|
34242
34242
|
};
|
|
34243
34243
|
});
|
|
34244
34244
|
|
|
@@ -35799,41 +35799,113 @@ var init_invoiceitem = __esm(() => {
|
|
|
35799
35799
|
})(InvoiceItem$ ||= {});
|
|
35800
35800
|
});
|
|
35801
35801
|
|
|
35802
|
+
// src/models/components/paymentprofile.ts
|
|
35803
|
+
var Two2$inboundSchema, Two2$outboundSchema, Two2$, PaymentProfile2$inboundSchema, PaymentProfile2$outboundSchema, PaymentProfile2$, PaymentProfile1$inboundSchema, PaymentProfile1$outboundSchema, PaymentProfile1$, PaymentProfile$inboundSchema, PaymentProfile$outboundSchema, PaymentProfile$;
|
|
35804
|
+
var init_paymentprofile = __esm(() => {
|
|
35805
|
+
init_esm();
|
|
35806
|
+
init_primitives();
|
|
35807
|
+
Two2$inboundSchema = objectType({});
|
|
35808
|
+
Two2$outboundSchema = objectType({});
|
|
35809
|
+
((Two2$) => {
|
|
35810
|
+
Two2$.inboundSchema = Two2$inboundSchema;
|
|
35811
|
+
Two2$.outboundSchema = Two2$outboundSchema;
|
|
35812
|
+
})(Two2$ ||= {});
|
|
35813
|
+
PaymentProfile2$inboundSchema = unionType([lazyType(() => Two2$inboundSchema), numberType().int()]);
|
|
35814
|
+
PaymentProfile2$outboundSchema = unionType([lazyType(() => Two2$outboundSchema), numberType().int()]);
|
|
35815
|
+
((PaymentProfile2$) => {
|
|
35816
|
+
PaymentProfile2$.inboundSchema = PaymentProfile2$inboundSchema;
|
|
35817
|
+
PaymentProfile2$.outboundSchema = PaymentProfile2$outboundSchema;
|
|
35818
|
+
})(PaymentProfile2$ ||= {});
|
|
35819
|
+
PaymentProfile1$inboundSchema = objectType({
|
|
35820
|
+
id: numberType().int().optional(),
|
|
35821
|
+
is_valid: nullableType(booleanType()).optional(),
|
|
35822
|
+
card_type: nullableType(stringType()).optional(),
|
|
35823
|
+
card_last4: nullableType(stringType()).optional(),
|
|
35824
|
+
is_dummy: nullableType(booleanType()).optional(),
|
|
35825
|
+
profile_type: nullableType(stringType()).optional()
|
|
35826
|
+
}).transform((v2) => {
|
|
35827
|
+
return remap(v2, {
|
|
35828
|
+
is_valid: "isValid",
|
|
35829
|
+
card_type: "cardType",
|
|
35830
|
+
card_last4: "cardLast4",
|
|
35831
|
+
is_dummy: "isDummy",
|
|
35832
|
+
profile_type: "profileType"
|
|
35833
|
+
});
|
|
35834
|
+
});
|
|
35835
|
+
PaymentProfile1$outboundSchema = objectType({
|
|
35836
|
+
id: numberType().int().optional(),
|
|
35837
|
+
isValid: nullableType(booleanType()).optional(),
|
|
35838
|
+
cardType: nullableType(stringType()).optional(),
|
|
35839
|
+
cardLast4: nullableType(stringType()).optional(),
|
|
35840
|
+
isDummy: nullableType(booleanType()).optional(),
|
|
35841
|
+
profileType: nullableType(stringType()).optional()
|
|
35842
|
+
}).transform((v2) => {
|
|
35843
|
+
return remap(v2, {
|
|
35844
|
+
isValid: "is_valid",
|
|
35845
|
+
cardType: "card_type",
|
|
35846
|
+
cardLast4: "card_last4",
|
|
35847
|
+
isDummy: "is_dummy",
|
|
35848
|
+
profileType: "profile_type"
|
|
35849
|
+
});
|
|
35850
|
+
});
|
|
35851
|
+
((PaymentProfile1$) => {
|
|
35852
|
+
PaymentProfile1$.inboundSchema = PaymentProfile1$inboundSchema;
|
|
35853
|
+
PaymentProfile1$.outboundSchema = PaymentProfile1$outboundSchema;
|
|
35854
|
+
})(PaymentProfile1$ ||= {});
|
|
35855
|
+
PaymentProfile$inboundSchema = unionType([
|
|
35856
|
+
lazyType(() => PaymentProfile1$inboundSchema),
|
|
35857
|
+
unionType([lazyType(() => Two2$inboundSchema), numberType().int()])
|
|
35858
|
+
]);
|
|
35859
|
+
PaymentProfile$outboundSchema = unionType([
|
|
35860
|
+
lazyType(() => PaymentProfile1$outboundSchema),
|
|
35861
|
+
unionType([lazyType(() => Two2$outboundSchema), numberType().int()])
|
|
35862
|
+
]);
|
|
35863
|
+
((PaymentProfile$) => {
|
|
35864
|
+
PaymentProfile$.inboundSchema = PaymentProfile$inboundSchema;
|
|
35865
|
+
PaymentProfile$.outboundSchema = PaymentProfile$outboundSchema;
|
|
35866
|
+
})(PaymentProfile$ ||= {});
|
|
35867
|
+
});
|
|
35868
|
+
|
|
35802
35869
|
// src/models/components/invoicetransaction.ts
|
|
35803
|
-
var InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
|
|
35870
|
+
var InvoiceTransactionPaymentProfile$inboundSchema, InvoiceTransactionPaymentProfile$outboundSchema, InvoiceTransactionPaymentProfile$, InvoiceTransaction$inboundSchema, InvoiceTransaction$outboundSchema, InvoiceTransaction$;
|
|
35804
35871
|
var init_invoicetransaction = __esm(() => {
|
|
35805
35872
|
init_esm();
|
|
35806
35873
|
init_primitives();
|
|
35874
|
+
init_paymentprofile();
|
|
35875
|
+
InvoiceTransactionPaymentProfile$inboundSchema = unionType([PaymentProfile$inboundSchema, numberType().int()]);
|
|
35876
|
+
InvoiceTransactionPaymentProfile$outboundSchema = unionType([PaymentProfile$outboundSchema, numberType().int()]);
|
|
35877
|
+
((InvoiceTransactionPaymentProfile$) => {
|
|
35878
|
+
InvoiceTransactionPaymentProfile$.inboundSchema = InvoiceTransactionPaymentProfile$inboundSchema;
|
|
35879
|
+
InvoiceTransactionPaymentProfile$.outboundSchema = InvoiceTransactionPaymentProfile$outboundSchema;
|
|
35880
|
+
})(InvoiceTransactionPaymentProfile$ ||= {});
|
|
35807
35881
|
InvoiceTransaction$inboundSchema = objectType({
|
|
35808
35882
|
date_processed: nullableType(stringType()).optional(),
|
|
35809
|
-
|
|
35883
|
+
payment_profile: nullableType(unionType([PaymentProfile$inboundSchema, numberType().int()])).optional(),
|
|
35810
35884
|
amount: nullableType(numberType().int()).optional(),
|
|
35811
35885
|
credit_id: nullableType(numberType().int()).optional(),
|
|
35812
35886
|
transaction_id: nullableType(stringType()).optional(),
|
|
35813
|
-
success: nullableType(booleanType()).optional()
|
|
35814
|
-
card_last4: nullableType(stringType()).optional()
|
|
35887
|
+
success: nullableType(booleanType()).optional()
|
|
35815
35888
|
}).transform((v2) => {
|
|
35816
35889
|
return remap(v2, {
|
|
35817
35890
|
date_processed: "dateProcessed",
|
|
35891
|
+
payment_profile: "paymentProfile",
|
|
35818
35892
|
credit_id: "creditId",
|
|
35819
|
-
transaction_id: "transactionId"
|
|
35820
|
-
card_last4: "cardLast4"
|
|
35893
|
+
transaction_id: "transactionId"
|
|
35821
35894
|
});
|
|
35822
35895
|
});
|
|
35823
35896
|
InvoiceTransaction$outboundSchema = objectType({
|
|
35824
35897
|
dateProcessed: nullableType(stringType()).optional(),
|
|
35825
|
-
|
|
35898
|
+
paymentProfile: nullableType(unionType([PaymentProfile$outboundSchema, numberType().int()])).optional(),
|
|
35826
35899
|
amount: nullableType(numberType().int()).optional(),
|
|
35827
35900
|
creditId: nullableType(numberType().int()).optional(),
|
|
35828
35901
|
transactionId: nullableType(stringType()).optional(),
|
|
35829
|
-
success: nullableType(booleanType()).optional()
|
|
35830
|
-
cardLast4: nullableType(stringType()).optional()
|
|
35902
|
+
success: nullableType(booleanType()).optional()
|
|
35831
35903
|
}).transform((v2) => {
|
|
35832
35904
|
return remap(v2, {
|
|
35833
35905
|
dateProcessed: "date_processed",
|
|
35906
|
+
paymentProfile: "payment_profile",
|
|
35834
35907
|
creditId: "credit_id",
|
|
35835
|
-
transactionId: "transaction_id"
|
|
35836
|
-
cardLast4: "card_last4"
|
|
35908
|
+
transactionId: "transaction_id"
|
|
35837
35909
|
});
|
|
35838
35910
|
});
|
|
35839
35911
|
((InvoiceTransaction$) => {
|
|
@@ -38792,7 +38864,7 @@ var init_vendorjobtitle = __esm(() => {
|
|
|
38792
38864
|
});
|
|
38793
38865
|
|
|
38794
38866
|
// src/models/components/vendor.ts
|
|
38795
|
-
var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$,
|
|
38867
|
+
var One$inboundSchema, One$outboundSchema, One$, VendorUser$inboundSchema, VendorUser$outboundSchema, VendorUser$, VendorJob$inboundSchema, VendorJob$outboundSchema, VendorJob$, VendorVendorType$inboundSchema, VendorVendorType$outboundSchema, VendorVendorType$, Vendor22$inboundSchema, Vendor22$outboundSchema, Vendor22$, VendorPaymentProfile2$inboundSchema, VendorPaymentProfile2$outboundSchema, VendorPaymentProfile2$, VendorPaymentProfile1$inboundSchema, VendorPaymentProfile1$outboundSchema, VendorPaymentProfile1$, PaymentProfilePaymentProfile$inboundSchema, PaymentProfilePaymentProfile$outboundSchema, PaymentProfilePaymentProfile$, VendorPaymentProfile$inboundSchema, VendorPaymentProfile$outboundSchema, VendorPaymentProfile$, PaymentResponsibility$inboundSchema, PaymentResponsibility$outboundSchema, PaymentResponsibility$, Vendor$inboundSchema, Vendor$outboundSchema, Vendor$;
|
|
38796
38868
|
var init_vendor = __esm(() => {
|
|
38797
38869
|
init_esm();
|
|
38798
38870
|
init_primitives();
|
|
@@ -38873,19 +38945,19 @@ var init_vendor = __esm(() => {
|
|
|
38873
38945
|
VendorVendorType$.inboundSchema = VendorVendorType$inboundSchema;
|
|
38874
38946
|
VendorVendorType$.outboundSchema = VendorVendorType$outboundSchema;
|
|
38875
38947
|
})(VendorVendorType$ ||= {});
|
|
38876
|
-
|
|
38877
|
-
|
|
38878
|
-
((
|
|
38879
|
-
|
|
38880
|
-
|
|
38881
|
-
})(
|
|
38882
|
-
|
|
38883
|
-
|
|
38884
|
-
((
|
|
38885
|
-
|
|
38886
|
-
|
|
38887
|
-
})(
|
|
38888
|
-
|
|
38948
|
+
Vendor22$inboundSchema = objectType({});
|
|
38949
|
+
Vendor22$outboundSchema = objectType({});
|
|
38950
|
+
((Vendor22$) => {
|
|
38951
|
+
Vendor22$.inboundSchema = Vendor22$inboundSchema;
|
|
38952
|
+
Vendor22$.outboundSchema = Vendor22$outboundSchema;
|
|
38953
|
+
})(Vendor22$ ||= {});
|
|
38954
|
+
VendorPaymentProfile2$inboundSchema = unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()]);
|
|
38955
|
+
VendorPaymentProfile2$outboundSchema = unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()]);
|
|
38956
|
+
((VendorPaymentProfile2$) => {
|
|
38957
|
+
VendorPaymentProfile2$.inboundSchema = VendorPaymentProfile2$inboundSchema;
|
|
38958
|
+
VendorPaymentProfile2$.outboundSchema = VendorPaymentProfile2$outboundSchema;
|
|
38959
|
+
})(VendorPaymentProfile2$ ||= {});
|
|
38960
|
+
VendorPaymentProfile1$inboundSchema = objectType({
|
|
38889
38961
|
id: numberType().int().optional(),
|
|
38890
38962
|
is_valid: nullableType(booleanType()).optional(),
|
|
38891
38963
|
card_type: nullableType(stringType()).optional(),
|
|
@@ -38901,7 +38973,7 @@ var init_vendor = __esm(() => {
|
|
|
38901
38973
|
profile_type: "profileType"
|
|
38902
38974
|
});
|
|
38903
38975
|
});
|
|
38904
|
-
|
|
38976
|
+
VendorPaymentProfile1$outboundSchema = objectType({
|
|
38905
38977
|
id: numberType().int().optional(),
|
|
38906
38978
|
isValid: nullableType(booleanType()).optional(),
|
|
38907
38979
|
cardType: nullableType(stringType()).optional(),
|
|
@@ -38917,40 +38989,40 @@ var init_vendor = __esm(() => {
|
|
|
38917
38989
|
profileType: "profile_type"
|
|
38918
38990
|
});
|
|
38919
38991
|
});
|
|
38920
|
-
((
|
|
38921
|
-
|
|
38922
|
-
|
|
38923
|
-
})(
|
|
38992
|
+
((VendorPaymentProfile1$) => {
|
|
38993
|
+
VendorPaymentProfile1$.inboundSchema = VendorPaymentProfile1$inboundSchema;
|
|
38994
|
+
VendorPaymentProfile1$.outboundSchema = VendorPaymentProfile1$outboundSchema;
|
|
38995
|
+
})(VendorPaymentProfile1$ ||= {});
|
|
38924
38996
|
PaymentProfilePaymentProfile$inboundSchema = unionType([
|
|
38925
|
-
lazyType(() =>
|
|
38926
|
-
unionType([lazyType(() =>
|
|
38997
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
38998
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
38927
38999
|
]);
|
|
38928
39000
|
PaymentProfilePaymentProfile$outboundSchema = unionType([
|
|
38929
|
-
lazyType(() =>
|
|
38930
|
-
unionType([lazyType(() =>
|
|
39001
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39002
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
38931
39003
|
]);
|
|
38932
39004
|
((PaymentProfilePaymentProfile$) => {
|
|
38933
39005
|
PaymentProfilePaymentProfile$.inboundSchema = PaymentProfilePaymentProfile$inboundSchema;
|
|
38934
39006
|
PaymentProfilePaymentProfile$.outboundSchema = PaymentProfilePaymentProfile$outboundSchema;
|
|
38935
39007
|
})(PaymentProfilePaymentProfile$ ||= {});
|
|
38936
|
-
|
|
39008
|
+
VendorPaymentProfile$inboundSchema = unionType([
|
|
38937
39009
|
unionType([
|
|
38938
|
-
lazyType(() =>
|
|
38939
|
-
unionType([lazyType(() =>
|
|
39010
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
39011
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
38940
39012
|
]),
|
|
38941
39013
|
numberType().int()
|
|
38942
39014
|
]);
|
|
38943
|
-
|
|
39015
|
+
VendorPaymentProfile$outboundSchema = unionType([
|
|
38944
39016
|
unionType([
|
|
38945
|
-
lazyType(() =>
|
|
38946
|
-
unionType([lazyType(() =>
|
|
39017
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39018
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
38947
39019
|
]),
|
|
38948
39020
|
numberType().int()
|
|
38949
39021
|
]);
|
|
38950
|
-
((
|
|
38951
|
-
|
|
38952
|
-
|
|
38953
|
-
})(
|
|
39022
|
+
((VendorPaymentProfile$) => {
|
|
39023
|
+
VendorPaymentProfile$.inboundSchema = VendorPaymentProfile$inboundSchema;
|
|
39024
|
+
VendorPaymentProfile$.outboundSchema = VendorPaymentProfile$outboundSchema;
|
|
39025
|
+
})(VendorPaymentProfile$ ||= {});
|
|
38954
39026
|
PaymentResponsibility$inboundSchema = objectType({
|
|
38955
39027
|
id: nullableType(numberType().int()).optional(),
|
|
38956
39028
|
company_manager_id: nullableType(numberType().int()).optional(),
|
|
@@ -39044,8 +39116,8 @@ var init_vendor = __esm(() => {
|
|
|
39044
39116
|
image_urls: nullableType(ImageSet$inboundSchema).optional(),
|
|
39045
39117
|
payment_profile: nullableType(unionType([
|
|
39046
39118
|
unionType([
|
|
39047
|
-
lazyType(() =>
|
|
39048
|
-
unionType([lazyType(() =>
|
|
39119
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
39120
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
39049
39121
|
]),
|
|
39050
39122
|
numberType().int()
|
|
39051
39123
|
])).optional(),
|
|
@@ -39094,8 +39166,8 @@ var init_vendor = __esm(() => {
|
|
|
39094
39166
|
imageUrls: nullableType(ImageSet$outboundSchema).optional(),
|
|
39095
39167
|
paymentProfile: nullableType(unionType([
|
|
39096
39168
|
unionType([
|
|
39097
|
-
lazyType(() =>
|
|
39098
|
-
unionType([lazyType(() =>
|
|
39169
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39170
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
39099
39171
|
]),
|
|
39100
39172
|
numberType().int()
|
|
39101
39173
|
])).optional(),
|
|
@@ -40158,6 +40230,7 @@ var init_components = __esm(() => {
|
|
|
40158
40230
|
init_mfarequiredresponse();
|
|
40159
40231
|
init_pager();
|
|
40160
40232
|
init_passwordrequiredresponse();
|
|
40233
|
+
init_paymentprofile();
|
|
40161
40234
|
init_product();
|
|
40162
40235
|
init_productvariant();
|
|
40163
40236
|
init_samlloginrequiredresponse();
|
|
@@ -50558,7 +50631,7 @@ Security zone checkin request`,
|
|
|
50558
50631
|
function createMCPServer(deps) {
|
|
50559
50632
|
const server = new McpServer({
|
|
50560
50633
|
name: "GreenSecurity",
|
|
50561
|
-
version: "0.35.
|
|
50634
|
+
version: "0.35.19"
|
|
50562
50635
|
});
|
|
50563
50636
|
const client = new GreenSecurityCore({
|
|
50564
50637
|
security: deps.security,
|
|
@@ -51901,7 +51974,7 @@ var routes = an({
|
|
|
51901
51974
|
var app = He(routes, {
|
|
51902
51975
|
name: "mcp",
|
|
51903
51976
|
versionInfo: {
|
|
51904
|
-
currentVersion: "0.35.
|
|
51977
|
+
currentVersion: "0.35.19"
|
|
51905
51978
|
}
|
|
51906
51979
|
});
|
|
51907
51980
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -51909,5 +51982,5 @@ export {
|
|
|
51909
51982
|
app
|
|
51910
51983
|
};
|
|
51911
51984
|
|
|
51912
|
-
//# debugId=
|
|
51985
|
+
//# debugId=4B46E8D47C04256964756E2164756E21
|
|
51913
51986
|
//# sourceMappingURL=mcp-server.js.map
|