@leadping/sdk 1.0.105 → 1.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/appointments/index.d.ts +80 -0
  2. package/dist/appointments/index.d.ts.map +1 -0
  3. package/dist/appointments/index.js +54 -0
  4. package/dist/appointments/index.js.map +1 -0
  5. package/dist/appointments/item/cancel/index.d.ts +33 -0
  6. package/dist/appointments/item/cancel/index.d.ts.map +1 -0
  7. package/dist/appointments/item/cancel/index.js +31 -0
  8. package/dist/appointments/item/cancel/index.js.map +1 -0
  9. package/dist/appointments/item/complete/index.d.ts +33 -0
  10. package/dist/appointments/item/complete/index.d.ts.map +1 -0
  11. package/dist/appointments/item/complete/index.js +31 -0
  12. package/dist/appointments/item/complete/index.js.map +1 -0
  13. package/dist/appointments/item/dismiss/index.d.ts +33 -0
  14. package/dist/appointments/item/dismiss/index.d.ts.map +1 -0
  15. package/dist/appointments/item/dismiss/index.js +31 -0
  16. package/dist/appointments/item/dismiss/index.js.map +1 -0
  17. package/dist/appointments/item/index.d.ts +72 -0
  18. package/dist/appointments/item/index.d.ts.map +1 -0
  19. package/dist/appointments/item/index.js +67 -0
  20. package/dist/appointments/item/index.js.map +1 -0
  21. package/dist/appointments/item/snooze/index.d.ts +33 -0
  22. package/dist/appointments/item/snooze/index.d.ts.map +1 -0
  23. package/dist/appointments/item/snooze/index.js +31 -0
  24. package/dist/appointments/item/snooze/index.js.map +1 -0
  25. package/dist/leadpingOpenApiClient.d.ts +5 -0
  26. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  27. package/dist/leadpingOpenApiClient.js +6 -0
  28. package/dist/leadpingOpenApiClient.js.map +1 -1
  29. package/dist/models/index.d.ts +287 -1
  30. package/dist/models/index.d.ts.map +1 -1
  31. package/dist/models/index.js +226 -0
  32. package/dist/models/index.js.map +1 -1
  33. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ import { type AppointmentRequest, type AppointmentResponse } from '../models/index.js';
2
+ import { type AppointmentsItemRequestBuilder } from './item/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /appointments
6
+ */
7
+ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<AppointmentsRequestBuilder> {
8
+ /**
9
+ * Gets an item from the leadping.appointments.item collection
10
+ * @param id The appointment identifier.
11
+ * @returns {AppointmentsItemRequestBuilder}
12
+ */
13
+ byId(id: string): AppointmentsItemRequestBuilder;
14
+ /**
15
+ * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {Promise<AppointmentResponse[]>}
18
+ * @throws {ProblemDetails} error when the service returns a 401 status code
19
+ * @throws {ProblemDetails} error when the service returns a 403 status code
20
+ * @throws {ProblemDetails} error when the service returns a 429 status code
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): Promise<AppointmentResponse[] | undefined>;
23
+ /**
24
+ * Schedules a callback appointment for a lead and configures its assigned agent and reminder.
25
+ * @param body Creates or reschedules an agent's callback appointment.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<AppointmentResponse>}
28
+ * @throws {ProblemDetails} error when the service returns a 401 status code
29
+ * @throws {ProblemDetails} error when the service returns a 403 status code
30
+ * @throws {ProblemDetails} error when the service returns a 429 status code
31
+ */
32
+ post(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
33
+ /**
34
+ * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns {RequestInformation}
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Schedules a callback appointment for a lead and configures its assigned agent and reminder.
41
+ * @param body Creates or reschedules an agent's callback appointment.
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns {RequestInformation}
44
+ */
45
+ toPostRequestInformation(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
49
+ */
50
+ export interface AppointmentsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Whether to browse across organizations. Requires a platform administrator; due-only results remain limited to the current agent.
53
+ */
54
+ adminMode?: boolean;
55
+ /**
56
+ * Whether to return only due, undismissed reminders assigned to the current agent.
57
+ */
58
+ dueOnly?: boolean;
59
+ /**
60
+ * Whether to include completed and cancelled appointments. Ignored when dueOnly is true.
61
+ */
62
+ includeClosed?: boolean;
63
+ /**
64
+ * An optional lead identifier to filter appointments.
65
+ */
66
+ leadId?: string;
67
+ }
68
+ /**
69
+ * Uri template for the request builder.
70
+ */
71
+ export declare const AppointmentsRequestBuilderUriTemplate = "{+baseurl}/appointments{?adminMode*,dueOnly*,includeClosed*,leadId*}";
72
+ /**
73
+ * Metadata for all the navigation properties in the request builder.
74
+ */
75
+ export declare const AppointmentsRequestBuilderNavigationMetadata: Record<Exclude<keyof AppointmentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
76
+ /**
77
+ * Metadata for all the requests in the request builder.
78
+ */
79
+ export declare const AppointmentsRequestBuilderRequestsMetadata: RequestsMetadata;
80
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../appointments/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0J,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAuB,MAAM,oBAAoB,CAAC;AAEpQ,OAAO,EA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E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA0BxD,CAAC"}
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentRequest } from '../models/index.js';
6
+ // @ts-ignore
7
+ import { AppointmentsItemRequestBuilderNavigationMetadata, AppointmentsItemRequestBuilderRequestsMetadata } from './item/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const AppointmentsRequestBuilderUriTemplate = "{+baseurl}/appointments{?adminMode*,dueOnly*,includeClosed*,leadId*}";
12
+ /**
13
+ * Metadata for all the navigation properties in the request builder.
14
+ */
15
+ export const AppointmentsRequestBuilderNavigationMetadata = {
16
+ byId: {
17
+ requestsMetadata: AppointmentsItemRequestBuilderRequestsMetadata,
18
+ navigationMetadata: AppointmentsItemRequestBuilderNavigationMetadata,
19
+ pathParametersMappings: ["id"],
20
+ },
21
+ };
22
+ /**
23
+ * Metadata for all the requests in the request builder.
24
+ */
25
+ export const AppointmentsRequestBuilderRequestsMetadata = {
26
+ get: {
27
+ uriTemplate: AppointmentsRequestBuilderUriTemplate,
28
+ responseBodyContentType: "text/plain;q=0.9",
29
+ errorMappings: {
30
+ 401: createProblemDetailsFromDiscriminatorValue,
31
+ 403: createProblemDetailsFromDiscriminatorValue,
32
+ 429: createProblemDetailsFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendCollection",
35
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
36
+ },
37
+ post: {
38
+ uriTemplate: AppointmentsRequestBuilderUriTemplate,
39
+ responseBodyContentType: "text/plain;q=0.9",
40
+ errorMappings: {
41
+ 401: createProblemDetailsFromDiscriminatorValue,
42
+ 403: createProblemDetailsFromDiscriminatorValue,
43
+ 429: createProblemDetailsFromDiscriminatorValue,
44
+ },
45
+ adapterMethodName: "send",
46
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
47
+ requestBodyContentType: "application/json",
48
+ requestBodySerializer: serializeAppointmentRequest,
49
+ requestInformationContentSetMethod: "setContentFromParsable",
50
+ },
51
+ };
52
+ /* tslint:enable */
53
+ /* eslint-enable */
54
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../appointments/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,2BAA2B,EAAwG,MAAM,oBAAoB,CAAC;AACpQ,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,8CAA8C,EAAuC,MAAM,iBAAiB,CAAC;AAoExK;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,sEAAsE,CAAC;AAC5H;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,IAAI,EAAE;QACF,gBAAgB,EAAE,8CAA8C;QAChE,kBAAkB,EAAE,gDAAgD;QACpE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,+CAA+C;KACxE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type AppointmentActionRequest, type AppointmentResponse } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /appointments/{id}/cancel
5
+ */
6
+ export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
7
+ /**
8
+ * Cancels an appointment and invalidates unsent reminders using the expected revision.
9
+ * @param body Protects appointment actions against concurrent edits.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<AppointmentResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ * @throws {ProblemDetails} error when the service returns a 403 status code
14
+ * @throws {ProblemDetails} error when the service returns a 429 status code
15
+ */
16
+ post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
17
+ /**
18
+ * Cancels an appointment and invalidates unsent reminders using the expected revision.
19
+ * @param body Protects appointment actions against concurrent edits.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const CancelRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/cancel";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const CancelRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../appointments/item/cancel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAuB,MAAM,0BAA0B,CAAC;AAEtR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,wCAAwC,CAAC;AACrF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentActionRequest } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CancelRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/cancel";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const CancelRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: CancelRequestBuilderUriTemplate,
16
+ responseBodyContentType: "text/plain;q=0.9",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
24
+ requestBodyContentType: "application/json",
25
+ requestBodySerializer: serializeAppointmentActionRequest,
26
+ requestInformationContentSetMethod: "setContentFromParsable",
27
+ },
28
+ };
29
+ /* tslint:enable */
30
+ /* eslint-enable */
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../appointments/item/cancel/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,iCAAiC,EAA8G,MAAM,0BAA0B,CAAC;AA0BtR;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type AppointmentActionRequest, type AppointmentResponse } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /appointments/{id}/complete
5
+ */
6
+ export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteRequestBuilder> {
7
+ /**
8
+ * Marks an appointment as completed using the expected revision to detect concurrent changes.
9
+ * @param body Protects appointment actions against concurrent edits.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<AppointmentResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ * @throws {ProblemDetails} error when the service returns a 403 status code
14
+ * @throws {ProblemDetails} error when the service returns a 429 status code
15
+ */
16
+ post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
17
+ /**
18
+ * Marks an appointment as completed using the expected revision to detect concurrent changes.
19
+ * @param body Protects appointment actions against concurrent edits.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const CompleteRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/complete";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const CompleteRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../appointments/item/complete/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAuB,MAAM,0BAA0B,CAAC;AAEtR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,0CAA0C,CAAC;AACzF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAepD,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentActionRequest } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CompleteRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/complete";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const CompleteRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: CompleteRequestBuilderUriTemplate,
16
+ responseBodyContentType: "text/plain;q=0.9",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
24
+ requestBodyContentType: "application/json",
25
+ requestBodySerializer: serializeAppointmentActionRequest,
26
+ requestInformationContentSetMethod: "setContentFromParsable",
27
+ },
28
+ };
29
+ /* tslint:enable */
30
+ /* eslint-enable */
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../appointments/item/complete/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,iCAAiC,EAA8G,MAAM,0BAA0B,CAAC;AA0BtR;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,uCAAuC,CAAC;AACzF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type AppointmentActionRequest, type AppointmentResponse } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /appointments/{id}/dismiss
5
+ */
6
+ export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequestBuilder> {
7
+ /**
8
+ * Dismisses the reminder without completing the appointment, using the expected revision.
9
+ * @param body Protects appointment actions against concurrent edits.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<AppointmentResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ * @throws {ProblemDetails} error when the service returns a 403 status code
14
+ * @throws {ProblemDetails} error when the service returns a 429 status code
15
+ */
16
+ post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
17
+ /**
18
+ * Dismisses the reminder without completing the appointment, using the expected revision.
19
+ * @param body Protects appointment actions against concurrent edits.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const DismissRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/dismiss";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const DismissRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../appointments/item/dismiss/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAuB,MAAM,0BAA0B,CAAC;AAEtR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,yCAAyC,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAenD,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentActionRequest } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const DismissRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/dismiss";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const DismissRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: DismissRequestBuilderUriTemplate,
16
+ responseBodyContentType: "text/plain;q=0.9",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
24
+ requestBodyContentType: "application/json",
25
+ requestBodySerializer: serializeAppointmentActionRequest,
26
+ requestInformationContentSetMethod: "setContentFromParsable",
27
+ },
28
+ };
29
+ /* tslint:enable */
30
+ /* eslint-enable */
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../appointments/item/dismiss/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,iCAAiC,EAA8G,MAAM,0BAA0B,CAAC;AA0BtR;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,sCAAsC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,72 @@
1
+ import { type AppointmentRequest, type AppointmentResponse } from '../../models/index.js';
2
+ import { type CancelRequestBuilder } from './cancel/index.js';
3
+ import { type CompleteRequestBuilder } from './complete/index.js';
4
+ import { type DismissRequestBuilder } from './dismiss/index.js';
5
+ import { type SnoozeRequestBuilder } from './snooze/index.js';
6
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
7
+ /**
8
+ * Builds and executes requests for operations under /appointments/{id}
9
+ */
10
+ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<AppointmentsItemRequestBuilder> {
11
+ /**
12
+ * The cancel property
13
+ */
14
+ get cancel(): CancelRequestBuilder;
15
+ /**
16
+ * The complete property
17
+ */
18
+ get complete(): CompleteRequestBuilder;
19
+ /**
20
+ * The dismiss property
21
+ */
22
+ get dismiss(): DismissRequestBuilder;
23
+ /**
24
+ * The snooze property
25
+ */
26
+ get snooze(): SnoozeRequestBuilder;
27
+ /**
28
+ * Returns an appointment and its history, subject to lead and organization access.
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {Promise<AppointmentResponse>}
31
+ * @throws {ProblemDetails} error when the service returns a 401 status code
32
+ * @throws {ProblemDetails} error when the service returns a 403 status code
33
+ * @throws {ProblemDetails} error when the service returns a 429 status code
34
+ */
35
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
36
+ /**
37
+ * Updates an appointment using the expected revision to detect concurrent changes.
38
+ * @param body Creates or reschedules an agent's callback appointment.
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns {Promise<AppointmentResponse>}
41
+ * @throws {ProblemDetails} error when the service returns a 401 status code
42
+ * @throws {ProblemDetails} error when the service returns a 403 status code
43
+ * @throws {ProblemDetails} error when the service returns a 429 status code
44
+ */
45
+ put(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
46
+ /**
47
+ * Returns an appointment and its history, subject to lead and organization access.
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns {RequestInformation}
50
+ */
51
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ /**
53
+ * Updates an appointment using the expected revision to detect concurrent changes.
54
+ * @param body Creates or reschedules an agent's callback appointment.
55
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
+ * @returns {RequestInformation}
57
+ */
58
+ toPutRequestInformation(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
59
+ }
60
+ /**
61
+ * Uri template for the request builder.
62
+ */
63
+ export declare const AppointmentsItemRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}";
64
+ /**
65
+ * Metadata for all the navigation properties in the request builder.
66
+ */
67
+ export declare const AppointmentsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AppointmentsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const AppointmentsItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
+ //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CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,iCAAiC,CAAC;AACxF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAa1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA0B5D,CAAC"}
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentRequest } from '../../models/index.js';
6
+ // @ts-ignore
7
+ import { CancelRequestBuilderRequestsMetadata } from './cancel/index.js';
8
+ // @ts-ignore
9
+ import { CompleteRequestBuilderRequestsMetadata } from './complete/index.js';
10
+ // @ts-ignore
11
+ import { DismissRequestBuilderRequestsMetadata } from './dismiss/index.js';
12
+ // @ts-ignore
13
+ import { SnoozeRequestBuilderRequestsMetadata } from './snooze/index.js';
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export const AppointmentsItemRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export const AppointmentsItemRequestBuilderNavigationMetadata = {
22
+ cancel: {
23
+ requestsMetadata: CancelRequestBuilderRequestsMetadata,
24
+ },
25
+ complete: {
26
+ requestsMetadata: CompleteRequestBuilderRequestsMetadata,
27
+ },
28
+ dismiss: {
29
+ requestsMetadata: DismissRequestBuilderRequestsMetadata,
30
+ },
31
+ snooze: {
32
+ requestsMetadata: SnoozeRequestBuilderRequestsMetadata,
33
+ },
34
+ };
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export const AppointmentsItemRequestBuilderRequestsMetadata = {
39
+ get: {
40
+ uriTemplate: AppointmentsItemRequestBuilderUriTemplate,
41
+ responseBodyContentType: "text/plain;q=0.9",
42
+ errorMappings: {
43
+ 401: createProblemDetailsFromDiscriminatorValue,
44
+ 403: createProblemDetailsFromDiscriminatorValue,
45
+ 429: createProblemDetailsFromDiscriminatorValue,
46
+ },
47
+ adapterMethodName: "send",
48
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
49
+ },
50
+ put: {
51
+ uriTemplate: AppointmentsItemRequestBuilderUriTemplate,
52
+ responseBodyContentType: "text/plain;q=0.9",
53
+ errorMappings: {
54
+ 401: createProblemDetailsFromDiscriminatorValue,
55
+ 403: createProblemDetailsFromDiscriminatorValue,
56
+ 429: createProblemDetailsFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "send",
59
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: serializeAppointmentRequest,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /* tslint:enable */
66
+ /* eslint-enable */
67
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../appointments/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,2BAA2B,EAAwG,MAAM,uBAAuB,CAAC;AACvQ,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAyDpG;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,8BAA8B,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAkH;IAC3K,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type AppointmentActionRequest, type AppointmentResponse } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /appointments/{id}/snooze
5
+ */
6
+ export interface SnoozeRequestBuilder extends BaseRequestBuilder<SnoozeRequestBuilder> {
7
+ /**
8
+ * Defers the reminder for ten minutes without moving the appointment, using the expected revision.
9
+ * @param body Protects appointment actions against concurrent edits.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<AppointmentResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ * @throws {ProblemDetails} error when the service returns a 403 status code
14
+ * @throws {ProblemDetails} error when the service returns a 429 status code
15
+ */
16
+ post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
17
+ /**
18
+ * Defers the reminder for ten minutes without moving the appointment, using the expected revision.
19
+ * @param body Protects appointment actions against concurrent edits.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const SnoozeRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/snooze";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const SnoozeRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../appointments/item/snooze/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAuB,MAAM,0BAA0B,CAAC;AAEtR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,wCAAwC,CAAC;AACrF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAppointmentResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAppointmentActionRequest } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const SnoozeRequestBuilderUriTemplate = "{+baseurl}/appointments/{id}/snooze";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const SnoozeRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: SnoozeRequestBuilderUriTemplate,
16
+ responseBodyContentType: "text/plain;q=0.9",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createAppointmentResponseFromDiscriminatorValue,
24
+ requestBodyContentType: "application/json",
25
+ requestBodySerializer: serializeAppointmentActionRequest,
26
+ requestInformationContentSetMethod: "setContentFromParsable",
27
+ },
28
+ };
29
+ /* tslint:enable */
30
+ /* eslint-enable */
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../appointments/item/snooze/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAE,iCAAiC,EAA8G,MAAM,0BAA0B,CAAC;AA0BtR;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,qCAAqC,CAAC;AACrF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,5 +1,6 @@
1
1
  import { type A2aRequestBuilder } from './a2a/index.js';
2
2
  import { type AnalyticsRequestBuilder } from './analytics/index.js';
3
+ import { type AppointmentsRequestBuilder } from './appointments/index.js';
3
4
  import { type AutomationsRequestBuilder } from './automations/index.js';
4
5
  import { type BlogRequestBuilder } from './blog/index.js';
5
6
  import { type ConversationsRequestBuilder } from './conversations/index.js';
@@ -43,6 +44,10 @@ export interface LeadpingOpenApiClient extends BaseRequestBuilder<LeadpingOpenAp
43
44
  * The analytics property
44
45
  */
45
46
  get analytics(): AnalyticsRequestBuilder;
47
+ /**
48
+ * The appointments property
49
+ */
50
+ get appointments(): AppointmentsRequestBuilder;
46
51
  /**
47
52
  * The automations property
48
53
  */
@@ -1 +1 @@
1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