@juhuu/sdk-ts 1.2.59 → 1.2.61

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/dist/index.d.mts CHANGED
@@ -560,7 +560,7 @@ declare class SessionService extends Service {
560
560
  search(SessionSearchParams: JUHUU.Session.Search.Params, SessionSearchOptions?: JUHUU.Session.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Search.Response>>;
561
561
  update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
562
562
  terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
563
- attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
563
+ attachLocation(SessionAttachLocationParams: JUHUU.Session.AttachLocation.Params, SessionLocationOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
564
564
  attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
565
565
  detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
566
566
  }
@@ -1516,7 +1516,7 @@ declare namespace JUHUU {
1516
1516
  export interface AiChatMessage extends Base {
1517
1517
  type: "ai";
1518
1518
  articleEmbeddingArray: JUHUU.ArticleEmbedding.Object[];
1519
- starRating: 1 | 2 | 3 | 4 | 5 | null;
1519
+ rating: "good" | "bad" | null;
1520
1520
  feedbackText: string | null;
1521
1521
  contradictionDetection: {
1522
1522
  status: "neutral" | "contradiction" | "entailment";
@@ -1742,8 +1742,6 @@ declare namespace JUHUU {
1742
1742
  iconLight: string | null;
1743
1743
  iconDark: string | null;
1744
1744
  version: number;
1745
- deviceIconLight: string | null;
1746
- deviceIconDark: string | null;
1747
1745
  colorScheme: ColorScheme;
1748
1746
  contactUrl: string | null;
1749
1747
  };
@@ -2024,10 +2022,8 @@ declare namespace JUHUU {
2024
2022
  readonly object: "location";
2025
2023
  logoLight: string | null;
2026
2024
  logoDark: string | null;
2027
- location: GeoPoint;
2028
- altitudeRange: [number, number];
2029
- invalidAt: Date;
2030
- utilization: Utilization | null;
2025
+ location: GeoPoint | null;
2026
+ invalidAt: Date | null;
2031
2027
  purposeArray: Purpose[];
2032
2028
  circumstanceArray: Circumstance[];
2033
2029
  propertyId: string;
@@ -2037,9 +2033,10 @@ declare namespace JUHUU {
2037
2033
  reservationOfferArray: Offer[];
2038
2034
  iconLight: string | null;
2039
2035
  iconDark: string | null;
2040
- address: Address;
2041
- termId: string;
2042
- timeZone: TimeZone;
2036
+ address: Address | null;
2037
+ termId: string | null;
2038
+ timeZone: TimeZone | null;
2039
+ version: number;
2043
2040
  };
2044
2041
  export interface RentableDeviceGroup extends Base {
2045
2042
  type: "rentableDeviceGroup";
@@ -2279,7 +2276,7 @@ declare namespace JUHUU {
2279
2276
  version: number;
2280
2277
  deviceTemplateId: string;
2281
2278
  source: "fluctuo" | null;
2282
- location: GeoPoint;
2279
+ location: GeoPoint | null;
2283
2280
  fuel: {
2284
2281
  type: FuelType;
2285
2282
  level: number;
@@ -2461,7 +2458,7 @@ declare namespace JUHUU {
2461
2458
  type Object = {
2462
2459
  id: string;
2463
2460
  readonly object: "deviceTemplate";
2464
- productId: string;
2461
+ productId: string | null;
2465
2462
  name: string;
2466
2463
  propertyId: string;
2467
2464
  parameterArray: Parameter[];
package/dist/index.d.ts CHANGED
@@ -560,7 +560,7 @@ declare class SessionService extends Service {
560
560
  search(SessionSearchParams: JUHUU.Session.Search.Params, SessionSearchOptions?: JUHUU.Session.Search.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Search.Response>>;
561
561
  update(SessionUpdateParams: JUHUU.Session.Update.Params, SessionUpdateOptions?: JUHUU.Session.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Update.Response>>;
562
562
  terminate(SessionTerminateParams: JUHUU.Session.Terminate.Params, SessionTerminateOptions?: JUHUU.Session.Terminate.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.Terminate.Response>>;
563
- attachLocation(SessionTerminateParams: JUHUU.Session.AttachLocation.Params, SessionTerminateOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
563
+ attachLocation(SessionAttachLocationParams: JUHUU.Session.AttachLocation.Params, SessionLocationOptions?: JUHUU.Session.AttachLocation.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachLocation.Response>>;
564
564
  attachUser(SessionAttachUserParams: JUHUU.Session.AttachUser.Params, SessionAttachUserOptions?: JUHUU.Session.AttachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.AttachUser.Response>>;
565
565
  detachUser(SessionDetachUserParams: JUHUU.Session.DetachUser.Params, SessionDetachUserOptions?: JUHUU.Session.DetachUser.Options): Promise<JUHUU.HttpResponse<JUHUU.Session.DetachUser.Response>>;
566
566
  }
@@ -1516,7 +1516,7 @@ declare namespace JUHUU {
1516
1516
  export interface AiChatMessage extends Base {
1517
1517
  type: "ai";
1518
1518
  articleEmbeddingArray: JUHUU.ArticleEmbedding.Object[];
1519
- starRating: 1 | 2 | 3 | 4 | 5 | null;
1519
+ rating: "good" | "bad" | null;
1520
1520
  feedbackText: string | null;
1521
1521
  contradictionDetection: {
1522
1522
  status: "neutral" | "contradiction" | "entailment";
@@ -1742,8 +1742,6 @@ declare namespace JUHUU {
1742
1742
  iconLight: string | null;
1743
1743
  iconDark: string | null;
1744
1744
  version: number;
1745
- deviceIconLight: string | null;
1746
- deviceIconDark: string | null;
1747
1745
  colorScheme: ColorScheme;
1748
1746
  contactUrl: string | null;
1749
1747
  };
@@ -2024,10 +2022,8 @@ declare namespace JUHUU {
2024
2022
  readonly object: "location";
2025
2023
  logoLight: string | null;
2026
2024
  logoDark: string | null;
2027
- location: GeoPoint;
2028
- altitudeRange: [number, number];
2029
- invalidAt: Date;
2030
- utilization: Utilization | null;
2025
+ location: GeoPoint | null;
2026
+ invalidAt: Date | null;
2031
2027
  purposeArray: Purpose[];
2032
2028
  circumstanceArray: Circumstance[];
2033
2029
  propertyId: string;
@@ -2037,9 +2033,10 @@ declare namespace JUHUU {
2037
2033
  reservationOfferArray: Offer[];
2038
2034
  iconLight: string | null;
2039
2035
  iconDark: string | null;
2040
- address: Address;
2041
- termId: string;
2042
- timeZone: TimeZone;
2036
+ address: Address | null;
2037
+ termId: string | null;
2038
+ timeZone: TimeZone | null;
2039
+ version: number;
2043
2040
  };
2044
2041
  export interface RentableDeviceGroup extends Base {
2045
2042
  type: "rentableDeviceGroup";
@@ -2279,7 +2276,7 @@ declare namespace JUHUU {
2279
2276
  version: number;
2280
2277
  deviceTemplateId: string;
2281
2278
  source: "fluctuo" | null;
2282
- location: GeoPoint;
2279
+ location: GeoPoint | null;
2283
2280
  fuel: {
2284
2281
  type: FuelType;
2285
2282
  level: number;
@@ -2461,7 +2458,7 @@ declare namespace JUHUU {
2461
2458
  type Object = {
2462
2459
  id: string;
2463
2460
  readonly object: "deviceTemplate";
2464
- productId: string;
2461
+ productId: string | null;
2465
2462
  name: string;
2466
2463
  propertyId: string;
2467
2464
  parameterArray: Parameter[];
package/dist/index.js CHANGED
@@ -403,17 +403,17 @@ var SessionService = class extends Service {
403
403
  SessionTerminateOptions
404
404
  );
405
405
  }
406
- async attachLocation(SessionTerminateParams, SessionTerminateOptions) {
406
+ async attachLocation(SessionAttachLocationParams, SessionLocationOptions) {
407
407
  return await super.sendRequest(
408
408
  {
409
- method: "PATCH",
410
- url: "sessions/" + SessionTerminateParams.sessionId + "/attachLocation",
409
+ method: "POST",
410
+ url: "sessions/" + SessionAttachLocationParams.sessionId + "/location",
411
411
  body: {
412
- locationId: SessionTerminateParams.locationId
412
+ locationId: SessionAttachLocationParams.locationId
413
413
  },
414
414
  authenticationNotOptional: true
415
415
  },
416
- SessionTerminateOptions
416
+ SessionLocationOptions
417
417
  );
418
418
  }
419
419
  async attachUser(SessionAttachUserParams, SessionAttachUserOptions) {
package/dist/index.mjs CHANGED
@@ -359,17 +359,17 @@ var SessionService = class extends Service {
359
359
  SessionTerminateOptions
360
360
  );
361
361
  }
362
- async attachLocation(SessionTerminateParams, SessionTerminateOptions) {
362
+ async attachLocation(SessionAttachLocationParams, SessionLocationOptions) {
363
363
  return await super.sendRequest(
364
364
  {
365
- method: "PATCH",
366
- url: "sessions/" + SessionTerminateParams.sessionId + "/attachLocation",
365
+ method: "POST",
366
+ url: "sessions/" + SessionAttachLocationParams.sessionId + "/location",
367
367
  body: {
368
- locationId: SessionTerminateParams.locationId
368
+ locationId: SessionAttachLocationParams.locationId
369
369
  },
370
370
  authenticationNotOptional: true
371
371
  },
372
- SessionTerminateOptions
372
+ SessionLocationOptions
373
373
  );
374
374
  }
375
375
  async attachUser(SessionAttachUserParams, SessionAttachUserOptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.59",
3
+ "version": "1.2.61",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",