gap-nodejs-sdk 1.0.697 → 1.0.699

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.
@@ -1,5 +1,6 @@
1
- import { DataWithMetaResponse, MetaResponse } from "../types";
1
+ import { DataWithMetaResponse, GetKeyStorageAllResponse, MetaResponse } from "../types";
2
2
  export declare function MetaModel(data: any): MetaResponse;
3
3
  export declare function DataWithMetaModel<T>(response: any, modelFn: Function): DataWithMetaResponse<T>;
4
4
  export declare function DataAppointmentWithMetaModel<T>(response: any, modelFn: Function): DataWithMetaResponse<T>;
5
+ export declare function KeyStorageDataModel(response: any): GetKeyStorageAllResponse;
5
6
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/models/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAE,YAAY,EAAC,MAAM,UAAU,CAAC;AAE5D,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAOjD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAK9F;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAKzG"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/models/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAE,wBAAwB,EAAyB,YAAY,EAAC,MAAM,UAAU,CAAC;AAE7G,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAOjD;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAK9F;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAKzG;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,GAAG,GAAG,wBAAwB,CAE3E"}
@@ -21,3 +21,7 @@ export function DataAppointmentWithMetaModel(response, modelFn) {
21
21
  _meta: MetaModel((_g = (_f = response === null || response === void 0 ? void 0 : response.result) === null || _f === void 0 ? void 0 : _f.data) === null || _g === void 0 ? void 0 : _g._meta)
22
22
  };
23
23
  }
24
+ export function KeyStorageDataModel(response) {
25
+ var _a;
26
+ return ((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || {};
27
+ }
@@ -9,4 +9,10 @@ export type DataWithMetaResponse<T> = {
9
9
  data: T;
10
10
  _meta: MetaResponse;
11
11
  };
12
+ export type KeyStorageDataResponse<T> = {
13
+ status: string;
14
+ data: T;
15
+ error: any;
16
+ message: any;
17
+ };
12
18
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAAI;IAClC,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,YAAY,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAAI;IAClC,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,YAAY,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,CAAC,CAAA;IACP,KAAK,EAAE,GAAG,CAAA;IACV,OAAO,EAAE,GAAG,CAAA;CACf,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gap-nodejs-sdk",
3
- "version": "1.0.697",
3
+ "version": "1.0.699",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",