Socket
Socket
Sign inDemoInstall

@xvia/mtcidadao-api

Package Overview
Dependencies
24
Maintainers
2
Versions
464
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.82.1 to 2.82.2

3

lib/api-generated/SmartpassApi.d.ts
import { Service } from "../Service";
export declare class SmartpassApi extends Service {
validacaoFacial(fotosBase64: string, deviceId: string): Promise<any>;
provaDeVida(fotosBase64: string): Promise<any>;
AllCertificates(userId?: string, deviceId?: string): Promise<any>;
cancelCertRequest(requestId?: string): Promise<any>;
loadRegistration(): Promise<any>;
}

@@ -18,2 +18,13 @@ "use strict";

}
provaDeVida(fotosBase64) {
return this.request(`/v1/smartpass/provaDeVida`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
fotosBase64,
}),
});
}
AllCertificates(userId, deviceId) {

@@ -31,3 +42,23 @@ return this.request(`/v1/smartpass/getAllCertificates`, {

}
cancelCertRequest(requestId) {
return this.request(`/v1/smartpass/cancelCertRequest`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
requestId,
}),
});
}
loadRegistration() {
return this.request(`/v1/smartpass/load-registration`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({}),
});
}
}
exports.SmartpassApi = SmartpassApi;

1

lib/util/format.js

@@ -124,3 +124,2 @@ "use strict";

}
console.log(item[0].split(" "));
return {

@@ -127,0 +126,0 @@ servico: item[0],

{
"name": "@xvia/mtcidadao-api",
"version": "2.82.1",
"version": "2.82.2",
"description": "MTCidadão api sdk",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -18,2 +18,14 @@ // AUTO GENERATED. DO NOT EDIT IT

provaDeVida(fotosBase64: string): Promise<any> {
return this.request(`/v1/smartpass/provaDeVida`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
fotosBase64,
}),
});
}
AllCertificates(userId?: string, deviceId?: string): Promise<any> {

@@ -31,2 +43,24 @@ return this.request(`/v1/smartpass/getAllCertificates`, {

}
cancelCertRequest(requestId?: string): Promise<any> {
return this.request(`/v1/smartpass/cancelCertRequest`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
requestId,
}),
});
}
loadRegistration(): Promise<any> {
return this.request(`/v1/smartpass/load-registration`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({}),
});
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc