Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artaio/node-api

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artaio/node-api - npm Package Compare versions

Comparing version 1.2.3 to 1.3.0

3

dist/lib/endpoint/tags.d.ts
import type { RestClient } from '../net/RestClient';
import type { Page } from '../pagination';
import type { TagsSearch } from '../search';
import type { Tag } from '../types';

@@ -14,5 +15,5 @@ export type TagCreateBody = Omit<Tag, 'id' | 'created_at' | 'updated_at'>;

getByName(name: Tag['name'], auth?: string): Promise<Tag>;
list(page?: number, pageSize?: number, auth?: string): Promise<Page<Tag>>;
list(search?: TagsSearch, page?: number, pageSize?: number, auth?: string): Promise<Page<Tag>>;
create(payload: TagCreateBody, auth?: string): Promise<Tag>;
update(name: Tag['name'], payload: Partial<TagCreateBody>, auth?: string): Promise<Tag>;
}

@@ -14,6 +14,6 @@ "use strict";

};
TagsEndpoint.prototype.list = function (page, pageSize, auth) {
TagsEndpoint.prototype.list = function (search, page, pageSize, auth) {
if (page === void 0) { page = 1; }
if (pageSize === void 0) { pageSize = 20; }
return this.defaultEndpoint.list({ page: page, page_size: pageSize }, auth);
return this.defaultEndpoint.list({ page: page, page_size: pageSize, search: search }, auth);
};

@@ -20,0 +20,0 @@ TagsEndpoint.prototype.create = function (payload, auth) {

export type HostedSessionsSearch = string;
export type ShipmentsSearch = string;
export type RequestsSearch = string;
export type TagsSearch = string;
{
"name": "@artaio/node-api",
"version": "1.2.3",
"version": "1.3.0",
"description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",

@@ -5,0 +5,0 @@ "scripts": {

{
"name": "@artaio/node-api",
"version": "1.2.3",
"version": "1.3.0",
"description": "The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.",

@@ -5,0 +5,0 @@ "scripts": {

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