@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
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CancelRequestBuilderUriTemplate = exports.CancelRequestBuilderRequestsMetadata = exports.serializeCancelPostRequestBody = exports.deserializeIntoCancelPostRequestBody = exports.createCancelPostRequestBodyFromDiscriminatorValue = 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
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns a cancelPostRequestBody
12
+ */
13
+ function createCancelPostRequestBodyFromDiscriminatorValue(parseNode) {
14
+ return deserializeIntoCancelPostRequestBody;
15
+ }
16
+ exports.createCancelPostRequestBodyFromDiscriminatorValue = createCancelPostRequestBodyFromDiscriminatorValue;
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @returns a Record<string, (node: ParseNode) => void>
20
+ */
21
+ function deserializeIntoCancelPostRequestBody(cancelPostRequestBody = {}) {
22
+ return {
23
+ "backingStoreEnabled": n => { cancelPostRequestBody.backingStoreEnabled = true; },
24
+ "cancellationMessage": n => { cancelPostRequestBody.cancellationMessage = n.getStringValue(); },
25
+ };
26
+ }
27
+ exports.deserializeIntoCancelPostRequestBody = deserializeIntoCancelPostRequestBody;
28
+ /**
29
+ * Serializes information the current object
30
+ * @param writer Serialization writer to use to serialize this model
31
+ */
32
+ function serializeCancelPostRequestBody(writer, cancelPostRequestBody = {}) {
33
+ writer.writeStringValue("cancellationMessage", cancelPostRequestBody.cancellationMessage);
34
+ writer.writeAdditionalData(cancelPostRequestBody.additionalData);
35
+ }
36
+ exports.serializeCancelPostRequestBody = serializeCancelPostRequestBody;
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ exports.CancelRequestBuilderRequestsMetadata = {
41
+ post: {
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "sendNoResponseContentAsync",
48
+ requestBodyContentType: "application/json",
49
+ requestBodySerializer: serializeCancelPostRequestBody,
50
+ requestInformationContentSetMethod: "setContentFromParsable",
51
+ },
52
+ };
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ exports.CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}/cancel";
57
+ /* tslint:enable */
58
+ /* eslint-enable */
@@ -0,0 +1,83 @@
1
+ import { type BookingAppointment } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CancelRequestBuilder } from './cancel/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity.
6
+ */
7
+ export interface BookingAppointmentItemRequestBuilder extends BaseRequestBuilder<BookingAppointmentItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to call the cancel method.
10
+ */
11
+ get cancel(): CancelRequestBuilder;
12
+ /**
13
+ * Delete navigation property calendarView for solutions
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * The set of appointments of this business in a specified date range. Read-only. Nullable.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of BookingAppointment
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<BookingAppointmentItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointment | undefined>;
23
+ /**
24
+ * Update the navigation property calendarView in solutions
25
+ * @param body The request body
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of BookingAppointment
28
+ */
29
+ patch(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>;
30
+ /**
31
+ * Delete navigation property calendarView for solutions
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ /**
37
+ * The set of appointments of this business in a specified date range. Read-only. Nullable.
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a RequestInformation
40
+ */
41
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingAppointmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
+ /**
43
+ * Update the navigation property calendarView in solutions
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns a RequestInformation
47
+ */
48
+ toPatchRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * The set of appointments of this business in a specified date range. Read-only. Nullable.
52
+ */
53
+ export interface BookingAppointmentItemRequestBuilderGetQueryParameters {
54
+ /**
55
+ * The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00
56
+ */
57
+ end?: string;
58
+ /**
59
+ * Expand related entities
60
+ */
61
+ expand?: string[];
62
+ /**
63
+ * Select properties to be returned
64
+ */
65
+ select?: string[];
66
+ /**
67
+ * The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00
68
+ */
69
+ start?: string;
70
+ }
71
+ /**
72
+ * Metadata for all the navigation properties in the request builder.
73
+ */
74
+ export declare const BookingAppointmentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof BookingAppointmentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const BookingAppointmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const BookingAppointmentItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?start*,end*,%24select,%24expand}";
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,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,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;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,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;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,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAQD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,2IAA2I,CAAC"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingAppointmentItemRequestBuilderUriTemplate = exports.BookingAppointmentItemRequestBuilderRequestsMetadata = exports.BookingAppointmentItemRequestBuilderNavigationMetadata = 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 cancel_1 = require("./cancel/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const BookingAppointmentItemRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.BookingAppointmentItemRequestBuilderNavigationMetadata = {
21
+ cancel: {
22
+ uriTemplate: cancel_1.CancelRequestBuilderUriTemplate,
23
+ requestsMetadata: cancel_1.CancelRequestBuilderRequestsMetadata,
24
+ },
25
+ };
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ exports.BookingAppointmentItemRequestBuilderRequestsMetadata = {
30
+ delete: {
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "sendNoResponseContentAsync",
37
+ },
38
+ get: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
46
+ queryParametersMapper: BookingAppointmentItemRequestBuilderGetQueryParametersMapper,
47
+ },
48
+ patch: {
49
+ responseBodyContentType: "application/json",
50
+ errorMappings: {
51
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "sendAsync",
55
+ responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
56
+ requestBodyContentType: "application/json",
57
+ requestBodySerializer: models_1.serializeBookingAppointment,
58
+ requestInformationContentSetMethod: "setContentFromParsable",
59
+ },
60
+ };
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ exports.BookingAppointmentItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?start*,end*,%24select,%24expand}";
65
+ /* tslint:enable */
66
+ /* 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}/customQuestions/$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,+GAA+G,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}/customQuestions/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type BookingCustomQuestion, type BookingCustomQuestionCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BookingCustomQuestionItemRequestBuilder } 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 customQuestions property of the microsoft.graph.bookingBusiness entity.
7
+ */
8
+ export interface CustomQuestionsRequestBuilder extends BaseRequestBuilder<CustomQuestionsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity.
15
+ * @param bookingCustomQuestionId The unique identifier of bookingCustomQuestion
16
+ * @returns a BookingCustomQuestionItemRequestBuilder
17
+ */
18
+ byBookingCustomQuestionId(bookingCustomQuestionId: string): BookingCustomQuestionItemRequestBuilder;
19
+ /**
20
+ * Get the bookingCustomQuestion resources associated with a bookingBusiness.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of BookingCustomQuestionCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list-customquestions?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomQuestionCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new bookingCustomQuestion object.
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 BookingCustomQuestion
31
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-customquestions?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomQuestion | undefined>;
34
+ /**
35
+ * Get the bookingCustomQuestion resources associated with a 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<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new bookingCustomQuestion object.
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: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get the bookingCustomQuestion resources associated with a bookingBusiness.
50
+ */
51
+ export interface CustomQuestionsRequestBuilderGetQueryParameters {
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 CustomQuestionsRequestBuilderNavigationMetadata: Record<Exclude<keyof CustomQuestionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const CustomQuestionsRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%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,EAA0J,KAAK,qBAAqB,EAAE,KAAK,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAElR,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA+G,KAAK,uCAAuC,EAAE,MAAM,SAAS,CAAC;AACpL,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,yBAAyB,CAAC,uBAAuB,EAAE,MAAM,GAAI,uCAAuC,CAAC;IACtG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IAC9K;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;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,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAuB3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,+JAA+J,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomQuestionsRequestBuilderUriTemplate = exports.CustomQuestionsRequestBuilderRequestsMetadata = exports.CustomQuestionsRequestBuilderNavigationMetadata = 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 CustomQuestionsRequestBuilderGetQueryParametersMapper = {
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.CustomQuestionsRequestBuilderNavigationMetadata = {
28
+ byBookingCustomQuestionId: {
29
+ uriTemplate: item_1.BookingCustomQuestionItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.BookingCustomQuestionItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["bookingCustomQuestion%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.CustomQuestionsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createBookingCustomQuestionCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: CustomQuestionsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeBookingCustomQuestion,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type BookingCustomQuestion } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity.
5
+ */
6
+ export interface BookingCustomQuestionItemRequestBuilder extends BaseRequestBuilder<BookingCustomQuestionItemRequestBuilder> {
7
+ /**
8
+ * Delete a bookingCustomQuestion object.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-delete?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Read the properties and relationships of a bookingCustomQuestion object.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a Promise of BookingCustomQuestion
17
+ * @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0|Find more info here}
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<BookingCustomQuestionItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomQuestion | undefined>;
20
+ /**
21
+ * Update the properties of a bookingCustomQuestion object.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a Promise of BookingCustomQuestion
25
+ * @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-update?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ patch(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomQuestion | undefined>;
28
+ /**
29
+ * Delete a bookingCustomQuestion object.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * Read the properties and relationships of a bookingCustomQuestion object.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingCustomQuestionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the properties of a bookingCustomQuestion object.
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
+ toPatchRequestInformation(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Read the properties and relationships of a bookingCustomQuestion object.
50
+ */
51
+ export interface BookingCustomQuestionItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const BookingCustomQuestionItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const BookingCustomQuestionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24select,%24expand}";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;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,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBA+BrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,qIAAqI,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingCustomQuestionItemRequestBuilderUriTemplate = exports.BookingCustomQuestionItemRequestBuilderRequestsMetadata = 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
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const BookingCustomQuestionItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.BookingCustomQuestionItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
36
+ queryParametersMapper: BookingCustomQuestionItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeBookingCustomQuestion,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.BookingCustomQuestionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* 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}/customers/$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,yGAAyG,CAAC"}