@verdocs/js-sdk 3.10.5 → 3.10.6

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.
@@ -233,4 +233,9 @@ export interface IListEnvelopesParams {
233
233
  * await Envelopes.listEnvelopes((VerdocsEndpoint.getDefault(), { q: 'test', sort: 'created)at' });
234
234
  * ```
235
235
  */
236
- export declare const listEnvelopes: (endpoint: VerdocsEndpoint, params?: IListEnvelopesParams) => Promise<IEnvelope[]>;
236
+ export declare const listEnvelopes: (endpoint: VerdocsEndpoint, params?: IListEnvelopesParams) => Promise<{
237
+ total: number;
238
+ rows: number;
239
+ page: number;
240
+ envelopes: IEnvelope[];
241
+ }>;
@@ -151,7 +151,7 @@ export interface ITimePeriod {
151
151
  start_time: string;
152
152
  end_time: string;
153
153
  }
154
- declare enum SortOptions {
154
+ export declare enum SortOptions {
155
155
  CREATED_AT = "created_at",
156
156
  UPDATED_AT = "updated_at",
157
157
  NAME = "name",
@@ -233,4 +233,3 @@ export declare const getSummary: (endpoint: VerdocsEndpoint, params?: IGetTempla
233
233
  * to avoid unnecessary repeat server calls.
234
234
  */
235
235
  export declare const throttledGetTemplate: (endpoint: VerdocsEndpoint, templateId: string) => ITemplate | Promise<ITemplate>;
236
- export {};
@@ -173,7 +173,7 @@ export var deleteTemplate = function (endpoint, templateId) {
173
173
  .delete("/templates/".concat(templateId))
174
174
  .then(function (r) { return r.data; });
175
175
  };
176
- var SortOptions;
176
+ export var SortOptions;
177
177
  (function (SortOptions) {
178
178
  SortOptions["CREATED_AT"] = "created_at";
179
179
  SortOptions["UPDATED_AT"] = "updated_at";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "3.10.5",
3
+ "version": "3.10.6",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",