@greensecurity/javascript-sdk 0.35.7 → 0.35.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 +137 -58
- package/bin/mcp-server.js.map +14 -13
- package/dist/commonjs/__tests__/zones.test.js +3 -32
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js +1 -0
- package/dist/commonjs/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js +2 -1
- package/dist/commonjs/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/models/components/expand.d.ts +3 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +1 -0
- package/dist/commonjs/models/components/expand.js.map +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/commonjs/models/components/vendorcredentialsummary.d.ts +2 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendorcredentialsummary.js +4 -0
- package/dist/commonjs/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js +2 -0
- package/dist/commonjs/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/commonjs/sdk/vendors.d.ts +1 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +1 -0
- package/dist/commonjs/sdk/vendors.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +3 -32
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts +1 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js +1 -0
- package/dist/esm/funcs/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js +2 -1
- package/dist/esm/mcp-server/tools/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/models/components/expand.d.ts +3 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +1 -0
- package/dist/esm/models/components/expand.js.map +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/dist/esm/models/components/vendorcredentialsummary.d.ts +2 -0
- package/dist/esm/models/components/vendorcredentialsummary.d.ts.map +1 -1
- package/dist/esm/models/components/vendorcredentialsummary.js +4 -0
- package/dist/esm/models/components/vendorcredentialsummary.js.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts +2 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.d.ts.map +1 -1
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js +2 -0
- package/dist/esm/react-query/vendorsGetVendorCredentialDetails.js.map +1 -1
- package/dist/esm/sdk/vendors.d.ts +1 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +1 -0
- package/dist/esm/sdk/vendors.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/zones.test.ts +3 -32
- package/src/funcs/vendorsGetVendorCredentialDetails.ts +1 -0
- 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/mcp-server/tools/vendorsGetVendorCredentialDetails.ts +2 -1
- package/src/models/components/expand.ts +2 -0
- 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/src/models/components/vendorcredentialsummary.ts +6 -0
- package/src/react-query/vendorsGetVendorCredentialDetails.ts +2 -0
- package/src/sdk/vendors.ts +1 -0
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.17",
|
|
34240
34240
|
genVersion: "2.620.2",
|
|
34241
|
-
userAgent: "speakeasy-sdk/typescript 0.35.
|
|
34241
|
+
userAgent: "speakeasy-sdk/typescript 0.35.17 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$) => {
|
|
@@ -36827,6 +36899,7 @@ var init_expand = __esm(() => {
|
|
|
36827
36899
|
VendorCredentialVendorCredentialDataRequests: "vendor_credential.vendor_credential_data_requests",
|
|
36828
36900
|
VendorCredentialCredentialVariants: "vendor_credential.credential_variants",
|
|
36829
36901
|
VendorCredentialTargetsChop: "vendor_credential.targets_chop",
|
|
36902
|
+
VendorCredentialTotalPendingCredentials: "vendor_credential.total_pending_credentials",
|
|
36830
36903
|
VendorCredentialFileVendorCredential: "vendor_credential_file.vendor_credential",
|
|
36831
36904
|
VendorCredentialFileCredentialDocument: "vendor_credential_file.credential_document",
|
|
36832
36905
|
VendorCredentialDataRequestVendorCredential: "vendor_credential_data_request.vendor_credential",
|
|
@@ -38791,7 +38864,7 @@ var init_vendorjobtitle = __esm(() => {
|
|
|
38791
38864
|
});
|
|
38792
38865
|
|
|
38793
38866
|
// src/models/components/vendor.ts
|
|
38794
|
-
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$;
|
|
38795
38868
|
var init_vendor = __esm(() => {
|
|
38796
38869
|
init_esm();
|
|
38797
38870
|
init_primitives();
|
|
@@ -38872,19 +38945,19 @@ var init_vendor = __esm(() => {
|
|
|
38872
38945
|
VendorVendorType$.inboundSchema = VendorVendorType$inboundSchema;
|
|
38873
38946
|
VendorVendorType$.outboundSchema = VendorVendorType$outboundSchema;
|
|
38874
38947
|
})(VendorVendorType$ ||= {});
|
|
38875
|
-
|
|
38876
|
-
|
|
38877
|
-
((
|
|
38878
|
-
|
|
38879
|
-
|
|
38880
|
-
})(
|
|
38881
|
-
|
|
38882
|
-
|
|
38883
|
-
((
|
|
38884
|
-
|
|
38885
|
-
|
|
38886
|
-
})(
|
|
38887
|
-
|
|
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({
|
|
38888
38961
|
id: numberType().int().optional(),
|
|
38889
38962
|
is_valid: nullableType(booleanType()).optional(),
|
|
38890
38963
|
card_type: nullableType(stringType()).optional(),
|
|
@@ -38900,7 +38973,7 @@ var init_vendor = __esm(() => {
|
|
|
38900
38973
|
profile_type: "profileType"
|
|
38901
38974
|
});
|
|
38902
38975
|
});
|
|
38903
|
-
|
|
38976
|
+
VendorPaymentProfile1$outboundSchema = objectType({
|
|
38904
38977
|
id: numberType().int().optional(),
|
|
38905
38978
|
isValid: nullableType(booleanType()).optional(),
|
|
38906
38979
|
cardType: nullableType(stringType()).optional(),
|
|
@@ -38916,40 +38989,40 @@ var init_vendor = __esm(() => {
|
|
|
38916
38989
|
profileType: "profile_type"
|
|
38917
38990
|
});
|
|
38918
38991
|
});
|
|
38919
|
-
((
|
|
38920
|
-
|
|
38921
|
-
|
|
38922
|
-
})(
|
|
38992
|
+
((VendorPaymentProfile1$) => {
|
|
38993
|
+
VendorPaymentProfile1$.inboundSchema = VendorPaymentProfile1$inboundSchema;
|
|
38994
|
+
VendorPaymentProfile1$.outboundSchema = VendorPaymentProfile1$outboundSchema;
|
|
38995
|
+
})(VendorPaymentProfile1$ ||= {});
|
|
38923
38996
|
PaymentProfilePaymentProfile$inboundSchema = unionType([
|
|
38924
|
-
lazyType(() =>
|
|
38925
|
-
unionType([lazyType(() =>
|
|
38997
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
38998
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
38926
38999
|
]);
|
|
38927
39000
|
PaymentProfilePaymentProfile$outboundSchema = unionType([
|
|
38928
|
-
lazyType(() =>
|
|
38929
|
-
unionType([lazyType(() =>
|
|
39001
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39002
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
38930
39003
|
]);
|
|
38931
39004
|
((PaymentProfilePaymentProfile$) => {
|
|
38932
39005
|
PaymentProfilePaymentProfile$.inboundSchema = PaymentProfilePaymentProfile$inboundSchema;
|
|
38933
39006
|
PaymentProfilePaymentProfile$.outboundSchema = PaymentProfilePaymentProfile$outboundSchema;
|
|
38934
39007
|
})(PaymentProfilePaymentProfile$ ||= {});
|
|
38935
|
-
|
|
39008
|
+
VendorPaymentProfile$inboundSchema = unionType([
|
|
38936
39009
|
unionType([
|
|
38937
|
-
lazyType(() =>
|
|
38938
|
-
unionType([lazyType(() =>
|
|
39010
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
39011
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
38939
39012
|
]),
|
|
38940
39013
|
numberType().int()
|
|
38941
39014
|
]);
|
|
38942
|
-
|
|
39015
|
+
VendorPaymentProfile$outboundSchema = unionType([
|
|
38943
39016
|
unionType([
|
|
38944
|
-
lazyType(() =>
|
|
38945
|
-
unionType([lazyType(() =>
|
|
39017
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39018
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
38946
39019
|
]),
|
|
38947
39020
|
numberType().int()
|
|
38948
39021
|
]);
|
|
38949
|
-
((
|
|
38950
|
-
|
|
38951
|
-
|
|
38952
|
-
})(
|
|
39022
|
+
((VendorPaymentProfile$) => {
|
|
39023
|
+
VendorPaymentProfile$.inboundSchema = VendorPaymentProfile$inboundSchema;
|
|
39024
|
+
VendorPaymentProfile$.outboundSchema = VendorPaymentProfile$outboundSchema;
|
|
39025
|
+
})(VendorPaymentProfile$ ||= {});
|
|
38953
39026
|
PaymentResponsibility$inboundSchema = objectType({
|
|
38954
39027
|
id: nullableType(numberType().int()).optional(),
|
|
38955
39028
|
company_manager_id: nullableType(numberType().int()).optional(),
|
|
@@ -39043,8 +39116,8 @@ var init_vendor = __esm(() => {
|
|
|
39043
39116
|
image_urls: nullableType(ImageSet$inboundSchema).optional(),
|
|
39044
39117
|
payment_profile: nullableType(unionType([
|
|
39045
39118
|
unionType([
|
|
39046
|
-
lazyType(() =>
|
|
39047
|
-
unionType([lazyType(() =>
|
|
39119
|
+
lazyType(() => VendorPaymentProfile1$inboundSchema),
|
|
39120
|
+
unionType([lazyType(() => Vendor22$inboundSchema), numberType().int()])
|
|
39048
39121
|
]),
|
|
39049
39122
|
numberType().int()
|
|
39050
39123
|
])).optional(),
|
|
@@ -39093,8 +39166,8 @@ var init_vendor = __esm(() => {
|
|
|
39093
39166
|
imageUrls: nullableType(ImageSet$outboundSchema).optional(),
|
|
39094
39167
|
paymentProfile: nullableType(unionType([
|
|
39095
39168
|
unionType([
|
|
39096
|
-
lazyType(() =>
|
|
39097
|
-
unionType([lazyType(() =>
|
|
39169
|
+
lazyType(() => VendorPaymentProfile1$outboundSchema),
|
|
39170
|
+
unionType([lazyType(() => Vendor22$outboundSchema), numberType().int()])
|
|
39098
39171
|
]),
|
|
39099
39172
|
numberType().int()
|
|
39100
39173
|
])).optional(),
|
|
@@ -39525,7 +39598,8 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
39525
39598
|
vendor_credential_default_status: nullableType(stringType()).optional(),
|
|
39526
39599
|
vendor_credential_data_requests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$inboundSchema)))).optional(),
|
|
39527
39600
|
credential_variants: nullableType(arrayType(anyType())).optional(),
|
|
39528
|
-
targets_chop: nullableType(booleanType()).optional()
|
|
39601
|
+
targets_chop: nullableType(booleanType()).optional(),
|
|
39602
|
+
total_pending_credentials: numberType().int().optional()
|
|
39529
39603
|
}).transform((v2) => {
|
|
39530
39604
|
return remap(v2, {
|
|
39531
39605
|
date_due: "dateDue",
|
|
@@ -39545,7 +39619,8 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
39545
39619
|
vendor_credential_default_status: "vendorCredentialDefaultStatus",
|
|
39546
39620
|
vendor_credential_data_requests: "vendorCredentialDataRequests",
|
|
39547
39621
|
credential_variants: "credentialVariants",
|
|
39548
|
-
targets_chop: "targetsChop"
|
|
39622
|
+
targets_chop: "targetsChop",
|
|
39623
|
+
total_pending_credentials: "totalPendingCredentials"
|
|
39549
39624
|
});
|
|
39550
39625
|
});
|
|
39551
39626
|
VendorCredentialSummary$outboundSchema = objectType({
|
|
@@ -39575,7 +39650,8 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
39575
39650
|
vendorCredentialDefaultStatus: nullableType(stringType()).optional(),
|
|
39576
39651
|
vendorCredentialDataRequests: nullableType(arrayType(nullableType(lazyType(() => VendorCredentialDataRequest$outboundSchema)))).optional(),
|
|
39577
39652
|
credentialVariants: nullableType(arrayType(anyType())).optional(),
|
|
39578
|
-
targetsChop: nullableType(booleanType()).optional()
|
|
39653
|
+
targetsChop: nullableType(booleanType()).optional(),
|
|
39654
|
+
totalPendingCredentials: numberType().int().optional()
|
|
39579
39655
|
}).transform((v2) => {
|
|
39580
39656
|
return remap(v2, {
|
|
39581
39657
|
dateDue: "date_due",
|
|
@@ -39595,7 +39671,8 @@ var init_vendorcredentialsummary = __esm(() => {
|
|
|
39595
39671
|
vendorCredentialDefaultStatus: "vendor_credential_default_status",
|
|
39596
39672
|
vendorCredentialDataRequests: "vendor_credential_data_requests",
|
|
39597
39673
|
credentialVariants: "credential_variants",
|
|
39598
|
-
targetsChop: "targets_chop"
|
|
39674
|
+
targetsChop: "targets_chop",
|
|
39675
|
+
totalPendingCredentials: "total_pending_credentials"
|
|
39599
39676
|
});
|
|
39600
39677
|
});
|
|
39601
39678
|
((VendorCredentialSummary$) => {
|
|
@@ -40153,6 +40230,7 @@ var init_components = __esm(() => {
|
|
|
40153
40230
|
init_mfarequiredresponse();
|
|
40154
40231
|
init_pager();
|
|
40155
40232
|
init_passwordrequiredresponse();
|
|
40233
|
+
init_paymentprofile();
|
|
40156
40234
|
init_product();
|
|
40157
40235
|
init_productvariant();
|
|
40158
40236
|
init_samlloginrequiredresponse();
|
|
@@ -46807,7 +46885,8 @@ Available \`expand\` scopes are:
|
|
|
46807
46885
|
- vendor_credential.vendor_credential_default_status
|
|
46808
46886
|
- vendor_credential.vendor_credential_data_requests
|
|
46809
46887
|
- vendor_credential.credential_variants
|
|
46810
|
-
- vendor_credential.targets_chop
|
|
46888
|
+
- vendor_credential.targets_chop
|
|
46889
|
+
- vendor_credential.total_pending_credentials`,
|
|
46811
46890
|
args: args28,
|
|
46812
46891
|
tool: async (client, args29, ctx) => {
|
|
46813
46892
|
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50552,7 +50631,7 @@ Security zone checkin request`,
|
|
|
50552
50631
|
function createMCPServer(deps) {
|
|
50553
50632
|
const server = new McpServer({
|
|
50554
50633
|
name: "GreenSecurity",
|
|
50555
|
-
version: "0.35.
|
|
50634
|
+
version: "0.35.17"
|
|
50556
50635
|
});
|
|
50557
50636
|
const client = new GreenSecurityCore({
|
|
50558
50637
|
security: deps.security,
|
|
@@ -51895,7 +51974,7 @@ var routes = an({
|
|
|
51895
51974
|
var app = He(routes, {
|
|
51896
51975
|
name: "mcp",
|
|
51897
51976
|
versionInfo: {
|
|
51898
|
-
currentVersion: "0.35.
|
|
51977
|
+
currentVersion: "0.35.17"
|
|
51899
51978
|
}
|
|
51900
51979
|
});
|
|
51901
51980
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -51903,5 +51982,5 @@ export {
|
|
|
51903
51982
|
app
|
|
51904
51983
|
};
|
|
51905
51984
|
|
|
51906
|
-
//# debugId=
|
|
51985
|
+
//# debugId=E33EDFBB596A5D6064756E2164756E21
|
|
51907
51986
|
//# sourceMappingURL=mcp-server.js.map
|