@space-df/sdk 0.0.1-dev.19 → 0.0.1-dev.20

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.
package/api.doc.md CHANGED
@@ -2554,6 +2554,7 @@ list(params: ListParamsResponse, options?: Core.RequestOptions): Core.APIPromise
2554
2554
  - `search` _(string, optional)_: A search term to filter results.
2555
2555
  - `limit` _(integer, optional)_: Number of results to return per page.
2556
2556
  - `offset` _(integer, optional)_: The initial index from which to return the results.
2557
+ - `include_latest_checkpoint` _(boolean, optional)_: Include latest checkpoint
2557
2558
  - `options` _(Core.RequestOptions)_: Additional request options.
2558
2559
 
2559
2560
  **Returns:** `Promise<DeviceSpacesListResponse>`
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@space-df/sdk",
3
- "version": "0.0.1-dev.19",
3
+ "version": "0.0.1-dev.20",
4
4
  "description": "The official TypeScript library for the Spacedf SDK API",
5
5
  "author": "Spacedf SDK <support@digitalfortress.dev>",
6
6
  "types": "./index.d.ts",
@@ -1,9 +1,12 @@
1
1
  import { APIResource } from "../../resource.js";
2
2
  import * as Core from "../../core.js";
3
3
  import { ListParamsResponse, ListResponse } from "../../types/api.js";
4
+ interface DeviceSpacesListParams extends ListParamsResponse {
5
+ include_latest_checkpoint?: boolean;
6
+ }
4
7
  export declare class DeviceSpaces extends APIResource {
5
8
  create(params: DeviceSpacesParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesParams>;
6
- list(params: ListParamsResponse, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse>;
9
+ list(params: DeviceSpacesListParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse>;
7
10
  delete(id: string, options?: Core.RequestOptions): Core.APIPromise<void>;
8
11
  }
9
12
  export interface DeviceSpacesParams {
@@ -12,4 +15,5 @@ export interface DeviceSpacesParams {
12
15
  description: string;
13
16
  }
14
17
  export type DeviceSpacesListResponse = ListResponse<DeviceSpacesParams>;
18
+ export {};
15
19
  //# sourceMappingURL=device-spaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-spaces.d.ts","sourceRoot":"","sources":["../../src/resources/device/device-spaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEnE,qBAAa,YAAa,SAAQ,WAAW;IACzC,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAStG,IAAI,CAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAS1G,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;CAM3E;AAED,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"device-spaces.d.ts","sourceRoot":"","sources":["../../src/resources/device/device-spaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEnE,UAAU,sBAAuB,SAAQ,kBAAkB;IACvD,yBAAyB,CAAC,EAAE,OAAO,CAAC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AyBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-spaces.mjs","sourceRoot":"","sources":["../../src/resources/device/device-spaces.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IACzC,MAAM,CAAC,MAA0B,EAAE,OAA6B;QAC5D,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;IAED,IAAI,CAAC,MAA0B,EAAE,OAA6B;QAC1D,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE;YACtC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,EAAE;YAC/C,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAClD,CAAC,CAAC;IACP,CAAC;CACJ"}
1
+ {"version":3,"file":"device-spaces.mjs","sourceRoot":"","sources":["../../src/resources/device/device-spaces.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAQtB,MAAM,OAAO,YAAa,SAAQ,WAAW;IACzC,MAAM,CAAC,MAA0B,EAAE,OAA6B;QAC5D,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;IAED,IAAI,CAAC,MAA8B,EAAE,OAA6B;QAC9D,MAAM,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE;YACtC,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SACnC,CAAC,CAAC;IACP,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,EAAE,EAAE;YAC/C,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAClD,CAAC,CAAC;IACP,CAAC;CACJ"}
@@ -2,6 +2,10 @@ import { APIResource } from '../../resource';
2
2
  import * as Core from '../../core';
3
3
  import { ListParamsResponse, ListResponse } from '../../types/api';
4
4
 
5
+ interface DeviceSpacesListParams extends ListParamsResponse {
6
+ include_latest_checkpoint?: boolean;
7
+ }
8
+
5
9
  export class DeviceSpaces extends APIResource {
6
10
  create(params: DeviceSpacesParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesParams> {
7
11
  const { ...body } = params;
@@ -12,7 +16,7 @@ export class DeviceSpaces extends APIResource {
12
16
  });
13
17
  }
14
18
 
15
- list(params: ListParamsResponse, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse> {
19
+ list(params: DeviceSpacesListParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse> {
16
20
  const { ...query } = params;
17
21
  return this._client.get(`/device-spaces`, {
18
22
  query,
@@ -1 +1 @@
1
- export const VERSION = '0.0.1-dev.19';
1
+ export const VERSION = '0.0.1-dev.20';
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.1-dev.19";
1
+ export declare const VERSION = "0.0.1-dev.20";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.0.1-dev.19';
4
+ exports.VERSION = '0.0.1-dev.20';
5
5
  //# sourceMappingURL=version.js.map
package/dist/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.0.1-dev.19';
1
+ export const VERSION = '0.0.1-dev.20';
2
2
  //# sourceMappingURL=version.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@space-df/sdk",
3
- "version": "0.0.1-dev.19",
3
+ "version": "0.0.1-dev.20",
4
4
  "description": "The official TypeScript library for the Spacedf SDK API",
5
5
  "author": "Spacedf SDK <support@digitalfortress.dev>",
6
6
  "types": "dist/index.d.ts",
@@ -2,6 +2,10 @@ import { APIResource } from '../../resource';
2
2
  import * as Core from '../../core';
3
3
  import { ListParamsResponse, ListResponse } from '../../types/api';
4
4
 
5
+ interface DeviceSpacesListParams extends ListParamsResponse {
6
+ include_latest_checkpoint?: boolean;
7
+ }
8
+
5
9
  export class DeviceSpaces extends APIResource {
6
10
  create(params: DeviceSpacesParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesParams> {
7
11
  const { ...body } = params;
@@ -12,7 +16,7 @@ export class DeviceSpaces extends APIResource {
12
16
  });
13
17
  }
14
18
 
15
- list(params: ListParamsResponse, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse> {
19
+ list(params: DeviceSpacesListParams, options?: Core.RequestOptions): Core.APIPromise<DeviceSpacesListResponse> {
16
20
  const { ...query } = params;
17
21
  return this._client.get(`/device-spaces`, {
18
22
  query,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.0.1-dev.19';
1
+ export const VERSION = '0.0.1-dev.20';