@nekutima/biome-sdk 0.1.24 → 0.1.25

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,11 +1,14 @@
1
1
  /**
2
2
  * Timezone model for Biome platform
3
+ * Matches database schema exactly - no transformation needed
3
4
  */
4
5
  export interface Timezone {
5
6
  id: number;
7
+ code: string;
6
8
  name: string;
7
- offset: string;
8
- region: string;
9
- country?: string;
9
+ dst: number;
10
+ sdt: number;
11
+ createdAt?: string;
12
+ updatedAt?: string;
10
13
  }
11
14
  //# sourceMappingURL=timezone.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"timezone.model.d.ts","sourceRoot":"","sources":["../../src/models/timezone.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"timezone.model.d.ts","sourceRoot":"","sources":["../../src/models/timezone.model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Timezone model for Biome platform
4
+ * Matches database schema exactly - no transformation needed
4
5
  */
5
6
  Object.defineProperty(exports, "__esModule", { value: true });
6
7
  //# sourceMappingURL=timezone.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"timezone.model.js","sourceRoot":"","sources":["../../src/models/timezone.model.ts"],"names":[],"mappings":";AAAA;;GAEG"}
1
+ {"version":3,"file":"timezone.model.js","sourceRoot":"","sources":["../../src/models/timezone.model.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
@@ -1 +1 @@
1
- {"version":3,"file":"timezone.service.d.ts","sourceRoot":"","sources":["../../src/timezone/timezone.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;gBAE3B,IAAI,EAAE,eAAe;IAI3B,MAAM,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAMpC"}
1
+ {"version":3,"file":"timezone.service.d.ts","sourceRoot":"","sources":["../../src/timezone/timezone.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGpD,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;gBAE3B,IAAI,EAAE,eAAe;IAI3B,MAAM,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;CAKpC"}
@@ -7,7 +7,7 @@ class BiomeTimezone {
7
7
  }
8
8
  async getAll() {
9
9
  const response = await this.http.get("/timezones");
10
- return response.timezones || [];
10
+ return response.payload?.timezones || [];
11
11
  }
12
12
  }
13
13
  exports.BiomeTimezone = BiomeTimezone;
@@ -1 +1 @@
1
- {"version":3,"file":"timezone.service.js","sourceRoot":"","sources":["../../src/timezone/timezone.service.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;IAGxB,YAAY,IAAqB;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,MAAM;QACV,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAClC,YAAY,CACb,CAAC;QACF,OAAO,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC;IAClC,CAAC;CACF;AAbD,sCAaC"}
1
+ {"version":3,"file":"timezone.service.js","sourceRoot":"","sources":["../../src/timezone/timezone.service.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;IAGxB,YAAY,IAAqB;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,MAAM;QACV,MAAM,QAAQ,GACZ,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAyC,YAAY,CAAC,CAAC;QAC5E,OAAO,QAAQ,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IAC3C,CAAC;CACF;AAZD,sCAYC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nekutima/biome-sdk",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Pure TypeScript SDK for Biome platform integration - authentication, task management, and blockchain interactions",
5
5
  "readme": "README.md",
6
6
  "main": "dist/index.js",