@leadping/sdk 1.0.142 → 1.0.144
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/bookedTimes/index.d.ts +13 -2
- package/dist/appointments/bookedTimes/index.d.ts.map +1 -1
- package/dist/appointments/bookedTimes/index.js +5 -4
- package/dist/appointments/bookedTimes/index.js.map +1 -1
- package/dist/appointments/index.d.ts +4 -0
- package/dist/appointments/index.d.ts.map +1 -1
- package/dist/appointments/index.js +5 -1
- package/dist/appointments/index.js.map +1 -1
- package/dist/appointments/item/cancel/index.d.ts +3 -0
- package/dist/appointments/item/cancel/index.d.ts.map +1 -1
- package/dist/appointments/item/cancel/index.js +3 -0
- package/dist/appointments/item/cancel/index.js.map +1 -1
- package/dist/appointments/item/complete/index.d.ts +3 -0
- package/dist/appointments/item/complete/index.d.ts.map +1 -1
- package/dist/appointments/item/complete/index.js +3 -0
- package/dist/appointments/item/complete/index.js.map +1 -1
- package/dist/appointments/item/dismiss/index.d.ts +3 -0
- package/dist/appointments/item/dismiss/index.d.ts.map +1 -1
- package/dist/appointments/item/dismiss/index.js +3 -0
- package/dist/appointments/item/dismiss/index.js.map +1 -1
- package/dist/appointments/item/index.d.ts +5 -0
- package/dist/appointments/item/index.d.ts.map +1 -1
- package/dist/appointments/item/index.js +6 -1
- package/dist/appointments/item/index.js.map +1 -1
- package/dist/appointments/item/snooze/index.d.ts +3 -0
- package/dist/appointments/item/snooze/index.d.ts.map +1 -1
- package/dist/appointments/item/snooze/index.js +3 -0
- package/dist/appointments/item/snooze/index.js.map +1 -1
- package/dist/automations/item/leads/index.d.ts +4 -3
- package/dist/automations/item/leads/index.d.ts.map +1 -1
- package/dist/automations/item/leads/index.js +2 -1
- package/dist/automations/item/leads/index.js.map +1 -1
- package/dist/automations/item/leads/item/run/index.d.ts +1 -1
- package/dist/automations/item/leads/item/run/item/index.d.ts +2 -0
- package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -1
- package/dist/automations/item/leads/item/run/item/index.js +3 -1
- package/dist/automations/item/leads/item/run/item/index.js.map +1 -1
- package/dist/automations/item/runForAudience/index.d.ts +2 -0
- package/dist/automations/item/runForAudience/index.d.ts.map +1 -1
- package/dist/automations/item/runForAudience/index.js +3 -1
- package/dist/automations/item/runForAudience/index.js.map +1 -1
- package/dist/automations/leadAudience/index.js +1 -1
- package/dist/conversations/item/retry/index.d.ts +5 -2
- package/dist/conversations/item/retry/index.d.ts.map +1 -1
- package/dist/conversations/item/retry/index.js +5 -2
- package/dist/conversations/item/retry/index.js.map +1 -1
- package/dist/invitations/decline/index.d.ts +5 -0
- package/dist/invitations/decline/index.d.ts.map +1 -1
- package/dist/invitations/decline/index.js +6 -1
- package/dist/invitations/decline/index.js.map +1 -1
- package/dist/invitations/index.d.ts +4 -1
- package/dist/invitations/index.d.ts.map +1 -1
- package/dist/invitations/index.js +1 -1
- package/dist/invitations/index.js.map +1 -1
- package/dist/invitations/item/accept/index.d.ts +6 -2
- package/dist/invitations/item/accept/index.d.ts.map +1 -1
- package/dist/invitations/item/accept/index.js +7 -4
- package/dist/invitations/item/accept/index.js.map +1 -1
- package/dist/invitations/item/decline/index.d.ts +6 -2
- package/dist/invitations/item/decline/index.d.ts.map +1 -1
- package/dist/invitations/item/decline/index.js +7 -4
- package/dist/invitations/item/decline/index.js.map +1 -1
- package/dist/leadStatusChanges/item/index.d.ts +1 -0
- package/dist/leadStatusChanges/item/index.d.ts.map +1 -1
- package/dist/leadStatusChanges/item/index.js +1 -0
- package/dist/leadStatusChanges/item/index.js.map +1 -1
- package/dist/messageTemplates/index.d.ts +3 -1
- package/dist/messageTemplates/index.d.ts.map +1 -1
- package/dist/messageTemplates/index.js +4 -2
- package/dist/messageTemplates/index.js.map +1 -1
- package/dist/messageTemplates/item/index.d.ts +4 -0
- package/dist/messageTemplates/item/index.d.ts.map +1 -1
- package/dist/messageTemplates/item/index.js +6 -2
- package/dist/messageTemplates/item/index.js.map +1 -1
- package/dist/models/index.d.ts +48 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +45 -0
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/item/markRead/index.d.ts +1 -0
- package/dist/notifications/item/markRead/index.d.ts.map +1 -1
- package/dist/notifications/item/markRead/index.js +1 -0
- package/dist/notifications/item/markRead/index.js.map +1 -1
- package/dist/notifications/markAllRead/index.d.ts +1 -0
- package/dist/notifications/markAllRead/index.d.ts.map +1 -1
- package/dist/notifications/markAllRead/index.js +1 -0
- package/dist/notifications/markAllRead/index.js.map +1 -1
- package/dist/paymentMethods/item/index.d.ts +1 -0
- package/dist/paymentMethods/item/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/index.js +1 -0
- package/dist/paymentMethods/item/index.js.map +1 -1
- package/dist/phoneCall/budget/index.d.ts +2 -2
- package/dist/phoneCall/budget/index.js +1 -1
- package/dist/phoneCall/dial/index.d.ts +1 -1
- package/dist/phoneCall/dial/item/index.d.ts +2 -0
- package/dist/phoneCall/dial/item/index.d.ts.map +1 -1
- package/dist/phoneCall/dial/item/index.js +3 -1
- package/dist/phoneCall/dial/item/index.js.map +1 -1
- package/dist/phoneCall/item/hangup/index.d.ts +1 -0
- package/dist/phoneCall/item/hangup/index.d.ts.map +1 -1
- package/dist/phoneCall/item/hangup/index.js +1 -0
- package/dist/phoneCall/item/hangup/index.js.map +1 -1
- package/dist/phoneCall/item/transfer/index.d.ts +1 -0
- package/dist/phoneCall/item/transfer/index.d.ts.map +1 -1
- package/dist/phoneCall/item/transfer/index.js +1 -0
- package/dist/phoneCall/item/transfer/index.js.map +1 -1
- package/dist/phoneCall/next/index.d.ts +6 -1
- package/dist/phoneCall/next/index.d.ts.map +1 -1
- package/dist/phoneCall/next/index.js +5 -0
- package/dist/phoneCall/next/index.js.map +1 -1
- package/dist/phoneCall/next/item/index.d.ts +8 -3
- package/dist/phoneCall/next/item/index.d.ts.map +1 -1
- package/dist/phoneCall/next/item/index.js +6 -4
- package/dist/phoneCall/next/item/index.js.map +1 -1
- package/dist/phoneCall/next/mobile/index.d.ts +22 -0
- package/dist/phoneCall/next/mobile/index.d.ts.map +1 -0
- package/dist/phoneCall/next/mobile/index.js +21 -0
- package/dist/phoneCall/next/mobile/index.js.map +1 -0
- package/dist/phoneCall/next/mobile/item/index.d.ts +35 -0
- package/dist/phoneCall/next/mobile/item/index.d.ts.map +1 -0
- package/dist/phoneCall/next/mobile/item/index.js +33 -0
- package/dist/phoneCall/next/mobile/item/index.js.map +1 -0
- package/dist/suppressions/admin/leads/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/item/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/item/item/index.d.ts +3 -2
- package/dist/suppressions/admin/leads/item/item/item/index.d.ts.map +1 -1
- package/dist/suppressions/admin/leads/item/item/item/index.js +2 -1
- package/dist/suppressions/admin/leads/item/item/item/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -102,6 +102,15 @@ export function createAppointmentActionRequestFromDiscriminatorValue(parseNode)
|
|
|
102
102
|
export function createAppointmentActivityFromDiscriminatorValue(parseNode) {
|
|
103
103
|
return deserializeIntoAppointmentActivity;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
108
|
+
* @returns {AppointmentInterval}
|
|
109
|
+
*/
|
|
110
|
+
// @ts-ignore
|
|
111
|
+
export function createAppointmentIntervalFromDiscriminatorValue(parseNode) {
|
|
112
|
+
return deserializeIntoAppointmentInterval;
|
|
113
|
+
}
|
|
105
114
|
/**
|
|
106
115
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
116
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3122,6 +3131,18 @@ export function deserializeIntoAppointmentActivity(appointmentActivity = {}) {
|
|
|
3122
3131
|
"type": n => { appointmentActivity.type = n.getStringValue(); },
|
|
3123
3132
|
};
|
|
3124
3133
|
}
|
|
3134
|
+
/**
|
|
3135
|
+
* The deserialization information for the current model
|
|
3136
|
+
* @param AppointmentInterval The instance to deserialize into.
|
|
3137
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3138
|
+
*/
|
|
3139
|
+
// @ts-ignore
|
|
3140
|
+
export function deserializeIntoAppointmentInterval(appointmentInterval = {}) {
|
|
3141
|
+
return {
|
|
3142
|
+
"endAt": n => { appointmentInterval.endAt = n.getDateValue(); },
|
|
3143
|
+
"startAt": n => { appointmentInterval.startAt = n.getDateValue(); },
|
|
3144
|
+
};
|
|
3145
|
+
}
|
|
3125
3146
|
/**
|
|
3126
3147
|
* The deserialization information for the current model
|
|
3127
3148
|
* @param AppointmentRequest The instance to deserialize into.
|
|
@@ -6138,6 +6159,7 @@ export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
|
|
|
6138
6159
|
"duplicateLeadLookbackDays": n => { organizationRequest.duplicateLeadLookbackDays = n.getNumberValue(); },
|
|
6139
6160
|
"ein": n => { organizationRequest.ein = n.getStringValue(); },
|
|
6140
6161
|
"isYoungerThan90": n => { organizationRequest.isYoungerThan90 = n.getBooleanValue(); },
|
|
6162
|
+
"lowBalanceWarningThreshold": n => { organizationRequest.lowBalanceWarningThreshold = n.getNumberValue(); },
|
|
6141
6163
|
"messagedLeadStatusId": n => { organizationRequest.messagedLeadStatusId = n.getStringValue(); },
|
|
6142
6164
|
"name": n => { organizationRequest.name = n.getStringValue(); },
|
|
6143
6165
|
"nextCallExcludedStatusIds": n => { organizationRequest.nextCallExcludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
@@ -6198,6 +6220,7 @@ export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
|
|
|
6198
6220
|
"enabled": n => { organizationResponse.enabled = n.getBooleanValue(); },
|
|
6199
6221
|
"id": n => { organizationResponse.id = n.getStringValue(); },
|
|
6200
6222
|
"isDemo": n => { organizationResponse.isDemo = n.getBooleanValue(); },
|
|
6223
|
+
"lowBalanceWarningThreshold": n => { organizationResponse.lowBalanceWarningThreshold = n.getNumberValue(); },
|
|
6201
6224
|
"messagedLeadStatusId": n => { organizationResponse.messagedLeadStatusId = n.getStringValue(); },
|
|
6202
6225
|
"modifiedAt": n => { organizationResponse.modifiedAt = n.getDateValue(); },
|
|
6203
6226
|
"name": n => { organizationResponse.name = n.getStringValue(); },
|
|
@@ -6774,6 +6797,7 @@ export function deserializeIntoPhoneIdentityResponse(phoneIdentityResponse = {})
|
|
|
6774
6797
|
"name": n => { phoneIdentityResponse.name = n.getStringValue(); },
|
|
6775
6798
|
"number": n => { phoneIdentityResponse.number = n.getStringValue(); },
|
|
6776
6799
|
"smsNotRoutable": n => { phoneIdentityResponse.smsNotRoutable = n.getBooleanValue(); },
|
|
6800
|
+
"smsRestrictionCode": n => { phoneIdentityResponse.smsRestrictionCode = n.getStringValue(); },
|
|
6777
6801
|
};
|
|
6778
6802
|
}
|
|
6779
6803
|
/**
|
|
@@ -8787,6 +8811,21 @@ export function serializeAppointmentActivity(writer, appointmentActivity = {}, i
|
|
|
8787
8811
|
writer.writeStringValue("type", appointmentActivity.type);
|
|
8788
8812
|
writer.writeAdditionalData(appointmentActivity.additionalData);
|
|
8789
8813
|
}
|
|
8814
|
+
/**
|
|
8815
|
+
* Serializes information the current object
|
|
8816
|
+
* @param AppointmentInterval The instance to serialize from.
|
|
8817
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8818
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8819
|
+
*/
|
|
8820
|
+
// @ts-ignore
|
|
8821
|
+
export function serializeAppointmentInterval(writer, appointmentInterval = {}, isSerializingDerivedType = false) {
|
|
8822
|
+
if (!appointmentInterval || isSerializingDerivedType) {
|
|
8823
|
+
return;
|
|
8824
|
+
}
|
|
8825
|
+
writer.writeDateValue("endAt", appointmentInterval.endAt);
|
|
8826
|
+
writer.writeDateValue("startAt", appointmentInterval.startAt);
|
|
8827
|
+
writer.writeAdditionalData(appointmentInterval.additionalData);
|
|
8828
|
+
}
|
|
8790
8829
|
/**
|
|
8791
8830
|
* Serializes information the current object
|
|
8792
8831
|
* @param AppointmentRequest The instance to serialize from.
|
|
@@ -12287,6 +12326,7 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
|
|
|
12287
12326
|
writer.writeNumberValue("duplicateLeadLookbackDays", organizationRequest.duplicateLeadLookbackDays);
|
|
12288
12327
|
writer.writeStringValue("ein", organizationRequest.ein);
|
|
12289
12328
|
writer.writeBooleanValue("isYoungerThan90", organizationRequest.isYoungerThan90);
|
|
12329
|
+
writer.writeNumberValue("lowBalanceWarningThreshold", organizationRequest.lowBalanceWarningThreshold);
|
|
12290
12330
|
writer.writeStringValue("messagedLeadStatusId", organizationRequest.messagedLeadStatusId);
|
|
12291
12331
|
writer.writeStringValue("name", organizationRequest.name);
|
|
12292
12332
|
writer.writeCollectionOfPrimitiveValues("nextCallExcludedStatusIds", organizationRequest.nextCallExcludedStatusIds);
|
|
@@ -12352,6 +12392,7 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
|
|
|
12352
12392
|
writer.writeBooleanValue("enabled", organizationResponse.enabled);
|
|
12353
12393
|
writer.writeStringValue("id", organizationResponse.id);
|
|
12354
12394
|
writer.writeBooleanValue("isDemo", organizationResponse.isDemo);
|
|
12395
|
+
writer.writeNumberValue("lowBalanceWarningThreshold", organizationResponse.lowBalanceWarningThreshold);
|
|
12355
12396
|
writer.writeStringValue("messagedLeadStatusId", organizationResponse.messagedLeadStatusId);
|
|
12356
12397
|
writer.writeDateValue("modifiedAt", organizationResponse.modifiedAt);
|
|
12357
12398
|
writer.writeStringValue("name", organizationResponse.name);
|
|
@@ -13024,6 +13065,7 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
|
|
|
13024
13065
|
writer.writeStringValue("name", phoneIdentityResponse.name);
|
|
13025
13066
|
writer.writeStringValue("number", phoneIdentityResponse.number);
|
|
13026
13067
|
writer.writeBooleanValue("smsNotRoutable", phoneIdentityResponse.smsNotRoutable);
|
|
13068
|
+
writer.writeStringValue("smsRestrictionCode", phoneIdentityResponse.smsRestrictionCode);
|
|
13027
13069
|
writer.writeAdditionalData(phoneIdentityResponse.additionalData);
|
|
13028
13070
|
}
|
|
13029
13071
|
/**
|
|
@@ -15220,6 +15262,7 @@ export const BillableUnitObject = {
|
|
|
15220
15262
|
Payment_processing_fee: "payment_processing_fee",
|
|
15221
15263
|
Connection_action: "connection_action",
|
|
15222
15264
|
Automation_run: "automation_run",
|
|
15265
|
+
Ai_credit: "ai_credit",
|
|
15223
15266
|
};
|
|
15224
15267
|
/**
|
|
15225
15268
|
* Reusable payment types supported for immediate billing payments.
|
|
@@ -16261,6 +16304,7 @@ export const TransactionResponse_billableUnitObject = {
|
|
|
16261
16304
|
Payment_processing_fee: "payment_processing_fee",
|
|
16262
16305
|
Connection_action: "connection_action",
|
|
16263
16306
|
Automation_run: "automation_run",
|
|
16307
|
+
Ai_credit: "ai_credit",
|
|
16264
16308
|
};
|
|
16265
16309
|
/**
|
|
16266
16310
|
* Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
|
|
@@ -16311,6 +16355,7 @@ export const TransactionTableRow_billableUnitObject = {
|
|
|
16311
16355
|
Payment_processing_fee: "payment_processing_fee",
|
|
16312
16356
|
Connection_action: "connection_action",
|
|
16313
16357
|
Automation_run: "automation_run",
|
|
16358
|
+
Ai_credit: "ai_credit",
|
|
16314
16359
|
};
|
|
16315
16360
|
/**
|
|
16316
16361
|
* Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
|