@leadping/sdk 1.0.128 → 1.0.130

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 (60) hide show
  1. package/dist/appointments/bookedTimes/index.d.ts +3 -3
  2. package/dist/appointments/index.d.ts +5 -5
  3. package/dist/appointments/item/cancel/index.d.ts +2 -2
  4. package/dist/appointments/item/complete/index.d.ts +2 -2
  5. package/dist/appointments/item/dismiss/index.d.ts +2 -2
  6. package/dist/appointments/item/index.d.ts +4 -4
  7. package/dist/appointments/item/snooze/index.d.ts +2 -2
  8. package/dist/automations/index.d.ts +5 -0
  9. package/dist/automations/index.d.ts.map +1 -1
  10. package/dist/automations/index.js +5 -0
  11. package/dist/automations/index.js.map +1 -1
  12. package/dist/automations/item/index.d.ts +10 -0
  13. package/dist/automations/item/index.d.ts.map +1 -1
  14. package/dist/automations/item/index.js +10 -0
  15. package/dist/automations/item/index.js.map +1 -1
  16. package/dist/automations/item/leads/index.d.ts +22 -0
  17. package/dist/automations/item/leads/index.d.ts.map +1 -0
  18. package/dist/automations/item/leads/index.js +21 -0
  19. package/dist/automations/item/leads/index.js.map +1 -0
  20. package/dist/automations/item/leads/item/index.d.ts +20 -0
  21. package/dist/automations/item/leads/item/index.d.ts.map +1 -0
  22. package/dist/automations/item/leads/item/index.js +20 -0
  23. package/dist/automations/item/leads/item/index.js.map +1 -0
  24. package/dist/automations/item/leads/item/run/index.d.ts +22 -0
  25. package/dist/automations/item/leads/item/run/index.d.ts.map +1 -0
  26. package/dist/automations/item/leads/item/run/index.js +21 -0
  27. package/dist/automations/item/leads/item/run/index.js.map +1 -0
  28. package/dist/automations/item/leads/item/run/item/index.d.ts +31 -0
  29. package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -0
  30. package/dist/automations/item/leads/item/run/item/index.js +28 -0
  31. package/dist/automations/item/leads/item/run/item/index.js.map +1 -0
  32. package/dist/automations/item/runForAudience/index.d.ts +33 -0
  33. package/dist/automations/item/runForAudience/index.d.ts.map +1 -0
  34. package/dist/automations/item/runForAudience/index.js +31 -0
  35. package/dist/automations/item/runForAudience/index.js.map +1 -0
  36. package/dist/automations/leadAudience/index.d.ts +31 -0
  37. package/dist/automations/leadAudience/index.d.ts.map +1 -0
  38. package/dist/automations/leadAudience/index.js +28 -0
  39. package/dist/automations/leadAudience/index.js.map +1 -0
  40. package/dist/conversations/item/retry/index.d.ts +2 -2
  41. package/dist/events/conversations/item/notes/item/index.d.ts +2 -2
  42. package/dist/invitations/decline/index.d.ts +2 -2
  43. package/dist/invitations/index.d.ts +3 -3
  44. package/dist/invitations/item/accept/index.d.ts +2 -2
  45. package/dist/invitations/item/decline/index.d.ts +2 -2
  46. package/dist/leads/item/phoneLookup/index.d.ts +2 -2
  47. package/dist/messageTemplates/index.d.ts +4 -4
  48. package/dist/messageTemplates/item/index.d.ts +4 -4
  49. package/dist/models/index.d.ts +109 -1
  50. package/dist/models/index.d.ts.map +1 -1
  51. package/dist/models/index.js +94 -0
  52. package/dist/models/index.js.map +1 -1
  53. package/dist/organizations/apiKeys/item/index.d.ts +2 -2
  54. package/dist/organizations/me/leadAssignees/index.d.ts +2 -2
  55. package/dist/outbound/item/capacity/index.d.ts +2 -2
  56. package/dist/phoneCall/dial/item/index.d.ts +2 -2
  57. package/dist/phoneCall/next/item/index.d.ts +3 -3
  58. package/dist/telephony/availability/index.d.ts +2 -2
  59. package/dist/wallets/me/spendLimits/index.d.ts +2 -2
  60. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  */
5
5
  export interface BookedTimesRequestBuilder extends BaseRequestBuilder<BookedTimesRequestBuilder> {
6
6
  /**
7
- * Gets occupied appointment times for a lead's selected assignee.
7
+ * Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
9
  * @returns {Promise<ArrayBuffer>}
10
10
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -13,14 +13,14 @@ export interface BookedTimesRequestBuilder extends BaseRequestBuilder<BookedTime
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<BookedTimesRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
15
15
  /**
16
- * Gets occupied appointment times for a lead's selected assignee.
16
+ * Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
20
20
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookedTimesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
21
21
  }
22
22
  /**
23
- * Gets occupied appointment times for a lead's selected assignee.
23
+ * Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
24
24
  */
25
25
  export interface BookedTimesRequestBuilderGetQueryParameters {
26
26
  appointmentId?: string;
@@ -17,7 +17,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
17
17
  */
18
18
  byId(id: string): AppointmentsItemRequestBuilder;
19
19
  /**
20
- * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
20
+ * List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<AppointmentResponse[]>}
23
23
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -26,7 +26,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
26
26
  */
27
27
  get(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): Promise<AppointmentResponse[] | undefined>;
28
28
  /**
29
- * Schedules a callback appointment for a lead and configures its assigned agent and reminder.
29
+ * Schedule a callback for a lead through the Leadping API. Set the appointment time, assign the agent responsible for the call, and configure its reminder.
30
30
  * @param body Creates or reschedules an agent's callback appointment.
31
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
32
  * @returns {Promise<AppointmentResponse>}
@@ -36,13 +36,13 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
36
36
  */
37
37
  post(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
38
38
  /**
39
- * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
39
+ * List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
40
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
41
  * @returns {RequestInformation}
42
42
  */
43
43
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
44
44
  /**
45
- * Schedules a callback appointment for a lead and configures its assigned agent and reminder.
45
+ * Schedule a callback for a lead through the Leadping API. Set the appointment time, assign the agent responsible for the call, and configure its reminder.
46
46
  * @param body Creates or reschedules an agent's callback appointment.
47
47
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
48
  * @returns {RequestInformation}
@@ -50,7 +50,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
50
50
  toPostRequestInformation(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
51
  }
52
52
  /**
53
- * Returns appointments visible to the current user, with optional lead, reminder, and status filters.
53
+ * List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
54
54
  */
55
55
  export interface AppointmentsRequestBuilderGetQueryParameters {
56
56
  /**
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
7
7
  /**
8
- * Cancels an appointment and invalidates unsent reminders using the expected revision.
8
+ * Cancel a Leadping callback appointment and invalidate reminders that have yet to be sent. Include the expected revision to detect concurrent changes.
9
9
  * @param body Protects appointment actions against concurrent edits.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<AppointmentResponse>}
@@ -16,7 +16,7 @@ export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBu
16
16
  */
17
17
  post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
18
18
  /**
19
- * Cancels an appointment and invalidates unsent reminders using the expected revision.
19
+ * Cancel a Leadping callback appointment and invalidate reminders that have yet to be sent. Include the expected revision to detect concurrent changes.
20
20
  * @param body Protects appointment actions against concurrent edits.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteRequestBuilder> {
7
7
  /**
8
- * Marks an appointment as completed using the expected revision to detect concurrent changes.
8
+ * Mark a callback appointment as completed in Leadping. Supply the expected revision so the API can detect another user’s changes before recording completion.
9
9
  * @param body Protects appointment actions against concurrent edits.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<AppointmentResponse>}
@@ -16,7 +16,7 @@ export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteReque
16
16
  */
17
17
  post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
18
18
  /**
19
- * Marks an appointment as completed using the expected revision to detect concurrent changes.
19
+ * Mark a callback appointment as completed in Leadping. Supply the expected revision so the API can detect another user’s changes before recording completion.
20
20
  * @param body Protects appointment actions against concurrent edits.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequestBuilder> {
7
7
  /**
8
- * Dismisses the reminder without completing the appointment, using the expected revision.
8
+ * Dismiss a callback reminder in Leadping while leaving the appointment open. Include the expected revision to apply the change to the reminder you reviewed.
9
9
  * @param body Protects appointment actions against concurrent edits.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<AppointmentResponse>}
@@ -16,7 +16,7 @@ export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequest
16
16
  */
17
17
  post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
18
18
  /**
19
- * Dismisses the reminder without completing the appointment, using the expected revision.
19
+ * Dismiss a callback reminder in Leadping while leaving the appointment open. Include the expected revision to apply the change to the reminder you reviewed.
20
20
  * @param body Protects appointment actions against concurrent edits.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {RequestInformation}
@@ -25,7 +25,7 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
25
25
  */
26
26
  get snooze(): SnoozeRequestBuilder;
27
27
  /**
28
- * Returns an appointment and its history, subject to lead and organization access.
28
+ * Retrieve a callback appointment and its history by ID in Leadping. The signed-in user must have access to the associated lead and organization.
29
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
30
  * @returns {Promise<AppointmentResponse>}
31
31
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -34,7 +34,7 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
34
34
  */
35
35
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
36
36
  /**
37
- * Updates an appointment using the expected revision to detect concurrent changes.
37
+ * Edit an existing callback appointment in Leadping. Include the revision you last retrieved so the API can detect changes made since you viewed it.
38
38
  * @param body Creates or reschedules an agent's callback appointment.
39
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
40
  * @returns {Promise<AppointmentResponse>}
@@ -44,13 +44,13 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
44
44
  */
45
45
  put(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
46
46
  /**
47
- * Returns an appointment and its history, subject to lead and organization access.
47
+ * Retrieve a callback appointment and its history by ID in Leadping. The signed-in user must have access to the associated lead and organization.
48
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
49
  * @returns {RequestInformation}
50
50
  */
51
51
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
52
  /**
53
- * Updates an appointment using the expected revision to detect concurrent changes.
53
+ * Edit an existing callback appointment in Leadping. Include the revision you last retrieved so the API can detect changes made since you viewed it.
54
54
  * @param body Creates or reschedules an agent's callback appointment.
55
55
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
56
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface SnoozeRequestBuilder extends BaseRequestBuilder<SnoozeRequestBuilder> {
7
7
  /**
8
- * Defers the reminder for ten minutes without moving the appointment, using the expected revision.
8
+ * Delay a Leadping appointment reminder by ten minutes while keeping the callback time unchanged. Send the expected revision to detect conflicting updates.
9
9
  * @param body Protects appointment actions against concurrent edits.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<AppointmentResponse>}
@@ -16,7 +16,7 @@ export interface SnoozeRequestBuilder extends BaseRequestBuilder<SnoozeRequestBu
16
16
  */
17
17
  post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
18
18
  /**
19
- * Defers the reminder for ten minutes without moving the appointment, using the expected revision.
19
+ * Delay a Leadping appointment reminder by ten minutes while keeping the callback time unchanged. Send the expected revision to detect conflicting updates.
20
20
  * @param body Protects appointment actions against concurrent edits.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {RequestInformation}
@@ -1,6 +1,7 @@
1
1
  import { type AutomationRequest, type AutomationResponse } from '../models/index.js';
2
2
  import { type AllRequestBuilder } from './all/index.js';
3
3
  import { type AutomationsItemRequestBuilder } from './item/index.js';
4
+ import { type LeadAudienceRequestBuilder } from './leadAudience/index.js';
4
5
  import { type PreviewRequestBuilder } from './preview/index.js';
5
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
7
  /**
@@ -11,6 +12,10 @@ export interface AutomationsRequestBuilder extends BaseRequestBuilder<Automation
11
12
  * The all property
12
13
  */
13
14
  get all(): AllRequestBuilder;
15
+ /**
16
+ * The leadAudience property
17
+ */
18
+ get leadAudience(): LeadAudienceRequestBuilder;
14
19
  /**
15
20
  * The preview property
16
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAuB,MAAM,oBAAoB,CAAC;AAE/P,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAErK,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,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,yBAA0B,SAAQ,kBA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K,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,6BAA6B,CAAC;IAClD;;;;;;;;;;;;OAYG;IACF,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2BAA2B,CAAC;AAC7E;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAehK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAmBvD,CAAC"}
@@ -8,6 +8,8 @@ import { AllRequestBuilderNavigationMetadata } from './all/index.js';
8
8
  // @ts-ignore
9
9
  import { AutomationsItemRequestBuilderNavigationMetadata, AutomationsItemRequestBuilderRequestsMetadata } from './item/index.js';
10
10
  // @ts-ignore
11
+ import { LeadAudienceRequestBuilderRequestsMetadata } from './leadAudience/index.js';
12
+ // @ts-ignore
11
13
  import { PreviewRequestBuilderRequestsMetadata } from './preview/index.js';
12
14
  /**
13
15
  * Uri template for the request builder.
@@ -25,6 +27,9 @@ export const AutomationsRequestBuilderNavigationMetadata = {
25
27
  all: {
26
28
  navigationMetadata: AllRequestBuilderNavigationMetadata,
27
29
  },
30
+ leadAudience: {
31
+ requestsMetadata: LeadAudienceRequestBuilderRequestsMetadata,
32
+ },
28
33
  preview: {
29
34
  requestsMetadata: PreviewRequestBuilderRequestsMetadata,
30
35
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,oBAAoB,CAAC;AAC/P,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAC7F,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,6CAA6C,EAAsC,MAAM,iBAAiB,CAAC;AACrK,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AA4CvG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,wBAAwB,CAAC;AAC7E;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,IAAI,EAAE;QACF,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;QACnE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YA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C1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,15 +1,25 @@
1
1
  import { type AutomationRequest, type AutomationResponse } from '../../models/index.js';
2
+ import { type LeadsRequestBuilder } from './leads/index.js';
2
3
  import { type RunRequestBuilder } from './run/index.js';
4
+ import { type RunForAudienceRequestBuilder } from './runForAudience/index.js';
3
5
  import { type RunsRequestBuilder } from './runs/index.js';
4
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
7
  /**
6
8
  * Builds and executes requests for operations under /automations/{id}
7
9
  */
8
10
  export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<AutomationsItemRequestBuilder> {
11
+ /**
12
+ * The leads property
13
+ */
14
+ get leads(): LeadsRequestBuilder;
9
15
  /**
10
16
  * The run property
11
17
  */
12
18
  get run(): RunRequestBuilder;
19
+ /**
20
+ * The runForAudience property
21
+ */
22
+ get runForAudience(): RunForAudienceRequestBuilder;
13
23
  /**
14
24
  * The runs property
15
25
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":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emDetailsFromDiscriminatorValue, serializeAutomationRequest } from '../../models/index.js';
6
6
  // @ts-ignore
7
+ import { LeadsRequestBuilderNavigationMetadata } from './leads/index.js';
8
+ // @ts-ignore
7
9
  import { RunRequestBuilderRequestsMetadata } from './run/index.js';
8
10
  // @ts-ignore
11
+ import { RunForAudienceRequestBuilderRequestsMetadata } from './runForAudience/index.js';
12
+ // @ts-ignore
9
13
  import { RunsRequestBuilderNavigationMetadata, RunsRequestBuilderRequestsMetadata } from './runs/index.js';
10
14
  /**
11
15
  * Uri template for the request builder.
@@ -15,9 +19,15 @@ export const AutomationsItemRequestBuilderUriTemplate = "{+baseurl}/automations/
15
19
  * Metadata for all the navigation properties in the request builder.
16
20
  */
17
21
  export const AutomationsItemRequestBuilderNavigationMetadata = {
22
+ leads: {
23
+ navigationMetadata: LeadsRequestBuilderNavigationMetadata,
24
+ },
18
25
  run: {
19
26
  requestsMetadata: RunRequestBuilderRequestsMetadata,
20
27
  },
28
+ runForAudience: {
29
+ requestsMetadata: RunForAudienceRequestBuilderRequestsMetadata,
30
+ },
21
31
  runs: {
22
32
  requestsMetadata: RunsRequestBuilderRequestsMetadata,
23
33
  navigationMetadata: RunsRequestBuilderNavigationMetadata,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../automations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,uBAAuB,CAAC;AAClQ,aAAa;AACb,OAAO,EAAE,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAC3F,aAAa;AACb,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAA2B,MAAM,iBAAiB,CAAC;AA0EpI;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,6BAA6B,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,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GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;KACvE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,22 @@
1
+ import { type WithLeadItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /automations/{id}/leads
5
+ */
6
+ export interface LeadsRequestBuilder extends BaseRequestBuilder<LeadsRequestBuilder> {
7
+ /**
8
+ * Gets an item from the leadping.automations.item.leads.item collection
9
+ * @param leadId Unique identifier of the item
10
+ * @returns {WithLeadItemRequestBuilder}
11
+ */
12
+ byLeadId(leadId: string): WithLeadItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const LeadsRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const LeadsRequestBuilderNavigationMetadata: Record<Exclude<keyof LeadsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../automations/item/leads/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAgD,MAAM,iBAAiB,CAAC;AAEhH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,0BAA0B,CAAC;CAC1D;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sCAAsC,CAAC;AAClF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpJ,CAAC"}
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { WithLeadItemRequestBuilderNavigationMetadata } from './item/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const LeadsRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const LeadsRequestBuilderNavigationMetadata = {
14
+ byLeadId: {
15
+ navigationMetadata: WithLeadItemRequestBuilderNavigationMetadata,
16
+ pathParametersMappings: ["leadId"],
17
+ },
18
+ };
19
+ /* tslint:enable */
20
+ /* eslint-enable */
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../automations/item/leads/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAmC,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAehH;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,mCAAmC,CAAC;AAClF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAuG;IACrJ,QAAQ,EAAE;QACN,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,20 @@
1
+ import { type RunRequestBuilder } from './run/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /automations/{id}/leads/{leadId}
5
+ */
6
+ export interface WithLeadItemRequestBuilder extends BaseRequestBuilder<WithLeadItemRequestBuilder> {
7
+ /**
8
+ * The run property
9
+ */
10
+ get run(): RunRequestBuilder;
11
+ }
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export declare const WithLeadItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}";
16
+ /**
17
+ * Metadata for all the navigation properties in the request builder.
18
+ */
19
+ export declare const WithLeadItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithLeadItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../automations/item/leads/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;CAChC;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIlK,CAAC"}
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { RunRequestBuilderNavigationMetadata } from './run/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const WithLeadItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const WithLeadItemRequestBuilderNavigationMetadata = {
14
+ run: {
15
+ navigationMetadata: RunRequestBuilderNavigationMetadata,
16
+ },
17
+ };
18
+ /* tslint:enable */
19
+ /* eslint-enable */
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../automations/item/leads/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAa7F;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,4CAA4C,CAAC;AAClG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,22 @@
1
+ import { type WithRequestItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /automations/{id}/leads/{leadId}/run
5
+ */
6
+ export interface RunRequestBuilder extends BaseRequestBuilder<RunRequestBuilder> {
7
+ /**
8
+ * Gets an item from the leadping.automations.item.leads.item.run.item collection
9
+ * @param requestId Unique identifier of the item
10
+ * @returns {WithRequestItemRequestBuilder}
11
+ */
12
+ byRequestId(requestId: Guid): WithRequestItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const RunRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}/run";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const RunRequestBuilderNavigationMetadata: Record<Exclude<keyof RunRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../automations/item/leads/item/run/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,6BAA6B,EAAiD,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAErJ;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,IAAI,GAAI,6BAA6B,CAAC;CACjE;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,mDAAmD,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKhJ,CAAC"}
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { WithRequestItemRequestBuilderRequestsMetadata } from './item/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const RunRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}/run";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const RunRequestBuilderNavigationMetadata = {
14
+ byRequestId: {
15
+ requestsMetadata: WithRequestItemRequestBuilderRequestsMetadata,
16
+ pathParametersMappings: ["requestId"],
17
+ },
18
+ };
19
+ /* tslint:enable */
20
+ /* eslint-enable */
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../automations/item/leads/item/run/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAsC,6CAA6C,EAAE,MAAM,iBAAiB,CAAC;AAepH;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,gDAAgD,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,WAAW,EAAE;QACT,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,WAAW,CAAC;KACxC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,31 @@
1
+ import { type AutomationRunRecord } 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 /automations/{id}/leads/{leadId}/run/{requestId}
5
+ */
6
+ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
7
+ /**
8
+ * Queue a manual automation for a specific lead in Leadping. Reuse the same request ID if you retry so the retry refers to the original run.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<AutomationRunRecord>}
11
+ * @throws {ProblemDetails} error when the service returns a 401 status code
12
+ * @throws {ProblemDetails} error when the service returns a 403 status code
13
+ * @throws {ProblemDetails} error when the service returns a 429 status code
14
+ */
15
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationRunRecord | undefined>;
16
+ /**
17
+ * Queue a manual automation for a specific lead in Leadping. Reuse the same request ID if you retry so the retry refers to the original run.
18
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
+ * @returns {RequestInformation}
20
+ */
21
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
+ }
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}/run/{requestId}";
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ export declare const WithRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../automations/item/leads/item/run/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+F,KAAK,mBAAmB,EAAuB,MAAM,mCAAmC,CAAC;AAE/L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,+DAA+D,CAAC;AACrH;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAY3D,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createAutomationRunRecordFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/leads/{leadId}/run/{requestId}";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const WithRequestItemRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: WithRequestItemRequestBuilderUriTemplate,
16
+ responseBodyContentType: "text/plain;q=0.9",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createAutomationRunRecordFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../automations/item/leads/item/run/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAiD,MAAM,mCAAmC,CAAC;AAwB/L;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,4DAA4D,CAAC;AACrH;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,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;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type AutomationAudienceRequest } 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 /automations/{id}/run-for-audience
5
+ */
6
+ export interface RunForAudienceRequestBuilder extends BaseRequestBuilder<RunForAudienceRequestBuilder> {
7
+ /**
8
+ * Queue a Leadping automation for a group of leads in one request. The bulk run uses the lead audience the current user is authorized to select.
9
+ * @param body Runs an automation for a server-resolved audience, omitting leads the user unchecked.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<boolean>}
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: AutomationAudienceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
17
+ /**
18
+ * Queue a Leadping automation for a group of leads in one request. The bulk run uses the lead audience the current user is authorized to select.
19
+ * @param body Runs an automation for a server-resolved audience, omitting leads the user unchecked.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: AutomationAudienceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const RunForAudienceRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/run-for-audience";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const RunForAudienceRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../automations/item/runForAudience/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkF,KAAK,yBAAyB,EAAuB,MAAM,0BAA0B,CAAC;AAE/K,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACvI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,iDAAiD,CAAC;AACtG;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAe1D,CAAC"}