@microsoft/msgraph-sdk-solutions 1.0.0-preview.10

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 (191) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/solutions/bookingBusinesses/count/index.d.ts +40 -0
  8. package/solutions/bookingBusinesses/count/index.d.ts.map +1 -0
  9. package/solutions/bookingBusinesses/count/index.js +35 -0
  10. package/solutions/bookingBusinesses/index.d.ts +97 -0
  11. package/solutions/bookingBusinesses/index.d.ts.map +1 -0
  12. package/solutions/bookingBusinesses/index.js +71 -0
  13. package/solutions/bookingBusinesses/item/appointments/count/index.d.ts +40 -0
  14. package/solutions/bookingBusinesses/item/appointments/count/index.d.ts.map +1 -0
  15. package/solutions/bookingBusinesses/item/appointments/count/index.js +35 -0
  16. package/solutions/bookingBusinesses/item/appointments/index.d.ts +97 -0
  17. package/solutions/bookingBusinesses/item/appointments/index.d.ts.map +1 -0
  18. package/solutions/bookingBusinesses/item/appointments/index.js +71 -0
  19. package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts +59 -0
  20. package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts.map +1 -0
  21. package/solutions/bookingBusinesses/item/appointments/item/cancel/index.js +58 -0
  22. package/solutions/bookingBusinesses/item/appointments/item/index.d.ts +78 -0
  23. package/solutions/bookingBusinesses/item/appointments/item/index.d.ts.map +1 -0
  24. package/solutions/bookingBusinesses/item/appointments/item/index.js +66 -0
  25. package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts +40 -0
  26. package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts.map +1 -0
  27. package/solutions/bookingBusinesses/item/calendarView/count/index.js +35 -0
  28. package/solutions/bookingBusinesses/item/calendarView/index.d.ts +104 -0
  29. package/solutions/bookingBusinesses/item/calendarView/index.d.ts.map +1 -0
  30. package/solutions/bookingBusinesses/item/calendarView/index.js +71 -0
  31. package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts +59 -0
  32. package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts.map +1 -0
  33. package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.js +58 -0
  34. package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts +83 -0
  35. package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts.map +1 -0
  36. package/solutions/bookingBusinesses/item/calendarView/item/index.js +66 -0
  37. package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts +40 -0
  38. package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts.map +1 -0
  39. package/solutions/bookingBusinesses/item/customQuestions/count/index.js +35 -0
  40. package/solutions/bookingBusinesses/item/customQuestions/index.d.ts +97 -0
  41. package/solutions/bookingBusinesses/item/customQuestions/index.d.ts.map +1 -0
  42. package/solutions/bookingBusinesses/item/customQuestions/index.js +70 -0
  43. package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts +69 -0
  44. package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts.map +1 -0
  45. package/solutions/bookingBusinesses/item/customQuestions/item/index.js +56 -0
  46. package/solutions/bookingBusinesses/item/customers/count/index.d.ts +40 -0
  47. package/solutions/bookingBusinesses/item/customers/count/index.d.ts.map +1 -0
  48. package/solutions/bookingBusinesses/item/customers/count/index.js +35 -0
  49. package/solutions/bookingBusinesses/item/customers/index.d.ts +97 -0
  50. package/solutions/bookingBusinesses/item/customers/index.d.ts.map +1 -0
  51. package/solutions/bookingBusinesses/item/customers/index.js +70 -0
  52. package/solutions/bookingBusinesses/item/customers/item/index.d.ts +69 -0
  53. package/solutions/bookingBusinesses/item/customers/item/index.d.ts.map +1 -0
  54. package/solutions/bookingBusinesses/item/customers/item/index.js +56 -0
  55. package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts +91 -0
  56. package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts.map +1 -0
  57. package/solutions/bookingBusinesses/item/getStaffAvailability/index.js +90 -0
  58. package/solutions/bookingBusinesses/item/index.d.ts +118 -0
  59. package/solutions/bookingBusinesses/item/index.d.ts.map +1 -0
  60. package/solutions/bookingBusinesses/item/index.js +112 -0
  61. package/solutions/bookingBusinesses/item/publish/index.d.ts +27 -0
  62. package/solutions/bookingBusinesses/item/publish/index.d.ts.map +1 -0
  63. package/solutions/bookingBusinesses/item/publish/index.js +26 -0
  64. package/solutions/bookingBusinesses/item/services/count/index.d.ts +40 -0
  65. package/solutions/bookingBusinesses/item/services/count/index.d.ts.map +1 -0
  66. package/solutions/bookingBusinesses/item/services/count/index.js +35 -0
  67. package/solutions/bookingBusinesses/item/services/index.d.ts +97 -0
  68. package/solutions/bookingBusinesses/item/services/index.d.ts.map +1 -0
  69. package/solutions/bookingBusinesses/item/services/index.js +70 -0
  70. package/solutions/bookingBusinesses/item/services/item/index.d.ts +69 -0
  71. package/solutions/bookingBusinesses/item/services/item/index.d.ts.map +1 -0
  72. package/solutions/bookingBusinesses/item/services/item/index.js +56 -0
  73. package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts +40 -0
  74. package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts.map +1 -0
  75. package/solutions/bookingBusinesses/item/staffMembers/count/index.js +35 -0
  76. package/solutions/bookingBusinesses/item/staffMembers/index.d.ts +97 -0
  77. package/solutions/bookingBusinesses/item/staffMembers/index.d.ts.map +1 -0
  78. package/solutions/bookingBusinesses/item/staffMembers/index.js +70 -0
  79. package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts +69 -0
  80. package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts.map +1 -0
  81. package/solutions/bookingBusinesses/item/staffMembers/item/index.js +56 -0
  82. package/solutions/bookingBusinesses/item/unpublish/index.d.ts +27 -0
  83. package/solutions/bookingBusinesses/item/unpublish/index.d.ts.map +1 -0
  84. package/solutions/bookingBusinesses/item/unpublish/index.js +26 -0
  85. package/solutions/bookingCurrencies/count/index.d.ts +40 -0
  86. package/solutions/bookingCurrencies/count/index.d.ts.map +1 -0
  87. package/solutions/bookingCurrencies/count/index.js +35 -0
  88. package/solutions/bookingCurrencies/index.d.ts +96 -0
  89. package/solutions/bookingCurrencies/index.d.ts.map +1 -0
  90. package/solutions/bookingCurrencies/index.js +70 -0
  91. package/solutions/bookingCurrencies/item/index.d.ts +67 -0
  92. package/solutions/bookingCurrencies/item/index.d.ts.map +1 -0
  93. package/solutions/bookingCurrencies/item/index.js +56 -0
  94. package/solutions/index.d.ts +74 -0
  95. package/solutions/index.d.ts.map +1 -0
  96. package/solutions/index.js +71 -0
  97. package/solutions/virtualEvents/events/count/index.d.ts +40 -0
  98. package/solutions/virtualEvents/events/count/index.d.ts.map +1 -0
  99. package/solutions/virtualEvents/events/count/index.js +35 -0
  100. package/solutions/virtualEvents/events/index.d.ts +95 -0
  101. package/solutions/virtualEvents/events/index.d.ts.map +1 -0
  102. package/solutions/virtualEvents/events/index.js +71 -0
  103. package/solutions/virtualEvents/events/item/index.d.ts +75 -0
  104. package/solutions/virtualEvents/events/item/index.d.ts.map +1 -0
  105. package/solutions/virtualEvents/events/item/index.js +67 -0
  106. package/solutions/virtualEvents/events/item/sessions/count/index.d.ts +40 -0
  107. package/solutions/virtualEvents/events/item/sessions/count/index.d.ts.map +1 -0
  108. package/solutions/virtualEvents/events/item/sessions/count/index.js +35 -0
  109. package/solutions/virtualEvents/events/item/sessions/index.d.ts +95 -0
  110. package/solutions/virtualEvents/events/item/sessions/index.d.ts.map +1 -0
  111. package/solutions/virtualEvents/events/item/sessions/index.js +71 -0
  112. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts +40 -0
  113. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -0
  114. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.js +35 -0
  115. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts +95 -0
  116. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts.map +1 -0
  117. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.js +71 -0
  118. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
  119. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
  120. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
  121. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
  122. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
  123. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +70 -0
  124. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
  125. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
  126. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
  127. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts +75 -0
  128. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -0
  129. package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.js +67 -0
  130. package/solutions/virtualEvents/events/item/sessions/item/index.d.ts +75 -0
  131. package/solutions/virtualEvents/events/item/sessions/item/index.d.ts.map +1 -0
  132. package/solutions/virtualEvents/events/item/sessions/item/index.js +67 -0
  133. package/solutions/virtualEvents/index.d.ts +80 -0
  134. package/solutions/virtualEvents/index.d.ts.map +1 -0
  135. package/solutions/virtualEvents/index.js +73 -0
  136. package/solutions/virtualEvents/webinars/count/index.d.ts +40 -0
  137. package/solutions/virtualEvents/webinars/count/index.d.ts.map +1 -0
  138. package/solutions/virtualEvents/webinars/count/index.js +35 -0
  139. package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts +83 -0
  140. package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts.map +1 -0
  141. package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.js +67 -0
  142. package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts +83 -0
  143. package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts.map +1 -0
  144. package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.js +67 -0
  145. package/solutions/virtualEvents/webinars/index.d.ts +111 -0
  146. package/solutions/virtualEvents/webinars/index.d.ts.map +1 -0
  147. package/solutions/virtualEvents/webinars/index.js +81 -0
  148. package/solutions/virtualEvents/webinars/item/index.d.ts +80 -0
  149. package/solutions/virtualEvents/webinars/item/index.d.ts.map +1 -0
  150. package/solutions/virtualEvents/webinars/item/index.js +73 -0
  151. package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts +40 -0
  152. package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts.map +1 -0
  153. package/solutions/virtualEvents/webinars/item/registrations/count/index.js +35 -0
  154. package/solutions/virtualEvents/webinars/item/registrations/index.d.ts +96 -0
  155. package/solutions/virtualEvents/webinars/item/registrations/index.d.ts.map +1 -0
  156. package/solutions/virtualEvents/webinars/item/registrations/index.js +70 -0
  157. package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts +67 -0
  158. package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts.map +1 -0
  159. package/solutions/virtualEvents/webinars/item/registrations/item/index.js +56 -0
  160. package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts +40 -0
  161. package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts.map +1 -0
  162. package/solutions/virtualEvents/webinars/item/sessions/count/index.js +35 -0
  163. package/solutions/virtualEvents/webinars/item/sessions/index.d.ts +95 -0
  164. package/solutions/virtualEvents/webinars/item/sessions/index.d.ts.map +1 -0
  165. package/solutions/virtualEvents/webinars/item/sessions/index.js +71 -0
  166. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts +40 -0
  167. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -0
  168. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.js +35 -0
  169. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts +95 -0
  170. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts.map +1 -0
  171. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.js +71 -0
  172. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
  173. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
  174. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
  175. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
  176. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
  177. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +70 -0
  178. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
  179. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
  180. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
  181. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts +75 -0
  182. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -0
  183. package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.js +67 -0
  184. package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts +75 -0
  185. package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts.map +1 -0
  186. package/solutions/virtualEvents/webinars/item/sessions/item/index.js +67 -0
  187. package/solutionsServiceClient.d.ts +25 -0
  188. package/solutionsServiceClient.d.ts.map +1 -0
  189. package/solutionsServiceClient.js +49 -0
  190. package/tsconfig.json +15 -0
  191. package/tsconfig.tsbuildinfo +1 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Microsoft Graph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@microsoft/msgraph-sdk-solutions`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const msgraphSdkJavascriptSolutions = require('@microsoft/msgraph-sdk-solutions');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { SolutionsRequestBuilder } from "./solutions";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the solutions singleton.
6
+ */
7
+ get solutions(): SolutionsRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./solutionsServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAG3D,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;KAC1C;CACF;AAED,cAAc,0BAA0B,CAAC"}
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
18
+ const solutionsServiceClient_1 = require("./solutionsServiceClient");
19
+ (0, msgraph_sdk_1.extendGraphServiceClient)(solutionsServiceClient_1.SolutionsServiceClientNavigationMetadata);
20
+ __exportStar(require("./solutionsServiceClient"), exports);
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@microsoft/msgraph-sdk-solutions",
3
+ "version": "1.0.0-preview.10",
4
+ "description": "Solutions fluent API for Microsoft Graph",
5
+ "keywords": [
6
+ "Microsoft",
7
+ "Graph",
8
+ "msgraph",
9
+ "API",
10
+ "SDK",
11
+ "solutions"
12
+ ],
13
+ "author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
14
+ "license": "MIT",
15
+ "main": "index.js",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
22
+ },
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "lint": "eslint . --ext .ts",
26
+ "lint:fix": "eslint . --ext .ts --fix",
27
+ "clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
31
+ },
32
+ "homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
33
+ "types": "index.d.ts",
34
+ "dependencies": {
35
+ "@microsoft/kiota-abstractions": "^1.0.0-preview.38",
36
+ "@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
37
+ "@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
38
+ "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
39
+ "@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.10",
41
+ "guid-typescript": "^1.0.9",
42
+ "tslib": "^2.6.2"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.3.3"
46
+ },
47
+ "gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
48
+ }
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,wEAAwE,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type BookingBusiness, type BookingBusinessCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BookingBusinessItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.
7
+ */
8
+ export interface BookingBusinessesRequestBuilder extends BaseRequestBuilder<BookingBusinessesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.
15
+ * @param bookingBusinessId The unique identifier of bookingBusiness
16
+ * @returns a BookingBusinessItemRequestBuilder
17
+ */
18
+ byBookingBusinessId(bookingBusinessId: string): BookingBusinessItemRequestBuilder;
19
+ /**
20
+ * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of BookingBusinessCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<BookingBusinessesRequestBuilderGetQueryParameters> | undefined): Promise<BookingBusinessCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of BookingBusiness
31
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-bookingbusinesses?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingBusiness | undefined>;
34
+ /**
35
+ * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingBusinessesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.
50
+ */
51
+ export interface BookingBusinessesRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const BookingBusinessesRequestBuilderNavigationMetadata: Record<Exclude<keyof BookingBusinessesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const BookingBusinessesRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwI,KAAK,eAAe,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEpP,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAwJ,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACvN,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACrI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,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,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAW5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,wHAAwH,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingBusinessesRequestBuilderUriTemplate = exports.BookingBusinessesRequestBuilderRequestsMetadata = exports.BookingBusinessesRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const BookingBusinessesRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.BookingBusinessesRequestBuilderNavigationMetadata = {
28
+ byBookingBusinessId: {
29
+ uriTemplate: item_1.BookingBusinessItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.BookingBusinessItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.BookingBusinessItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["bookingBusiness%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.BookingBusinessesRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createBookingBusinessCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: BookingBusinessesRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createBookingBusinessFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeBookingBusiness,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAA4G,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type BookingAppointment, type BookingAppointmentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BookingAppointmentItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity.
7
+ */
8
+ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<AppointmentsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity.
15
+ * @param bookingAppointmentId The unique identifier of bookingAppointment
16
+ * @returns a BookingAppointmentItemRequestBuilder
17
+ */
18
+ byBookingAppointmentId(bookingAppointmentId: string): BookingAppointmentItemRequestBuilder;
19
+ /**
20
+ * Get a list of bookingAppointment objects for the specified bookingBusiness.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of BookingAppointmentCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointmentCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new bookingAppointment for the specified bookingBusiness.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of BookingAppointment
31
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>;
34
+ /**
35
+ * Get a list of bookingAppointment objects for the specified bookingBusiness.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new bookingAppointment for the specified bookingBusiness.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of bookingAppointment objects for the specified bookingBusiness.
50
+ */
51
+ export interface AppointmentsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const AppointmentsRequestBuilderNavigationMetadata: Record<Exclude<keyof AppointmentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const AppointmentsRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAEnQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiK,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AACnO,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,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,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,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,4JAA4J,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppointmentsRequestBuilderUriTemplate = exports.AppointmentsRequestBuilderRequestsMetadata = exports.AppointmentsRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const AppointmentsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.AppointmentsRequestBuilderNavigationMetadata = {
28
+ byBookingAppointmentId: {
29
+ uriTemplate: item_1.BookingAppointmentItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.BookingAppointmentItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.BookingAppointmentItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["bookingAppointment%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.AppointmentsRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createBookingAppointmentCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: AppointmentsRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeBookingAppointment,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */