@vepler/http-sdk
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -5,8 +5,2 @@ export interface GetPropertyByPropertyIdParams { | ||
} | ||
export interface GetPropertyResult { | ||
result: object[]; | ||
size: number; | ||
totalSize: number; | ||
success: boolean; | ||
} | ||
export declare function getProperty(params: GetPropertyByPropertyIdParams): Promise<GetPropertyResult>; | ||
export declare function getProperty(params: GetPropertyByPropertyIdParams): Promise<object[]>; |
@@ -0,1 +1,7 @@ | ||
export interface QueryPropertyResult { | ||
result: object[]; | ||
size: number; | ||
totalSize: number; | ||
success: boolean; | ||
} | ||
export interface GetPropertyBySourceParams { | ||
@@ -24,2 +30,2 @@ sourceIds?: string[]; | ||
} | ||
export declare function queryProperty(params: GetPropertyBySourceParams): Promise<object[]>; | ||
export declare function queryProperty(params: GetPropertyBySourceParams): Promise<QueryPropertyResult>; |
{ | ||
"name": "@vepler/http-sdk", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "The Official Propbar HTTP SDK.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -8,10 +8,3 @@ import { getApiInstance, initialisedConfig } from '../../../config'; | ||
export interface GetPropertyResult { | ||
result: object[]; | ||
size: number; | ||
totalSize: number; | ||
success: boolean | ||
} | ||
export async function getProperty(params: GetPropertyByPropertyIdParams): Promise<GetPropertyResult> { | ||
export async function getProperty(params: GetPropertyByPropertyIdParams): Promise<object[]> { | ||
const { propertyIds, attributes = [] } = params; | ||
@@ -18,0 +11,0 @@ |
import { getApiInstance, initialisedConfig } from '../../../config'; | ||
export interface QueryPropertyResult { | ||
result: object[]; | ||
size: number; | ||
totalSize: number; | ||
success: boolean | ||
} | ||
export interface GetPropertyBySourceParams { | ||
@@ -27,3 +34,3 @@ sourceIds?: string[]; | ||
export async function queryProperty(params: GetPropertyBySourceParams): Promise<object[]> { | ||
export async function queryProperty(params: GetPropertyBySourceParams): Promise<QueryPropertyResult> { | ||
const { | ||
@@ -30,0 +37,0 @@ sourceIds, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39190