@microsoft/msgraph-sdk-solutions 1.0.0-preview.13 → 1.0.0-preview.15
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 +9 -8
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.js +9 -9
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts +9 -8
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts.map +1 -1
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.js +9 -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
|
@@ -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
|
}
|
|
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
29
30
|
*/
|
|
30
31
|
search?: string;
|
|
31
32
|
}
|
|
32
|
-
/**
|
|
33
|
-
* Metadata for all the requests in the request builder.
|
|
34
|
-
*/
|
|
35
|
-
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
33
|
/**
|
|
37
34
|
* Uri template for the request builder.
|
|
38
35
|
*/
|
|
39
36
|
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,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,+GAA+G,CAAC;AAQ3J;;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}/customQuestions/$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}/customQuestions/$count{?%24filter,%24search}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -13,13 +13,14 @@ export interface CustomQuestionsRequestBuilder extends BaseRequestBuilder<Custom
|
|
|
13
13
|
/**
|
|
14
14
|
* Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity.
|
|
15
15
|
* @param bookingCustomQuestionId The unique identifier of bookingCustomQuestion
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {BookingCustomQuestionItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byBookingCustomQuestionId(bookingCustomQuestionId: string): BookingCustomQuestionItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
20
|
* Get the bookingCustomQuestion resources associated with a bookingBusiness.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Promise<BookingCustomQuestionCollectionResponse>}
|
|
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-customquestions?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomQuestionCollectionResponse | undefined>;
|
|
@@ -27,21 +28,22 @@ export interface CustomQuestionsRequestBuilder extends BaseRequestBuilder<Custom
|
|
|
27
28
|
* Create a new bookingCustomQuestion object.
|
|
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<BookingCustomQuestion>}
|
|
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-customquestions?view=graph-rest-1.0|Find more info here}
|
|
32
34
|
*/
|
|
33
35
|
post(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomQuestion | undefined>;
|
|
34
36
|
/**
|
|
35
37
|
* Get the bookingCustomQuestion resources associated with a 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<CustomQuestionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
43
|
* Create a new bookingCustomQuestion object.
|
|
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: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
@@ -82,6 +84,10 @@ export interface CustomQuestionsRequestBuilderGetQueryParameters {
|
|
|
82
84
|
*/
|
|
83
85
|
top?: number;
|
|
84
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%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 CustomQuestionsRequestBuilderNavigationMetadata: Record<Exc
|
|
|
90
96
|
* Metadata for all the requests in the request builder.
|
|
91
97
|
*/
|
|
92
98
|
export declare const CustomQuestionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
-
/**
|
|
94
|
-
* Uri template for the request builder.
|
|
95
|
-
*/
|
|
96
|
-
export declare const CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
97
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0J,KAAK,qBAAqB,EAAE,KAAK,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAElR,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0J,KAAK,qBAAqB,EAAE,KAAK,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAElR,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA2D,KAAK,uCAAuC,EAAE,MAAM,SA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AC,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,wCAAwC,+JAA+J,CAAC;AAcrN;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAuB3D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CustomQuestionsRequestBuilderRequestsMetadata = exports.CustomQuestionsRequestBuilderNavigationMetadata = exports.CustomQuestionsRequestBuilderUriTemplate = 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.CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,12 +30,10 @@ const CustomQuestionsRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.CustomQuestionsRequestBuilderNavigationMetadata = {
|
|
28
32
|
byBookingCustomQuestionId: {
|
|
29
|
-
uriTemplate: item_1.BookingCustomQuestionItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.BookingCustomQuestionItemRequestBuilderRequestsMetadata,
|
|
31
34
|
pathParametersMappings: ["bookingCustomQuestion%2Did"],
|
|
32
35
|
},
|
|
33
36
|
count: {
|
|
34
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
37
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
38
|
},
|
|
37
39
|
};
|
|
@@ -40,20 +42,20 @@ exports.CustomQuestionsRequestBuilderNavigationMetadata = {
|
|
|
40
42
|
*/
|
|
41
43
|
exports.CustomQuestionsRequestBuilderRequestsMetadata = {
|
|
42
44
|
get: {
|
|
45
|
+
uriTemplate: exports.CustomQuestionsRequestBuilderUriTemplate,
|
|
43
46
|
responseBodyContentType: "application/json",
|
|
44
47
|
errorMappings: {
|
|
45
|
-
|
|
46
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
49
|
},
|
|
48
50
|
adapterMethodName: "sendAsync",
|
|
49
51
|
responseBodyFactory: models_1.createBookingCustomQuestionCollectionResponseFromDiscriminatorValue,
|
|
50
52
|
queryParametersMapper: CustomQuestionsRequestBuilderGetQueryParametersMapper,
|
|
51
53
|
},
|
|
52
54
|
post: {
|
|
55
|
+
uriTemplate: exports.CustomQuestionsRequestBuilderUriTemplate,
|
|
53
56
|
responseBodyContentType: "application/json",
|
|
54
57
|
errorMappings: {
|
|
55
|
-
|
|
56
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
59
|
},
|
|
58
60
|
adapterMethodName: "sendAsync",
|
|
59
61
|
responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
|
|
@@ -62,9 +64,5 @@ exports.CustomQuestionsRequestBuilderRequestsMetadata = {
|
|
|
62
64
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
65
|
},
|
|
64
66
|
};
|
|
65
|
-
/**
|
|
66
|
-
* Uri template for the request builder.
|
|
67
|
-
*/
|
|
68
|
-
exports.CustomQuestionsRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
69
67
|
/* tslint:enable */
|
|
70
68
|
/* eslint-enable */
|
|
@@ -7,13 +7,15 @@ export interface BookingCustomQuestionItemRequestBuilder extends BaseRequestBuil
|
|
|
7
7
|
/**
|
|
8
8
|
* Delete a bookingCustomQuestion object.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-delete?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
14
|
/**
|
|
14
15
|
* Read the properties and relationships of a bookingCustomQuestion object.
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns
|
|
17
|
+
* @returns {Promise<BookingCustomQuestion>}
|
|
18
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
19
|
* @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0|Find more info here}
|
|
18
20
|
*/
|
|
19
21
|
get(requestConfiguration?: RequestConfiguration<BookingCustomQuestionItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomQuestion | undefined>;
|
|
@@ -21,27 +23,28 @@ export interface BookingCustomQuestionItemRequestBuilder extends BaseRequestBuil
|
|
|
21
23
|
* Update the properties of a bookingCustomQuestion object.
|
|
22
24
|
* @param body The request body
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {Promise<BookingCustomQuestion>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
28
|
* @see {@link https://learn.microsoft.com/graph/api/bookingcustomquestion-update?view=graph-rest-1.0|Find more info here}
|
|
26
29
|
*/
|
|
27
30
|
patch(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomQuestion | undefined>;
|
|
28
31
|
/**
|
|
29
32
|
* Delete a bookingCustomQuestion object.
|
|
30
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
32
35
|
*/
|
|
33
36
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
37
|
/**
|
|
35
38
|
* Read the properties and relationships of a bookingCustomQuestion object.
|
|
36
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
-
* @returns
|
|
40
|
+
* @returns {RequestInformation}
|
|
38
41
|
*/
|
|
39
42
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingCustomQuestionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
43
|
/**
|
|
41
44
|
* Update the properties of a bookingCustomQuestion object.
|
|
42
45
|
* @param body The request body
|
|
43
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
-
* @returns
|
|
47
|
+
* @returns {RequestInformation}
|
|
45
48
|
*/
|
|
46
49
|
toPatchRequestInformation(body: BookingCustomQuestion, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
50
|
}
|
|
@@ -58,12 +61,12 @@ export interface BookingCustomQuestionItemRequestBuilderGetQueryParameters {
|
|
|
58
61
|
*/
|
|
59
62
|
select?: string[];
|
|
60
63
|
}
|
|
61
|
-
/**
|
|
62
|
-
* Metadata for all the requests in the request builder.
|
|
63
|
-
*/
|
|
64
|
-
export declare const BookingCustomQuestionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
65
64
|
/**
|
|
66
65
|
* Uri template for the request builder.
|
|
67
66
|
*/
|
|
68
67
|
export declare const BookingCustomQuestionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24expand,%24select}";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const BookingCustomQuestionItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
69
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,k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3
|
+
exports.BookingCustomQuestionItemRequestBuilderRequestsMetadata = exports.BookingCustomQuestionItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.BookingCustomQuestionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24expand,%24select}";
|
|
9
13
|
/**
|
|
10
14
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
15
|
*/
|
|
@@ -18,28 +22,28 @@ const BookingCustomQuestionItemRequestBuilderGetQueryParametersMapper = {
|
|
|
18
22
|
*/
|
|
19
23
|
exports.BookingCustomQuestionItemRequestBuilderRequestsMetadata = {
|
|
20
24
|
delete: {
|
|
25
|
+
uriTemplate: exports.BookingCustomQuestionItemRequestBuilderUriTemplate,
|
|
21
26
|
responseBodyContentType: "application/json",
|
|
22
27
|
errorMappings: {
|
|
23
|
-
|
|
24
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
29
|
},
|
|
26
30
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
31
|
},
|
|
28
32
|
get: {
|
|
33
|
+
uriTemplate: exports.BookingCustomQuestionItemRequestBuilderUriTemplate,
|
|
29
34
|
responseBodyContentType: "application/json",
|
|
30
35
|
errorMappings: {
|
|
31
|
-
|
|
32
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
37
|
},
|
|
34
38
|
adapterMethodName: "sendAsync",
|
|
35
39
|
responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
|
|
36
40
|
queryParametersMapper: BookingCustomQuestionItemRequestBuilderGetQueryParametersMapper,
|
|
37
41
|
},
|
|
38
42
|
patch: {
|
|
43
|
+
uriTemplate: exports.BookingCustomQuestionItemRequestBuilderUriTemplate,
|
|
39
44
|
responseBodyContentType: "application/json",
|
|
40
45
|
errorMappings: {
|
|
41
|
-
|
|
42
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
47
|
},
|
|
44
48
|
adapterMethodName: "sendAsync",
|
|
45
49
|
responseBodyFactory: models_1.createBookingCustomQuestionFromDiscriminatorValue,
|
|
@@ -48,9 +52,5 @@ exports.BookingCustomQuestionItemRequestBuilderRequestsMetadata = {
|
|
|
48
52
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
53
|
},
|
|
50
54
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Uri template for the request builder.
|
|
53
|
-
*/
|
|
54
|
-
exports.BookingCustomQuestionItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24expand,%24select}";
|
|
55
55
|
/* tslint:enable */
|
|
56
56
|
/* 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
|
}
|
|
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
29
30
|
*/
|
|
30
31
|
search?: string;
|
|
31
32
|
}
|
|
32
|
-
/**
|
|
33
|
-
* Metadata for all the requests in the request builder.
|
|
34
|
-
*/
|
|
35
|
-
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
33
|
/**
|
|
37
34
|
* Uri template for the request builder.
|
|
38
35
|
*/
|
|
39
36
|
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,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,yGAAyG,CAAC;AAQrJ;;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}/customers/$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}/customers/$count{?%24filter,%24search}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -13,13 +13,14 @@ export interface CustomersRequestBuilder extends BaseRequestBuilder<CustomersReq
|
|
|
13
13
|
/**
|
|
14
14
|
* Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity.
|
|
15
15
|
* @param bookingCustomerBaseId The unique identifier of bookingCustomerBase
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {BookingCustomerBaseItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byBookingCustomerBaseId(bookingCustomerBaseId: string): BookingCustomerBaseItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
20
|
* Get a list of bookingCustomer objects of a business.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Promise<BookingCustomerBaseCollectionResponse>}
|
|
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-customers?view=graph-rest-1.0|Find more info here}
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<CustomersRequestBuilderGetQueryParameters> | undefined): Promise<BookingCustomerBaseCollectionResponse | undefined>;
|
|
@@ -27,21 +28,22 @@ export interface CustomersRequestBuilder extends BaseRequestBuilder<CustomersReq
|
|
|
27
28
|
* Create a new bookingCustomer object.
|
|
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<BookingCustomerBase>}
|
|
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-customers?view=graph-rest-1.0|Find more info here}
|
|
32
34
|
*/
|
|
33
35
|
post(body: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingCustomerBase | undefined>;
|
|
34
36
|
/**
|
|
35
37
|
* Get a list of bookingCustomer objects of a business.
|
|
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<CustomersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
42
|
/**
|
|
41
43
|
* Create a new bookingCustomer object.
|
|
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: BookingCustomerBase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
49
|
}
|
|
@@ -82,6 +84,10 @@ export interface CustomersRequestBuilderGetQueryParameters {
|
|
|
82
84
|
*/
|
|
83
85
|
top?: number;
|
|
84
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Uri template for the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const CustomersRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%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 CustomersRequestBuilderNavigationMetadata: Record<Exclude<k
|
|
|
90
96
|
* Metadata for all the requests in the request builder.
|
|
91
97
|
*/
|
|
92
98
|
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{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
97
99
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAyD,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAC5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,K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;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,yJAAyJ,CAAC;AAczM;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CustomersRequestBuilderRequestsMetadata = exports.CustomersRequestBuilderNavigationMetadata = exports.CustomersRequestBuilderUriTemplate = 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.CustomersRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,12 +30,10 @@ const CustomersRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.CustomersRequestBuilderNavigationMetadata = {
|
|
28
32
|
byBookingCustomerBaseId: {
|
|
29
|
-
uriTemplate: item_1.BookingCustomerBaseItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.BookingCustomerBaseItemRequestBuilderRequestsMetadata,
|
|
31
34
|
pathParametersMappings: ["bookingCustomerBase%2Did"],
|
|
32
35
|
},
|
|
33
36
|
count: {
|
|
34
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
37
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
38
|
},
|
|
37
39
|
};
|
|
@@ -40,20 +42,20 @@ exports.CustomersRequestBuilderNavigationMetadata = {
|
|
|
40
42
|
*/
|
|
41
43
|
exports.CustomersRequestBuilderRequestsMetadata = {
|
|
42
44
|
get: {
|
|
45
|
+
uriTemplate: exports.CustomersRequestBuilderUriTemplate,
|
|
43
46
|
responseBodyContentType: "application/json",
|
|
44
47
|
errorMappings: {
|
|
45
|
-
|
|
46
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
49
|
},
|
|
48
50
|
adapterMethodName: "sendAsync",
|
|
49
51
|
responseBodyFactory: models_1.createBookingCustomerBaseCollectionResponseFromDiscriminatorValue,
|
|
50
52
|
queryParametersMapper: CustomersRequestBuilderGetQueryParametersMapper,
|
|
51
53
|
},
|
|
52
54
|
post: {
|
|
55
|
+
uriTemplate: exports.CustomersRequestBuilderUriTemplate,
|
|
53
56
|
responseBodyContentType: "application/json",
|
|
54
57
|
errorMappings: {
|
|
55
|
-
|
|
56
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
59
|
},
|
|
58
60
|
adapterMethodName: "sendAsync",
|
|
59
61
|
responseBodyFactory: models_1.createBookingCustomerBaseFromDiscriminatorValue,
|
|
@@ -62,9 +64,5 @@ exports.CustomersRequestBuilderRequestsMetadata = {
|
|
|
62
64
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
65
|
},
|
|
64
66
|
};
|
|
65
|
-
/**
|
|
66
|
-
* Uri template for the request builder.
|
|
67
|
-
*/
|
|
68
|
-
exports.CustomersRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
69
67
|
/* tslint:enable */
|
|
70
68
|
/* eslint-enable */
|