@microsoft/msgraph-sdk-solutions 1.0.0-preview.12 → 1.0.0-preview.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/solutions/bookingBusinesses/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/count/index.js +7 -7
- package/solutions/bookingBusinesses/index.d.ts +11 -9
- package/solutions/bookingBusinesses/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/index.js +9 -11
- package/solutions/bookingBusinesses/item/appointments/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/appointments/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/appointments/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/appointments/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/appointments/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/appointments/index.js +9 -11
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts +8 -7
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.js +9 -9
- package/solutions/bookingBusinesses/item/appointments/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/appointments/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/appointments/item/index.js +11 -12
- package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/calendarView/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/calendarView/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/calendarView/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/calendarView/index.js +9 -11
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts +8 -7
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.js +9 -9
- package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/calendarView/item/index.js +11 -12
- package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customQuestions/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/customQuestions/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/customQuestions/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customQuestions/index.js +9 -11
- package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customQuestions/item/index.js +11 -11
- package/solutions/bookingBusinesses/item/customers/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/customers/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customers/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/customers/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/customers/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customers/index.js +9 -11
- package/solutions/bookingBusinesses/item/customers/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/customers/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/customers/item/index.js +11 -11
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts +11 -10
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.js +11 -11
- package/solutions/bookingBusinesses/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/index.js +11 -20
- package/solutions/bookingBusinesses/item/publish/index.d.ts +6 -5
- package/solutions/bookingBusinesses/item/publish/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/publish/index.js +7 -7
- package/solutions/bookingBusinesses/item/services/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/services/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/services/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/services/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/services/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/services/index.js +9 -11
- package/solutions/bookingBusinesses/item/services/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/services/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/services/item/index.js +11 -11
- package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts +7 -6
- package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/staffMembers/count/index.js +7 -7
- package/solutions/bookingBusinesses/item/staffMembers/index.d.ts +11 -9
- package/solutions/bookingBusinesses/item/staffMembers/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/staffMembers/index.js +9 -11
- package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts +12 -9
- package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/staffMembers/item/index.js +11 -11
- package/solutions/bookingBusinesses/item/unpublish/index.d.ts +6 -5
- package/solutions/bookingBusinesses/item/unpublish/index.d.ts.map +1 -1
- package/solutions/bookingBusinesses/item/unpublish/index.js +7 -7
- package/solutions/bookingCurrencies/count/index.d.ts +7 -6
- package/solutions/bookingCurrencies/count/index.d.ts.map +1 -1
- package/solutions/bookingCurrencies/count/index.js +7 -7
- package/solutions/bookingCurrencies/index.d.ts +11 -9
- package/solutions/bookingCurrencies/index.d.ts.map +1 -1
- package/solutions/bookingCurrencies/index.js +9 -11
- package/solutions/bookingCurrencies/item/index.d.ts +12 -9
- package/solutions/bookingCurrencies/item/index.d.ts.map +1 -1
- package/solutions/bookingCurrencies/item/index.js +11 -11
- package/solutions/index.d.ts +10 -8
- package/solutions/index.d.ts.map +1 -1
- package/solutions/index.js +9 -12
- package/solutions/virtualEvents/events/count/index.d.ts +7 -6
- package/solutions/virtualEvents/events/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/count/index.js +7 -7
- package/solutions/virtualEvents/events/index.d.ts +11 -9
- package/solutions/virtualEvents/events/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/index.js +9 -11
- package/solutions/virtualEvents/events/item/index.d.ts +12 -9
- package/solutions/virtualEvents/events/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/index.js +11 -12
- package/solutions/virtualEvents/events/item/sessions/count/index.d.ts +7 -6
- package/solutions/virtualEvents/events/item/sessions/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/count/index.js +7 -7
- package/solutions/virtualEvents/events/item/sessions/index.d.ts +11 -9
- package/solutions/virtualEvents/events/item/sessions/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/index.js +9 -11
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts +7 -6
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.js +7 -7
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts +11 -9
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.js +9 -11
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +7 -6
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +7 -7
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +11 -9
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +9 -11
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +12 -9
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +11 -11
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts +12 -9
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.js +11 -12
- package/solutions/virtualEvents/events/item/sessions/item/index.d.ts +12 -9
- package/solutions/virtualEvents/events/item/sessions/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/events/item/sessions/item/index.js +11 -12
- package/solutions/virtualEvents/index.d.ts +12 -9
- package/solutions/virtualEvents/index.d.ts.map +1 -1
- package/solutions/virtualEvents/index.js +11 -13
- package/solutions/virtualEvents/webinars/count/index.d.ts +7 -6
- package/solutions/virtualEvents/webinars/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/count/index.js +7 -7
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts +13 -8
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.js +10 -9
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts +13 -8
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.js +10 -9
- package/solutions/virtualEvents/webinars/index.d.ts +13 -11
- package/solutions/virtualEvents/webinars/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/index.js +9 -13
- package/solutions/virtualEvents/webinars/item/index.d.ts +12 -9
- package/solutions/virtualEvents/webinars/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/index.js +11 -13
- package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts +7 -6
- package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/registrations/count/index.js +7 -7
- package/solutions/virtualEvents/webinars/item/registrations/index.d.ts +11 -9
- package/solutions/virtualEvents/webinars/item/registrations/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/registrations/index.js +9 -11
- package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts +12 -9
- package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/registrations/item/index.js +11 -11
- package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts +7 -6
- package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/count/index.js +7 -7
- package/solutions/virtualEvents/webinars/item/sessions/index.d.ts +11 -9
- package/solutions/virtualEvents/webinars/item/sessions/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/index.js +9 -11
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts +7 -6
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.js +7 -7
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts +11 -9
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.js +9 -11
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +7 -6
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +7 -7
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +11 -9
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +9 -11
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +12 -9
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +11 -11
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts +12 -9
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.js +11 -12
- package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts +12 -9
- package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/item/sessions/item/index.js +11 -12
- package/solutionsServiceClient.d.ts.map +1 -1
- package/solutionsServiceClient.js +1 -2
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-solutions",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.14",
|
|
4
4
|
"description": "Solutions fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.14",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7"
|
|
48
48
|
}
|
|
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the number of the resource
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
*/
|
|
11
12
|
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
13
|
/**
|
|
13
14
|
* Get the number of the resource
|
|
14
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns
|
|
16
|
+
* @returns {RequestInformation}
|
|
16
17
|
*/
|
|
17
18
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
19
|
}
|
|
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
30
31
|
search?: string;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* Uri template for the request builder.
|
|
34
35
|
*/
|
|
35
|
-
export declare const
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/$count{?%24filter,%24search}";
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
38
39
|
*/
|
|
39
|
-
export declare const
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF
|
|
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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,wEAAwE,CAAC;AAQpH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/$count{?%24filter,%24search}";
|
|
8
12
|
/**
|
|
9
13
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
14
|
*/
|
|
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
|
|
|
17
21
|
*/
|
|
18
22
|
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
23
|
get: {
|
|
24
|
+
uriTemplate: exports.CountRequestBuilderUriTemplate,
|
|
20
25
|
responseBodyContentType: "text/plain;q=0.9",
|
|
21
26
|
errorMappings: {
|
|
22
|
-
|
|
23
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
27
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
28
|
},
|
|
25
29
|
adapterMethodName: "sendPrimitiveAsync",
|
|
26
30
|
responseBodyFactory: "number",
|
|
27
31
|
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
32
|
},
|
|
29
33
|
};
|
|
30
|
-
/**
|
|
31
|
-
* Uri template for the request builder.
|
|
32
|
-
*/
|
|
33
|
-
exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/$count{?%24search,%24filter}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -13,13 +13,14 @@ export interface BookingBusinessesRequestBuilder extends BaseRequestBuilder<Book
|
|
|
13
13
|
/**
|
|
14
14
|
* Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity.
|
|
15
15
|
* @param bookingBusinessId The unique identifier of bookingBusiness
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {BookingBusinessItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byBookingBusinessId(bookingBusinessId: string): BookingBusinessItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
20
|
* Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Promise<BookingBusinessCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
24
|
* @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<BookingBusinessesRequestBuilderGetQueryParameters> | undefined): Promise<BookingBusinessCollectionResponse | undefined>;
|
|
@@ -27,21 +28,22 @@ export interface BookingBusinessesRequestBuilder extends BaseRequestBuilder<Book
|
|
|
27
28
|
* Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.
|
|
28
29
|
* @param body The request body
|
|
29
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
-
* @returns
|
|
31
|
+
* @returns {Promise<BookingBusiness>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
33
|
* @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-bookingbusinesses?view=graph-rest-1.0|Find more info here}
|
|
32
34
|
*/
|
|
33
35
|
post(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingBusiness | undefined>;
|
|
34
36
|
/**
|
|
35
37
|
* Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation.
|
|
36
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
-
* @returns
|
|
39
|
+
* @returns {RequestInformation}
|
|
38
40
|
*/
|
|
39
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingBusinessesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
43
|
* Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness.
|
|
42
44
|
* @param body The request body
|
|
43
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
-
* @returns
|
|
46
|
+
* @returns {RequestInformation}
|
|
45
47
|
*/
|
|
46
48
|
toPostRequestInformation(body: BookingBusiness, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
@@ -82,6 +84,10 @@ export interface BookingBusinessesRequestBuilderGetQueryParameters {
|
|
|
82
84
|
*/
|
|
83
85
|
top?: number;
|
|
84
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
85
91
|
/**
|
|
86
92
|
* Metadata for all the navigation properties in the request builder.
|
|
87
93
|
*/
|
|
@@ -90,8 +96,4 @@ export declare const BookingBusinessesRequestBuilderNavigationMetadata: Record<E
|
|
|
90
96
|
* Metadata for all the requests in the request builder.
|
|
91
97
|
*/
|
|
92
98
|
export declare const BookingBusinessesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
-
/**
|
|
94
|
-
* Uri template for the request builder.
|
|
95
|
-
*/
|
|
96
|
-
export declare const BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
97
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwI,KAAK,eAAe,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEpP,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwI,KAAK,eAAe,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEpP,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA0G,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACzK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACrI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,wHAAwH,CAAC;AAchL;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BookingBusinessesRequestBuilderRequestsMetadata = exports.BookingBusinessesRequestBuilderNavigationMetadata = exports.BookingBusinessesRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const count_1 = require("./count/");
|
|
10
10
|
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,13 +30,11 @@ const BookingBusinessesRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.BookingBusinessesRequestBuilderNavigationMetadata = {
|
|
28
32
|
byBookingBusinessId: {
|
|
29
|
-
uriTemplate: item_1.BookingBusinessItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.BookingBusinessItemRequestBuilderRequestsMetadata,
|
|
31
34
|
navigationMetadata: item_1.BookingBusinessItemRequestBuilderNavigationMetadata,
|
|
32
35
|
pathParametersMappings: ["bookingBusiness%2Did"],
|
|
33
36
|
},
|
|
34
37
|
count: {
|
|
35
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
38
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
39
|
},
|
|
38
40
|
};
|
|
@@ -41,20 +43,20 @@ exports.BookingBusinessesRequestBuilderNavigationMetadata = {
|
|
|
41
43
|
*/
|
|
42
44
|
exports.BookingBusinessesRequestBuilderRequestsMetadata = {
|
|
43
45
|
get: {
|
|
46
|
+
uriTemplate: exports.BookingBusinessesRequestBuilderUriTemplate,
|
|
44
47
|
responseBodyContentType: "application/json",
|
|
45
48
|
errorMappings: {
|
|
46
|
-
|
|
47
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
50
|
},
|
|
49
51
|
adapterMethodName: "sendAsync",
|
|
50
52
|
responseBodyFactory: models_1.createBookingBusinessCollectionResponseFromDiscriminatorValue,
|
|
51
53
|
queryParametersMapper: BookingBusinessesRequestBuilderGetQueryParametersMapper,
|
|
52
54
|
},
|
|
53
55
|
post: {
|
|
56
|
+
uriTemplate: exports.BookingBusinessesRequestBuilderUriTemplate,
|
|
54
57
|
responseBodyContentType: "application/json",
|
|
55
58
|
errorMappings: {
|
|
56
|
-
|
|
57
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
60
|
},
|
|
59
61
|
adapterMethodName: "sendAsync",
|
|
60
62
|
responseBodyFactory: models_1.createBookingBusinessFromDiscriminatorValue,
|
|
@@ -63,9 +65,5 @@ exports.BookingBusinessesRequestBuilderRequestsMetadata = {
|
|
|
63
65
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
66
|
},
|
|
65
67
|
};
|
|
66
|
-
/**
|
|
67
|
-
* Uri template for the request builder.
|
|
68
|
-
*/
|
|
69
|
-
exports.BookingBusinessesRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
68
|
/* tslint:enable */
|
|
71
69
|
/* eslint-enable */
|
|
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the number of the resource
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
*/
|
|
11
12
|
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
13
|
/**
|
|
13
14
|
* Get the number of the resource
|
|
14
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns
|
|
16
|
+
* @returns {RequestInformation}
|
|
16
17
|
*/
|
|
17
18
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
19
|
}
|
|
@@ -30,11 +31,11 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
30
31
|
search?: string;
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* Uri template for the request builder.
|
|
34
35
|
*/
|
|
35
|
-
export declare const
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24filter,%24search}";
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
38
39
|
*/
|
|
39
|
-
export declare const
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF
|
|
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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAA4G,CAAC;AAQxJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24filter,%24search}";
|
|
8
12
|
/**
|
|
9
13
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
14
|
*/
|
|
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
|
|
|
17
21
|
*/
|
|
18
22
|
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
23
|
get: {
|
|
24
|
+
uriTemplate: exports.CountRequestBuilderUriTemplate,
|
|
20
25
|
responseBodyContentType: "text/plain;q=0.9",
|
|
21
26
|
errorMappings: {
|
|
22
|
-
|
|
23
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
27
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
28
|
},
|
|
25
29
|
adapterMethodName: "sendPrimitiveAsync",
|
|
26
30
|
responseBodyFactory: "number",
|
|
27
31
|
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
32
|
},
|
|
29
33
|
};
|
|
30
|
-
/**
|
|
31
|
-
* Uri template for the request builder.
|
|
32
|
-
*/
|
|
33
|
-
exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24search,%24filter}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -13,13 +13,14 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
13
13
|
/**
|
|
14
14
|
* Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity.
|
|
15
15
|
* @param bookingAppointmentId The unique identifier of bookingAppointment
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {BookingAppointmentItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byBookingAppointmentId(bookingAppointmentId: string): BookingAppointmentItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
20
|
* Get a list of bookingAppointment objects for the specified bookingBusiness.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Promise<BookingAppointmentCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
24
|
* @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointmentCollectionResponse | undefined>;
|
|
@@ -27,21 +28,22 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
27
28
|
* Create a new bookingAppointment for the specified bookingBusiness.
|
|
28
29
|
* @param body The request body
|
|
29
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
-
* @returns
|
|
31
|
+
* @returns {Promise<BookingAppointment>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
31
33
|
* @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0|Find more info here}
|
|
32
34
|
*/
|
|
33
35
|
post(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>;
|
|
34
36
|
/**
|
|
35
37
|
* Get a list of bookingAppointment objects for the specified bookingBusiness.
|
|
36
38
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
-
* @returns
|
|
39
|
+
* @returns {RequestInformation}
|
|
38
40
|
*/
|
|
39
41
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
43
|
* Create a new bookingAppointment for the specified bookingBusiness.
|
|
42
44
|
* @param body The request body
|
|
43
45
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
-
* @returns
|
|
46
|
+
* @returns {RequestInformation}
|
|
45
47
|
*/
|
|
46
48
|
toPostRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
@@ -82,6 +84,10 @@ export interface AppointmentsRequestBuilderGetQueryParameters {
|
|
|
82
84
|
*/
|
|
83
85
|
top?: number;
|
|
84
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
85
91
|
/**
|
|
86
92
|
* Metadata for all the navigation properties in the request builder.
|
|
87
93
|
*/
|
|
@@ -90,8 +96,4 @@ export declare const AppointmentsRequestBuilderNavigationMetadata: Record<Exclud
|
|
|
90
96
|
* Metadata for all the requests in the request builder.
|
|
91
97
|
*/
|
|
92
98
|
export declare const AppointmentsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
-
/**
|
|
94
|
-
* Uri template for the request builder.
|
|
95
|
-
*/
|
|
96
|
-
export declare const AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
97
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAEnQ,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAEnQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAgH,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AAClL,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACxK;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,4JAA4J,CAAC;AAc/M;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AppointmentsRequestBuilderRequestsMetadata = exports.AppointmentsRequestBuilderNavigationMetadata = exports.AppointmentsRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const count_1 = require("./count/");
|
|
10
10
|
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,13 +30,11 @@ const AppointmentsRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.AppointmentsRequestBuilderNavigationMetadata = {
|
|
28
32
|
byBookingAppointmentId: {
|
|
29
|
-
uriTemplate: item_1.BookingAppointmentItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.BookingAppointmentItemRequestBuilderRequestsMetadata,
|
|
31
34
|
navigationMetadata: item_1.BookingAppointmentItemRequestBuilderNavigationMetadata,
|
|
32
35
|
pathParametersMappings: ["bookingAppointment%2Did"],
|
|
33
36
|
},
|
|
34
37
|
count: {
|
|
35
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
38
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
39
|
},
|
|
38
40
|
};
|
|
@@ -41,20 +43,20 @@ exports.AppointmentsRequestBuilderNavigationMetadata = {
|
|
|
41
43
|
*/
|
|
42
44
|
exports.AppointmentsRequestBuilderRequestsMetadata = {
|
|
43
45
|
get: {
|
|
46
|
+
uriTemplate: exports.AppointmentsRequestBuilderUriTemplate,
|
|
44
47
|
responseBodyContentType: "application/json",
|
|
45
48
|
errorMappings: {
|
|
46
|
-
|
|
47
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
50
|
},
|
|
49
51
|
adapterMethodName: "sendAsync",
|
|
50
52
|
responseBodyFactory: models_1.createBookingAppointmentCollectionResponseFromDiscriminatorValue,
|
|
51
53
|
queryParametersMapper: AppointmentsRequestBuilderGetQueryParametersMapper,
|
|
52
54
|
},
|
|
53
55
|
post: {
|
|
56
|
+
uriTemplate: exports.AppointmentsRequestBuilderUriTemplate,
|
|
54
57
|
responseBodyContentType: "application/json",
|
|
55
58
|
errorMappings: {
|
|
56
|
-
|
|
57
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
60
|
},
|
|
59
61
|
adapterMethodName: "sendAsync",
|
|
60
62
|
responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
|
|
@@ -63,9 +65,5 @@ exports.AppointmentsRequestBuilderRequestsMetadata = {
|
|
|
63
65
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
66
|
},
|
|
65
67
|
};
|
|
66
|
-
/**
|
|
67
|
-
* Uri template for the request builder.
|
|
68
|
-
*/
|
|
69
|
-
exports.AppointmentsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
68
|
/* tslint:enable */
|
|
71
69
|
/* eslint-enable */
|
|
@@ -21,6 +21,7 @@ export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBu
|
|
|
21
21
|
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
22
22
|
* @param body The request body
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
25
|
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0|Find more info here}
|
|
25
26
|
*/
|
|
26
27
|
post(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
@@ -28,19 +29,19 @@ export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBu
|
|
|
28
29
|
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
29
30
|
* @param body The request body
|
|
30
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
-
* @returns
|
|
32
|
+
* @returns {RequestInformation}
|
|
32
33
|
*/
|
|
33
34
|
toPostRequestInformation(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
38
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
-
* @returns
|
|
39
|
+
* @returns {CancelPostRequestBody}
|
|
39
40
|
*/
|
|
40
41
|
export declare function createCancelPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
41
42
|
/**
|
|
42
43
|
* The deserialization information for the current model
|
|
43
|
-
* @returns
|
|
44
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44
45
|
*/
|
|
45
46
|
export declare function deserializeIntoCancelPostRequestBody(cancelPostRequestBody?: Partial<CancelPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
46
47
|
/**
|
|
@@ -48,12 +49,12 @@ export declare function deserializeIntoCancelPostRequestBody(cancelPostRequestBo
|
|
|
48
49
|
* @param writer Serialization writer to use to serialize this model
|
|
49
50
|
*/
|
|
50
51
|
export declare function serializeCancelPostRequestBody(writer: SerializationWriter, cancelPostRequestBody?: Partial<CancelPostRequestBody> | undefined): void;
|
|
51
|
-
/**
|
|
52
|
-
* Metadata for all the requests in the request builder.
|
|
53
|
-
*/
|
|
54
|
-
export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
52
|
/**
|
|
56
53
|
* Uri template for the request builder.
|
|
57
54
|
*/
|
|
58
55
|
export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel";
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
59
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,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,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,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,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACpH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEzK;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvK;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGzJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,gHAAgH,CAAC;AAC7J;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CancelRequestBuilderRequestsMetadata = exports.CancelRequestBuilderUriTemplate = exports.serializeCancelPostRequestBody = exports.deserializeIntoCancelPostRequestBody = exports.createCancelPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,7 +8,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {CancelPostRequestBody}
|
|
12
12
|
*/
|
|
13
13
|
function createCancelPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
14
|
return deserializeIntoCancelPostRequestBody;
|
|
@@ -16,7 +16,7 @@ function createCancelPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
|
16
16
|
exports.createCancelPostRequestBodyFromDiscriminatorValue = createCancelPostRequestBodyFromDiscriminatorValue;
|
|
17
17
|
/**
|
|
18
18
|
* The deserialization information for the current model
|
|
19
|
-
* @returns
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
20
|
*/
|
|
21
21
|
function deserializeIntoCancelPostRequestBody(cancelPostRequestBody = {}) {
|
|
22
22
|
return {
|
|
@@ -34,15 +34,19 @@ function serializeCancelPostRequestBody(writer, cancelPostRequestBody = {}) {
|
|
|
34
34
|
writer.writeAdditionalData(cancelPostRequestBody.additionalData);
|
|
35
35
|
}
|
|
36
36
|
exports.serializeCancelPostRequestBody = serializeCancelPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel";
|
|
37
41
|
/**
|
|
38
42
|
* Metadata for all the requests in the request builder.
|
|
39
43
|
*/
|
|
40
44
|
exports.CancelRequestBuilderRequestsMetadata = {
|
|
41
45
|
post: {
|
|
46
|
+
uriTemplate: exports.CancelRequestBuilderUriTemplate,
|
|
42
47
|
responseBodyContentType: "application/json",
|
|
43
48
|
errorMappings: {
|
|
44
|
-
|
|
45
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
50
|
},
|
|
47
51
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
52
|
requestBodyContentType: "application/json",
|
|
@@ -50,9 +54,5 @@ exports.CancelRequestBuilderRequestsMetadata = {
|
|
|
50
54
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
55
|
},
|
|
52
56
|
};
|
|
53
|
-
/**
|
|
54
|
-
* Uri template for the request builder.
|
|
55
|
-
*/
|
|
56
|
-
exports.CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel";
|
|
57
57
|
/* tslint:enable */
|
|
58
58
|
/* eslint-enable */
|