@pnp/graph 3.3.2-v3nightly.20220607 → 3.3.2-v3nightly.20220608

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.
@@ -0,0 +1,11 @@
1
+ import { IGraphQueryable, IGraphQueryableCollection } from "../graphqueryable.js";
2
+ import { BookingAppointment as IBookingAppointmentEntity } from "@microsoft/microsoft-graph-types";
3
+ /**
4
+ * Get the collection of bookingAppointment objects for a bookingBusiness, that occurs in the specified date range.
5
+ *
6
+ * @param this IGraphQueryable instance
7
+ * @param start start time
8
+ * @param end end time
9
+ */
10
+ export declare function calendarView(this: IGraphQueryable, start: string, end: string): IGraphQueryableCollection<IBookingAppointmentEntity[]>;
11
+ //# sourceMappingURL=funcs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"funcs.d.ts","sourceRoot":"","sources":["../../../../packages/graph/bookings/funcs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAA4B,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC5G,OAAO,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAEnG;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,yBAAyB,EAAE,CAAC,CAMtI"}
@@ -0,0 +1,15 @@
1
+ import { GraphQueryableCollection } from "../graphqueryable.js";
2
+ /**
3
+ * Get the collection of bookingAppointment objects for a bookingBusiness, that occurs in the specified date range.
4
+ *
5
+ * @param this IGraphQueryable instance
6
+ * @param start start time
7
+ * @param end end time
8
+ */
9
+ export function calendarView(start, end) {
10
+ const query = GraphQueryableCollection(this, "calendarView");
11
+ query.query.set("startDateTime", start);
12
+ query.query.set("endDateTime", end);
13
+ return query;
14
+ }
15
+ //# sourceMappingURL=funcs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"funcs.js","sourceRoot":"","sources":["../../../../packages/graph/bookings/funcs.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,wBAAwB,EAA6B,MAAM,sBAAsB,CAAC;AAG5G;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAwB,KAAa,EAAE,GAAW;IAE1E,MAAM,KAAK,GAAG,wBAAwB,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAC7D,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;IACxC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IACpC,OAAO,KAAK,CAAC;AACjB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { IBookingBusinesses, IBookingCurrencies } from "./types.js";
2
+ export { BookingCurrencies, BookingCurrency, BookingBusinesses, BookingBusiness, BookingAppointments, BookingAppointment, BookingCustomers, BookingCustomer, BookingServices, BookingService, BookingStaffMembers, BookingStaffMember, BookingCustomQuestions, BookingCustomQuestion, IBookingBusinessAddResult, IBookingAppointmentAddResult, IBookingCustomerAddResult, IBookingServiceAddResult, IBookingStaffMemberAddResult, IBookingCustomQuestionAddResult, IBookingCurrencies, IBookingCurrency, IBookingBusinesses, IBookingBusiness, IBookingAppointments, IBookingAppointment, IBookingCustomers, IBookingCustomer, IBookingServices, IBookingService, IBookingStaffMembers, IBookingStaffMember, IBookingCustomQuestions, IBookingCustomQuestion, } from "./types.js";
3
+ declare module "../fi" {
4
+ interface GraphFI {
5
+ readonly bookingBusinesses: IBookingBusinesses;
6
+ readonly bookingCurrencies: IBookingCurrencies;
7
+ }
8
+ }
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/graph/bookings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAG1G,OAAO,EACH,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,EAC/B,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,GACzB,MAAM,YAAY,CAAC;AAEpB,OAAO,QAAQ,OAAO,CAAC;IACnB,UAAU,OAAO;QACb,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;QAC/C,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;CACJ"}
@@ -0,0 +1,18 @@
1
+ import { BookingBusinesses, BookingCurrencies } from "./types.js";
2
+ import { GraphFI } from "../fi.js";
3
+ export { BookingCurrencies, BookingCurrency, BookingBusinesses, BookingBusiness, BookingAppointments, BookingAppointment, BookingCustomers, BookingCustomer, BookingServices, BookingService, BookingStaffMembers, BookingStaffMember, BookingCustomQuestions, BookingCustomQuestion, } from "./types.js";
4
+ Reflect.defineProperty(GraphFI.prototype, "bookingBusinesses", {
5
+ configurable: true,
6
+ enumerable: true,
7
+ get: function () {
8
+ return this.create(BookingBusinesses);
9
+ },
10
+ });
11
+ Reflect.defineProperty(GraphFI.prototype, "bookingCurrencies", {
12
+ configurable: true,
13
+ enumerable: true,
14
+ get: function () {
15
+ return this.create(BookingCurrencies);
16
+ },
17
+ });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/graph/bookings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAA0C,MAAM,YAAY,CAAC;AAC1G,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,GAqBxB,MAAM,YAAY,CAAC;AASpB,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,mBAAmB,EAAE;IAC3D,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,GAAG,EAAE;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAC,CAAC;AAEH,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE,mBAAmB,EAAE;IAC3D,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,GAAG,EAAE;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,241 @@
1
+ import { BookingBusiness as IBookingBusinessEntity, BookingAppointment as IBookingAppointmentEntity, BookingCustomer as IBookingCustomerEntity, BookingService as IBookingServiceEntity, BookingStaffMember as IBookingStaffMemberEntity, BookingCurrency as IBookingCurrencyEntity, BookingCustomQuestion as IBookingCustomQuestionEntity } from "@microsoft/microsoft-graph-types";
2
+ import { _DirectoryObject } from "../directory-objects/types.js";
3
+ import { _GraphQueryableCollection } from "../graphqueryable.js";
4
+ import { IDeleteable, IUpdateable, IGetById } from "../decorators.js";
5
+ import { calendarView } from "./funcs.js";
6
+ /**
7
+ * Describes a Booking Currency entity
8
+ *
9
+ */
10
+ export declare class _BookingCurrency extends _DirectoryObject<IBookingCurrencyEntity> {
11
+ }
12
+ export interface IBookingCurrency extends _BookingCurrency {
13
+ }
14
+ export declare const BookingCurrency: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCurrency>;
15
+ /**
16
+ * Describes a collection of Booking Currency objects
17
+ *
18
+ */
19
+ export declare class _BookingCurrencies extends _GraphQueryableCollection<IBookingCurrencyEntity[]> {
20
+ }
21
+ export interface IBookingCurrencies extends _BookingCurrencies, IGetById<IBookingCurrency> {
22
+ }
23
+ export declare const BookingCurrencies: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCurrencies>;
24
+ /**
25
+ * Represents a booking business entity
26
+ */
27
+ export declare class _BookingBusiness extends _DirectoryObject<IBookingBusinessEntity> {
28
+ /**
29
+ * Get the calendar view for the booking business.
30
+ */
31
+ calendarView: typeof calendarView;
32
+ /**
33
+ * Make the scheduling page of a business available to external customers.
34
+ */
35
+ publish(): Promise<void>;
36
+ /**
37
+ * Make the scheduling page of this business not available to external customers.
38
+ */
39
+ unpublish(): Promise<void>;
40
+ /**
41
+ * Get the appointments for the booking business.
42
+ */
43
+ get appointments(): IBookingAppointments;
44
+ /**
45
+ * Get the customers for the booking business.
46
+ */
47
+ get customers(): IBookingCustomers;
48
+ /**
49
+ * Get the services for the booking business.
50
+ */
51
+ get services(): IBookingServices;
52
+ /**
53
+ * Get the staff members for the booking business.
54
+ */
55
+ get staffMembers(): IBookingStaffMembers;
56
+ /**
57
+ * Get the staff members for the booking business.
58
+ */
59
+ get customQuestions(): IBookingCustomQuestions;
60
+ }
61
+ export interface IBookingBusiness extends _BookingBusiness, IDeleteable, IUpdateable {
62
+ }
63
+ export declare const BookingBusiness: import("../graphqueryable.js").IGraphInvokableFactory<IBookingBusiness>;
64
+ /**
65
+ * Describes a collection of Booking Business objects
66
+ *
67
+ */
68
+ export declare class _BookingBusinesses extends _GraphQueryableCollection<IBookingBusinessEntity[]> {
69
+ /**
70
+ * Create a new booking business as specified in the request body.
71
+ *
72
+ * @param name The name of the business, which interfaces with customers. This name appears at the top of the business scheduling page.
73
+ * @param additionalProperties A plain object collection of additional properties you want to set on the new group of type IBookingBusiness
74
+ */
75
+ add(name: string, additionalProperties?: Record<string, any>): Promise<IBookingBusinessAddResult>;
76
+ }
77
+ export interface IBookingBusinesses extends _BookingBusinesses, IGetById<IBookingBusiness> {
78
+ }
79
+ export declare const BookingBusinesses: import("../graphqueryable.js").IGraphInvokableFactory<IBookingBusinesses>;
80
+ /**
81
+ * Represents a booking appointment entity
82
+ */
83
+ export declare class _BookingApointment extends _DirectoryObject<IBookingAppointmentEntity> {
84
+ /**
85
+ * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
86
+ */
87
+ cancel(cancellationMessage: string): Promise<void>;
88
+ }
89
+ export interface IBookingAppointment extends _BookingApointment, IDeleteable, IUpdateable {
90
+ }
91
+ export declare const BookingAppointment: import("../graphqueryable.js").IGraphInvokableFactory<IBookingAppointment>;
92
+ /**
93
+ * Describes a collection of booking appointment objects
94
+ *
95
+ */
96
+ export declare class _BookingAppointments extends _GraphQueryableCollection<IBookingAppointmentEntity[]> {
97
+ /**
98
+ * Create a new booking appointment as specified in the request body.
99
+ *
100
+ * @param bookingAppointment a JSON representation of a BookingAppointment object.
101
+ */
102
+ add(bookingAppointment: IBookingAppointmentEntity): Promise<IBookingAppointmentAddResult>;
103
+ }
104
+ export interface IBookingAppointments extends _BookingAppointments, IGetById<IBookingAppointment> {
105
+ }
106
+ export declare const BookingAppointments: import("../graphqueryable.js").IGraphInvokableFactory<IBookingAppointments>;
107
+ /**
108
+ * Represents a booking customer entity
109
+ */
110
+ export declare class _BookingCustomer extends _DirectoryObject<IBookingCustomerEntity> {
111
+ }
112
+ export interface IBookingCustomer extends _BookingCustomer, IDeleteable, IUpdateable {
113
+ }
114
+ export declare const BookingCustomer: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCustomer>;
115
+ /**
116
+ * Describes a collection of booking customer objects
117
+ *
118
+ */
119
+ export declare class _BookingCustomers extends _GraphQueryableCollection<IBookingCustomerEntity[]> {
120
+ /**
121
+ * Create a new booking customer as specified in the request body.
122
+ *
123
+ * @param bookingCustomer a JSON representation of a BookingCustomer object.
124
+ */
125
+ add(bookingCustomer: IBookingCustomerEntity): Promise<IBookingCustomerAddResult>;
126
+ }
127
+ export interface IBookingCustomers extends _BookingCustomers, IGetById<IBookingCustomer> {
128
+ }
129
+ export declare const BookingCustomers: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCustomers>;
130
+ /**
131
+ * Represents a booking service entity
132
+ */
133
+ export declare class _BookingService extends _DirectoryObject<IBookingServiceEntity> {
134
+ }
135
+ export interface IBookingService extends _BookingService, IDeleteable, IUpdateable {
136
+ }
137
+ export declare const BookingService: import("../graphqueryable.js").IGraphInvokableFactory<IBookingService>;
138
+ /**
139
+ * Describes a collection of booking service objects
140
+ *
141
+ */
142
+ export declare class _BookingServices extends _GraphQueryableCollection<IBookingServiceEntity[]> {
143
+ /**
144
+ * Create a new booking service as specified in the request body.
145
+ *
146
+ * @param bookingService a JSON representation of a BookingService object.
147
+ */
148
+ add(bookingService: IBookingServiceEntity): Promise<IBookingServiceAddResult>;
149
+ }
150
+ export interface IBookingServices extends _BookingServices, IGetById<IBookingService> {
151
+ }
152
+ export declare const BookingServices: import("../graphqueryable.js").IGraphInvokableFactory<IBookingServices>;
153
+ /**
154
+ * Represents a booking staffmember entity
155
+ */
156
+ export declare class _BookingStaffMember extends _DirectoryObject<IBookingStaffMemberEntity> {
157
+ }
158
+ export interface IBookingStaffMember extends _BookingStaffMember, IDeleteable, IUpdateable {
159
+ }
160
+ export declare const BookingStaffMember: import("../graphqueryable.js").IGraphInvokableFactory<IBookingStaffMember>;
161
+ /**
162
+ * Describes a collection of booking staffmember objects
163
+ *
164
+ */
165
+ export declare class _BookingStaffMembers extends _GraphQueryableCollection<IBookingStaffMemberEntity[]> {
166
+ /**
167
+ * Create a new booking staffmember as specified in the request body.
168
+ *
169
+ * @param bookingStaffMember a JSON representation of a BookingStaffMember object.
170
+ */
171
+ add(bookingStaffMember: IBookingStaffMemberEntity): Promise<IBookingStaffMemberAddResult>;
172
+ }
173
+ export interface IBookingStaffMembers extends _BookingStaffMembers, IGetById<IBookingStaffMember> {
174
+ }
175
+ export declare const BookingStaffMembers: import("../graphqueryable.js").IGraphInvokableFactory<IBookingStaffMembers>;
176
+ /**
177
+ * Represents a booking custom questions entity
178
+ */
179
+ export declare class _BookingCustomQuestion extends _DirectoryObject<IBookingCustomQuestionEntity> {
180
+ }
181
+ export interface IBookingCustomQuestion extends _BookingCustomQuestion, IDeleteable, IUpdateable {
182
+ }
183
+ export declare const BookingCustomQuestion: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCustomQuestion>;
184
+ /**
185
+ * Describes a collection of booking custom questions objects
186
+ *
187
+ */
188
+ export declare class _BookingCustomQuestions extends _GraphQueryableCollection<IBookingCustomQuestionEntity[]> {
189
+ /**
190
+ * Create a new booking customquestions as specified in the request body.
191
+ *
192
+ * @param bookingCustomQuestion a JSON representation of a BookingCustomQuestion object.
193
+ */
194
+ add(bookingCustomQuestion: IBookingCustomQuestionEntity): Promise<IBookingCustomQuestionAddResult>;
195
+ }
196
+ export interface IBookingCustomQuestions extends _BookingCustomQuestions, IGetById<IBookingCustomQuestion> {
197
+ }
198
+ export declare const BookingCustomQuestions: import("../graphqueryable.js").IGraphInvokableFactory<IBookingCustomQuestions>;
199
+ /**
200
+ * IBookingBusinessAddResult
201
+ */
202
+ export interface IBookingBusinessAddResult {
203
+ bookingBusiness: IBookingBusinessEntity;
204
+ data: any;
205
+ }
206
+ /**
207
+ * IBookingAppointmentAddResult
208
+ */
209
+ export interface IBookingAppointmentAddResult {
210
+ bookingAppointment: IBookingAppointmentEntity;
211
+ data: any;
212
+ }
213
+ /**
214
+ * IBookingCustomerAddResult
215
+ */
216
+ export interface IBookingCustomerAddResult {
217
+ bookingCustomer: IBookingCustomerEntity;
218
+ data: any;
219
+ }
220
+ /**
221
+ * IBookingServiceAddResult
222
+ */
223
+ export interface IBookingServiceAddResult {
224
+ bookingService: IBookingServiceEntity;
225
+ data: any;
226
+ }
227
+ /**
228
+ * IBookingStaffMemberAddResult
229
+ */
230
+ export interface IBookingStaffMemberAddResult {
231
+ bookingStaffMember: IBookingStaffMemberEntity;
232
+ data: any;
233
+ }
234
+ /**
235
+ * IBookingCustomQuestionAddResult
236
+ */
237
+ export interface IBookingCustomQuestionAddResult {
238
+ bookingCustomQuestion: IBookingCustomQuestionEntity;
239
+ data: any;
240
+ }
241
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/bookings/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,IAAI,sBAAsB,EACzC,kBAAkB,IAAI,yBAAyB,EAC/C,eAAe,IAAI,sBAAsB,EACzC,cAAc,IAAI,qBAAqB,EACvC,kBAAkB,IAAI,yBAAyB,EAC/C,eAAe,IAAI,sBAAsB,EACzC,qBAAqB,IAAI,4BAA4B,EACxD,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAyB,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAA2B,WAAW,EAAc,WAAW,EAAW,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGpH,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,gBAAgB,CAAC,sBAAsB,CAAC;CAAI;AAClF,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;CAAI;AAC9D,eAAO,MAAM,eAAe,yEAA4D,CAAC;AAEzF;;;GAGG;AACH,qBAEa,kBAAmB,SAAQ,yBAAyB,CAAC,sBAAsB,EAAE,CAAC;CAAG;AAC9F,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,E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AAI,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,eAAe,EAAE,sBAAsB,CAAC;IACxC,IAAI,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,qBAAqB,CAAC;IACtC,IAAI,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,kBAAkB,EAAE,yBAAyB,CAAC;IAC9C,IAAI,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,qBAAqB,EAAE,4BAA4B,CAAC;IACpD,IAAI,EAAE,GAAG,CAAC;CACb"}
@@ -0,0 +1,298 @@
1
+ import { __decorate } from "tslib";
2
+ import { _DirectoryObject } from "../directory-objects/types.js";
3
+ import { _GraphQueryableCollection, graphInvokableFactory } from "../graphqueryable.js";
4
+ import { defaultPath, deleteable, updateable, getById } from "../decorators.js";
5
+ import { graphPost } from "../operations.js";
6
+ import { body } from "@pnp/queryable";
7
+ import { calendarView } from "./funcs.js";
8
+ /**
9
+ * Describes a Booking Currency entity
10
+ *
11
+ */
12
+ export class _BookingCurrency extends _DirectoryObject {
13
+ }
14
+ export const BookingCurrency = graphInvokableFactory(_BookingCurrency);
15
+ /**
16
+ * Describes a collection of Booking Currency objects
17
+ *
18
+ */
19
+ let _BookingCurrencies = class _BookingCurrencies extends _GraphQueryableCollection {
20
+ };
21
+ _BookingCurrencies = __decorate([
22
+ defaultPath("solutions/bookingCurrencies"),
23
+ getById(BookingCurrency)
24
+ ], _BookingCurrencies);
25
+ export { _BookingCurrencies };
26
+ export const BookingCurrencies = graphInvokableFactory(_BookingCurrencies);
27
+ /**
28
+ * Represents a booking business entity
29
+ */
30
+ let _BookingBusiness = class _BookingBusiness extends _DirectoryObject {
31
+ constructor() {
32
+ super(...arguments);
33
+ /**
34
+ * Get the calendar view for the booking business.
35
+ */
36
+ this.calendarView = calendarView;
37
+ }
38
+ /**
39
+ * Make the scheduling page of a business available to external customers.
40
+ */
41
+ publish() {
42
+ return graphPost(BookingBusiness(this, "publish"));
43
+ }
44
+ /**
45
+ * Make the scheduling page of this business not available to external customers.
46
+ */
47
+ unpublish() {
48
+ return graphPost(BookingBusiness(this, "unpublish"));
49
+ }
50
+ /**
51
+ * Get the appointments for the booking business.
52
+ */
53
+ get appointments() {
54
+ return BookingAppointments(this);
55
+ }
56
+ /**
57
+ * Get the customers for the booking business.
58
+ */
59
+ get customers() {
60
+ return BookingCustomers(this);
61
+ }
62
+ /**
63
+ * Get the services for the booking business.
64
+ */
65
+ get services() {
66
+ return BookingServices(this);
67
+ }
68
+ /**
69
+ * Get the staff members for the booking business.
70
+ */
71
+ get staffMembers() {
72
+ return BookingStaffMembers(this);
73
+ }
74
+ /**
75
+ * Get the staff members for the booking business.
76
+ */
77
+ get customQuestions() {
78
+ return BookingCustomQuestions(this);
79
+ }
80
+ };
81
+ _BookingBusiness = __decorate([
82
+ deleteable(),
83
+ updateable()
84
+ ], _BookingBusiness);
85
+ export { _BookingBusiness };
86
+ export const BookingBusiness = graphInvokableFactory(_BookingBusiness);
87
+ /**
88
+ * Describes a collection of Booking Business objects
89
+ *
90
+ */
91
+ let _BookingBusinesses = class _BookingBusinesses extends _GraphQueryableCollection {
92
+ /**
93
+ * Create a new booking business as specified in the request body.
94
+ *
95
+ * @param name The name of the business, which interfaces with customers. This name appears at the top of the business scheduling page.
96
+ * @param additionalProperties A plain object collection of additional properties you want to set on the new group of type IBookingBusiness
97
+ */
98
+ async add(name, additionalProperties = {}) {
99
+ const postBody = {
100
+ displayName: name,
101
+ ...additionalProperties,
102
+ };
103
+ const data = await graphPost(this, body(postBody));
104
+ return {
105
+ data,
106
+ bookingBusiness: this.getById(data.id),
107
+ };
108
+ }
109
+ };
110
+ _BookingBusinesses = __decorate([
111
+ defaultPath("solutions/bookingBusinesses"),
112
+ getById(BookingBusiness)
113
+ ], _BookingBusinesses);
114
+ export { _BookingBusinesses };
115
+ export const BookingBusinesses = graphInvokableFactory(_BookingBusinesses);
116
+ /**
117
+ * Represents a booking appointment entity
118
+ */
119
+ let _BookingApointment = class _BookingApointment extends _DirectoryObject {
120
+ /**
121
+ * Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members.
122
+ */
123
+ cancel(cancellationMessage) {
124
+ const postBody = { cancellationMessage };
125
+ return graphPost(BookingAppointment(this, "cancel"), body(postBody));
126
+ }
127
+ };
128
+ _BookingApointment = __decorate([
129
+ deleteable(),
130
+ updateable()
131
+ ], _BookingApointment);
132
+ export { _BookingApointment };
133
+ export const BookingAppointment = graphInvokableFactory(_BookingApointment);
134
+ /**
135
+ * Describes a collection of booking appointment objects
136
+ *
137
+ */
138
+ let _BookingAppointments = class _BookingAppointments extends _GraphQueryableCollection {
139
+ /**
140
+ * Create a new booking appointment as specified in the request body.
141
+ *
142
+ * @param bookingAppointment a JSON representation of a BookingAppointment object.
143
+ */
144
+ async add(bookingAppointment) {
145
+ const data = await graphPost(this, body(bookingAppointment));
146
+ return {
147
+ data,
148
+ bookingAppointment: this.getById(data.id),
149
+ };
150
+ }
151
+ };
152
+ _BookingAppointments = __decorate([
153
+ defaultPath("appointments"),
154
+ getById(BookingAppointment)
155
+ ], _BookingAppointments);
156
+ export { _BookingAppointments };
157
+ export const BookingAppointments = graphInvokableFactory(_BookingAppointments);
158
+ /**
159
+ * Represents a booking customer entity
160
+ */
161
+ let _BookingCustomer = class _BookingCustomer extends _DirectoryObject {
162
+ };
163
+ _BookingCustomer = __decorate([
164
+ deleteable(),
165
+ updateable()
166
+ ], _BookingCustomer);
167
+ export { _BookingCustomer };
168
+ export const BookingCustomer = graphInvokableFactory(_BookingCustomer);
169
+ /**
170
+ * Describes a collection of booking customer objects
171
+ *
172
+ */
173
+ let _BookingCustomers = class _BookingCustomers extends _GraphQueryableCollection {
174
+ /**
175
+ * Create a new booking customer as specified in the request body.
176
+ *
177
+ * @param bookingCustomer a JSON representation of a BookingCustomer object.
178
+ */
179
+ async add(bookingCustomer) {
180
+ const data = await graphPost(this, body(bookingCustomer));
181
+ return {
182
+ data,
183
+ bookingCustomer: this.getById(data.id),
184
+ };
185
+ }
186
+ };
187
+ _BookingCustomers = __decorate([
188
+ defaultPath("customers"),
189
+ getById(BookingCustomer)
190
+ ], _BookingCustomers);
191
+ export { _BookingCustomers };
192
+ export const BookingCustomers = graphInvokableFactory(_BookingCustomers);
193
+ /**
194
+ * Represents a booking service entity
195
+ */
196
+ let _BookingService = class _BookingService extends _DirectoryObject {
197
+ };
198
+ _BookingService = __decorate([
199
+ deleteable(),
200
+ updateable()
201
+ ], _BookingService);
202
+ export { _BookingService };
203
+ export const BookingService = graphInvokableFactory(_BookingService);
204
+ /**
205
+ * Describes a collection of booking service objects
206
+ *
207
+ */
208
+ let _BookingServices = class _BookingServices extends _GraphQueryableCollection {
209
+ /**
210
+ * Create a new booking service as specified in the request body.
211
+ *
212
+ * @param bookingService a JSON representation of a BookingService object.
213
+ */
214
+ async add(bookingService) {
215
+ const data = await graphPost(this, body(bookingService));
216
+ return {
217
+ data,
218
+ bookingService: this.getById(data.id),
219
+ };
220
+ }
221
+ };
222
+ _BookingServices = __decorate([
223
+ defaultPath("services"),
224
+ getById(BookingService)
225
+ ], _BookingServices);
226
+ export { _BookingServices };
227
+ export const BookingServices = graphInvokableFactory(_BookingServices);
228
+ /**
229
+ * Represents a booking staffmember entity
230
+ */
231
+ let _BookingStaffMember = class _BookingStaffMember extends _DirectoryObject {
232
+ };
233
+ _BookingStaffMember = __decorate([
234
+ deleteable(),
235
+ updateable()
236
+ ], _BookingStaffMember);
237
+ export { _BookingStaffMember };
238
+ export const BookingStaffMember = graphInvokableFactory(_BookingStaffMember);
239
+ /**
240
+ * Describes a collection of booking staffmember objects
241
+ *
242
+ */
243
+ let _BookingStaffMembers = class _BookingStaffMembers extends _GraphQueryableCollection {
244
+ /**
245
+ * Create a new booking staffmember as specified in the request body.
246
+ *
247
+ * @param bookingStaffMember a JSON representation of a BookingStaffMember object.
248
+ */
249
+ async add(bookingStaffMember) {
250
+ const data = await graphPost(this, body(bookingStaffMember));
251
+ return {
252
+ data,
253
+ bookingStaffMember: this.getById(data.id),
254
+ };
255
+ }
256
+ };
257
+ _BookingStaffMembers = __decorate([
258
+ defaultPath("staffMembers"),
259
+ getById(BookingStaffMember)
260
+ ], _BookingStaffMembers);
261
+ export { _BookingStaffMembers };
262
+ export const BookingStaffMembers = graphInvokableFactory(_BookingStaffMembers);
263
+ /**
264
+ * Represents a booking custom questions entity
265
+ */
266
+ let _BookingCustomQuestion = class _BookingCustomQuestion extends _DirectoryObject {
267
+ };
268
+ _BookingCustomQuestion = __decorate([
269
+ deleteable(),
270
+ updateable()
271
+ ], _BookingCustomQuestion);
272
+ export { _BookingCustomQuestion };
273
+ export const BookingCustomQuestion = graphInvokableFactory(_BookingCustomQuestion);
274
+ /**
275
+ * Describes a collection of booking custom questions objects
276
+ *
277
+ */
278
+ let _BookingCustomQuestions = class _BookingCustomQuestions extends _GraphQueryableCollection {
279
+ /**
280
+ * Create a new booking customquestions as specified in the request body.
281
+ *
282
+ * @param bookingCustomQuestion a JSON representation of a BookingCustomQuestion object.
283
+ */
284
+ async add(bookingCustomQuestion) {
285
+ const data = await graphPost(this, body(bookingCustomQuestion));
286
+ return {
287
+ data,
288
+ bookingCustomQuestion: this.getById(data.id),
289
+ };
290
+ }
291
+ };
292
+ _BookingCustomQuestions = __decorate([
293
+ defaultPath("customquestions"),
294
+ getById(BookingCustomQuestion)
295
+ ], _BookingCustomQuestions);
296
+ export { _BookingCustomQuestions };
297
+ export const BookingCustomQuestions = graphInvokableFactory(_BookingCustomQuestions);
298
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/bookings/types.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE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EAAE,CAAC;SACtD,CAAC;IACN,CAAC;CACJ,CAAA;AAdY,uBAAuB;IAFnC,WAAW,CAAC,iBAAiB,CAAC;IAC9B,OAAO,CAAC,qBAAqB,CAAC;GAClB,uBAAuB,CAcnC;SAdY,uBAAuB;AAiBpC,MAAM,CAAC,MAAM,sBAAsB,GAAG,qBAAqB,CAA0B,uBAAuB,CAAC,CAAC"}
package/groups/types.d.ts CHANGED
@@ -54,7 +54,7 @@ export interface IGroup extends _Group, IDeleteable, IUpdateable {
54
54
  }
55
55
  export declare const Group: import("../graphqueryable.js").IGraphInvokableFactory<IGroup>;
56
56
  /**
57
- * Describes a collection of Field objects
57
+ * Describes a collection of Group objects
58
58
  *
59
59
  */
60
60
  export declare class _Groups extends _GraphQueryableCollection<IGroupType[]> {
package/groups/types.js CHANGED
@@ -75,7 +75,7 @@ _Group = __decorate([
75
75
  export { _Group };
76
76
  export const Group = graphInvokableFactory(_Group);
77
77
  /**
78
- * Describes a collection of Field objects
78
+ * Describes a collection of Group objects
79
79
  *
80
80
  */
81
81
  let _Groups = class _Groups extends _GraphQueryableCollection {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/graph",
3
- "version": "3.3.2-v3nightly.20220607",
3
+ "version": "3.3.2-v3nightly.20220608",
4
4
  "description": "pnp - provides a fluent interface to query the Microsoft Graph",
5
5
  "main": "./index.js",
6
6
  "typings": "./index",
@@ -10,8 +10,8 @@
10
10
  "dependencies": {
11
11
  "@microsoft/microsoft-graph-types": "2.20.0",
12
12
  "tslib": "2.4.0",
13
- "@pnp/core": "3.3.2-v3nightly.20220607",
14
- "@pnp/queryable": "3.3.2-v3nightly.20220607"
13
+ "@pnp/core": "3.3.2-v3nightly.20220608",
14
+ "@pnp/queryable": "3.3.2-v3nightly.20220608"
15
15
  },
16
16
  "funding": {
17
17
  "type": "individual",