@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,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}/customers/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type BookingCustomerBase, type BookingCustomerBaseCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BookingCustomerBaseItemRequestBuilder } 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 customers property of the microsoft.graph.bookingBusiness entity.
7
+ */
8
+ export interface CustomersRequestBuilder extends BaseRequestBuilder<CustomersRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity.
15
+ * @param bookingCustomerBaseId The unique identifier of bookingCustomerBase
16
+ * @returns a BookingCustomerBaseItemRequestBuilder
17
+ */
18
+ byBookingCustomerBaseId(bookingCustomerBaseId: string): BookingCustomerBaseItemRequestBuilder;
19
+ /**
20
+ * Get a list of bookingCustomer objects of a business.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of BookingCustomerBaseCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list-customers?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<CustomersRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomerBaseCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new bookingCustomer 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 BookingCustomerBase
31
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-customers?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomerBase | undefined>;
34
+ /**
35
+ * Get a list of bookingCustomer objects of a business.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CustomersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new bookingCustomer 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: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of bookingCustomer objects of a business.
50
+ */
51
+ export interface CustomersRequestBuilderGetQueryParameters {
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 CustomersRequestBuilderNavigationMetadata: Record<Exclude<keyof CustomersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const CustomersRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const CustomersRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%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,EAAoJ,KA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AM,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,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,yJAAyJ,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomersRequestBuilderUriTemplate = exports.CustomersRequestBuilderRequestsMetadata = exports.CustomersRequestBuilderNavigationMetadata = 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 CustomersRequestBuilderGetQueryParametersMapper = {
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.CustomersRequestBuilderNavigationMetadata = {
28
+ byBookingCustomerBaseId: {
29
+ uriTemplate: item_1.BookingCustomerBaseItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.BookingCustomerBaseItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["bookingCustomerBase%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.CustomersRequestBuilderRequestsMetadata = {
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.createBookingCustomerBaseCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: CustomersRequestBuilderGetQueryParametersMapper,
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.createBookingCustomerBaseFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeBookingCustomerBase,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.CustomersRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type BookingCustomerBase } 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 customers property of the microsoft.graph.bookingBusiness entity.
5
+ */
6
+ export interface BookingCustomerBaseItemRequestBuilder extends BaseRequestBuilder<BookingCustomerBaseItemRequestBuilder> {
7
+ /**
8
+ * Delete the specified bookingCustomer 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/bookingcustomer-delete?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Get the properties and relationships of a bookingCustomer object.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a Promise of BookingCustomerBase
17
+ * @see {@link https://learn.microsoft.com/graph/api/bookingcustomer-get?view=graph-rest-1.0|Find more info here}
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<BookingCustomerBaseItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomerBase | undefined>;
20
+ /**
21
+ * Update the properties of a bookingCustomer 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 BookingCustomerBase
25
+ * @see {@link https://learn.microsoft.com/graph/api/bookingcustomer-update?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ patch(body: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomerBase | undefined>;
28
+ /**
29
+ * Delete the specified bookingCustomer 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
+ * Get the properties and relationships of a bookingCustomer 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<BookingCustomerBaseItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the properties of a bookingCustomer 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: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get the properties and relationships of a bookingCustomer object.
50
+ */
51
+ export interface BookingCustomerBaseItemRequestBuilderGetQueryParameters {
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 BookingCustomerBaseItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const BookingCustomerBaseItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers/{bookingCustomerBase%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,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAEzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,6HAA6H,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BookingCustomerBaseItemRequestBuilderUriTemplate = exports.BookingCustomerBaseItemRequestBuilderRequestsMetadata = 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 BookingCustomerBaseItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.BookingCustomerBaseItemRequestBuilderRequestsMetadata = {
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.createBookingCustomerBaseFromDiscriminatorValue,
36
+ queryParametersMapper: BookingCustomerBaseItemRequestBuilderGetQueryParametersMapper,
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.createBookingCustomerBaseFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeBookingCustomerBase,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.BookingCustomerBaseItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers/{bookingCustomerBase%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,91 @@
1
+ import { type BaseCollectionPaginationCountResponse, type DateTimeTimeZone, type StaffAvailabilityItem } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a getStaffAvailabilityPostRequestBody
7
+ */
8
+ export declare function createGetStaffAvailabilityPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetStaffAvailabilityPostRequestBody;
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getStaffAvailabilityPostResponse
13
+ */
14
+ export declare function createGetStaffAvailabilityPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetStaffAvailabilityPostResponse;
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @returns a Record<string, (node: ParseNode) => void>
18
+ */
19
+ export declare function deserializeIntoGetStaffAvailabilityPostRequestBody(getStaffAvailabilityPostRequestBody?: GetStaffAvailabilityPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
20
+ /**
21
+ * The deserialization information for the current model
22
+ * @returns a Record<string, (node: ParseNode) => void>
23
+ */
24
+ export declare function deserializeIntoGetStaffAvailabilityPostResponse(getStaffAvailabilityPostResponse?: GetStaffAvailabilityPostResponse | undefined): Record<string, (node: ParseNode) => void>;
25
+ export interface GetStaffAvailabilityPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
26
+ /**
27
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
28
+ */
29
+ additionalData?: Record<string, unknown>;
30
+ /**
31
+ * Stores model information.
32
+ */
33
+ backingStoreEnabled?: boolean;
34
+ /**
35
+ * The endDateTime property
36
+ */
37
+ endDateTime?: DateTimeTimeZone;
38
+ /**
39
+ * The staffIds property
40
+ */
41
+ staffIds?: string[];
42
+ /**
43
+ * The startDateTime property
44
+ */
45
+ startDateTime?: DateTimeTimeZone;
46
+ }
47
+ export interface GetStaffAvailabilityPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
48
+ /**
49
+ * The value property
50
+ */
51
+ value?: StaffAvailabilityItem[];
52
+ }
53
+ /**
54
+ * Provides operations to call the getStaffAvailability method.
55
+ */
56
+ export interface GetStaffAvailabilityRequestBuilder extends BaseRequestBuilder<GetStaffAvailabilityRequestBuilder> {
57
+ /**
58
+ * Get the availability information of staff members of a Microsoft Bookings calendar.
59
+ * @param body The request body
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns a Promise of GetStaffAvailabilityPostResponse
62
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0|Find more info here}
63
+ */
64
+ post(body: GetStaffAvailabilityPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetStaffAvailabilityPostResponse | undefined>;
65
+ /**
66
+ * Get the availability information of staff members of a Microsoft Bookings calendar.
67
+ * @param body The request body
68
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
+ * @returns a RequestInformation
70
+ */
71
+ toPostRequestInformation(body: GetStaffAvailabilityPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
72
+ }
73
+ /**
74
+ * Serializes information the current object
75
+ * @param writer Serialization writer to use to serialize this model
76
+ */
77
+ export declare function serializeGetStaffAvailabilityPostRequestBody(writer: SerializationWriter, getStaffAvailabilityPostRequestBody?: GetStaffAvailabilityPostRequestBody | undefined): void;
78
+ /**
79
+ * Serializes information the current object
80
+ * @param writer Serialization writer to use to serialize this model
81
+ */
82
+ export declare function serializeGetStaffAvailabilityPostResponse(writer: SerializationWriter, getStaffAvailabilityPostResponse?: GetStaffAvailabilityPostResponse | undefined): void;
83
+ /**
84
+ * Metadata for all the requests in the request builder.
85
+ */
86
+ export declare const GetStaffAvailabilityRequestBuilderRequestsMetadata: RequestsMetadata;
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const GetStaffAvailabilityRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/getStaffAvailability";
91
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoQ,KAAK,qCAAqC,EAAE,KAAK,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEjZ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,+DAA+D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,6DAE/G;AACD;;;;GAIG;AACH,wBAAgB,4DAA4D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,0DAE5G;AACD;;;GAGG;AACH,wBAAgB,kDAAkD,CAAC,mCAAmC,GAAE,mCAAmC,GAAG,SAAqD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAO/O;AACD;;;GAGG;AACH,wBAAgB,+CAA+C,CAAC,gCAAgC,GAAE,gCAAgC,GAAG,SAAkD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnO;AACD,MAAM,WAAW,mCAAoC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACpG;;OAEG;IACH,cA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BuilderUriTemplate = exports.GetStaffAvailabilityRequestBuilderRequestsMetadata = exports.serializeGetStaffAvailabilityPostResponse = exports.serializeGetStaffAvailabilityPostRequestBody = exports.deserializeIntoGetStaffAvailabilityPostResponse = exports.deserializeIntoGetStaffAvailabilityPostRequestBody = exports.createGetStaffAvailabilityPostResponseFromDiscriminatorValue = exports.createGetStaffAvailabilityPostRequestBodyFromDiscriminatorValue = 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
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getStaffAvailabilityPostRequestBody
13
+ */
14
+ function createGetStaffAvailabilityPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoGetStaffAvailabilityPostRequestBody;
16
+ }
17
+ exports.createGetStaffAvailabilityPostRequestBodyFromDiscriminatorValue = createGetStaffAvailabilityPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * Creates a new instance of the appropriate class based on discriminator value
20
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21
+ * @returns a getStaffAvailabilityPostResponse
22
+ */
23
+ function createGetStaffAvailabilityPostResponseFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoGetStaffAvailabilityPostResponse;
25
+ }
26
+ exports.createGetStaffAvailabilityPostResponseFromDiscriminatorValue = createGetStaffAvailabilityPostResponseFromDiscriminatorValue;
27
+ /**
28
+ * The deserialization information for the current model
29
+ * @returns a Record<string, (node: ParseNode) => void>
30
+ */
31
+ function deserializeIntoGetStaffAvailabilityPostRequestBody(getStaffAvailabilityPostRequestBody = {}) {
32
+ return {
33
+ "backingStoreEnabled": n => { getStaffAvailabilityPostRequestBody.backingStoreEnabled = true; },
34
+ "endDateTime": n => { getStaffAvailabilityPostRequestBody.endDateTime = n.getObjectValue(models_1.createDateTimeTimeZoneFromDiscriminatorValue); },
35
+ "staffIds": n => { getStaffAvailabilityPostRequestBody.staffIds = n.getCollectionOfPrimitiveValues(); },
36
+ "startDateTime": n => { getStaffAvailabilityPostRequestBody.startDateTime = n.getObjectValue(models_1.createDateTimeTimeZoneFromDiscriminatorValue); },
37
+ };
38
+ }
39
+ exports.deserializeIntoGetStaffAvailabilityPostRequestBody = deserializeIntoGetStaffAvailabilityPostRequestBody;
40
+ /**
41
+ * The deserialization information for the current model
42
+ * @returns a Record<string, (node: ParseNode) => void>
43
+ */
44
+ function deserializeIntoGetStaffAvailabilityPostResponse(getStaffAvailabilityPostResponse = {}) {
45
+ return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getStaffAvailabilityPostResponse)), { "value": n => { getStaffAvailabilityPostResponse.value = n.getCollectionOfObjectValues(models_1.createStaffAvailabilityItemFromDiscriminatorValue); } });
46
+ }
47
+ exports.deserializeIntoGetStaffAvailabilityPostResponse = deserializeIntoGetStaffAvailabilityPostResponse;
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ function serializeGetStaffAvailabilityPostRequestBody(writer, getStaffAvailabilityPostRequestBody = {}) {
53
+ writer.writeObjectValue("endDateTime", getStaffAvailabilityPostRequestBody.endDateTime, models_1.serializeDateTimeTimeZone);
54
+ writer.writeCollectionOfPrimitiveValues("staffIds", getStaffAvailabilityPostRequestBody.staffIds);
55
+ writer.writeObjectValue("startDateTime", getStaffAvailabilityPostRequestBody.startDateTime, models_1.serializeDateTimeTimeZone);
56
+ writer.writeAdditionalData(getStaffAvailabilityPostRequestBody.additionalData);
57
+ }
58
+ exports.serializeGetStaffAvailabilityPostRequestBody = serializeGetStaffAvailabilityPostRequestBody;
59
+ /**
60
+ * Serializes information the current object
61
+ * @param writer Serialization writer to use to serialize this model
62
+ */
63
+ function serializeGetStaffAvailabilityPostResponse(writer, getStaffAvailabilityPostResponse = {}) {
64
+ (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getStaffAvailabilityPostResponse);
65
+ writer.writeCollectionOfObjectValues("value", getStaffAvailabilityPostResponse.value, models_1.serializeStaffAvailabilityItem);
66
+ }
67
+ exports.serializeGetStaffAvailabilityPostResponse = serializeGetStaffAvailabilityPostResponse;
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ exports.GetStaffAvailabilityRequestBuilderRequestsMetadata = {
72
+ post: {
73
+ responseBodyContentType: "application/json",
74
+ errorMappings: {
75
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
76
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
77
+ },
78
+ adapterMethodName: "sendAsync",
79
+ responseBodyFactory: createGetStaffAvailabilityPostResponseFromDiscriminatorValue,
80
+ requestBodyContentType: "application/json",
81
+ requestBodySerializer: serializeGetStaffAvailabilityPostRequestBody,
82
+ requestInformationContentSetMethod: "setContentFromParsable",
83
+ },
84
+ };
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ exports.GetStaffAvailabilityRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/getStaffAvailability";
89
+ /* tslint:enable */
90
+ /* eslint-enable */
@@ -0,0 +1,118 @@
1
+ import { type BookingBusiness } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AppointmentsRequestBuilder } from './appointments/';
3
+ import { type CalendarViewRequestBuilder } from './calendarView/';
4
+ import { type CustomersRequestBuilder } from './customers/';
5
+ import { type CustomQuestionsRequestBuilder } from './customQuestions/';
6
+ import { type GetStaffAvailabilityRequestBuilder } from './getStaffAvailability/';
7
+ import { type PublishRequestBuilder } from './publish/';
8
+ import { type ServicesRequestBuilder } from './services/';
9
+ import { type StaffMembersRequestBuilder } from './staffMembers/';
10
+ import { type UnpublishRequestBuilder } from './unpublish/';
11
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
12
+ /**
13
+ * Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.
14
+ */
15
+ export interface BookingBusinessItemRequestBuilder extends BaseRequestBuilder<BookingBusinessItemRequestBuilder> {
16
+ /**
17
+ * Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity.
18
+ */
19
+ get appointments(): AppointmentsRequestBuilder;
20
+ /**
21
+ * Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity.
22
+ */
23
+ get calendarView(): CalendarViewRequestBuilder;
24
+ /**
25
+ * Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity.
26
+ */
27
+ get customers(): CustomersRequestBuilder;
28
+ /**
29
+ * Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity.
30
+ */
31
+ get customQuestions(): CustomQuestionsRequestBuilder;
32
+ /**
33
+ * Provides operations to call the getStaffAvailability method.
34
+ */
35
+ get getStaffAvailability(): GetStaffAvailabilityRequestBuilder;
36
+ /**
37
+ * Provides operations to call the publish method.
38
+ */
39
+ get publish(): PublishRequestBuilder;
40
+ /**
41
+ * Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity.
42
+ */
43
+ get services(): ServicesRequestBuilder;
44
+ /**
45
+ * Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity.
46
+ */
47
+ get staffMembers(): StaffMembersRequestBuilder;
48
+ /**
49
+ * Provides operations to call the unpublish method.
50
+ */
51
+ get unpublish(): UnpublishRequestBuilder;
52
+ /**
53
+ * Delete a bookingBusiness object.
54
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
55
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-delete?view=graph-rest-1.0|Find more info here}
56
+ */
57
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
58
+ /**
59
+ * Get the properties and relationships of a bookingBusiness object.
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns a Promise of BookingBusiness
62
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-get?view=graph-rest-1.0|Find more info here}
63
+ */
64
+ get(requestConfiguration?: RequestConfiguration<BookingBusinessItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingBusiness | undefined>;
65
+ /**
66
+ * Update the properties of a bookingBusiness object.
67
+ * @param body The request body
68
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
+ * @returns a Promise of BookingBusiness
70
+ * @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-update?view=graph-rest-1.0|Find more info here}
71
+ */
72
+ patch(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingBusiness | undefined>;
73
+ /**
74
+ * Delete a bookingBusiness object.
75
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
+ * @returns a RequestInformation
77
+ */
78
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
79
+ /**
80
+ * Get the properties and relationships of a bookingBusiness object.
81
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
82
+ * @returns a RequestInformation
83
+ */
84
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingBusinessItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
85
+ /**
86
+ * Update the properties of a bookingBusiness object.
87
+ * @param body The request body
88
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
89
+ * @returns a RequestInformation
90
+ */
91
+ toPatchRequestInformation(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
92
+ }
93
+ /**
94
+ * Get the properties and relationships of a bookingBusiness object.
95
+ */
96
+ export interface BookingBusinessItemRequestBuilderGetQueryParameters {
97
+ /**
98
+ * Expand related entities
99
+ */
100
+ expand?: string[];
101
+ /**
102
+ * Select properties to be returned
103
+ */
104
+ select?: string[];
105
+ }
106
+ /**
107
+ * Metadata for all the navigation properties in the request builder.
108
+ */
109
+ export declare const BookingBusinessItemRequestBuilderNavigationMetadata: Record<Exclude<keyof BookingBusinessItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
110
+ /**
111
+ * Metadata for all the requests in the request builder.
112
+ */
113
+ export declare const BookingBusinessItemRequestBuilderRequestsMetadata: RequestsMetadata;
114
+ /**
115
+ * Uri template for the request builder.
116
+ */
117
+ export declare const BookingBusinessItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}{?%24select,%24expand}";
118
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAClN,OAAO,EAAqG,KAAK,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AACrL,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAAE,KAAK,uBAAuB,EAA+E,MAAM,cAAc,CAAC;AACzI,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAA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