@microsoft/msgraph-sdk-solutions 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/solutions/bookingBusinesses/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/count/index.js +35 -0
- package/solutions/bookingBusinesses/index.d.ts +97 -0
- package/solutions/bookingBusinesses/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/index.js +71 -0
- package/solutions/bookingBusinesses/item/appointments/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/appointments/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/appointments/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/appointments/index.d.ts +97 -0
- package/solutions/bookingBusinesses/item/appointments/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/appointments/index.js +71 -0
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts +59 -0
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/appointments/item/cancel/index.js +58 -0
- package/solutions/bookingBusinesses/item/appointments/item/index.d.ts +78 -0
- package/solutions/bookingBusinesses/item/appointments/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/appointments/item/index.js +66 -0
- package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/calendarView/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/calendarView/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/calendarView/index.d.ts +104 -0
- package/solutions/bookingBusinesses/item/calendarView/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/calendarView/index.js +71 -0
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts +59 -0
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/calendarView/item/cancel/index.js +58 -0
- package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts +83 -0
- package/solutions/bookingBusinesses/item/calendarView/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/calendarView/item/index.js +66 -0
- package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/customQuestions/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customQuestions/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/customQuestions/index.d.ts +97 -0
- package/solutions/bookingBusinesses/item/customQuestions/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customQuestions/index.js +70 -0
- package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts +69 -0
- package/solutions/bookingBusinesses/item/customQuestions/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customQuestions/item/index.js +56 -0
- package/solutions/bookingBusinesses/item/customers/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/customers/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customers/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/customers/index.d.ts +97 -0
- package/solutions/bookingBusinesses/item/customers/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customers/index.js +70 -0
- package/solutions/bookingBusinesses/item/customers/item/index.d.ts +69 -0
- package/solutions/bookingBusinesses/item/customers/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/customers/item/index.js +56 -0
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts +91 -0
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/getStaffAvailability/index.js +90 -0
- package/solutions/bookingBusinesses/item/index.d.ts +118 -0
- package/solutions/bookingBusinesses/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/index.js +112 -0
- package/solutions/bookingBusinesses/item/publish/index.d.ts +27 -0
- package/solutions/bookingBusinesses/item/publish/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/publish/index.js +26 -0
- package/solutions/bookingBusinesses/item/services/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/services/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/services/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/services/index.d.ts +97 -0
- package/solutions/bookingBusinesses/item/services/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/services/index.js +70 -0
- package/solutions/bookingBusinesses/item/services/item/index.d.ts +69 -0
- package/solutions/bookingBusinesses/item/services/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/services/item/index.js +56 -0
- package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts +40 -0
- package/solutions/bookingBusinesses/item/staffMembers/count/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/staffMembers/count/index.js +35 -0
- package/solutions/bookingBusinesses/item/staffMembers/index.d.ts +97 -0
- package/solutions/bookingBusinesses/item/staffMembers/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/staffMembers/index.js +70 -0
- package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts +69 -0
- package/solutions/bookingBusinesses/item/staffMembers/item/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/staffMembers/item/index.js +56 -0
- package/solutions/bookingBusinesses/item/unpublish/index.d.ts +27 -0
- package/solutions/bookingBusinesses/item/unpublish/index.d.ts.map +1 -0
- package/solutions/bookingBusinesses/item/unpublish/index.js +26 -0
- package/solutions/bookingCurrencies/count/index.d.ts +40 -0
- package/solutions/bookingCurrencies/count/index.d.ts.map +1 -0
- package/solutions/bookingCurrencies/count/index.js +35 -0
- package/solutions/bookingCurrencies/index.d.ts +96 -0
- package/solutions/bookingCurrencies/index.d.ts.map +1 -0
- package/solutions/bookingCurrencies/index.js +70 -0
- package/solutions/bookingCurrencies/item/index.d.ts +67 -0
- package/solutions/bookingCurrencies/item/index.d.ts.map +1 -0
- package/solutions/bookingCurrencies/item/index.js +56 -0
- package/solutions/index.d.ts +74 -0
- package/solutions/index.d.ts.map +1 -0
- package/solutions/index.js +71 -0
- package/solutions/virtualEvents/events/count/index.d.ts +40 -0
- package/solutions/virtualEvents/events/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/count/index.js +35 -0
- package/solutions/virtualEvents/events/index.d.ts +95 -0
- package/solutions/virtualEvents/events/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/index.js +71 -0
- package/solutions/virtualEvents/events/item/index.d.ts +75 -0
- package/solutions/virtualEvents/events/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/index.js +67 -0
- package/solutions/virtualEvents/events/item/sessions/count/index.d.ts +40 -0
- package/solutions/virtualEvents/events/item/sessions/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/count/index.js +35 -0
- package/solutions/virtualEvents/events/item/sessions/index.d.ts +95 -0
- package/solutions/virtualEvents/events/item/sessions/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/index.js +71 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts +40 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/count/index.js +35 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts +95 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/index.js +71 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +70 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts +75 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/attendanceReports/item/index.js +67 -0
- package/solutions/virtualEvents/events/item/sessions/item/index.d.ts +75 -0
- package/solutions/virtualEvents/events/item/sessions/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/events/item/sessions/item/index.js +67 -0
- package/solutions/virtualEvents/index.d.ts +80 -0
- package/solutions/virtualEvents/index.d.ts.map +1 -0
- package/solutions/virtualEvents/index.js +73 -0
- package/solutions/virtualEvents/webinars/count/index.d.ts +40 -0
- package/solutions/virtualEvents/webinars/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/count/index.js +35 -0
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts +83 -0
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/getByUserIdAndRoleWithUserIdWithRole/index.js +67 -0
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts +83 -0
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/getByUserRoleWithRole/index.js +67 -0
- package/solutions/virtualEvents/webinars/index.d.ts +111 -0
- package/solutions/virtualEvents/webinars/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/index.js +81 -0
- package/solutions/virtualEvents/webinars/item/index.d.ts +80 -0
- package/solutions/virtualEvents/webinars/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/index.js +73 -0
- package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts +40 -0
- package/solutions/virtualEvents/webinars/item/registrations/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/registrations/count/index.js +35 -0
- package/solutions/virtualEvents/webinars/item/registrations/index.d.ts +96 -0
- package/solutions/virtualEvents/webinars/item/registrations/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/registrations/index.js +70 -0
- package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts +67 -0
- package/solutions/virtualEvents/webinars/item/registrations/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/registrations/item/index.js +56 -0
- package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts +40 -0
- package/solutions/virtualEvents/webinars/item/sessions/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/count/index.js +35 -0
- package/solutions/virtualEvents/webinars/item/sessions/index.d.ts +95 -0
- package/solutions/virtualEvents/webinars/item/sessions/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/index.js +71 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts +40 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/count/index.js +35 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts +95 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/index.js +71 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts +40 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/count/index.js +35 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts +96 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/index.js +70 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts +66 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/attendanceRecords/item/index.js +56 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts +75 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/attendanceReports/item/index.js +67 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts +75 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/index.d.ts.map +1 -0
- package/solutions/virtualEvents/webinars/item/sessions/item/index.js +67 -0
- package/solutionsServiceClient.d.ts +25 -0
- package/solutionsServiceClient.d.ts.map +1 -0
- package/solutionsServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
export interface CancelPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
3
|
+
/**
|
|
4
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
5
|
+
*/
|
|
6
|
+
additionalData?: Record<string, unknown>;
|
|
7
|
+
/**
|
|
8
|
+
* Stores model information.
|
|
9
|
+
*/
|
|
10
|
+
backingStoreEnabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The cancellationMessage property
|
|
13
|
+
*/
|
|
14
|
+
cancellationMessage?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the cancel method.
|
|
18
|
+
*/
|
|
19
|
+
export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
|
|
20
|
+
/**
|
|
21
|
+
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
post(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a RequestInformation
|
|
32
|
+
*/
|
|
33
|
+
toPostRequestInformation(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns a cancelPostRequestBody
|
|
39
|
+
*/
|
|
40
|
+
export declare function createCancelPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCancelPostRequestBody;
|
|
41
|
+
/**
|
|
42
|
+
* The deserialization information for the current model
|
|
43
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
44
|
+
*/
|
|
45
|
+
export declare function deserializeIntoCancelPostRequestBody(cancelPostRequestBody?: CancelPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
export declare function serializeCancelPostRequestBody(writer: SerializationWriter, cancelPostRequestBody?: CancelPostRequestBody | undefined): void;
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel";
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,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;;;;;OAKG;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,+CAEjG;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvL;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,IAAI,CAGzK;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,gHAAgH,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelRequestBuilderUriTemplate = exports.CancelRequestBuilderRequestsMetadata = exports.serializeCancelPostRequestBody = exports.deserializeIntoCancelPostRequestBody = exports.createCancelPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a cancelPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createCancelPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoCancelPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createCancelPostRequestBodyFromDiscriminatorValue = createCancelPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
20
|
+
*/
|
|
21
|
+
function deserializeIntoCancelPostRequestBody(cancelPostRequestBody = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { cancelPostRequestBody.backingStoreEnabled = true; },
|
|
24
|
+
"cancellationMessage": n => { cancelPostRequestBody.cancellationMessage = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.deserializeIntoCancelPostRequestBody = deserializeIntoCancelPostRequestBody;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
function serializeCancelPostRequestBody(writer, cancelPostRequestBody = {}) {
|
|
33
|
+
writer.writeStringValue("cancellationMessage", cancelPostRequestBody.cancellationMessage);
|
|
34
|
+
writer.writeAdditionalData(cancelPostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
exports.serializeCancelPostRequestBody = serializeCancelPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
exports.CancelRequestBuilderRequestsMetadata = {
|
|
41
|
+
post: {
|
|
42
|
+
responseBodyContentType: "application/json",
|
|
43
|
+
errorMappings: {
|
|
44
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
45
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
},
|
|
47
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
48
|
+
requestBodyContentType: "application/json",
|
|
49
|
+
requestBodySerializer: serializeCancelPostRequestBody,
|
|
50
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
exports.CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel";
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type BookingAppointment } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CancelRequestBuilder } from './cancel/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface BookingAppointmentItemRequestBuilder extends BaseRequestBuilder<BookingAppointmentItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to call the cancel method.
|
|
10
|
+
*/
|
|
11
|
+
get cancel(): CancelRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete a bookingAppointment in the specified bookingBusiness.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-delete?view=graph-rest-1.0|Find more info here}
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a Promise of BookingAppointment
|
|
22
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-1.0|Find more info here}
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<BookingAppointmentItemRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointment | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the properties of a bookingAppointment object in the specified bookingBusiness.
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of BookingAppointment
|
|
30
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-update?view=graph-rest-1.0|Find more info here}
|
|
31
|
+
*/
|
|
32
|
+
patch(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete a bookingAppointment in the specified bookingBusiness.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookingAppointmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the properties of a bookingAppointment object in the specified bookingBusiness.
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a RequestInformation
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC.
|
|
55
|
+
*/
|
|
56
|
+
export interface BookingAppointmentItemRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the navigation properties in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const BookingAppointmentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof BookingAppointmentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the requests in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const BookingAppointmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
74
|
+
/**
|
|
75
|
+
* Uri template for the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const BookingAppointmentItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}{?%24select,%24expand}";
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AA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I;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBA+BlE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,+HAA+H,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BookingAppointmentItemRequestBuilderUriTemplate = exports.BookingAppointmentItemRequestBuilderRequestsMetadata = exports.BookingAppointmentItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const cancel_1 = require("./cancel/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const BookingAppointmentItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.BookingAppointmentItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
cancel: {
|
|
22
|
+
uriTemplate: cancel_1.CancelRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: cancel_1.CancelRequestBuilderRequestsMetadata,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
exports.BookingAppointmentItemRequestBuilderRequestsMetadata = {
|
|
30
|
+
delete: {
|
|
31
|
+
responseBodyContentType: "application/json",
|
|
32
|
+
errorMappings: {
|
|
33
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
34
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
37
|
+
},
|
|
38
|
+
get: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
|
|
46
|
+
queryParametersMapper: BookingAppointmentItemRequestBuilderGetQueryParametersMapper,
|
|
47
|
+
},
|
|
48
|
+
patch: {
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendAsync",
|
|
55
|
+
responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
|
|
56
|
+
requestBodyContentType: "application/json",
|
|
57
|
+
requestBodySerializer: models_1.serializeBookingAppointment,
|
|
58
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
exports.BookingAppointmentItemRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}{?%24select,%24expand}";
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAA4G,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { type BookingAppointment, type BookingAppointmentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type BookingAppointmentItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface CalendarViewRequestBuilder extends BaseRequestBuilder<CalendarViewRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity.
|
|
15
|
+
* @param bookingAppointmentId The unique identifier of bookingAppointment
|
|
16
|
+
* @returns a BookingAppointmentItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byBookingAppointmentId(bookingAppointmentId: string): BookingAppointmentItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The set of appointments of this business in a specified date range. Read-only. Nullable.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of BookingAppointmentCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingbusiness-list-calendarview?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<CalendarViewRequestBuilderGetQueryParameters> | undefined): Promise<BookingAppointmentCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to calendarView for solutions
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of BookingAppointment
|
|
31
|
+
*/
|
|
32
|
+
post(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BookingAppointment | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The set of appointments of this business in a specified date range. Read-only. Nullable.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CalendarViewRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to calendarView for solutions
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: BookingAppointment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of appointments of this business in a specified date range. Read-only. Nullable.
|
|
49
|
+
*/
|
|
50
|
+
export interface CalendarViewRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00
|
|
57
|
+
*/
|
|
58
|
+
end?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Expand related entities
|
|
61
|
+
*/
|
|
62
|
+
expand?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* Filter items by property values
|
|
65
|
+
*/
|
|
66
|
+
filter?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Order items by property values
|
|
69
|
+
*/
|
|
70
|
+
orderby?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Search items by search phrases
|
|
73
|
+
*/
|
|
74
|
+
search?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Select properties to be returned
|
|
77
|
+
*/
|
|
78
|
+
select?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Skip the first n items
|
|
81
|
+
*/
|
|
82
|
+
skip?: number;
|
|
83
|
+
/**
|
|
84
|
+
* The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00
|
|
85
|
+
*/
|
|
86
|
+
start?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Show only the first n items
|
|
89
|
+
*/
|
|
90
|
+
top?: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Metadata for all the navigation properties in the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const CalendarViewRequestBuilderNavigationMetadata: Record<Exclude<keyof CalendarViewRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
96
|
+
/**
|
|
97
|
+
* Metadata for all the requests in the request builder.
|
|
98
|
+
*/
|
|
99
|
+
export declare const CalendarViewRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
100
|
+
/**
|
|
101
|
+
* Uri template for the request builder.
|
|
102
|
+
*/
|
|
103
|
+
export declare const CalendarViewRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?start*,end*,%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
104
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiJ,KAAK,kBAAkB,EAAE,KAAK,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAEnQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiK,KAAK,oCAAoC,EAAE,MAAM,SAAS,CAAC;AACnO,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sBAAsB,CAAC,oBAAoB,EAAE,MAAM,GAAI,oCAAoC,CAAC;IAC7F;;;;;OAKG;IACF,G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ACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,wKAAwK,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CalendarViewRequestBuilderUriTemplate = exports.CalendarViewRequestBuilderRequestsMetadata = exports.CalendarViewRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const CalendarViewRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.CalendarViewRequestBuilderNavigationMetadata = {
|
|
28
|
+
byBookingAppointmentId: {
|
|
29
|
+
uriTemplate: item_1.BookingAppointmentItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.BookingAppointmentItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.BookingAppointmentItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["bookingAppointment%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.CalendarViewRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createBookingAppointmentCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: CalendarViewRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createBookingAppointmentFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeBookingAppointment,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.CalendarViewRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?start*,end*,%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
export interface CancelPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
3
|
+
/**
|
|
4
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
5
|
+
*/
|
|
6
|
+
additionalData?: Record<string, unknown>;
|
|
7
|
+
/**
|
|
8
|
+
* Stores model information.
|
|
9
|
+
*/
|
|
10
|
+
backingStoreEnabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The cancellationMessage property
|
|
13
|
+
*/
|
|
14
|
+
cancellationMessage?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the cancel method.
|
|
18
|
+
*/
|
|
19
|
+
export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
|
|
20
|
+
/**
|
|
21
|
+
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
post(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a RequestInformation
|
|
32
|
+
*/
|
|
33
|
+
toPostRequestInformation(body: CancelPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns a cancelPostRequestBody
|
|
39
|
+
*/
|
|
40
|
+
export declare function createCancelPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCancelPostRequestBody;
|
|
41
|
+
/**
|
|
42
|
+
* The deserialization information for the current model
|
|
43
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
44
|
+
*/
|
|
45
|
+
export declare function deserializeIntoCancelPostRequestBody(cancelPostRequestBody?: CancelPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
export declare function serializeCancelPostRequestBody(writer: SerializationWriter, cancelPostRequestBody?: CancelPostRequestBody | undefined): void;
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
/**
|
|
56
|
+
* Uri template for the request builder.
|
|
57
|
+
*/
|
|
58
|
+
export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}/cancel";
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBA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