@leadping/sdk 1.0.77 → 1.0.78

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 (32) hide show
  1. package/dist/conversations/item/index.d.ts +5 -0
  2. package/dist/conversations/item/index.d.ts.map +1 -1
  3. package/dist/conversations/item/index.js +5 -0
  4. package/dist/conversations/item/index.js.map +1 -1
  5. package/dist/conversations/item/markHandled/index.d.ts +39 -0
  6. package/dist/conversations/item/markHandled/index.d.ts.map +1 -0
  7. package/dist/{notifications/push/installations/item → conversations/item/markHandled}/index.js +6 -5
  8. package/dist/conversations/item/markHandled/index.js.map +1 -0
  9. package/dist/models/index.d.ts +16 -92
  10. package/dist/models/index.d.ts.map +1 -1
  11. package/dist/models/index.js +8 -85
  12. package/dist/models/index.js.map +1 -1
  13. package/dist/notifications/index.d.ts +0 -5
  14. package/dist/notifications/index.d.ts.map +1 -1
  15. package/dist/notifications/index.js +0 -5
  16. package/dist/notifications/index.js.map +1 -1
  17. package/package.json +1 -1
  18. package/dist/notifications/push/index.d.ts +0 -20
  19. package/dist/notifications/push/index.d.ts.map +0 -1
  20. package/dist/notifications/push/index.js +0 -20
  21. package/dist/notifications/push/index.js.map +0 -1
  22. package/dist/notifications/push/installations/current/index.d.ts +0 -33
  23. package/dist/notifications/push/installations/current/index.d.ts.map +0 -1
  24. package/dist/notifications/push/installations/current/index.js +0 -31
  25. package/dist/notifications/push/installations/current/index.js.map +0 -1
  26. package/dist/notifications/push/installations/index.d.ts +0 -27
  27. package/dist/notifications/push/installations/index.d.ts.map +0 -1
  28. package/dist/notifications/push/installations/index.js +0 -26
  29. package/dist/notifications/push/installations/index.js.map +0 -1
  30. package/dist/notifications/push/installations/item/index.d.ts +0 -29
  31. package/dist/notifications/push/installations/item/index.d.ts.map +0 -1
  32. package/dist/notifications/push/installations/item/index.js.map +0 -1
@@ -1929,24 +1929,6 @@ export function createProblemDetails_errorsFromDiscriminatorValue(parseNode) {
1929
1929
  export function createProblemDetailsFromDiscriminatorValue(parseNode) {
1930
1930
  return deserializeIntoProblemDetails;
1931
1931
  }
1932
- /**
1933
- * Creates a new instance of the appropriate class based on discriminator value
1934
- * @param parseNode The parse node to use to read the discriminator value and create the object
1935
- * @returns {PushInstallationRequest_metadata}
1936
- */
1937
- // @ts-ignore
1938
- export function createPushInstallationRequest_metadataFromDiscriminatorValue(parseNode) {
1939
- return deserializeIntoPushInstallationRequest_metadata;
1940
- }
1941
- /**
1942
- * Creates a new instance of the appropriate class based on discriminator value
1943
- * @param parseNode The parse node to use to read the discriminator value and create the object
1944
- * @returns {PushInstallationRequest}
1945
- */
1946
- // @ts-ignore
1947
- export function createPushInstallationRequestFromDiscriminatorValue(parseNode) {
1948
- return deserializeIntoPushInstallationRequest;
1949
- }
1950
1932
  /**
1951
1933
  * Creates a new instance of the appropriate class based on discriminator value
1952
1934
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3381,13 +3363,17 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
3381
3363
  "isUnread": n => { conversationResponse.isUnread = n.getBooleanValue(); },
3382
3364
  "lastEventAt": n => { conversationResponse.lastEventAt = n.getDateValue(); },
3383
3365
  "lastEventIsInternalNote": n => { conversationResponse.lastEventIsInternalNote = n.getBooleanValue(); },
3366
+ "lastInboundAt": n => { conversationResponse.lastInboundAt = n.getDateValue(); },
3367
+ "lastInboundSnippet": n => { conversationResponse.lastInboundSnippet = n.getStringValue(); },
3384
3368
  "lastName": n => { conversationResponse.lastName = n.getStringValue(); },
3385
3369
  "lastSnippet": n => { conversationResponse.lastSnippet = n.getStringValue(); },
3386
3370
  "leadId": n => { conversationResponse.leadId = n.getStringValue(); },
3387
3371
  "leadPhoneNumber": n => { conversationResponse.leadPhoneNumber = n.getStringValue(); },
3372
+ "needsReply": n => { conversationResponse.needsReply = n.getBooleanValue(); },
3388
3373
  "nextStep": n => { conversationResponse.nextStep = n.getStringValue(); },
3389
3374
  "outboundPhoneNumberOverrideId": n => { conversationResponse.outboundPhoneNumberOverrideId = n.getStringValue(); },
3390
3375
  "phoneNumber": n => { conversationResponse.phoneNumber = n.getObjectValue(createConversationResponse_phoneNumberFromDiscriminatorValue); },
3376
+ "replyVersion": n => { conversationResponse.replyVersion = n.getNumberValue(); },
3391
3377
  "status": n => { conversationResponse.status = n.getEnumValue(ConversationResponse_statusObject); },
3392
3378
  "statusReason": n => { conversationResponse.statusReason = n.getStringValue(); },
3393
3379
  };
@@ -6172,36 +6158,6 @@ export function deserializeIntoProblemDetails(problemDetails = {}) {
6172
6158
  export function deserializeIntoProblemDetails_errors(problemDetails_errors = {}) {
6173
6159
  return {};
6174
6160
  }
6175
- /**
6176
- * The deserialization information for the current model
6177
- * @param PushInstallationRequest The instance to deserialize into.
6178
- * @returns {Record<string, (node: ParseNode) => void>}
6179
- */
6180
- // @ts-ignore
6181
- export function deserializeIntoPushInstallationRequest(pushInstallationRequest = {}) {
6182
- return {
6183
- "appBuild": n => { pushInstallationRequest.appBuild = n.getStringValue(); },
6184
- "appIdentifier": n => { pushInstallationRequest.appIdentifier = n.getStringValue(); },
6185
- "appName": n => { pushInstallationRequest.appName = n.getStringValue(); },
6186
- "appVersion": n => { pushInstallationRequest.appVersion = n.getStringValue(); },
6187
- "deviceModel": n => { pushInstallationRequest.deviceModel = n.getStringValue(); },
6188
- "devicePlatform": n => { pushInstallationRequest.devicePlatform = n.getStringValue(); },
6189
- "deviceVersion": n => { pushInstallationRequest.deviceVersion = n.getStringValue(); },
6190
- "installationId": n => { pushInstallationRequest.installationId = n.getStringValue(); },
6191
- "metadata": n => { pushInstallationRequest.metadata = n.getObjectValue(createPushInstallationRequest_metadataFromDiscriminatorValue); },
6192
- "platform": n => { pushInstallationRequest.platform = n.getStringValue(); },
6193
- "pushChannel": n => { pushInstallationRequest.pushChannel = n.getStringValue(); },
6194
- };
6195
- }
6196
- /**
6197
- * The deserialization information for the current model
6198
- * @param PushInstallationRequest_metadata The instance to deserialize into.
6199
- * @returns {Record<string, (node: ParseNode) => void>}
6200
- */
6201
- // @ts-ignore
6202
- export function deserializeIntoPushInstallationRequest_metadata(pushInstallationRequest_metadata = {}) {
6203
- return {};
6204
- }
6205
6161
  /**
6206
6162
  * The deserialization information for the current model
6207
6163
  * @param RangeFilter The instance to deserialize into.
@@ -8335,13 +8291,17 @@ export function serializeConversationResponse(writer, conversationResponse = {},
8335
8291
  writer.writeBooleanValue("isUnread", conversationResponse.isUnread);
8336
8292
  writer.writeDateValue("lastEventAt", conversationResponse.lastEventAt);
8337
8293
  writer.writeBooleanValue("lastEventIsInternalNote", conversationResponse.lastEventIsInternalNote);
8294
+ writer.writeDateValue("lastInboundAt", conversationResponse.lastInboundAt);
8295
+ writer.writeStringValue("lastInboundSnippet", conversationResponse.lastInboundSnippet);
8338
8296
  writer.writeStringValue("lastName", conversationResponse.lastName);
8339
8297
  writer.writeStringValue("lastSnippet", conversationResponse.lastSnippet);
8340
8298
  writer.writeStringValue("leadId", conversationResponse.leadId);
8341
8299
  writer.writeStringValue("leadPhoneNumber", conversationResponse.leadPhoneNumber);
8300
+ writer.writeBooleanValue("needsReply", conversationResponse.needsReply);
8342
8301
  writer.writeStringValue("nextStep", conversationResponse.nextStep);
8343
8302
  writer.writeStringValue("outboundPhoneNumberOverrideId", conversationResponse.outboundPhoneNumberOverrideId);
8344
8303
  writer.writeObjectValue("phoneNumber", conversationResponse.phoneNumber, serializeConversationResponse_phoneNumber);
8304
+ writer.writeNumberValue("replyVersion", conversationResponse.replyVersion);
8345
8305
  writer.writeEnumValue("status", conversationResponse.status);
8346
8306
  writer.writeStringValue("statusReason", conversationResponse.statusReason);
8347
8307
  writer.writeAdditionalData(conversationResponse.additionalData);
@@ -11570,43 +11530,6 @@ export function serializeProblemDetails_errors(writer, problemDetails_errors = {
11570
11530
  }
11571
11531
  writer.writeAdditionalData(problemDetails_errors.additionalData);
11572
11532
  }
11573
- /**
11574
- * Serializes information the current object
11575
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11576
- * @param PushInstallationRequest The instance to serialize from.
11577
- * @param writer Serialization writer to use to serialize this model
11578
- */
11579
- // @ts-ignore
11580
- export function serializePushInstallationRequest(writer, pushInstallationRequest = {}, isSerializingDerivedType = false) {
11581
- if (!pushInstallationRequest || isSerializingDerivedType) {
11582
- return;
11583
- }
11584
- writer.writeStringValue("appBuild", pushInstallationRequest.appBuild);
11585
- writer.writeStringValue("appIdentifier", pushInstallationRequest.appIdentifier);
11586
- writer.writeStringValue("appName", pushInstallationRequest.appName);
11587
- writer.writeStringValue("appVersion", pushInstallationRequest.appVersion);
11588
- writer.writeStringValue("deviceModel", pushInstallationRequest.deviceModel);
11589
- writer.writeStringValue("devicePlatform", pushInstallationRequest.devicePlatform);
11590
- writer.writeStringValue("deviceVersion", pushInstallationRequest.deviceVersion);
11591
- writer.writeStringValue("installationId", pushInstallationRequest.installationId);
11592
- writer.writeObjectValue("metadata", pushInstallationRequest.metadata, serializePushInstallationRequest_metadata);
11593
- writer.writeStringValue("platform", pushInstallationRequest.platform);
11594
- writer.writeStringValue("pushChannel", pushInstallationRequest.pushChannel);
11595
- writer.writeAdditionalData(pushInstallationRequest.additionalData);
11596
- }
11597
- /**
11598
- * Serializes information the current object
11599
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11600
- * @param PushInstallationRequest_metadata The instance to serialize from.
11601
- * @param writer Serialization writer to use to serialize this model
11602
- */
11603
- // @ts-ignore
11604
- export function serializePushInstallationRequest_metadata(writer, pushInstallationRequest_metadata = {}, isSerializingDerivedType = false) {
11605
- if (!pushInstallationRequest_metadata || isSerializingDerivedType) {
11606
- return;
11607
- }
11608
- writer.writeAdditionalData(pushInstallationRequest_metadata.additionalData);
11609
- }
11610
11533
  /**
11611
11534
  * Serializes information the current object
11612
11535
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.