@microsoft/msgraph-sdk-places 1.0.0-preview.13 → 1.0.0-preview.14

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.
Files changed (40) hide show
  1. package/package.json +3 -3
  2. package/places/count/index.d.ts +7 -6
  3. package/places/count/index.d.ts.map +1 -1
  4. package/places/count/index.js +7 -7
  5. package/places/graphRoom/count/index.d.ts +7 -6
  6. package/places/graphRoom/count/index.d.ts.map +1 -1
  7. package/places/graphRoom/count/index.js +7 -7
  8. package/places/graphRoom/index.d.ts +7 -6
  9. package/places/graphRoom/index.d.ts.map +1 -1
  10. package/places/graphRoom/index.js +7 -8
  11. package/places/graphRoomList/count/index.d.ts +7 -6
  12. package/places/graphRoomList/count/index.d.ts.map +1 -1
  13. package/places/graphRoomList/count/index.js +7 -7
  14. package/places/graphRoomList/index.d.ts +7 -6
  15. package/places/graphRoomList/index.d.ts.map +1 -1
  16. package/places/graphRoomList/index.js +7 -8
  17. package/places/index.d.ts +5 -5
  18. package/places/index.d.ts.map +1 -1
  19. package/places/index.js +5 -9
  20. package/places/item/graphRoom/index.d.ts +7 -6
  21. package/places/item/graphRoom/index.d.ts.map +1 -1
  22. package/places/item/graphRoom/index.js +7 -7
  23. package/places/item/graphRoomList/index.d.ts +7 -6
  24. package/places/item/graphRoomList/index.d.ts.map +1 -1
  25. package/places/item/graphRoomList/index.js +7 -8
  26. package/places/item/graphRoomList/rooms/count/index.d.ts +7 -6
  27. package/places/item/graphRoomList/rooms/count/index.d.ts.map +1 -1
  28. package/places/item/graphRoomList/rooms/count/index.js +7 -7
  29. package/places/item/graphRoomList/rooms/index.d.ts +11 -9
  30. package/places/item/graphRoomList/rooms/index.d.ts.map +1 -1
  31. package/places/item/graphRoomList/rooms/index.js +9 -11
  32. package/places/item/graphRoomList/rooms/item/index.d.ts +12 -9
  33. package/places/item/graphRoomList/rooms/item/index.d.ts.map +1 -1
  34. package/places/item/graphRoomList/rooms/item/index.js +11 -11
  35. package/places/item/index.d.ts +9 -7
  36. package/places/item/index.d.ts.map +1 -1
  37. package/places/item/index.js +9 -11
  38. package/placesServiceClient.d.ts.map +1 -1
  39. package/placesServiceClient.js +1 -2
  40. package/tsconfig.tsbuildinfo +1 -1
@@ -12,13 +12,14 @@ export interface GraphRoomListRequestBuilder extends BaseRequestBuilder<GraphRoo
12
12
  /**
13
13
  * Get the item of type microsoft.graph.place as microsoft.graph.roomList
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of RoomList
15
+ * @returns {Promise<RoomList>}
16
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
17
  */
17
18
  get(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): Promise<RoomList | undefined>;
18
19
  /**
19
20
  * Get the item of type microsoft.graph.place as microsoft.graph.roomList
20
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns a RequestInformation
22
+ * @returns {RequestInformation}
22
23
  */
23
24
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphRoomListRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
25
  }
@@ -35,6 +36,10 @@ export interface GraphRoomListRequestBuilderGetQueryParameters {
35
36
  */
36
37
  select?: string[];
37
38
  }
39
+ /**
40
+ * Uri template for the request builder.
41
+ */
42
+ export declare const GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}";
38
43
  /**
39
44
  * Metadata for all the navigation properties in the request builder.
40
45
  */
@@ -43,8 +48,4 @@ export declare const GraphRoomListRequestBuilderNavigationMetadata: Record<Exclu
43
48
  * Metadata for all the requests in the request builder.
44
49
  */
45
50
  export declare const GraphRoomListRequestBuilderRequestsMetadata: RequestsMetadata;
46
- /**
47
- * Uri template for the request builder.
48
- */
49
- export declare const GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}";
50
51
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAErG,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,wEAAwE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAErG,OAAO,EAA8E,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,wEAAwE,CAAC;AAQ5H;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphRoomListRequestBuilderUriTemplate = exports.GraphRoomListRequestBuilderRequestsMetadata = exports.GraphRoomListRequestBuilderNavigationMetadata = void 0;
3
+ exports.GraphRoomListRequestBuilderRequestsMetadata = exports.GraphRoomListRequestBuilderNavigationMetadata = exports.GraphRoomListRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const rooms_1 = require("./rooms/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -19,7 +23,6 @@ const GraphRoomListRequestBuilderGetQueryParametersMapper = {
19
23
  */
20
24
  exports.GraphRoomListRequestBuilderNavigationMetadata = {
21
25
  rooms: {
22
- uriTemplate: rooms_1.RoomsRequestBuilderUriTemplate,
23
26
  requestsMetadata: rooms_1.RoomsRequestBuilderRequestsMetadata,
24
27
  navigationMetadata: rooms_1.RoomsRequestBuilderNavigationMetadata,
25
28
  },
@@ -29,19 +32,15 @@ exports.GraphRoomListRequestBuilderNavigationMetadata = {
29
32
  */
30
33
  exports.GraphRoomListRequestBuilderRequestsMetadata = {
31
34
  get: {
35
+ uriTemplate: exports.GraphRoomListRequestBuilderUriTemplate,
32
36
  responseBodyContentType: "application/json",
33
37
  errorMappings: {
34
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
38
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
39
  },
37
40
  adapterMethodName: "sendAsync",
38
41
  responseBodyFactory: models_1.createRoomListFromDiscriminatorValue,
39
42
  queryParametersMapper: GraphRoomListRequestBuilderGetQueryParametersMapper,
40
43
  },
41
44
  };
42
- /**
43
- * Uri template for the request builder.
44
- */
45
- exports.GraphRoomListRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList{?%24expand,%24select}";
46
45
  /* tslint:enable */
47
46
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WA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ACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,qFAAqF,CAAC;AAQjI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,33 +13,35 @@ export interface RoomsRequestBuilder extends BaseRequestBuilder<RoomsRequestBuil
13
13
  /**
14
14
  * Provides operations to manage the rooms property of the microsoft.graph.roomList entity.
15
15
  * @param roomId The unique identifier of room
16
- * @returns a RoomItemRequestBuilder
16
+ * @returns {RoomItemRequestBuilder}
17
17
  */
18
18
  byRoomId(roomId: string): RoomItemRequestBuilder;
19
19
  /**
20
20
  * Get rooms from places
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of RoomCollectionResponse
22
+ * @returns {Promise<RoomCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<RoomsRequestBuilderGetQueryParameters> | undefined): Promise<RoomCollectionResponse | undefined>;
25
26
  /**
26
27
  * Create new navigation property to rooms for places
27
28
  * @param body The request body
28
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a Promise of Room
30
+ * @returns {Promise<Room>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
32
  */
31
33
  post(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Room | undefined>;
32
34
  /**
33
35
  * Get rooms from places
34
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
36
38
  */
37
39
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoomsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
40
  /**
39
41
  * Create new navigation property to rooms for places
40
42
  * @param body The request body
41
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
43
45
  */
44
46
  toPostRequestInformation(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
47
  }
@@ -80,6 +82,10 @@ export interface RoomsRequestBuilderGetQueryParameters {
80
82
  */
81
83
  top?: number;
82
84
  }
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
83
89
  /**
84
90
  * Metadata for all the navigation properties in the request builder.
85
91
  */
@@ -88,8 +94,4 @@ export declare const RoomsRequestBuilderNavigationMetadata: Record<Exclude<keyof
88
94
  * Metadata for all the requests in the request builder.
89
95
  */
90
96
  export declare const RoomsRequestBuilderRequestsMetadata: RequestsMetadata;
91
- /**
92
- * Uri template for the request builder.
93
- */
94
- export declare const RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
95
97
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuG,KAAK,IAAI,EAAE,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7L,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,sBAAsB,CAAC;IACnD;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS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E,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,qIAAqI,CAAC;AAcjL;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RoomsRequestBuilderUriTemplate = exports.RoomsRequestBuilderRequestsMetadata = exports.RoomsRequestBuilderNavigationMetadata = void 0;
3
+ exports.RoomsRequestBuilderRequestsMetadata = exports.RoomsRequestBuilderNavigationMetadata = exports.RoomsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const RoomsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.RoomsRequestBuilderNavigationMetadata = {
28
32
  byRoomId: {
29
- uriTemplate: item_1.RoomItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.RoomItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["room%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.RoomsRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.RoomsRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.RoomsRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createRoomCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: RoomsRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.RoomsRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.RoomsRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.RoomsRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,38 +7,41 @@ export interface RoomItemRequestBuilder extends BaseRequestBuilder<RoomItemReque
7
7
  /**
8
8
  * Delete navigation property rooms for places
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Get rooms from places
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of Room
16
+ * @returns {Promise<Room>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  */
17
19
  get(requestConfiguration?: RequestConfiguration<RoomItemRequestBuilderGetQueryParameters> | undefined): Promise<Room | undefined>;
18
20
  /**
19
21
  * Update the navigation property rooms in places
20
22
  * @param body The request body
21
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of Room
24
+ * @returns {Promise<Room>}
25
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
26
  */
24
27
  patch(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Room | undefined>;
25
28
  /**
26
29
  * Delete navigation property rooms for places
27
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a RequestInformation
31
+ * @returns {RequestInformation}
29
32
  */
30
33
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
34
  /**
32
35
  * Get rooms from places
33
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
35
38
  */
36
39
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoomItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
40
  /**
38
41
  * Update the navigation property rooms in places
39
42
  * @param body The request body
40
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
42
45
  */
43
46
  toPatchRequestInformation(body: Room, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
47
  }
@@ -55,12 +58,12 @@ export interface RoomItemRequestBuilderGetQueryParameters {
55
58
  */
56
59
  select?: string[];
57
60
  }
58
- /**
59
- * Metadata for all the requests in the request builder.
60
- */
61
- export declare const RoomItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
61
  /**
63
62
  * Uri template for the request builder.
64
63
  */
65
64
  export declare const RoomItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}{?%24expand,%24select}";
65
+ /**
66
+ * Metadata for all the requests in the request builder.
67
+ */
68
+ export declare const RoomItemRequestBuilderRequestsMetadata: RequestsMetadata;
66
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmD,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE5G,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC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AO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IAChH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,0FAA0F,CAAC;AAQzI;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBA+BpD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RoomItemRequestBuilderUriTemplate = exports.RoomItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.RoomItemRequestBuilderRequestsMetadata = exports.RoomItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.RoomItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const RoomItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.RoomItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.RoomItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.RoomItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
36
40
  queryParametersMapper: RoomItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.RoomItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createRoomFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.RoomItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.RoomItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}/graph.roomList/rooms/{room%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -17,30 +17,36 @@ export interface PlaceItemRequestBuilder extends BaseRequestBuilder<PlaceItemReq
17
17
  /**
18
18
  * Delete entity from places
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
20
21
  */
21
22
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
22
23
  /**
23
24
  * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property.
24
25
  * @param body The request body
25
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
- * @returns a Promise of Place
27
+ * @returns {Promise<Place>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
27
29
  * @see {@link https://learn.microsoft.com/graph/api/place-update?view=graph-rest-1.0|Find more info here}
28
30
  */
29
31
  patch(body: Place, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Place | undefined>;
30
32
  /**
31
33
  * Delete entity from places
32
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
- * @returns a RequestInformation
35
+ * @returns {RequestInformation}
34
36
  */
35
37
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
38
  /**
37
39
  * Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property.
38
40
  * @param body The request body
39
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a RequestInformation
42
+ * @returns {RequestInformation}
41
43
  */
42
44
  toPatchRequestInformation(body: Place, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
45
  }
46
+ /**
47
+ * Uri template for the request builder.
48
+ */
49
+ export declare const PlaceItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}";
44
50
  /**
45
51
  * Metadata for all the navigation properties in the request builder.
46
52
  */
@@ -49,8 +55,4 @@ export declare const PlaceItemRequestBuilderNavigationMetadata: Record<Exclude<k
49
55
  * Metadata for all the requests in the request builder.
50
56
  */
51
57
  export declare const PlaceItemRequestBuilderRequestsMetadata: RequestsMetadata;
52
- /**
53
- * Uri template for the request builder.
54
- */
55
- export declare const PlaceItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}";
56
58
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqD,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAE/G,OAAO,EAA+E,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACzI,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACxM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CA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AI,2BAA2B,CAAC;IACjD;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,KAAK,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjI;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,mCAAmC,CAAC;AACnF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAqBrD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlaceItemRequestBuilderUriTemplate = exports.PlaceItemRequestBuilderRequestsMetadata = exports.PlaceItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.PlaceItemRequestBuilderRequestsMetadata = exports.PlaceItemRequestBuilderNavigationMetadata = exports.PlaceItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,16 +8,18 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const graphRoom_1 = require("./graphRoom/");
10
10
  const graphRoomList_1 = require("./graphRoomList/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.PlaceItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}";
11
15
  /**
12
16
  * Metadata for all the navigation properties in the request builder.
13
17
  */
14
18
  exports.PlaceItemRequestBuilderNavigationMetadata = {
15
19
  graphRoom: {
16
- uriTemplate: graphRoom_1.GraphRoomRequestBuilderUriTemplate,
17
20
  requestsMetadata: graphRoom_1.GraphRoomRequestBuilderRequestsMetadata,
18
21
  },
19
22
  graphRoomList: {
20
- uriTemplate: graphRoomList_1.GraphRoomListRequestBuilderUriTemplate,
21
23
  requestsMetadata: graphRoomList_1.GraphRoomListRequestBuilderRequestsMetadata,
22
24
  navigationMetadata: graphRoomList_1.GraphRoomListRequestBuilderNavigationMetadata,
23
25
  },
@@ -27,18 +29,18 @@ exports.PlaceItemRequestBuilderNavigationMetadata = {
27
29
  */
28
30
  exports.PlaceItemRequestBuilderRequestsMetadata = {
29
31
  delete: {
32
+ uriTemplate: exports.PlaceItemRequestBuilderUriTemplate,
30
33
  responseBodyContentType: "application/json",
31
34
  errorMappings: {
32
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
36
  },
35
37
  adapterMethodName: "sendNoResponseContentAsync",
36
38
  },
37
39
  patch: {
40
+ uriTemplate: exports.PlaceItemRequestBuilderUriTemplate,
38
41
  responseBodyContentType: "application/json",
39
42
  errorMappings: {
40
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
44
  },
43
45
  adapterMethodName: "sendAsync",
44
46
  responseBodyFactory: models_1.createPlaceFromDiscriminatorValue,
@@ -47,9 +49,5 @@ exports.PlaceItemRequestBuilderRequestsMetadata = {
47
49
  requestInformationContentSetMethod: "setContentFromParsable",
48
50
  },
49
51
  };
50
- /**
51
- * Uri template for the request builder.
52
- */
53
- exports.PlaceItemRequestBuilderUriTemplate = "{+baseurl}/places/{place%2Did}";
54
52
  /* tslint:enable */
55
53
  /* eslint-enable */
@@ -1 +1 @@
1
- {"version":3,"file":"placesServiceClient.d.ts","sourceRoot":"","sources":["placesServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2E,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC/H,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,cAAc,EAAE,cAAc,uBAevE;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;CACtC;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,eAAe,CAAC"}
1
+ {"version":3,"file":"placesServiceClient.d.ts","sourceRoot":"","sources":["placesServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0C,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,cAAc,EAAE,cAAc,uBAevE;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;CACtC;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,eAAe,CAAC"}
@@ -28,7 +28,7 @@ function createPlacesServiceClient(requestAdapter) {
28
28
  const pathParameters = {
29
29
  "baseurl": requestAdapter.baseUrl,
30
30
  };
31
- return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.PlacesServiceClientUriTemplate, exports.PlacesServiceClientNavigationMetadata, undefined);
31
+ return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.PlacesServiceClientNavigationMetadata, undefined);
32
32
  }
33
33
  exports.createPlacesServiceClient = createPlacesServiceClient;
34
34
  /**
@@ -36,7 +36,6 @@ exports.createPlacesServiceClient = createPlacesServiceClient;
36
36
  */
37
37
  exports.PlacesServiceClientNavigationMetadata = {
38
38
  places: {
39
- uriTemplate: places_1.PlacesRequestBuilderUriTemplate,
40
39
  navigationMetadata: places_1.PlacesRequestBuilderNavigationMetadata,
41
40
  },
42
41
  };