@leadping/sdk 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appointments/index.js +1 -1
- package/dist/appointments/item/cancel/index.d.ts +1 -0
- package/dist/appointments/item/cancel/index.d.ts.map +1 -1
- package/dist/appointments/item/cancel/index.js +2 -1
- package/dist/appointments/item/cancel/index.js.map +1 -1
- package/dist/appointments/item/complete/index.d.ts +1 -0
- package/dist/appointments/item/complete/index.d.ts.map +1 -1
- package/dist/appointments/item/complete/index.js +2 -1
- package/dist/appointments/item/complete/index.js.map +1 -1
- package/dist/appointments/item/dismiss/index.d.ts +1 -0
- package/dist/appointments/item/dismiss/index.d.ts.map +1 -1
- package/dist/appointments/item/dismiss/index.js +2 -1
- package/dist/appointments/item/dismiss/index.js.map +1 -1
- package/dist/appointments/item/index.js +1 -1
- package/dist/appointments/item/snooze/index.d.ts +1 -0
- package/dist/appointments/item/snooze/index.d.ts.map +1 -1
- package/dist/appointments/item/snooze/index.js +2 -1
- package/dist/appointments/item/snooze/index.js.map +1 -1
- package/dist/conversations/item/index.js +1 -1
- package/dist/conversations/item/markHandled/index.js +1 -1
- package/dist/conversations/item/markRead/index.js +1 -1
- package/dist/conversations/item/markReplyNeeded/index.js +1 -1
- package/dist/conversations/item/outboundReadiness/index.js +1 -1
- package/dist/conversations/lead/item/contactability/index.js +1 -1
- package/dist/events/conversations/item/index.d.ts.map +1 -1
- package/dist/events/conversations/item/index.js +2 -1
- package/dist/events/conversations/item/index.js.map +1 -1
- package/dist/events/conversations/item/notes/index.d.ts +12 -1
- package/dist/events/conversations/item/notes/index.d.ts.map +1 -1
- package/dist/events/conversations/item/notes/index.js +11 -0
- package/dist/events/conversations/item/notes/index.js.map +1 -1
- package/dist/events/conversations/item/notes/item/index.d.ts +35 -0
- package/dist/events/conversations/item/notes/item/index.d.ts.map +1 -0
- package/dist/events/conversations/item/notes/item/index.js +33 -0
- package/dist/events/conversations/item/notes/item/index.js.map +1 -0
- package/dist/invitations/decline/index.d.ts +31 -0
- package/dist/invitations/decline/index.d.ts.map +1 -0
- package/dist/invitations/decline/index.js +29 -0
- package/dist/invitations/decline/index.js.map +1 -0
- package/dist/invitations/index.d.ts +53 -0
- package/dist/invitations/index.d.ts.map +1 -0
- package/dist/invitations/index.js +44 -0
- package/dist/invitations/index.js.map +1 -0
- package/dist/invitations/item/accept/index.d.ts +30 -0
- package/dist/invitations/item/accept/index.d.ts.map +1 -0
- package/dist/invitations/item/accept/index.js +28 -0
- package/dist/invitations/item/accept/index.js.map +1 -0
- package/dist/invitations/item/decline/index.d.ts +30 -0
- package/dist/invitations/item/decline/index.d.ts.map +1 -0
- package/dist/invitations/item/decline/index.js +28 -0
- package/dist/invitations/item/decline/index.js.map +1 -0
- package/dist/invitations/item/index.d.ts +25 -0
- package/dist/invitations/item/index.d.ts.map +1 -0
- package/dist/invitations/item/index.js +25 -0
- package/dist/invitations/item/index.js.map +1 -0
- package/dist/leadpingOpenApiClient.d.ts +5 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +6 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/leads/followUps/index.js +1 -1
- package/dist/leads/item/followUp/index.js +1 -1
- package/dist/leads/item/phoneLookup/index.js +1 -1
- package/dist/leads/item/tags/item/index.js +1 -1
- package/dist/models/index.d.ts +38 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +40 -0
- package/dist/models/index.js.map +1 -1
- package/dist/organizations/me/invitations/item/resend/index.js +1 -1
- package/dist/tags/item/index.js +1 -1
- package/dist/telephony/availability/index.js +1 -1
- package/dist/telephony/availability/item/index.js +1 -1
- package/dist/telephony/incomingCaller/index.js +1 -1
- package/dist/wallets/me/spendLimits/index.js +2 -2
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1506,6 +1506,15 @@ export function createOrganizationInvitationResponseFromDiscriminatorValue(parse
|
|
|
1506
1506
|
export function createOrganizationInvitationTableRowFromDiscriminatorValue(parseNode) {
|
|
1507
1507
|
return deserializeIntoOrganizationInvitationTableRow;
|
|
1508
1508
|
}
|
|
1509
|
+
/**
|
|
1510
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1511
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1512
|
+
* @returns {OrganizationInvitationTokenRequest}
|
|
1513
|
+
*/
|
|
1514
|
+
// @ts-ignore
|
|
1515
|
+
export function createOrganizationInvitationTokenRequestFromDiscriminatorValue(parseNode) {
|
|
1516
|
+
return deserializeIntoOrganizationInvitationTokenRequest;
|
|
1517
|
+
}
|
|
1509
1518
|
/**
|
|
1510
1519
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1511
1520
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4336,6 +4345,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
4336
4345
|
"campaignId": n => { eventTableRow.campaignId = n.getStringValue(); },
|
|
4337
4346
|
"canceledAt": n => { eventTableRow.canceledAt = n.getDateValue(); },
|
|
4338
4347
|
"cancelReason": n => { eventTableRow.cancelReason = n.getStringValue(); },
|
|
4348
|
+
"canEditNote": n => { eventTableRow.canEditNote = n.getBooleanValue(); },
|
|
4339
4349
|
"complianceAction": n => { eventTableRow.complianceAction = n.getStringValue(); },
|
|
4340
4350
|
"conversationId": n => { eventTableRow.conversationId = n.getStringValue(); },
|
|
4341
4351
|
"createdAt": n => { eventTableRow.createdAt = n.getDateValue(); },
|
|
@@ -4355,6 +4365,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
4355
4365
|
"leadId": n => { eventTableRow.leadId = n.getStringValue(); },
|
|
4356
4366
|
"media": n => { eventTableRow.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
|
|
4357
4367
|
"nextRetryAt": n => { eventTableRow.nextRetryAt = n.getDateValue(); },
|
|
4368
|
+
"noteEdited": n => { eventTableRow.noteEdited = n.getBooleanValue(); },
|
|
4358
4369
|
"outboundPhoneNumberId": n => { eventTableRow.outboundPhoneNumberId = n.getStringValue(); },
|
|
4359
4370
|
"queuedAt": n => { eventTableRow.queuedAt = n.getDateValue(); },
|
|
4360
4371
|
"receivedAt": n => { eventTableRow.receivedAt = n.getDateValue(); },
|
|
@@ -5769,6 +5780,17 @@ export function deserializeIntoOrganizationInvitationTableRow(organizationInvita
|
|
|
5769
5780
|
"status": n => { organizationInvitationTableRow.status = n.getEnumValue(OrganizationInvitationStatusObject); },
|
|
5770
5781
|
};
|
|
5771
5782
|
}
|
|
5783
|
+
/**
|
|
5784
|
+
* The deserialization information for the current model
|
|
5785
|
+
* @param OrganizationInvitationTokenRequest The instance to deserialize into.
|
|
5786
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5787
|
+
*/
|
|
5788
|
+
// @ts-ignore
|
|
5789
|
+
export function deserializeIntoOrganizationInvitationTokenRequest(organizationInvitationTokenRequest = {}) {
|
|
5790
|
+
return {
|
|
5791
|
+
"token": n => { organizationInvitationTokenRequest.token = n.getStringValue(); },
|
|
5792
|
+
};
|
|
5793
|
+
}
|
|
5772
5794
|
/**
|
|
5773
5795
|
* The deserialization information for the current model
|
|
5774
5796
|
* @param OrganizationMemberRequest The instance to deserialize into.
|
|
@@ -10011,6 +10033,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
10011
10033
|
writer.writeStringValue("campaignId", eventTableRow.campaignId);
|
|
10012
10034
|
writer.writeDateValue("canceledAt", eventTableRow.canceledAt);
|
|
10013
10035
|
writer.writeStringValue("cancelReason", eventTableRow.cancelReason);
|
|
10036
|
+
writer.writeBooleanValue("canEditNote", eventTableRow.canEditNote);
|
|
10014
10037
|
writer.writeStringValue("complianceAction", eventTableRow.complianceAction);
|
|
10015
10038
|
writer.writeStringValue("conversationId", eventTableRow.conversationId);
|
|
10016
10039
|
writer.writeDateValue("createdAt", eventTableRow.createdAt);
|
|
@@ -10030,6 +10053,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
10030
10053
|
writer.writeStringValue("leadId", eventTableRow.leadId);
|
|
10031
10054
|
writer.writeCollectionOfObjectValues("media", eventTableRow.media, serializeMessageMediaAttachment);
|
|
10032
10055
|
writer.writeDateValue("nextRetryAt", eventTableRow.nextRetryAt);
|
|
10056
|
+
writer.writeBooleanValue("noteEdited", eventTableRow.noteEdited);
|
|
10033
10057
|
writer.writeStringValue("outboundPhoneNumberId", eventTableRow.outboundPhoneNumberId);
|
|
10034
10058
|
writer.writeDateValue("queuedAt", eventTableRow.queuedAt);
|
|
10035
10059
|
writer.writeDateValue("receivedAt", eventTableRow.receivedAt);
|
|
@@ -11670,6 +11694,20 @@ export function serializeOrganizationInvitationTableRow(writer, organizationInvi
|
|
|
11670
11694
|
writer.writeEnumValue("status", organizationInvitationTableRow.status);
|
|
11671
11695
|
writer.writeAdditionalData(organizationInvitationTableRow.additionalData);
|
|
11672
11696
|
}
|
|
11697
|
+
/**
|
|
11698
|
+
* Serializes information the current object
|
|
11699
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11700
|
+
* @param OrganizationInvitationTokenRequest The instance to serialize from.
|
|
11701
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11702
|
+
*/
|
|
11703
|
+
// @ts-ignore
|
|
11704
|
+
export function serializeOrganizationInvitationTokenRequest(writer, organizationInvitationTokenRequest = {}, isSerializingDerivedType = false) {
|
|
11705
|
+
if (!organizationInvitationTokenRequest || isSerializingDerivedType) {
|
|
11706
|
+
return;
|
|
11707
|
+
}
|
|
11708
|
+
writer.writeStringValue("token", organizationInvitationTokenRequest.token);
|
|
11709
|
+
writer.writeAdditionalData(organizationInvitationTokenRequest.additionalData);
|
|
11710
|
+
}
|
|
11673
11711
|
/**
|
|
11674
11712
|
* Serializes information the current object
|
|
11675
11713
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -15187,6 +15225,7 @@ export const OrganizationBillingState_pendingBillingPlanObject = {
|
|
|
15187
15225
|
* Describes the lifecycle of an organization membership invitation from issuance through acceptance, expiration, or revocation.
|
|
15188
15226
|
*/
|
|
15189
15227
|
export const OrganizationInvitationStatusObject = {
|
|
15228
|
+
Declined: "Declined",
|
|
15190
15229
|
AwaitingConfirmation: "Awaiting confirmation",
|
|
15191
15230
|
Pending: "Pending",
|
|
15192
15231
|
Accepted: "Accepted",
|
|
@@ -15199,6 +15238,7 @@ export const OrganizationInvitationStatusObject = {
|
|
|
15199
15238
|
* Identifies an organization member's access level and permission scope within Leadping.
|
|
15200
15239
|
*/
|
|
15201
15240
|
export const OrganizationMemberRoleObject = {
|
|
15241
|
+
AccountAdmin: "Account Admin",
|
|
15202
15242
|
Owner: "Owner",
|
|
15203
15243
|
Admin: "Admin",
|
|
15204
15244
|
Agent: "Agent",
|