Socket
Socket
Sign inDemoInstall

@xvia/mtcidadao-api

Package Overview
Dependencies
Maintainers
2
Versions
465
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xvia/mtcidadao-api - npm Package Compare versions

Comparing version 2.81.3 to 2.82.0

1

lib/api-generated/DocumentApi.d.ts

@@ -11,2 +11,3 @@ import { Service } from "../Service";

removeDoc(documentNumber: string): Promise<any>;
updateDocument(documentIdPortal: string, documentNumber: string, documentType: string): Promise<any>;
}

@@ -94,3 +94,16 @@ "use strict";

}
updateDocument(documentIdPortal, documentNumber, documentType) {
return this.request(`/v1/document/update`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
documentIdPortal,
documentNumber,
documentType,
}),
});
}
}
exports.DocumentApi = DocumentApi;

@@ -7,2 +7,3 @@ import { IDBObject } from "./IDBObject";

find(collection: string, query: Record<string, any>): Promise<any[]>;
findSort(collection: string, query: Record<string, any>, sort: Record<string, any>): Promise<any[]>;
findLimited(collection: string, query?: Record<string, any>, skip?: number, limit?: number): Promise<any[]>;

@@ -9,0 +10,0 @@ pushItemToArray(collection: string, filter: any, item: Record<string, any>): Promise<any>;

2

package.json
{
"name": "@xvia/mtcidadao-api",
"version": "2.81.3",
"version": "2.82.0",
"description": "MTCidadão api sdk",

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

@@ -133,2 +133,20 @@ // AUTO GENERATED. DO NOT EDIT IT

}
updateDocument(
documentIdPortal: string,
documentNumber: string,
documentType: string,
): Promise<any> {
return this.request(`/v1/document/update`, {
method: "POST",
headers: {
"content-type": "application/json",
},
body: JSON.stringify({
documentIdPortal,
documentNumber,
documentType,
}),
});
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc