@leadping/sdk 1.0.49 → 1.0.51

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 (112) hide show
  1. package/dist/automations/preview/index.d.ts +14 -5
  2. package/dist/automations/preview/index.d.ts.map +1 -1
  3. package/dist/automations/preview/index.js +8 -1
  4. package/dist/automations/preview/index.js.map +1 -1
  5. package/dist/blog/index.d.ts +40 -0
  6. package/dist/blog/index.d.ts.map +1 -0
  7. package/dist/blog/index.js +37 -0
  8. package/dist/blog/index.js.map +1 -0
  9. package/dist/blog/item/index.d.ts +30 -0
  10. package/dist/blog/item/index.d.ts.map +1 -0
  11. package/dist/blog/item/index.js +27 -0
  12. package/dist/blog/item/index.js.map +1 -0
  13. package/dist/conversations/index.d.ts +7 -0
  14. package/dist/conversations/index.d.ts.map +1 -1
  15. package/dist/conversations/index.js +6 -0
  16. package/dist/conversations/index.js.map +1 -1
  17. package/dist/conversations/item/index.d.ts +20 -0
  18. package/dist/conversations/item/index.d.ts.map +1 -0
  19. package/dist/conversations/item/index.js +20 -0
  20. package/dist/conversations/item/index.js.map +1 -0
  21. package/dist/conversations/item/markRead/index.d.ts +31 -0
  22. package/dist/conversations/item/markRead/index.d.ts.map +1 -0
  23. package/dist/conversations/item/markRead/index.js +29 -0
  24. package/dist/conversations/item/markRead/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/leads/item/assignment/index.d.ts +35 -0
  30. package/dist/leads/item/assignment/index.d.ts.map +1 -0
  31. package/dist/leads/item/assignment/index.js +33 -0
  32. package/dist/leads/item/assignment/index.js.map +1 -0
  33. package/dist/leads/item/index.d.ts +5 -0
  34. package/dist/leads/item/index.d.ts.map +1 -1
  35. package/dist/leads/item/index.js +5 -0
  36. package/dist/leads/item/index.js.map +1 -1
  37. package/dist/models/index.d.ts +314 -12
  38. package/dist/models/index.d.ts.map +1 -1
  39. package/dist/models/index.js +280 -6
  40. package/dist/models/index.js.map +1 -1
  41. package/dist/organizations/apiKeys/item/index.d.ts +6 -6
  42. package/dist/organizations/apiKeys/my/index.d.ts +2 -2
  43. package/dist/organizations/me/index.d.ts +5 -0
  44. package/dist/organizations/me/index.d.ts.map +1 -1
  45. package/dist/organizations/me/index.js +5 -0
  46. package/dist/organizations/me/index.js.map +1 -1
  47. package/dist/organizations/me/membership/index.d.ts +30 -0
  48. package/dist/organizations/me/membership/index.d.ts.map +1 -0
  49. package/dist/organizations/me/membership/index.js +28 -0
  50. package/dist/organizations/me/membership/index.js.map +1 -0
  51. package/dist/paymentMethods/index.d.ts +1 -0
  52. package/dist/paymentMethods/index.d.ts.map +1 -1
  53. package/dist/paymentMethods/index.js +1 -0
  54. package/dist/paymentMethods/index.js.map +1 -1
  55. package/dist/paymentMethods/invoices/index.d.ts +1 -0
  56. package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
  57. package/dist/paymentMethods/invoices/index.js +1 -0
  58. package/dist/paymentMethods/invoices/index.js.map +1 -1
  59. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +1 -0
  60. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
  61. package/dist/paymentMethods/invoices/item/pdfAccess/index.js +1 -0
  62. package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
  63. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +1 -0
  64. package/dist/paymentMethods/item/defaultEscaped/index.d.ts.map +1 -1
  65. package/dist/paymentMethods/item/defaultEscaped/index.js +1 -0
  66. package/dist/paymentMethods/item/defaultEscaped/index.js.map +1 -1
  67. package/dist/paymentMethods/item/index.d.ts +2 -0
  68. package/dist/paymentMethods/item/index.d.ts.map +1 -1
  69. package/dist/paymentMethods/item/index.js +2 -0
  70. package/dist/paymentMethods/item/index.js.map +1 -1
  71. package/dist/phoneCall/initiate/index.d.ts +2 -2
  72. package/dist/phoneCall/item/hangup/index.d.ts +2 -2
  73. package/dist/phoneCall/item/status/index.d.ts +2 -2
  74. package/dist/phoneCall/item/transfer/index.d.ts +3 -3
  75. package/dist/sms/item/cancel/index.d.ts +2 -2
  76. package/dist/sources/index.d.ts +3 -3
  77. package/dist/sources/index.d.ts.map +1 -1
  78. package/dist/sources/index.js +2 -2
  79. package/dist/sources/index.js.map +1 -1
  80. package/dist/sources/item/credentials/index.d.ts +20 -0
  81. package/dist/sources/item/credentials/index.d.ts.map +1 -0
  82. package/dist/sources/item/credentials/index.js +20 -0
  83. package/dist/sources/item/credentials/index.js.map +1 -0
  84. package/dist/sources/item/credentials/rotate/index.d.ts +32 -0
  85. package/dist/sources/item/credentials/rotate/index.d.ts.map +1 -0
  86. package/dist/sources/item/credentials/rotate/index.js +29 -0
  87. package/dist/sources/item/credentials/rotate/index.js.map +1 -0
  88. package/dist/sources/item/index.d.ts +5 -0
  89. package/dist/sources/item/index.d.ts.map +1 -1
  90. package/dist/sources/item/index.js +5 -0
  91. package/dist/sources/item/index.js.map +1 -1
  92. package/dist/suppressions/check/index.d.ts +2 -2
  93. package/dist/suppressions/index.d.ts +2 -2
  94. package/dist/suppressions/release/index.d.ts +2 -2
  95. package/dist/telephony/login/index.d.ts +2 -2
  96. package/dist/users/changeBillingPlan/index.d.ts +1 -0
  97. package/dist/users/changeBillingPlan/index.d.ts.map +1 -1
  98. package/dist/users/changeBillingPlan/index.js +1 -0
  99. package/dist/users/changeBillingPlan/index.js.map +1 -1
  100. package/dist/users/me/index.d.ts +5 -0
  101. package/dist/users/me/index.d.ts.map +1 -1
  102. package/dist/users/me/index.js +5 -0
  103. package/dist/users/me/index.js.map +1 -1
  104. package/dist/users/me/notificationPreferences/index.d.ts +33 -0
  105. package/dist/users/me/notificationPreferences/index.d.ts.map +1 -0
  106. package/dist/users/me/notificationPreferences/index.js +31 -0
  107. package/dist/users/me/notificationPreferences/index.js.map +1 -0
  108. package/dist/users/me/paymentmethod/index.d.ts +1 -0
  109. package/dist/users/me/paymentmethod/index.d.ts.map +1 -1
  110. package/dist/users/me/paymentmethod/index.js +1 -0
  111. package/dist/users/me/paymentmethod/index.js.map +1 -1
  112. package/package.json +1 -1
@@ -6,6 +6,8 @@ import { createLeadResponseFromDiscriminatorValue, createProblemDetailsFromDiscr
6
6
  // @ts-ignore
7
7
  import { ArchiveRequestBuilderRequestsMetadata } from './archive/index.js';
8
8
  // @ts-ignore
9
+ import { AssignmentRequestBuilderRequestsMetadata } from './assignment/index.js';
10
+ // @ts-ignore
9
11
  import { StatusRequestBuilderRequestsMetadata } from './status/index.js';
10
12
  // @ts-ignore
11
13
  import { StatusHistoryRequestBuilderNavigationMetadata, StatusHistoryRequestBuilderRequestsMetadata } from './statusHistory/index.js';
@@ -26,6 +28,9 @@ export const ItemRequestBuilderNavigationMetadata = {
26
28
  archive: {
27
29
  requestsMetadata: ArchiveRequestBuilderRequestsMetadata,
28
30
  },
31
+ assignment: {
32
+ requestsMetadata: AssignmentRequestBuilderRequestsMetadata,
33
+ },
29
34
  status: {
30
35
  requestsMetadata: StatusRequestBuilderRequestsMetadata,
31
36
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leads/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACxK,aAAa;AACb,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAA2B,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AAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -237,6 +237,10 @@ export interface AutomationActionRunRecord extends AdditionalDataHolder, Parsabl
237
237
  * UTC timestamp when this automation action run record was scheduled.
238
238
  */
239
239
  scheduledAt?: Date | null;
240
+ /**
241
+ * Connection selected by a control-flow action such as a weighted random split.
242
+ */
243
+ selectedConnectionId?: string | null;
240
244
  /**
241
245
  * UTC timestamp when processing started for this automation action run record.
242
246
  */
@@ -309,6 +313,10 @@ export interface AutomationConnection extends AdditionalDataHolder, Parsable {
309
313
  * Graph node identifier where the connection ends.
310
314
  */
311
315
  targetNodeId?: string | null;
316
+ /**
317
+ * Percentage chance assigned to this connection when it leaves a weighted random split. Ignored for connections from other node types.
318
+ */
319
+ weight?: number | null;
312
320
  }
313
321
  /**
314
322
  * Recent persisted execution runs for an automation console.
@@ -590,10 +598,6 @@ export interface AutomationResponse extends AdditionalDataHolder, Parsable {
590
598
  * Organization ID that owns this automation.
591
599
  */
592
600
  organizationId?: string | null;
593
- /**
594
- * Recent automation runs returned for history and troubleshooting.
595
- */
596
- recentRuns?: AutomationRunRecord[] | null;
597
601
  /**
598
602
  * Scope that limits where this automation configuration response applies in Leadping.
599
603
  */
@@ -1084,6 +1088,63 @@ export interface AutomationWorkflowStatusResponse extends AdditionalDataHolder,
1084
1088
  }
1085
1089
  export type BillableUnit = (typeof BillableUnitObject)[keyof typeof BillableUnitObject];
1086
1090
  export type BillingPlan = (typeof BillingPlanObject)[keyof typeof BillingPlanObject];
1091
+ /**
1092
+ * Represents a blog article response.
1093
+ */
1094
+ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1095
+ /**
1096
+ * Gets or sets the author name.
1097
+ */
1098
+ authorName?: string | null;
1099
+ /**
1100
+ * Gets or sets the category.
1101
+ */
1102
+ category?: string | null;
1103
+ /**
1104
+ * Gets or sets the content.
1105
+ */
1106
+ content?: string | null;
1107
+ /**
1108
+ * Gets or sets the cover image URL.
1109
+ */
1110
+ coverImageUrl?: string | null;
1111
+ /**
1112
+ * Gets or sets the created at.
1113
+ */
1114
+ createdAt?: Date | null;
1115
+ /**
1116
+ * Gets or sets the excerpt.
1117
+ */
1118
+ excerpt?: string | null;
1119
+ /**
1120
+ * Gets or sets the ID.
1121
+ */
1122
+ id?: string | null;
1123
+ /**
1124
+ * Gets or sets the is featured.
1125
+ */
1126
+ isFeatured?: boolean | null;
1127
+ /**
1128
+ * Gets or sets the is published.
1129
+ */
1130
+ isPublished?: boolean | null;
1131
+ /**
1132
+ * Gets or sets the modified at.
1133
+ */
1134
+ modifiedAt?: Date | null;
1135
+ /**
1136
+ * Gets or sets the published at.
1137
+ */
1138
+ publishedAt?: Date | null;
1139
+ /**
1140
+ * Gets or sets the slug.
1141
+ */
1142
+ slug?: string | null;
1143
+ /**
1144
+ * Gets or sets the title.
1145
+ */
1146
+ title?: string | null;
1147
+ }
1087
1148
  /**
1088
1149
  * Summarizes call event data in paginated and searchable results.
1089
1150
  */
@@ -1591,6 +1652,12 @@ export declare function createAutomationWorkflowRunResponseFromDiscriminatorValu
1591
1652
  * @returns {AutomationWorkflowStatusResponse}
1592
1653
  */
1593
1654
  export declare function createAutomationWorkflowStatusResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1655
+ /**
1656
+ * Creates a new instance of the appropriate class based on discriminator value
1657
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1658
+ * @returns {BlogArticleResponse}
1659
+ */
1660
+ export declare function createBlogArticleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1594
1661
  /**
1595
1662
  * Creates a new instance of the appropriate class based on discriminator value
1596
1663
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1693,6 +1760,12 @@ export declare function createCustomerAutomationHealth_lastFailureFromDiscrimina
1693
1760
  * @returns {CustomerAutomationHealth}
1694
1761
  */
1695
1762
  export declare function createCustomerAutomationHealthFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1763
+ /**
1764
+ * Creates a new instance of the appropriate class based on discriminator value
1765
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1766
+ * @returns {CustomerAutomationHealthPoint}
1767
+ */
1768
+ export declare function createCustomerAutomationHealthPointFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1696
1769
  /**
1697
1770
  * Creates a new instance of the appropriate class based on discriminator value
1698
1771
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1807,6 +1880,12 @@ export declare function createInvoicePdfAccessResponseFromDiscriminatorValue(par
1807
1880
  * @returns {LeadArchiveRequest}
1808
1881
  */
1809
1882
  export declare function createLeadArchiveRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1883
+ /**
1884
+ * Creates a new instance of the appropriate class based on discriminator value
1885
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1886
+ * @returns {LeadAssignmentRequest}
1887
+ */
1888
+ export declare function createLeadAssignmentRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1810
1889
  /**
1811
1890
  * Creates a new instance of the appropriate class based on discriminator value
1812
1891
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1867,6 +1946,12 @@ export declare function createLeadProfileFromDiscriminatorValue(parseNode: Parse
1867
1946
  * @returns {LeadRequest}
1868
1947
  */
1869
1948
  export declare function createLeadRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1949
+ /**
1950
+ * Creates a new instance of the appropriate class based on discriminator value
1951
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1952
+ * @returns {LeadResponse_assignedTo}
1953
+ */
1954
+ export declare function createLeadResponse_assignedToFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1870
1955
  /**
1871
1956
  * Creates a new instance of the appropriate class based on discriminator value
1872
1957
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1921,6 +2006,12 @@ export declare function createLeadStatusRequestFromDiscriminatorValue(parseNode:
1921
2006
  * @returns {LeadStatusResponse}
1922
2007
  */
1923
2008
  export declare function createLeadStatusResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2009
+ /**
2010
+ * Creates a new instance of the appropriate class based on discriminator value
2011
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2012
+ * @returns {LeadTableRow_assignedTo}
2013
+ */
2014
+ export declare function createLeadTableRow_assignedToFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1924
2015
  /**
1925
2016
  * Creates a new instance of the appropriate class based on discriminator value
1926
2017
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2596,6 +2687,12 @@ export declare function createSmsReadinessUiStateFromDiscriminatorValue(parseNod
2596
2687
  * @returns {SmsResponse}
2597
2688
  */
2598
2689
  export declare function createSmsResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2690
+ /**
2691
+ * Creates a new instance of the appropriate class based on discriminator value
2692
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2693
+ * @returns {SourceCredentialIssueResponse}
2694
+ */
2695
+ export declare function createSourceCredentialIssueResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2599
2696
  /**
2600
2697
  * Creates a new instance of the appropriate class based on discriminator value
2601
2698
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3166,12 +3263,45 @@ export interface CustomerAutomationHealth extends AdditionalDataHolder, Parsable
3166
3263
  * Total number of success records represented by this Leadping customer automation health.
3167
3264
  */
3168
3265
  successCount?: number | null;
3266
+ /**
3267
+ * Automation execution activity over the reporting period.
3268
+ */
3269
+ trend?: CustomerAutomationHealthPoint[] | null;
3169
3270
  }
3170
3271
  /**
3171
3272
  * Last failure associated with this Leadping customer automation health.
3172
3273
  */
3173
3274
  export interface CustomerAutomationHealth_lastFailure extends CustomerFailingAutomation, Parsable {
3174
3275
  }
3276
+ /**
3277
+ * Measures automation execution activity within one analytics time bucket.
3278
+ */
3279
+ export interface CustomerAutomationHealthPoint extends AdditionalDataHolder, Parsable {
3280
+ /**
3281
+ * Gets or sets the end at.
3282
+ */
3283
+ endAt?: Date | null;
3284
+ /**
3285
+ * Gets or sets the executions.
3286
+ */
3287
+ executions?: number | null;
3288
+ /**
3289
+ * Gets or sets the failure count.
3290
+ */
3291
+ failureCount?: number | null;
3292
+ /**
3293
+ * Gets or sets the label.
3294
+ */
3295
+ label?: string | null;
3296
+ /**
3297
+ * Gets or sets the start at.
3298
+ */
3299
+ startAt?: Date | null;
3300
+ /**
3301
+ * Gets or sets the success count.
3302
+ */
3303
+ successCount?: number | null;
3304
+ }
3175
3305
  /**
3176
3306
  * Aggregates an organization's SMS, MMS, and calling activity, delivery outcomes, and billable usage over time.
3177
3307
  */
@@ -3180,6 +3310,10 @@ export interface CustomerCommunicationUsage extends AdditionalDataHolder, Parsab
3180
3310
  * Number of calls answered during the reporting period.
3181
3311
  */
3182
3312
  answeredCalls?: number | null;
3313
+ /**
3314
+ * Number of calls that failed or were blocked during the reporting period.
3315
+ */
3316
+ callErrors?: number | null;
3183
3317
  /**
3184
3318
  * Total connected call duration, in minutes, during the reporting period.
3185
3319
  */
@@ -3221,6 +3355,10 @@ export interface CustomerCommunicationUsage extends AdditionalDataHolder, Parsab
3221
3355
  * Measures organization messaging and calling activity within one analytics time bucket.
3222
3356
  */
3223
3357
  export interface CustomerCommunicationUsagePoint extends AdditionalDataHolder, Parsable {
3358
+ /**
3359
+ * Number of calls that failed or were blocked in this time bucket.
3360
+ */
3361
+ callErrors?: number | null;
3224
3362
  /**
3225
3363
  * Total connected call duration, in minutes, during the reporting period.
3226
3364
  */
@@ -3229,6 +3367,14 @@ export interface CustomerCommunicationUsagePoint extends AdditionalDataHolder, P
3229
3367
  * Number of calls represented by this Leadping customer communication usage point.
3230
3368
  */
3231
3369
  calls?: number | null;
3370
+ /**
3371
+ * Number of outbound calls placed in this time bucket.
3372
+ */
3373
+ callsPlaced?: number | null;
3374
+ /**
3375
+ * Number of inbound calls received in this time bucket.
3376
+ */
3377
+ callsReceived?: number | null;
3232
3378
  /**
3233
3379
  * Date and time when this Leadping customer communication usage point was end.
3234
3380
  */
@@ -3237,6 +3383,10 @@ export interface CustomerCommunicationUsagePoint extends AdditionalDataHolder, P
3237
3383
  * Human-readable label for this Leadping customer communication usage point.
3238
3384
  */
3239
3385
  label?: string | null;
3386
+ /**
3387
+ * Number of SMS messages that failed or were blocked in this time bucket.
3388
+ */
3389
+ smsErrors?: number | null;
3240
3390
  /**
3241
3391
  * Number of SMS messages received during the reporting period.
3242
3392
  */
@@ -3300,6 +3450,10 @@ export interface CustomerLeadTrend extends AdditionalDataHolder, Parsable {
3300
3450
  * Date and time when this Leadping customer lead trend was comparison.
3301
3451
  */
3302
3452
  comparison?: AnalyticsComparison | null;
3453
+ /**
3454
+ * Lead intake errors grouped into the same reporting buckets as Points.
3455
+ */
3456
+ errorPoints?: AnalyticsTrendPointOfint[] | null;
3303
3457
  /**
3304
3458
  * Collection of points included with this Leadping customer lead trend.
3305
3459
  */
@@ -3308,6 +3462,10 @@ export interface CustomerLeadTrend extends AdditionalDataHolder, Parsable {
3308
3462
  * Total number of total records represented by this Leadping customer lead trend.
3309
3463
  */
3310
3464
  total?: number | null;
3465
+ /**
3466
+ * Total number of lead submissions rejected during intake.
3467
+ */
3468
+ totalErrors?: number | null;
3311
3469
  }
3312
3470
  /**
3313
3471
  * Identifies an organization-level issue or opportunity and provides severity, supporting context, and a recommended action.
@@ -3599,6 +3757,12 @@ export declare function deserializeIntoAutomationWorkflowRunResponse_currentStep
3599
3757
  * @returns {Record<string, (node: ParseNode) => void>}
3600
3758
  */
3601
3759
  export declare function deserializeIntoAutomationWorkflowStatusResponse(automationWorkflowStatusResponse?: Partial<AutomationWorkflowStatusResponse> | undefined): Record<string, (node: ParseNode) => void>;
3760
+ /**
3761
+ * The deserialization information for the current model
3762
+ * @param BlogArticleResponse The instance to deserialize into.
3763
+ * @returns {Record<string, (node: ParseNode) => void>}
3764
+ */
3765
+ export declare function deserializeIntoBlogArticleResponse(blogArticleResponse?: Partial<BlogArticleResponse> | undefined): Record<string, (node: ParseNode) => void>;
3602
3766
  /**
3603
3767
  * The deserialization information for the current model
3604
3768
  * @param CallEventTableRow The instance to deserialize into.
@@ -3701,6 +3865,12 @@ export declare function deserializeIntoCustomerAutomationHealth(customerAutomati
3701
3865
  * @returns {Record<string, (node: ParseNode) => void>}
3702
3866
  */
3703
3867
  export declare function deserializeIntoCustomerAutomationHealth_lastFailure(customerAutomationHealth_lastFailure?: Partial<CustomerAutomationHealth_lastFailure> | undefined): Record<string, (node: ParseNode) => void>;
3868
+ /**
3869
+ * The deserialization information for the current model
3870
+ * @param CustomerAutomationHealthPoint The instance to deserialize into.
3871
+ * @returns {Record<string, (node: ParseNode) => void>}
3872
+ */
3873
+ export declare function deserializeIntoCustomerAutomationHealthPoint(customerAutomationHealthPoint?: Partial<CustomerAutomationHealthPoint> | undefined): Record<string, (node: ParseNode) => void>;
3704
3874
  /**
3705
3875
  * The deserialization information for the current model
3706
3876
  * @param CustomerCommunicationUsage The instance to deserialize into.
@@ -3815,6 +3985,12 @@ export declare function deserializeIntoInvoicePdfAccessResponse(invoicePdfAccess
3815
3985
  * @returns {Record<string, (node: ParseNode) => void>}
3816
3986
  */
3817
3987
  export declare function deserializeIntoLeadArchiveRequest(leadArchiveRequest?: Partial<LeadArchiveRequest> | undefined): Record<string, (node: ParseNode) => void>;
3988
+ /**
3989
+ * The deserialization information for the current model
3990
+ * @param LeadAssignmentRequest The instance to deserialize into.
3991
+ * @returns {Record<string, (node: ParseNode) => void>}
3992
+ */
3993
+ export declare function deserializeIntoLeadAssignmentRequest(leadAssignmentRequest?: Partial<LeadAssignmentRequest> | undefined): Record<string, (node: ParseNode) => void>;
3818
3994
  /**
3819
3995
  * The deserialization information for the current model
3820
3996
  * @param LeadContact The instance to deserialize into.
@@ -3881,6 +4057,12 @@ export declare function deserializeIntoLeadRequest(leadRequest?: Partial<LeadReq
3881
4057
  * @returns {Record<string, (node: ParseNode) => void>}
3882
4058
  */
3883
4059
  export declare function deserializeIntoLeadResponse(leadResponse?: Partial<LeadResponse> | undefined): Record<string, (node: ParseNode) => void>;
4060
+ /**
4061
+ * The deserialization information for the current model
4062
+ * @param LeadResponse_assignedTo The instance to deserialize into.
4063
+ * @returns {Record<string, (node: ParseNode) => void>}
4064
+ */
4065
+ export declare function deserializeIntoLeadResponse_assignedTo(leadResponse_assignedTo?: Partial<LeadResponse_assignedTo> | undefined): Record<string, (node: ParseNode) => void>;
3884
4066
  /**
3885
4067
  * The deserialization information for the current model
3886
4068
  * @param LeadResponse_currentLeadStatus The instance to deserialize into.
@@ -3935,6 +4117,12 @@ export declare function deserializeIntoLeadStatusResponse(leadStatusResponse?: P
3935
4117
  * @returns {Record<string, (node: ParseNode) => void>}
3936
4118
  */
3937
4119
  export declare function deserializeIntoLeadTableRow(leadTableRow?: Partial<LeadTableRow> | undefined): Record<string, (node: ParseNode) => void>;
4120
+ /**
4121
+ * The deserialization information for the current model
4122
+ * @param LeadTableRow_assignedTo The instance to deserialize into.
4123
+ * @returns {Record<string, (node: ParseNode) => void>}
4124
+ */
4125
+ export declare function deserializeIntoLeadTableRow_assignedTo(leadTableRow_assignedTo?: Partial<LeadTableRow_assignedTo> | undefined): Record<string, (node: ParseNode) => void>;
3938
4126
  /**
3939
4127
  * The deserialization information for the current model
3940
4128
  * @param LeadTableRow_currentLeadStatus The instance to deserialize into.
@@ -4595,6 +4783,12 @@ export declare function deserializeIntoSmsReadinessUiState(smsReadinessUiState?:
4595
4783
  * @returns {Record<string, (node: ParseNode) => void>}
4596
4784
  */
4597
4785
  export declare function deserializeIntoSmsResponse(smsResponse?: Partial<SmsResponse> | undefined): Record<string, (node: ParseNode) => void>;
4786
+ /**
4787
+ * The deserialization information for the current model
4788
+ * @param SourceCredentialIssueResponse The instance to deserialize into.
4789
+ * @returns {Record<string, (node: ParseNode) => void>}
4790
+ */
4791
+ export declare function deserializeIntoSourceCredentialIssueResponse(sourceCredentialIssueResponse?: Partial<SourceCredentialIssueResponse> | undefined): Record<string, (node: ParseNode) => void>;
4598
4792
  /**
4599
4793
  * The deserialization information for the current model
4600
4794
  * @param SourceMetricsResponse The instance to deserialize into.
@@ -5519,6 +5713,15 @@ export interface LeadArchiveRequest extends AdditionalDataHolder, Parsable {
5519
5713
  */
5520
5714
  reason?: number | null;
5521
5715
  }
5716
+ /**
5717
+ * Assigns an organization lead to an active organization member. A null user ID returns the lead to the unassigned queue.
5718
+ */
5719
+ export interface LeadAssignmentRequest extends AdditionalDataHolder, Parsable {
5720
+ /**
5721
+ * Gets or sets the assigned to user ID.
5722
+ */
5723
+ assignedToUserId?: string | null;
5724
+ }
5522
5725
  /**
5523
5726
  * Public Leadping API schema for lead contact profile data.
5524
5727
  */
@@ -5976,6 +6179,14 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
5976
6179
  * Defines why a lead was removed from the active working pipeline.
5977
6180
  */
5978
6181
  archiveReason?: number | null;
6182
+ /**
6183
+ * Identifier and display name of the active organization member assigned to this lead.
6184
+ */
6185
+ assignedTo?: LeadResponse_assignedTo | null;
6186
+ /**
6187
+ * Leadping user currently responsible for this lead, or null when it is in the unassigned queue.
6188
+ */
6189
+ assignedToUserId?: string | null;
5979
6190
  /**
5980
6191
  * Contact details for the lead or customer represented by this lead response.
5981
6192
  */
@@ -6041,6 +6252,11 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
6041
6252
  */
6042
6253
  tags?: TagSummary[] | null;
6043
6254
  }
6255
+ /**
6256
+ * Identifier and display name of the active organization member assigned to this lead.
6257
+ */
6258
+ export interface LeadResponse_assignedTo extends IdNamePair, Parsable {
6259
+ }
6044
6260
  /**
6045
6261
  * Current lead status change summary that describes the lead outcome.
6046
6262
  */
@@ -6433,6 +6649,18 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6433
6649
  * Defines why a lead was removed from the active working pipeline.
6434
6650
  */
6435
6651
  archiveReason?: number | null;
6652
+ /**
6653
+ * Identifier and display name of the assigned organization member.
6654
+ */
6655
+ assignedTo?: LeadTableRow_assignedTo | null;
6656
+ /**
6657
+ * Leadping user currently responsible for this lead, or null when unassigned.
6658
+ */
6659
+ assignedToUserId?: string | null;
6660
+ /**
6661
+ * Optional profile image URL explicitly associated with the lead.
6662
+ */
6663
+ avatarUrl?: string | null;
6436
6664
  /**
6437
6665
  * UTC timestamp when this lead table row was created.
6438
6666
  */
@@ -6473,6 +6701,10 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6473
6701
  * Phone details for the lead, user, or organization represented by this lead table row.
6474
6702
  */
6475
6703
  phone?: string | null;
6704
+ /**
6705
+ * Identifier of the canonical phone identity associated with this lead's phone number.
6706
+ */
6707
+ phoneIdentityId?: string | null;
6476
6708
  /**
6477
6709
  * Lead price or transaction price supplied to the Leadping API.
6478
6710
  */
@@ -6510,6 +6742,11 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6510
6742
  */
6511
6743
  updatedAt?: Date | null;
6512
6744
  }
6745
+ /**
6746
+ * Identifier and display name of the assigned organization member.
6747
+ */
6748
+ export interface LeadTableRow_assignedTo extends IdNamePair, Parsable {
6749
+ }
6513
6750
  /**
6514
6751
  * Current lead status change summary that describes the lead outcome.
6515
6752
  */
@@ -9784,6 +10021,13 @@ export declare function serializeAutomationWorkflowRunResponse_currentStep(write
9784
10021
  * @param writer Serialization writer to use to serialize this model
9785
10022
  */
9786
10023
  export declare function serializeAutomationWorkflowStatusResponse(writer: SerializationWriter, automationWorkflowStatusResponse?: Partial<AutomationWorkflowStatusResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10024
+ /**
10025
+ * Serializes information the current object
10026
+ * @param BlogArticleResponse The instance to serialize from.
10027
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10028
+ * @param writer Serialization writer to use to serialize this model
10029
+ */
10030
+ export declare function serializeBlogArticleResponse(writer: SerializationWriter, blogArticleResponse?: Partial<BlogArticleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
9787
10031
  /**
9788
10032
  * Serializes information the current object
9789
10033
  * @param CallEventTableRow The instance to serialize from.
@@ -9903,6 +10147,13 @@ export declare function serializeCustomerAutomationHealth(writer: SerializationW
9903
10147
  * @param writer Serialization writer to use to serialize this model
9904
10148
  */
9905
10149
  export declare function serializeCustomerAutomationHealth_lastFailure(writer: SerializationWriter, customerAutomationHealth_lastFailure?: Partial<CustomerAutomationHealth_lastFailure> | undefined | null, isSerializingDerivedType?: boolean): void;
10150
+ /**
10151
+ * Serializes information the current object
10152
+ * @param CustomerAutomationHealthPoint The instance to serialize from.
10153
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10154
+ * @param writer Serialization writer to use to serialize this model
10155
+ */
10156
+ export declare function serializeCustomerAutomationHealthPoint(writer: SerializationWriter, customerAutomationHealthPoint?: Partial<CustomerAutomationHealthPoint> | undefined | null, isSerializingDerivedType?: boolean): void;
9906
10157
  /**
9907
10158
  * Serializes information the current object
9908
10159
  * @param CustomerCommunicationUsage The instance to serialize from.
@@ -10036,6 +10287,13 @@ export declare function serializeInvoicePdfAccessResponse(writer: SerializationW
10036
10287
  * @param writer Serialization writer to use to serialize this model
10037
10288
  */
10038
10289
  export declare function serializeLeadArchiveRequest(writer: SerializationWriter, leadArchiveRequest?: Partial<LeadArchiveRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
10290
+ /**
10291
+ * Serializes information the current object
10292
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10293
+ * @param LeadAssignmentRequest The instance to serialize from.
10294
+ * @param writer Serialization writer to use to serialize this model
10295
+ */
10296
+ export declare function serializeLeadAssignmentRequest(writer: SerializationWriter, leadAssignmentRequest?: Partial<LeadAssignmentRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
10039
10297
  /**
10040
10298
  * Serializes information the current object
10041
10299
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -10113,6 +10371,13 @@ export declare function serializeLeadRequest(writer: SerializationWriter, leadRe
10113
10371
  * @param writer Serialization writer to use to serialize this model
10114
10372
  */
10115
10373
  export declare function serializeLeadResponse(writer: SerializationWriter, leadResponse?: Partial<LeadResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10374
+ /**
10375
+ * Serializes information the current object
10376
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10377
+ * @param LeadResponse_assignedTo The instance to serialize from.
10378
+ * @param writer Serialization writer to use to serialize this model
10379
+ */
10380
+ export declare function serializeLeadResponse_assignedTo(writer: SerializationWriter, leadResponse_assignedTo?: Partial<LeadResponse_assignedTo> | undefined | null, isSerializingDerivedType?: boolean): void;
10116
10381
  /**
10117
10382
  * Serializes information the current object
10118
10383
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -10176,6 +10441,13 @@ export declare function serializeLeadStatusResponse(writer: SerializationWriter,
10176
10441
  * @param writer Serialization writer to use to serialize this model
10177
10442
  */
10178
10443
  export declare function serializeLeadTableRow(writer: SerializationWriter, leadTableRow?: Partial<LeadTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
10444
+ /**
10445
+ * Serializes information the current object
10446
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10447
+ * @param LeadTableRow_assignedTo The instance to serialize from.
10448
+ * @param writer Serialization writer to use to serialize this model
10449
+ */
10450
+ export declare function serializeLeadTableRow_assignedTo(writer: SerializationWriter, leadTableRow_assignedTo?: Partial<LeadTableRow_assignedTo> | undefined | null, isSerializingDerivedType?: boolean): void;
10179
10451
  /**
10180
10452
  * Serializes information the current object
10181
10453
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -10946,6 +11218,13 @@ export declare function serializeSmsReadinessUiState(writer: SerializationWriter
10946
11218
  * @param writer Serialization writer to use to serialize this model
10947
11219
  */
10948
11220
  export declare function serializeSmsResponse(writer: SerializationWriter, smsResponse?: Partial<SmsResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11221
+ /**
11222
+ * Serializes information the current object
11223
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11224
+ * @param SourceCredentialIssueResponse The instance to serialize from.
11225
+ * @param writer Serialization writer to use to serialize this model
11226
+ */
11227
+ export declare function serializeSourceCredentialIssueResponse(writer: SerializationWriter, sourceCredentialIssueResponse?: Partial<SourceCredentialIssueResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10949
11228
  /**
10950
11229
  * Serializes information the current object
10951
11230
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11729,10 +12008,27 @@ export interface SmsResponse extends AdditionalDataHolder, Parsable {
11729
12008
  export type SmsResponse_selectionReason = (typeof SmsResponse_selectionReasonObject)[keyof typeof SmsResponse_selectionReasonObject];
11730
12009
  export type SmsResponse_status = (typeof SmsResponse_statusObject)[keyof typeof SmsResponse_statusObject];
11731
12010
  export type SmsResponse_trafficType = (typeof SmsResponse_trafficTypeObject)[keyof typeof SmsResponse_trafficTypeObject];
12011
+ /**
12012
+ * Returns a newly issued source credential exactly once.
12013
+ */
12014
+ export interface SourceCredentialIssueResponse extends AdditionalDataHolder, Parsable {
12015
+ /**
12016
+ * Newly issued source credential. Leadping does not retain this plaintext value.
12017
+ */
12018
+ secret?: string | null;
12019
+ /**
12020
+ * Source metadata safe for later retrieval.
12021
+ */
12022
+ source?: SourceResponse | null;
12023
+ }
11732
12024
  /**
11733
12025
  * Aggregates lead volume, conversion, delivery, and activity metrics attributed to a Leadping source over the requested reporting period.
11734
12026
  */
11735
12027
  export interface SourceMetricsResponse extends AdditionalDataHolder, Parsable {
12028
+ /**
12029
+ * Collection of lead intake error points included with this Leadping source metrics.
12030
+ */
12031
+ errorPoints?: AnalyticsTrendPointOfint[] | null;
11736
12032
  /**
11737
12033
  * Date and time when the source metrics was generated.
11738
12034
  */
@@ -11745,6 +12041,10 @@ export interface SourceMetricsResponse extends AdditionalDataHolder, Parsable {
11745
12041
  * Range associated with this Leadping source metrics.
11746
12042
  */
11747
12043
  range?: AnalyticsDateRange | null;
12044
+ /**
12045
+ * Total number of lead intake errors represented by this Leadping source metrics.
12046
+ */
12047
+ totalErrors?: number | null;
11748
12048
  /**
11749
12049
  * Total number of leads records represented by this Leadping source metrics.
11750
12050
  */
@@ -11795,14 +12095,14 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
11795
12095
  * State or region allowlist used to accept leads from this source.
11796
12096
  */
11797
12097
  allowedStates?: string[] | null;
11798
- /**
11799
- * Source API key used to authenticate inbound lead delivery to Leadping. Unlike an organization API key, this value remains available to authorized source users.
11800
- */
11801
- apiKey?: string | null;
11802
12098
  /**
11803
12099
  * Masked preview of the source API key for compact display.
11804
12100
  */
11805
12101
  apiKeyPreview?: string | null;
12102
+ /**
12103
+ * UTC timestamp when the source credential was most recently rotated.
12104
+ */
12105
+ apiKeyRotatedAt?: Date | null;
11806
12106
  /**
11807
12107
  * Indicates whether the organization or sender passed compliance review.
11808
12108
  */
@@ -11908,10 +12208,6 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
11908
12208
  * State or region allowlist used to accept leads from this source.
11909
12209
  */
11910
12210
  allowedStates?: string[] | null;
11911
- /**
11912
- * Source API key used to authenticate inbound lead delivery to Leadping. Unlike an organization API key, this value remains available to authorized source users.
11913
- */
11914
- apiKey?: string | null;
11915
12211
  /**
11916
12212
  * UTC timestamp when the source API key was last used.
11917
12213
  */
@@ -11920,6 +12216,10 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
11920
12216
  * Masked preview of the source API key for compact display.
11921
12217
  */
11922
12218
  apiKeyPreview?: string | null;
12219
+ /**
12220
+ * UTC timestamp when the source credential was most recently rotated.
12221
+ */
12222
+ apiKeyRotatedAt?: Date | null;
11923
12223
  /**
11924
12224
  * Total number of authenticated requests made with this source API key.
11925
12225
  */
@@ -13728,6 +14028,7 @@ export declare const LeadProfile_maritalStatusObject: {
13728
14028
  * Defines the asynchronous verification and enrichment lifecycle for a lead.
13729
14029
  */
13730
14030
  export declare const LeadResponse_processingStatusObject: {
14031
+ readonly Quarantined: "Quarantined";
13731
14032
  readonly Verifying: "Verifying";
13732
14033
  readonly Validating: "Validating";
13733
14034
  readonly Enriching: "Enriching";
@@ -13814,6 +14115,7 @@ export declare const LeadStatusRequest_categoryObject: {
13814
14115
  * Defines the asynchronous verification and enrichment lifecycle for a lead.
13815
14116
  */
13816
14117
  export declare const LeadTableRow_processingStatusObject: {
14118
+ readonly Quarantined: "Quarantined";
13817
14119
  readonly Verifying: "Verifying";
13818
14120
  readonly Validating: "Validating";
13819
14121
  readonly Enriching: "Enriching";