@leadping/sdk 1.0.45 → 1.0.46

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 (76) hide show
  1. package/dist/automations/index.d.ts +1 -1
  2. package/dist/leadStatusChanges/index.d.ts +1 -1
  3. package/dist/leadStatuses/index.d.ts +1 -1
  4. package/dist/leadpingOpenApiClient.d.ts +0 -5
  5. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  6. package/dist/leadpingOpenApiClient.js +0 -6
  7. package/dist/leadpingOpenApiClient.js.map +1 -1
  8. package/dist/leads/index.d.ts +1 -1
  9. package/dist/leads/item/archive/index.d.ts +2 -2
  10. package/dist/leads/item/index.js +1 -1
  11. package/dist/leads/item/index.js.map +1 -1
  12. package/dist/models/index.d.ts +303 -752
  13. package/dist/models/index.d.ts.map +1 -1
  14. package/dist/models/index.js +245 -633
  15. package/dist/models/index.js.map +1 -1
  16. package/dist/notifications/index.d.ts +1 -1
  17. package/dist/organizations/apiKeys/index.d.ts +7 -0
  18. package/dist/organizations/apiKeys/index.d.ts.map +1 -1
  19. package/dist/organizations/apiKeys/index.js +6 -0
  20. package/dist/organizations/apiKeys/index.js.map +1 -1
  21. package/dist/organizations/apiKeys/item/index.d.ts +66 -0
  22. package/dist/organizations/apiKeys/item/index.d.ts.map +1 -0
  23. package/dist/organizations/apiKeys/item/index.js +56 -0
  24. package/dist/organizations/apiKeys/item/index.js.map +1 -0
  25. package/dist/organizations/apiKeys/my/index.d.ts +3 -3
  26. package/dist/organizations/apiKeys/my/index.d.ts.map +1 -1
  27. package/dist/organizations/apiKeys/my/index.js +2 -2
  28. package/dist/organizations/apiKeys/my/index.js.map +1 -1
  29. package/dist/organizations/index.d.ts +0 -5
  30. package/dist/organizations/index.d.ts.map +1 -1
  31. package/dist/organizations/index.js +0 -5
  32. package/dist/organizations/index.js.map +1 -1
  33. package/dist/organizations/me/invitations/item/index.js +1 -1
  34. package/dist/organizations/me/invitations/item/index.js.map +1 -1
  35. package/dist/organizations/me/members/item/index.js +1 -1
  36. package/dist/organizations/me/members/item/index.js.map +1 -1
  37. package/dist/paymentMethods/index.d.ts +1 -1
  38. package/dist/phoneNumbers/item/index.js +1 -1
  39. package/dist/phoneNumbers/item/index.js.map +1 -1
  40. package/dist/reports/exports/item/download/index.d.ts +1 -1
  41. package/dist/reports/exports/item/download/index.d.ts.map +1 -1
  42. package/dist/reports/exports/item/download/index.js +2 -2
  43. package/dist/reports/exports/item/download/index.js.map +1 -1
  44. package/dist/sms/index.d.ts +1 -1
  45. package/dist/sources/index.d.ts +1 -1
  46. package/dist/sources/item/index.js +1 -1
  47. package/dist/sources/item/index.js.map +1 -1
  48. package/dist/suppressions/index.d.ts +1 -1
  49. package/dist/tags/index.d.ts +1 -1
  50. package/dist/transactions/index.d.ts +1 -1
  51. package/dist/wallets/index.d.ts +1 -1
  52. package/package.json +1 -1
  53. package/dist/contact/index.d.ts +0 -41
  54. package/dist/contact/index.d.ts.map +0 -1
  55. package/dist/contact/index.js +0 -40
  56. package/dist/contact/index.js.map +0 -1
  57. package/dist/contact/website/index.d.ts +0 -79
  58. package/dist/contact/website/index.d.ts.map +0 -1
  59. package/dist/contact/website/index.js +0 -75
  60. package/dist/contact/website/index.js.map +0 -1
  61. package/dist/organizations/invitations/accept/index.d.ts +0 -32
  62. package/dist/organizations/invitations/accept/index.d.ts.map +0 -1
  63. package/dist/organizations/invitations/accept/index.js +0 -30
  64. package/dist/organizations/invitations/accept/index.js.map +0 -1
  65. package/dist/organizations/invitations/index.d.ts +0 -25
  66. package/dist/organizations/invitations/index.d.ts.map +0 -1
  67. package/dist/organizations/invitations/index.js +0 -25
  68. package/dist/organizations/invitations/index.js.map +0 -1
  69. package/dist/organizations/invitations/token/index.d.ts +0 -22
  70. package/dist/organizations/invitations/token/index.d.ts.map +0 -1
  71. package/dist/organizations/invitations/token/index.js +0 -21
  72. package/dist/organizations/invitations/token/index.js.map +0 -1
  73. package/dist/organizations/invitations/token/item/index.d.ts +0 -30
  74. package/dist/organizations/invitations/token/item/index.d.ts.map +0 -1
  75. package/dist/organizations/invitations/token/item/index.js +0 -27
  76. package/dist/organizations/invitations/token/item/index.js.map +0 -1
@@ -3,15 +3,6 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstractions';
6
- /**
7
- * Creates a new instance of the appropriate class based on discriminator value
8
- * @param parseNode The parse node to use to read the discriminator value and create the object
9
- * @returns {AcceptOrganizationInvitationRequest}
10
- */
11
- // @ts-ignore
12
- export function createAcceptOrganizationInvitationRequestFromDiscriminatorValue(parseNode) {
13
- return deserializeIntoAcceptOrganizationInvitationRequest;
14
- }
15
6
  /**
16
7
  * Creates a new instance of the appropriate class based on discriminator value
17
8
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -399,24 +390,6 @@ export function createComplianceUpdateRequest_complianceFromDiscriminatorValue(p
399
390
  export function createComplianceUpdateRequestFromDiscriminatorValue(parseNode) {
400
391
  return deserializeIntoComplianceUpdateRequest;
401
392
  }
402
- /**
403
- * Creates a new instance of the appropriate class based on discriminator value
404
- * @param parseNode The parse node to use to read the discriminator value and create the object
405
- * @returns {ContactRequest}
406
- */
407
- // @ts-ignore
408
- export function createContactRequestFromDiscriminatorValue(parseNode) {
409
- return deserializeIntoContactRequest;
410
- }
411
- /**
412
- * Creates a new instance of the appropriate class based on discriminator value
413
- * @param parseNode The parse node to use to read the discriminator value and create the object
414
- * @returns {ContactResponse}
415
- */
416
- // @ts-ignore
417
- export function createContactResponseFromDiscriminatorValue(parseNode) {
418
- return deserializeIntoContactResponse;
419
- }
420
393
  /**
421
394
  * Creates a new instance of the appropriate class based on discriminator value
422
395
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -975,6 +948,51 @@ export function createOrganizationActivationState_tenDlcDraftFromDiscriminatorVa
975
948
  export function createOrganizationActivationStateFromDiscriminatorValue(parseNode) {
976
949
  return deserializeIntoOrganizationActivationState;
977
950
  }
951
+ /**
952
+ * Creates a new instance of the appropriate class based on discriminator value
953
+ * @param parseNode The parse node to use to read the discriminator value and create the object
954
+ * @returns {OrganizationApiKeyIssueResponse}
955
+ */
956
+ // @ts-ignore
957
+ export function createOrganizationApiKeyIssueResponseFromDiscriminatorValue(parseNode) {
958
+ return deserializeIntoOrganizationApiKeyIssueResponse;
959
+ }
960
+ /**
961
+ * Creates a new instance of the appropriate class based on discriminator value
962
+ * @param parseNode The parse node to use to read the discriminator value and create the object
963
+ * @returns {OrganizationApiKeyListResponse}
964
+ */
965
+ // @ts-ignore
966
+ export function createOrganizationApiKeyListResponseFromDiscriminatorValue(parseNode) {
967
+ return deserializeIntoOrganizationApiKeyListResponse;
968
+ }
969
+ /**
970
+ * Creates a new instance of the appropriate class based on discriminator value
971
+ * @param parseNode The parse node to use to read the discriminator value and create the object
972
+ * @returns {OrganizationApiKeyPreviewResponse}
973
+ */
974
+ // @ts-ignore
975
+ export function createOrganizationApiKeyPreviewResponseFromDiscriminatorValue(parseNode) {
976
+ return deserializeIntoOrganizationApiKeyPreviewResponse;
977
+ }
978
+ /**
979
+ * Creates a new instance of the appropriate class based on discriminator value
980
+ * @param parseNode The parse node to use to read the discriminator value and create the object
981
+ * @returns {OrganizationApiKeyRequest}
982
+ */
983
+ // @ts-ignore
984
+ export function createOrganizationApiKeyRequestFromDiscriminatorValue(parseNode) {
985
+ return deserializeIntoOrganizationApiKeyRequest;
986
+ }
987
+ /**
988
+ * Creates a new instance of the appropriate class based on discriminator value
989
+ * @param parseNode The parse node to use to read the discriminator value and create the object
990
+ * @returns {OrganizationApiKeyRevokeResponse}
991
+ */
992
+ // @ts-ignore
993
+ export function createOrganizationApiKeyRevokeResponseFromDiscriminatorValue(parseNode) {
994
+ return deserializeIntoOrganizationApiKeyRevokeResponse;
995
+ }
978
996
  /**
979
997
  * Creates a new instance of the appropriate class based on discriminator value
980
998
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1074,33 +1092,6 @@ export function createOrganizationMemberTableRowFromDiscriminatorValue(parseNode
1074
1092
  export function createOrganizationRequest_addressFromDiscriminatorValue(parseNode) {
1075
1093
  return deserializeIntoOrganizationRequest_address;
1076
1094
  }
1077
- /**
1078
- * Creates a new instance of the appropriate class based on discriminator value
1079
- * @param parseNode The parse node to use to read the discriminator value and create the object
1080
- * @returns {OrganizationRequest_billingAddress}
1081
- */
1082
- // @ts-ignore
1083
- export function createOrganizationRequest_billingAddressFromDiscriminatorValue(parseNode) {
1084
- return deserializeIntoOrganizationRequest_billingAddress;
1085
- }
1086
- /**
1087
- * Creates a new instance of the appropriate class based on discriminator value
1088
- * @param parseNode The parse node to use to read the discriminator value and create the object
1089
- * @returns {OrganizationRequest_compliancePolicy}
1090
- */
1091
- // @ts-ignore
1092
- export function createOrganizationRequest_compliancePolicyFromDiscriminatorValue(parseNode) {
1093
- return deserializeIntoOrganizationRequest_compliancePolicy;
1094
- }
1095
- /**
1096
- * Creates a new instance of the appropriate class based on discriminator value
1097
- * @param parseNode The parse node to use to read the discriminator value and create the object
1098
- * @returns {OrganizationRequest_einDocument}
1099
- */
1100
- // @ts-ignore
1101
- export function createOrganizationRequest_einDocumentFromDiscriminatorValue(parseNode) {
1102
- return deserializeIntoOrganizationRequest_einDocument;
1103
- }
1104
1095
  /**
1105
1096
  * Creates a new instance of the appropriate class based on discriminator value
1106
1097
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1209,24 +1200,6 @@ export function createOrganizationSwitchOptionFromDiscriminatorValue(parseNode)
1209
1200
  export function createOrganizationSwitchRequestFromDiscriminatorValue(parseNode) {
1210
1201
  return deserializeIntoOrganizationSwitchRequest;
1211
1202
  }
1212
- /**
1213
- * Creates a new instance of the appropriate class based on discriminator value
1214
- * @param parseNode The parse node to use to read the discriminator value and create the object
1215
- * @returns {OrganizationTableRow_organization}
1216
- */
1217
- // @ts-ignore
1218
- export function createOrganizationTableRow_organizationFromDiscriminatorValue(parseNode) {
1219
- return deserializeIntoOrganizationTableRow_organization;
1220
- }
1221
- /**
1222
- * Creates a new instance of the appropriate class based on discriminator value
1223
- * @param parseNode The parse node to use to read the discriminator value and create the object
1224
- * @returns {OrganizationTableRow}
1225
- */
1226
- // @ts-ignore
1227
- export function createOrganizationTableRowFromDiscriminatorValue(parseNode) {
1228
- return deserializeIntoOrganizationTableRow;
1229
- }
1230
1203
  /**
1231
1204
  * Creates a new instance of the appropriate class based on discriminator value
1232
1205
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1344,15 +1317,6 @@ export function createPagedResultOfLeadTableRowFromDiscriminatorValue(parseNode)
1344
1317
  export function createPagedResultOfNotificationTableRowFromDiscriminatorValue(parseNode) {
1345
1318
  return deserializeIntoPagedResultOfNotificationTableRow;
1346
1319
  }
1347
- /**
1348
- * Creates a new instance of the appropriate class based on discriminator value
1349
- * @param parseNode The parse node to use to read the discriminator value and create the object
1350
- * @returns {PagedResultOfOrganizationTableRow}
1351
- */
1352
- // @ts-ignore
1353
- export function createPagedResultOfOrganizationTableRowFromDiscriminatorValue(parseNode) {
1354
- return deserializeIntoPagedResultOfOrganizationTableRow;
1355
- }
1356
1320
  /**
1357
1321
  * Creates a new instance of the appropriate class based on discriminator value
1358
1322
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1776,6 +1740,15 @@ export function createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue(pa
1776
1740
  export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode) {
1777
1741
  return deserializeIntoPhoneNumberTrafficTrendPoint;
1778
1742
  }
1743
+ /**
1744
+ * Creates a new instance of the appropriate class based on discriminator value
1745
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1746
+ * @returns {ProblemDetails_errors}
1747
+ */
1748
+ // @ts-ignore
1749
+ export function createProblemDetails_errorsFromDiscriminatorValue(parseNode) {
1750
+ return deserializeIntoProblemDetails_errors;
1751
+ }
1779
1752
  /**
1780
1753
  * Creates a new instance of the appropriate class based on discriminator value
1781
1754
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2298,24 +2271,6 @@ export function createUserNotificationPreferences_smsConsentTrustedFormCertifica
2298
2271
  export function createUserNotificationPreferencesFromDiscriminatorValue(parseNode) {
2299
2272
  return deserializeIntoUserNotificationPreferences;
2300
2273
  }
2301
- /**
2302
- * Creates a new instance of the appropriate class based on discriminator value
2303
- * @param parseNode The parse node to use to read the discriminator value and create the object
2304
- * @returns {UserRequest_compliance}
2305
- */
2306
- // @ts-ignore
2307
- export function createUserRequest_complianceFromDiscriminatorValue(parseNode) {
2308
- return deserializeIntoUserRequest_compliance;
2309
- }
2310
- /**
2311
- * Creates a new instance of the appropriate class based on discriminator value
2312
- * @param parseNode The parse node to use to read the discriminator value and create the object
2313
- * @returns {UserRequest_currentOrganization}
2314
- */
2315
- // @ts-ignore
2316
- export function createUserRequest_currentOrganizationFromDiscriminatorValue(parseNode) {
2317
- return deserializeIntoUserRequest_currentOrganization;
2318
- }
2319
2274
  /**
2320
2275
  * Creates a new instance of the appropriate class based on discriminator value
2321
2276
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2388,20 +2343,6 @@ export function createUserResponseFromDiscriminatorValue(parseNode) {
2388
2343
  export function createWalletResponseFromDiscriminatorValue(parseNode) {
2389
2344
  return deserializeIntoWalletResponse;
2390
2345
  }
2391
- /**
2392
- * The deserialization information for the current model
2393
- * @param AcceptOrganizationInvitationRequest The instance to deserialize into.
2394
- * @returns {Record<string, (node: ParseNode) => void>}
2395
- */
2396
- // @ts-ignore
2397
- export function deserializeIntoAcceptOrganizationInvitationRequest(acceptOrganizationInvitationRequest = {}) {
2398
- return {
2399
- "email": n => { acceptOrganizationInvitationRequest.email = n.getStringValue(); },
2400
- "firstName": n => { acceptOrganizationInvitationRequest.firstName = n.getStringValue(); },
2401
- "lastName": n => { acceptOrganizationInvitationRequest.lastName = n.getStringValue(); },
2402
- "token": n => { acceptOrganizationInvitationRequest.token = n.getStringValue(); },
2403
- };
2404
- }
2405
2346
  /**
2406
2347
  * The deserialization information for the current model
2407
2348
  * @param ActivationDomainOption The instance to deserialize into.
@@ -3053,7 +2994,6 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
3053
2994
  export function deserializeIntoChangeBillingPlanRequest(changeBillingPlanRequest = {}) {
3054
2995
  return {
3055
2996
  "billingPlan": n => { changeBillingPlanRequest.billingPlan = n.getEnumValue(BillingPlanObject); },
3056
- "userId": n => { changeBillingPlanRequest.userId = n.getStringValue(); },
3057
2997
  };
3058
2998
  }
3059
2999
  /**
@@ -3094,31 +3034,6 @@ export function deserializeIntoComplianceUpdateRequest_compliance(complianceUpda
3094
3034
  ...deserializeIntoUserCompliance(complianceUpdateRequest_compliance),
3095
3035
  };
3096
3036
  }
3097
- /**
3098
- * The deserialization information for the current model
3099
- * @param ContactRequest The instance to deserialize into.
3100
- * @returns {Record<string, (node: ParseNode) => void>}
3101
- */
3102
- // @ts-ignore
3103
- export function deserializeIntoContactRequest(contactRequest = {}) {
3104
- return {
3105
- "email": n => { contactRequest.email = n.getStringValue(); },
3106
- "message": n => { contactRequest.message = n.getStringValue(); },
3107
- "name": n => { contactRequest.name = n.getStringValue(); },
3108
- "token": n => { contactRequest.token = n.getStringValue(); },
3109
- };
3110
- }
3111
- /**
3112
- * The deserialization information for the current model
3113
- * @param ContactResponse The instance to deserialize into.
3114
- * @returns {Record<string, (node: ParseNode) => void>}
3115
- */
3116
- // @ts-ignore
3117
- export function deserializeIntoContactResponse(contactResponse = {}) {
3118
- return {
3119
- "message": n => { contactResponse.message = n.getStringValue(); },
3120
- };
3121
- }
3122
3037
  /**
3123
3038
  * The deserialization information for the current model
3124
3039
  * @param ConversationResponse The instance to deserialize into.
@@ -3985,20 +3900,13 @@ export function deserializeIntoLeadStatusChangeRequest(leadStatusChangeRequest =
3985
3900
  "appointmentEndAt": n => { leadStatusChangeRequest.appointmentEndAt = n.getDateValue(); },
3986
3901
  "appointmentNotes": n => { leadStatusChangeRequest.appointmentNotes = n.getStringValue(); },
3987
3902
  "appointmentStartAt": n => { leadStatusChangeRequest.appointmentStartAt = n.getDateValue(); },
3988
- "assignedToUserId": n => { leadStatusChangeRequest.assignedToUserId = n.getStringValue(); },
3989
3903
  "callbackAt": n => { leadStatusChangeRequest.callbackAt = n.getDateValue(); },
3990
3904
  "category": n => { leadStatusChangeRequest.category = n.getEnumValue(LeadStatusChangeRequest_categoryObject); },
3991
- "changedByAutomationId": n => { leadStatusChangeRequest.changedByAutomationId = n.getStringValue(); },
3992
- "changeSource": n => { leadStatusChangeRequest.changeSource = n.getEnumValue(LeadStatusChangeRequest_changeSourceObject); },
3993
3905
  "followUpStatus": n => { leadStatusChangeRequest.followUpStatus = n.getStringValue(); },
3994
- "isMissedCallFollowUp": n => { leadStatusChangeRequest.isMissedCallFollowUp = n.getBooleanValue(); },
3995
3906
  "notes": n => { leadStatusChangeRequest.notes = n.getStringValue(); },
3996
3907
  "outcome": n => { leadStatusChangeRequest.outcome = n.getStringValue(); },
3997
3908
  "reason": n => { leadStatusChangeRequest.reason = n.getStringValue(); },
3998
- "relatedCallEventId": n => { leadStatusChangeRequest.relatedCallEventId = n.getStringValue(); },
3999
- "sourceId": n => { leadStatusChangeRequest.sourceId = n.getStringValue(); },
4000
3909
  "taskDueAt": n => { leadStatusChangeRequest.taskDueAt = n.getDateValue(); },
4001
- "timestamp": n => { leadStatusChangeRequest.timestamp = n.getDateValue(); },
4002
3910
  "type": n => { leadStatusChangeRequest.type = n.getStringValue(); },
4003
3911
  };
4004
3912
  }
@@ -4305,6 +4213,81 @@ export function deserializeIntoOrganizationActivationState_tenDlcDraft(organizat
4305
4213
  ...deserializeIntoTenDlcApplicationDraft(organizationActivationState_tenDlcDraft),
4306
4214
  };
4307
4215
  }
4216
+ /**
4217
+ * The deserialization information for the current model
4218
+ * @param OrganizationApiKeyIssueResponse The instance to deserialize into.
4219
+ * @returns {Record<string, (node: ParseNode) => void>}
4220
+ */
4221
+ // @ts-ignore
4222
+ export function deserializeIntoOrganizationApiKeyIssueResponse(organizationApiKeyIssueResponse = {}) {
4223
+ return {
4224
+ "apiKey": n => { organizationApiKeyIssueResponse.apiKey = n.getObjectValue(createOrganizationApiKeyPreviewResponseFromDiscriminatorValue); },
4225
+ "expiresAt": n => { organizationApiKeyIssueResponse.expiresAt = n.getDateValue(); },
4226
+ "secret": n => { organizationApiKeyIssueResponse.secret = n.getStringValue(); },
4227
+ };
4228
+ }
4229
+ /**
4230
+ * The deserialization information for the current model
4231
+ * @param OrganizationApiKeyListResponse The instance to deserialize into.
4232
+ * @returns {Record<string, (node: ParseNode) => void>}
4233
+ */
4234
+ // @ts-ignore
4235
+ export function deserializeIntoOrganizationApiKeyListResponse(organizationApiKeyListResponse = {}) {
4236
+ return {
4237
+ "continuationToken": n => { organizationApiKeyListResponse.continuationToken = n.getStringValue(); },
4238
+ "items": n => { organizationApiKeyListResponse.items = n.getCollectionOfObjectValues(createOrganizationApiKeyPreviewResponseFromDiscriminatorValue); },
4239
+ "pageSize": n => { organizationApiKeyListResponse.pageSize = n.getNumberValue(); },
4240
+ "totalCount": n => { organizationApiKeyListResponse.totalCount = n.getNumberValue(); },
4241
+ };
4242
+ }
4243
+ /**
4244
+ * The deserialization information for the current model
4245
+ * @param OrganizationApiKeyPreviewResponse The instance to deserialize into.
4246
+ * @returns {Record<string, (node: ParseNode) => void>}
4247
+ */
4248
+ // @ts-ignore
4249
+ export function deserializeIntoOrganizationApiKeyPreviewResponse(organizationApiKeyPreviewResponse = {}) {
4250
+ return {
4251
+ "createdAt": n => { organizationApiKeyPreviewResponse.createdAt = n.getDateValue(); },
4252
+ "enabled": n => { organizationApiKeyPreviewResponse.enabled = n.getBooleanValue(); },
4253
+ "expiresAt": n => { organizationApiKeyPreviewResponse.expiresAt = n.getDateValue(); },
4254
+ "firstUsedAt": n => { organizationApiKeyPreviewResponse.firstUsedAt = n.getDateValue(); },
4255
+ "id": n => { organizationApiKeyPreviewResponse.id = n.getStringValue(); },
4256
+ "issuedAt": n => { organizationApiKeyPreviewResponse.issuedAt = n.getDateValue(); },
4257
+ "lastUsedAt": n => { organizationApiKeyPreviewResponse.lastUsedAt = n.getDateValue(); },
4258
+ "modifiedAt": n => { organizationApiKeyPreviewResponse.modifiedAt = n.getDateValue(); },
4259
+ "name": n => { organizationApiKeyPreviewResponse.name = n.getStringValue(); },
4260
+ "organization": n => { organizationApiKeyPreviewResponse.organization = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
4261
+ "permissions": n => { organizationApiKeyPreviewResponse.permissions = n.getCollectionOfPrimitiveValues("string"); },
4262
+ "preview": n => { organizationApiKeyPreviewResponse.preview = n.getStringValue(); },
4263
+ "totalUses": n => { organizationApiKeyPreviewResponse.totalUses = n.getNumberValue(); },
4264
+ };
4265
+ }
4266
+ /**
4267
+ * The deserialization information for the current model
4268
+ * @param OrganizationApiKeyRequest The instance to deserialize into.
4269
+ * @returns {Record<string, (node: ParseNode) => void>}
4270
+ */
4271
+ // @ts-ignore
4272
+ export function deserializeIntoOrganizationApiKeyRequest(organizationApiKeyRequest = {}) {
4273
+ return {
4274
+ "expiresInDays": n => { organizationApiKeyRequest.expiresInDays = n.getNumberValue(); },
4275
+ "name": n => { organizationApiKeyRequest.name = n.getStringValue(); },
4276
+ "permissions": n => { organizationApiKeyRequest.permissions = n.getCollectionOfPrimitiveValues("string"); },
4277
+ };
4278
+ }
4279
+ /**
4280
+ * The deserialization information for the current model
4281
+ * @param OrganizationApiKeyRevokeResponse The instance to deserialize into.
4282
+ * @returns {Record<string, (node: ParseNode) => void>}
4283
+ */
4284
+ // @ts-ignore
4285
+ export function deserializeIntoOrganizationApiKeyRevokeResponse(organizationApiKeyRevokeResponse = {}) {
4286
+ return {
4287
+ "id": n => { organizationApiKeyRevokeResponse.id = n.getStringValue(); },
4288
+ "revokedAt": n => { organizationApiKeyRevokeResponse.revokedAt = n.getDateValue(); },
4289
+ };
4290
+ }
4308
4291
  /**
4309
4292
  * The deserialization information for the current model
4310
4293
  * @param OrganizationBillingState The instance to deserialize into.
@@ -4508,24 +4491,12 @@ export function deserializeIntoOrganizationMemberTableRow(organizationMemberTabl
4508
4491
  export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
4509
4492
  return {
4510
4493
  "address": n => { organizationRequest.address = n.getObjectValue(createOrganizationRequest_addressFromDiscriminatorValue); },
4511
- "autoRefillAmount": n => { organizationRequest.autoRefillAmount = n.getNumberValue(); },
4512
- "autoRefillEnabled": n => { organizationRequest.autoRefillEnabled = n.getBooleanValue(); },
4513
- "autoRefillTrigger": n => { organizationRequest.autoRefillTrigger = n.getNumberValue(); },
4514
- "billingAddress": n => { organizationRequest.billingAddress = n.getObjectValue(createOrganizationRequest_billingAddressFromDiscriminatorValue); },
4515
- "billingName": n => { organizationRequest.billingName = n.getStringValue(); },
4516
- "billingTaxId": n => { organizationRequest.billingTaxId = n.getStringValue(); },
4517
- "compliancePolicy": n => { organizationRequest.compliancePolicy = n.getObjectValue(createOrganizationRequest_compliancePolicyFromDiscriminatorValue); },
4518
4494
  "description": n => { organizationRequest.description = n.getStringValue(); },
4519
4495
  "ein": n => { organizationRequest.ein = n.getStringValue(); },
4520
- "einDocument": n => { organizationRequest.einDocument = n.getObjectValue(createOrganizationRequest_einDocumentFromDiscriminatorValue); },
4521
- "enabled": n => { organizationRequest.enabled = n.getBooleanValue(); },
4522
- "id": n => { organizationRequest.id = n.getStringValue(); },
4523
4496
  "isYoungerThan90": n => { organizationRequest.isYoungerThan90 = n.getBooleanValue(); },
4524
4497
  "name": n => { organizationRequest.name = n.getStringValue(); },
4525
4498
  "phone": n => { organizationRequest.phone = n.getStringValue(); },
4526
- "phones": n => { organizationRequest.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
4527
4499
  "secondaryName": n => { organizationRequest.secondaryName = n.getStringValue(); },
4528
- "status": n => { organizationRequest.status = n.getEnumValue(OrganizationRequest_statusObject); },
4529
4500
  "vertical": n => { organizationRequest.vertical = n.getStringValue(); },
4530
4501
  "website": n => { organizationRequest.website = n.getStringValue(); },
4531
4502
  };
@@ -4541,39 +4512,6 @@ export function deserializeIntoOrganizationRequest_address(organizationRequest_a
4541
4512
  ...deserializeIntoStreetAddress(organizationRequest_address),
4542
4513
  };
4543
4514
  }
4544
- /**
4545
- * The deserialization information for the current model
4546
- * @param OrganizationRequest_billingAddress The instance to deserialize into.
4547
- * @returns {Record<string, (node: ParseNode) => void>}
4548
- */
4549
- // @ts-ignore
4550
- export function deserializeIntoOrganizationRequest_billingAddress(organizationRequest_billingAddress = {}) {
4551
- return {
4552
- ...deserializeIntoStreetAddress(organizationRequest_billingAddress),
4553
- };
4554
- }
4555
- /**
4556
- * The deserialization information for the current model
4557
- * @param OrganizationRequest_compliancePolicy The instance to deserialize into.
4558
- * @returns {Record<string, (node: ParseNode) => void>}
4559
- */
4560
- // @ts-ignore
4561
- export function deserializeIntoOrganizationRequest_compliancePolicy(organizationRequest_compliancePolicy = {}) {
4562
- return {
4563
- ...deserializeIntoOrganizationCompliancePolicy(organizationRequest_compliancePolicy),
4564
- };
4565
- }
4566
- /**
4567
- * The deserialization information for the current model
4568
- * @param OrganizationRequest_einDocument The instance to deserialize into.
4569
- * @returns {Record<string, (node: ParseNode) => void>}
4570
- */
4571
- // @ts-ignore
4572
- export function deserializeIntoOrganizationRequest_einDocument(organizationRequest_einDocument = {}) {
4573
- return {
4574
- ...deserializeIntoIdNameValue(organizationRequest_einDocument),
4575
- };
4576
- }
4577
4515
  /**
4578
4516
  * The deserialization information for the current model
4579
4517
  * @param OrganizationResponse The instance to deserialize into.
@@ -4737,55 +4675,6 @@ export function deserializeIntoOrganizationSwitchRequest(organizationSwitchReque
4737
4675
  "organizationId": n => { organizationSwitchRequest.organizationId = n.getStringValue(); },
4738
4676
  };
4739
4677
  }
4740
- /**
4741
- * The deserialization information for the current model
4742
- * @param OrganizationTableRow The instance to deserialize into.
4743
- * @returns {Record<string, (node: ParseNode) => void>}
4744
- */
4745
- // @ts-ignore
4746
- export function deserializeIntoOrganizationTableRow(organizationTableRow = {}) {
4747
- return {
4748
- "accountBalance": n => { organizationTableRow.accountBalance = n.getNumberValue(); },
4749
- "activationStatus": n => { organizationTableRow.activationStatus = n.getEnumValue(OrganizationTableRow_activationStatusObject); },
4750
- "apiKeyExpiresAt": n => { organizationTableRow.apiKeyExpiresAt = n.getDateValue(); },
4751
- "apiKeyFirstUsedAt": n => { organizationTableRow.apiKeyFirstUsedAt = n.getDateValue(); },
4752
- "apiKeyIssuedAt": n => { organizationTableRow.apiKeyIssuedAt = n.getDateValue(); },
4753
- "apiKeyLastUsedAt": n => { organizationTableRow.apiKeyLastUsedAt = n.getDateValue(); },
4754
- "apiKeyPermissions": n => { organizationTableRow.apiKeyPermissions = n.getCollectionOfPrimitiveValues("string"); },
4755
- "apiKeyPreview": n => { organizationTableRow.apiKeyPreview = n.getStringValue(); },
4756
- "apiKeyTotalUses": n => { organizationTableRow.apiKeyTotalUses = n.getNumberValue(); },
4757
- "billingPlan": n => { organizationTableRow.billingPlan = n.getEnumValue(OrganizationTableRow_billingPlanObject); },
4758
- "enabled": n => { organizationTableRow.enabled = n.getBooleanValue(); },
4759
- "id": n => { organizationTableRow.id = n.getStringValue(); },
4760
- "industry": n => { organizationTableRow.industry = n.getStringValue(); },
4761
- "lastSubscriptionEventAt": n => { organizationTableRow.lastSubscriptionEventAt = n.getDateValue(); },
4762
- "modifiedAt": n => { organizationTableRow.modifiedAt = n.getDateValue(); },
4763
- "name": n => { organizationTableRow.name = n.getStringValue(); },
4764
- "needsAdminReview": n => { organizationTableRow.needsAdminReview = n.getBooleanValue(); },
4765
- "organization": n => { organizationTableRow.organization = n.getObjectValue(createOrganizationTableRow_organizationFromDiscriminatorValue); },
4766
- "paymentFailedAt": n => { organizationTableRow.paymentFailedAt = n.getDateValue(); },
4767
- "phone": n => { organizationTableRow.phone = n.getStringValue(); },
4768
- "setupStep": n => { organizationTableRow.setupStep = n.getEnumValue(OrganizationTableRow_setupStepObject); },
4769
- "status": n => { organizationTableRow.status = n.getEnumValue(OrganizationTableRow_statusObject); },
4770
- "subscriptionCancelAt": n => { organizationTableRow.subscriptionCancelAt = n.getDateValue(); },
4771
- "subscriptionStatus": n => { organizationTableRow.subscriptionStatus = n.getEnumValue(OrganizationTableRow_subscriptionStatusObject); },
4772
- "tenDlcStatus": n => { organizationTableRow.tenDlcStatus = n.getEnumValue(OrganizationTableRow_tenDlcStatusObject); },
4773
- "userCount": n => { organizationTableRow.userCount = n.getNumberValue(); },
4774
- "website": n => { organizationTableRow.website = n.getStringValue(); },
4775
- "websiteStatus": n => { organizationTableRow.websiteStatus = n.getEnumValue(OrganizationTableRow_websiteStatusObject); },
4776
- };
4777
- }
4778
- /**
4779
- * The deserialization information for the current model
4780
- * @param OrganizationTableRow_organization The instance to deserialize into.
4781
- * @returns {Record<string, (node: ParseNode) => void>}
4782
- */
4783
- // @ts-ignore
4784
- export function deserializeIntoOrganizationTableRow_organization(organizationTableRow_organization = {}) {
4785
- return {
4786
- ...deserializeIntoIdNamePair(organizationTableRow_organization),
4787
- };
4788
- }
4789
4678
  /**
4790
4679
  * The deserialization information for the current model
4791
4680
  * @param OutboundCapacityOverview The instance to deserialize into.
@@ -5017,20 +4906,6 @@ export function deserializeIntoPagedResultOfNotificationTableRow(pagedResultOfNo
5017
4906
  "totalCount": n => { pagedResultOfNotificationTableRow.totalCount = n.getNumberValue(); },
5018
4907
  };
5019
4908
  }
5020
- /**
5021
- * The deserialization information for the current model
5022
- * @param PagedResultOfOrganizationTableRow The instance to deserialize into.
5023
- * @returns {Record<string, (node: ParseNode) => void>}
5024
- */
5025
- // @ts-ignore
5026
- export function deserializeIntoPagedResultOfOrganizationTableRow(pagedResultOfOrganizationTableRow = {}) {
5027
- return {
5028
- "continuationToken": n => { pagedResultOfOrganizationTableRow.continuationToken = n.getStringValue(); },
5029
- "items": n => { pagedResultOfOrganizationTableRow.items = n.getCollectionOfObjectValues(createOrganizationTableRowFromDiscriminatorValue); },
5030
- "pageSize": n => { pagedResultOfOrganizationTableRow.pageSize = n.getNumberValue(); },
5031
- "totalCount": n => { pagedResultOfOrganizationTableRow.totalCount = n.getNumberValue(); },
5032
- };
5033
- }
5034
4909
  /**
5035
4910
  * The deserialization information for the current model
5036
4911
  * @param PagedResultOfPhoneNumberTableRow The instance to deserialize into.
@@ -5514,11 +5389,8 @@ export function deserializeIntoPhoneNumberReadiness(phoneNumberReadiness = {}) {
5514
5389
  // @ts-ignore
5515
5390
  export function deserializeIntoPhoneNumberRequest(phoneNumberRequest = {}) {
5516
5391
  return {
5517
- "enabled": n => { phoneNumberRequest.enabled = n.getBooleanValue(); },
5518
- "id": n => { phoneNumberRequest.id = n.getStringValue(); },
5519
5392
  "name": n => { phoneNumberRequest.name = n.getStringValue(); },
5520
5393
  "number": n => { phoneNumberRequest.number = n.getStringValue(); },
5521
- "organizationId": n => { phoneNumberRequest.organizationId = n.getStringValue(); },
5522
5394
  };
5523
5395
  }
5524
5396
  /**
@@ -5739,12 +5611,23 @@ export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTr
5739
5611
  export function deserializeIntoProblemDetails(problemDetails = {}) {
5740
5612
  return {
5741
5613
  "detail": n => { problemDetails.detail = n.getStringValue(); },
5614
+ "errors": n => { problemDetails.errors = n.getObjectValue(createProblemDetails_errorsFromDiscriminatorValue); },
5742
5615
  "instance": n => { problemDetails.instance = n.getStringValue(); },
5743
5616
  "status": n => { problemDetails.status = n.getNumberValue(); },
5744
5617
  "title": n => { problemDetails.title = n.getStringValue(); },
5618
+ "traceId": n => { problemDetails.traceId = n.getStringValue(); },
5745
5619
  "type": n => { problemDetails.type = n.getStringValue(); },
5746
5620
  };
5747
5621
  }
5622
+ /**
5623
+ * The deserialization information for the current model
5624
+ * @param ProblemDetails_errors The instance to deserialize into.
5625
+ * @returns {Record<string, (node: ParseNode) => void>}
5626
+ */
5627
+ // @ts-ignore
5628
+ export function deserializeIntoProblemDetails_errors(problemDetails_errors = {}) {
5629
+ return {};
5630
+ }
5748
5631
  /**
5749
5632
  * The deserialization information for the current model
5750
5633
  * @param PushInstallationRequest The instance to deserialize into.
@@ -5981,15 +5864,10 @@ export function deserializeIntoSourceRequest(sourceRequest = {}) {
5981
5864
  return {
5982
5865
  "allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5983
5866
  "allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5984
- "apiKey": n => { sourceRequest.apiKey = n.getStringValue(); },
5985
- "costPerLead": n => { sourceRequest.costPerLead = n.getNumberValue(); },
5986
5867
  "defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
5987
5868
  "defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
5988
5869
  "description": n => { sourceRequest.description = n.getStringValue(); },
5989
- "enabled": n => { sourceRequest.enabled = n.getBooleanValue(); },
5990
- "id": n => { sourceRequest.id = n.getStringValue(); },
5991
5870
  "name": n => { sourceRequest.name = n.getStringValue(); },
5992
- "regenerateApiKey": n => { sourceRequest.regenerateApiKey = n.getBooleanValue(); },
5993
5871
  "requiresTrustedForm": n => { sourceRequest.requiresTrustedForm = n.getBooleanValue(); },
5994
5872
  };
5995
5873
  }
@@ -6255,7 +6133,6 @@ export function deserializeIntoSuppressionEntryRequest(suppressionEntryRequest =
6255
6133
  return {
6256
6134
  "channel": n => { suppressionEntryRequest.channel = n.getStringValue(); },
6257
6135
  "email": n => { suppressionEntryRequest.email = n.getStringValue(); },
6258
- "organizationId": n => { suppressionEntryRequest.organizationId = n.getStringValue(); },
6259
6136
  "phoneNumber": n => { suppressionEntryRequest.phoneNumber = n.getStringValue(); },
6260
6137
  "reason": n => { suppressionEntryRequest.reason = n.getStringValue(); },
6261
6138
  "recipientIdentifier": n => { suppressionEntryRequest.recipientIdentifier = n.getStringValue(); },
@@ -6761,42 +6638,14 @@ export function deserializeIntoUserNotificationPreferences_smsConsentTrustedForm
6761
6638
  // @ts-ignore
6762
6639
  export function deserializeIntoUserRequest(userRequest = {}) {
6763
6640
  return {
6764
- "billingPlan": n => { userRequest.billingPlan = n.getEnumValue(UserRequest_billingPlanObject); },
6765
- "compliance": n => { userRequest.compliance = n.getObjectValue(createUserRequest_complianceFromDiscriminatorValue); },
6766
- "currentOrganization": n => { userRequest.currentOrganization = n.getObjectValue(createUserRequest_currentOrganizationFromDiscriminatorValue); },
6767
- "email": n => { userRequest.email = n.getStringValue(); },
6768
6641
  "firstName": n => { userRequest.firstName = n.getStringValue(); },
6769
- "id": n => { userRequest.id = n.getStringValue(); },
6770
6642
  "lastName": n => { userRequest.lastName = n.getStringValue(); },
6771
- "mobileDevicePreferences": n => { userRequest.mobileDevicePreferences = n.getCollectionOfObjectValues(createMobileDevicePreferencesFromDiscriminatorValue); },
6772
6643
  "name": n => { userRequest.name = n.getStringValue(); },
6773
6644
  "notificationPreferences": n => { userRequest.notificationPreferences = n.getObjectValue(createUserRequest_notificationPreferencesFromDiscriminatorValue); },
6774
6645
  "phone": n => { userRequest.phone = n.getStringValue(); },
6775
6646
  "timeZoneId": n => { userRequest.timeZoneId = n.getStringValue(); },
6776
6647
  };
6777
6648
  }
6778
- /**
6779
- * The deserialization information for the current model
6780
- * @param UserRequest_compliance The instance to deserialize into.
6781
- * @returns {Record<string, (node: ParseNode) => void>}
6782
- */
6783
- // @ts-ignore
6784
- export function deserializeIntoUserRequest_compliance(userRequest_compliance = {}) {
6785
- return {
6786
- ...deserializeIntoUserCompliance(userRequest_compliance),
6787
- };
6788
- }
6789
- /**
6790
- * The deserialization information for the current model
6791
- * @param UserRequest_currentOrganization The instance to deserialize into.
6792
- * @returns {Record<string, (node: ParseNode) => void>}
6793
- */
6794
- // @ts-ignore
6795
- export function deserializeIntoUserRequest_currentOrganization(userRequest_currentOrganization = {}) {
6796
- return {
6797
- ...deserializeIntoIdNamePair(userRequest_currentOrganization),
6798
- };
6799
- }
6800
6649
  /**
6801
6650
  * The deserialization information for the current model
6802
6651
  * @param UserRequest_notificationPreferences The instance to deserialize into.
@@ -6913,23 +6762,6 @@ export function deserializeIntoWalletResponse(walletResponse = {}) {
6913
6762
  "sourceType": n => { walletResponse.sourceType = n.getEnumValue(WalletResponse_sourceTypeObject); },
6914
6763
  };
6915
6764
  }
6916
- /**
6917
- * Serializes information the current object
6918
- * @param AcceptOrganizationInvitationRequest The instance to serialize from.
6919
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
6920
- * @param writer Serialization writer to use to serialize this model
6921
- */
6922
- // @ts-ignore
6923
- export function serializeAcceptOrganizationInvitationRequest(writer, acceptOrganizationInvitationRequest = {}, isSerializingDerivedType = false) {
6924
- if (!acceptOrganizationInvitationRequest || isSerializingDerivedType) {
6925
- return;
6926
- }
6927
- writer.writeStringValue("email", acceptOrganizationInvitationRequest.email);
6928
- writer.writeStringValue("firstName", acceptOrganizationInvitationRequest.firstName);
6929
- writer.writeStringValue("lastName", acceptOrganizationInvitationRequest.lastName);
6930
- writer.writeStringValue("token", acceptOrganizationInvitationRequest.token);
6931
- writer.writeAdditionalData(acceptOrganizationInvitationRequest.additionalData);
6932
- }
6933
6765
  /**
6934
6766
  * Serializes information the current object
6935
6767
  * @param ActivationDomainOption The instance to serialize from.
@@ -7698,7 +7530,6 @@ export function serializeChangeBillingPlanRequest(writer, changeBillingPlanReque
7698
7530
  return;
7699
7531
  }
7700
7532
  writer.writeEnumValue("billingPlan", changeBillingPlanRequest.billingPlan);
7701
- writer.writeStringValue("userId", changeBillingPlanRequest.userId);
7702
7533
  writer.writeAdditionalData(changeBillingPlanRequest.additionalData);
7703
7534
  }
7704
7535
  /**
@@ -7747,37 +7578,6 @@ export function serializeComplianceUpdateRequest_compliance(writer, complianceUp
7747
7578
  }
7748
7579
  serializeUserCompliance(writer, complianceUpdateRequest_compliance, isSerializingDerivedType);
7749
7580
  }
7750
- /**
7751
- * Serializes information the current object
7752
- * @param ContactRequest The instance to serialize from.
7753
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7754
- * @param writer Serialization writer to use to serialize this model
7755
- */
7756
- // @ts-ignore
7757
- export function serializeContactRequest(writer, contactRequest = {}, isSerializingDerivedType = false) {
7758
- if (!contactRequest || isSerializingDerivedType) {
7759
- return;
7760
- }
7761
- writer.writeStringValue("email", contactRequest.email);
7762
- writer.writeStringValue("message", contactRequest.message);
7763
- writer.writeStringValue("name", contactRequest.name);
7764
- writer.writeStringValue("token", contactRequest.token);
7765
- writer.writeAdditionalData(contactRequest.additionalData);
7766
- }
7767
- /**
7768
- * Serializes information the current object
7769
- * @param ContactResponse The instance to serialize from.
7770
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7771
- * @param writer Serialization writer to use to serialize this model
7772
- */
7773
- // @ts-ignore
7774
- export function serializeContactResponse(writer, contactResponse = {}, isSerializingDerivedType = false) {
7775
- if (!contactResponse || isSerializingDerivedType) {
7776
- return;
7777
- }
7778
- writer.writeStringValue("message", contactResponse.message);
7779
- writer.writeAdditionalData(contactResponse.additionalData);
7780
- }
7781
7581
  /**
7782
7582
  * Serializes information the current object
7783
7583
  * @param ConversationResponse The instance to serialize from.
@@ -8778,20 +8578,13 @@ export function serializeLeadStatusChangeRequest(writer, leadStatusChangeRequest
8778
8578
  writer.writeDateValue("appointmentEndAt", leadStatusChangeRequest.appointmentEndAt);
8779
8579
  writer.writeStringValue("appointmentNotes", leadStatusChangeRequest.appointmentNotes);
8780
8580
  writer.writeDateValue("appointmentStartAt", leadStatusChangeRequest.appointmentStartAt);
8781
- writer.writeStringValue("assignedToUserId", leadStatusChangeRequest.assignedToUserId);
8782
8581
  writer.writeDateValue("callbackAt", leadStatusChangeRequest.callbackAt);
8783
8582
  writer.writeEnumValue("category", leadStatusChangeRequest.category);
8784
- writer.writeStringValue("changedByAutomationId", leadStatusChangeRequest.changedByAutomationId);
8785
- writer.writeEnumValue("changeSource", leadStatusChangeRequest.changeSource);
8786
8583
  writer.writeStringValue("followUpStatus", leadStatusChangeRequest.followUpStatus);
8787
- writer.writeBooleanValue("isMissedCallFollowUp", leadStatusChangeRequest.isMissedCallFollowUp);
8788
8584
  writer.writeStringValue("notes", leadStatusChangeRequest.notes);
8789
8585
  writer.writeStringValue("outcome", leadStatusChangeRequest.outcome);
8790
8586
  writer.writeStringValue("reason", leadStatusChangeRequest.reason);
8791
- writer.writeStringValue("relatedCallEventId", leadStatusChangeRequest.relatedCallEventId);
8792
- writer.writeStringValue("sourceId", leadStatusChangeRequest.sourceId);
8793
8587
  writer.writeDateValue("taskDueAt", leadStatusChangeRequest.taskDueAt);
8794
- writer.writeDateValue("timestamp", leadStatusChangeRequest.timestamp);
8795
8588
  writer.writeStringValue("type", leadStatusChangeRequest.type);
8796
8589
  writer.writeAdditionalData(leadStatusChangeRequest.additionalData);
8797
8590
  }
@@ -9139,6 +8932,96 @@ export function serializeOrganizationActivationState_tenDlcDraft(writer, organiz
9139
8932
  }
9140
8933
  serializeTenDlcApplicationDraft(writer, organizationActivationState_tenDlcDraft, isSerializingDerivedType);
9141
8934
  }
8935
+ /**
8936
+ * Serializes information the current object
8937
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8938
+ * @param OrganizationApiKeyIssueResponse The instance to serialize from.
8939
+ * @param writer Serialization writer to use to serialize this model
8940
+ */
8941
+ // @ts-ignore
8942
+ export function serializeOrganizationApiKeyIssueResponse(writer, organizationApiKeyIssueResponse = {}, isSerializingDerivedType = false) {
8943
+ if (!organizationApiKeyIssueResponse || isSerializingDerivedType) {
8944
+ return;
8945
+ }
8946
+ writer.writeObjectValue("apiKey", organizationApiKeyIssueResponse.apiKey, serializeOrganizationApiKeyPreviewResponse);
8947
+ writer.writeDateValue("expiresAt", organizationApiKeyIssueResponse.expiresAt);
8948
+ writer.writeStringValue("secret", organizationApiKeyIssueResponse.secret);
8949
+ writer.writeAdditionalData(organizationApiKeyIssueResponse.additionalData);
8950
+ }
8951
+ /**
8952
+ * Serializes information the current object
8953
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8954
+ * @param OrganizationApiKeyListResponse The instance to serialize from.
8955
+ * @param writer Serialization writer to use to serialize this model
8956
+ */
8957
+ // @ts-ignore
8958
+ export function serializeOrganizationApiKeyListResponse(writer, organizationApiKeyListResponse = {}, isSerializingDerivedType = false) {
8959
+ if (!organizationApiKeyListResponse || isSerializingDerivedType) {
8960
+ return;
8961
+ }
8962
+ writer.writeStringValue("continuationToken", organizationApiKeyListResponse.continuationToken);
8963
+ writer.writeCollectionOfObjectValues("items", organizationApiKeyListResponse.items, serializeOrganizationApiKeyPreviewResponse);
8964
+ writer.writeNumberValue("pageSize", organizationApiKeyListResponse.pageSize);
8965
+ writer.writeNumberValue("totalCount", organizationApiKeyListResponse.totalCount);
8966
+ writer.writeAdditionalData(organizationApiKeyListResponse.additionalData);
8967
+ }
8968
+ /**
8969
+ * Serializes information the current object
8970
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8971
+ * @param OrganizationApiKeyPreviewResponse The instance to serialize from.
8972
+ * @param writer Serialization writer to use to serialize this model
8973
+ */
8974
+ // @ts-ignore
8975
+ export function serializeOrganizationApiKeyPreviewResponse(writer, organizationApiKeyPreviewResponse = {}, isSerializingDerivedType = false) {
8976
+ if (!organizationApiKeyPreviewResponse || isSerializingDerivedType) {
8977
+ return;
8978
+ }
8979
+ writer.writeDateValue("createdAt", organizationApiKeyPreviewResponse.createdAt);
8980
+ writer.writeBooleanValue("enabled", organizationApiKeyPreviewResponse.enabled);
8981
+ writer.writeDateValue("expiresAt", organizationApiKeyPreviewResponse.expiresAt);
8982
+ writer.writeDateValue("firstUsedAt", organizationApiKeyPreviewResponse.firstUsedAt);
8983
+ writer.writeStringValue("id", organizationApiKeyPreviewResponse.id);
8984
+ writer.writeDateValue("issuedAt", organizationApiKeyPreviewResponse.issuedAt);
8985
+ writer.writeDateValue("lastUsedAt", organizationApiKeyPreviewResponse.lastUsedAt);
8986
+ writer.writeDateValue("modifiedAt", organizationApiKeyPreviewResponse.modifiedAt);
8987
+ writer.writeStringValue("name", organizationApiKeyPreviewResponse.name);
8988
+ writer.writeObjectValue("organization", organizationApiKeyPreviewResponse.organization, serializeIdNamePair);
8989
+ writer.writeCollectionOfPrimitiveValues("permissions", organizationApiKeyPreviewResponse.permissions);
8990
+ writer.writeStringValue("preview", organizationApiKeyPreviewResponse.preview);
8991
+ writer.writeNumberValue("totalUses", organizationApiKeyPreviewResponse.totalUses);
8992
+ writer.writeAdditionalData(organizationApiKeyPreviewResponse.additionalData);
8993
+ }
8994
+ /**
8995
+ * Serializes information the current object
8996
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8997
+ * @param OrganizationApiKeyRequest The instance to serialize from.
8998
+ * @param writer Serialization writer to use to serialize this model
8999
+ */
9000
+ // @ts-ignore
9001
+ export function serializeOrganizationApiKeyRequest(writer, organizationApiKeyRequest = {}, isSerializingDerivedType = false) {
9002
+ if (!organizationApiKeyRequest || isSerializingDerivedType) {
9003
+ return;
9004
+ }
9005
+ writer.writeNumberValue("expiresInDays", organizationApiKeyRequest.expiresInDays);
9006
+ writer.writeStringValue("name", organizationApiKeyRequest.name);
9007
+ writer.writeCollectionOfPrimitiveValues("permissions", organizationApiKeyRequest.permissions);
9008
+ writer.writeAdditionalData(organizationApiKeyRequest.additionalData);
9009
+ }
9010
+ /**
9011
+ * Serializes information the current object
9012
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9013
+ * @param OrganizationApiKeyRevokeResponse The instance to serialize from.
9014
+ * @param writer Serialization writer to use to serialize this model
9015
+ */
9016
+ // @ts-ignore
9017
+ export function serializeOrganizationApiKeyRevokeResponse(writer, organizationApiKeyRevokeResponse = {}, isSerializingDerivedType = false) {
9018
+ if (!organizationApiKeyRevokeResponse || isSerializingDerivedType) {
9019
+ return;
9020
+ }
9021
+ writer.writeStringValue("id", organizationApiKeyRevokeResponse.id);
9022
+ writer.writeDateValue("revokedAt", organizationApiKeyRevokeResponse.revokedAt);
9023
+ writer.writeAdditionalData(organizationApiKeyRevokeResponse.additionalData);
9024
+ }
9142
9025
  /**
9143
9026
  * Serializes information the current object
9144
9027
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9374,24 +9257,12 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
9374
9257
  return;
9375
9258
  }
9376
9259
  writer.writeObjectValue("address", organizationRequest.address, serializeOrganizationRequest_address);
9377
- writer.writeNumberValue("autoRefillAmount", organizationRequest.autoRefillAmount);
9378
- writer.writeBooleanValue("autoRefillEnabled", organizationRequest.autoRefillEnabled);
9379
- writer.writeNumberValue("autoRefillTrigger", organizationRequest.autoRefillTrigger);
9380
- writer.writeObjectValue("billingAddress", organizationRequest.billingAddress, serializeOrganizationRequest_billingAddress);
9381
- writer.writeStringValue("billingName", organizationRequest.billingName);
9382
- writer.writeStringValue("billingTaxId", organizationRequest.billingTaxId);
9383
- writer.writeObjectValue("compliancePolicy", organizationRequest.compliancePolicy, serializeOrganizationRequest_compliancePolicy);
9384
9260
  writer.writeStringValue("description", organizationRequest.description);
9385
9261
  writer.writeStringValue("ein", organizationRequest.ein);
9386
- writer.writeObjectValue("einDocument", organizationRequest.einDocument, serializeOrganizationRequest_einDocument);
9387
- writer.writeBooleanValue("enabled", organizationRequest.enabled);
9388
- writer.writeStringValue("id", organizationRequest.id);
9389
9262
  writer.writeBooleanValue("isYoungerThan90", organizationRequest.isYoungerThan90);
9390
9263
  writer.writeStringValue("name", organizationRequest.name);
9391
9264
  writer.writeStringValue("phone", organizationRequest.phone);
9392
- writer.writeCollectionOfObjectValues("phones", organizationRequest.phones, serializeIdNameValue);
9393
9265
  writer.writeStringValue("secondaryName", organizationRequest.secondaryName);
9394
- writer.writeEnumValue("status", organizationRequest.status);
9395
9266
  writer.writeStringValue("vertical", organizationRequest.vertical);
9396
9267
  writer.writeStringValue("website", organizationRequest.website);
9397
9268
  writer.writeAdditionalData(organizationRequest.additionalData);
@@ -9409,45 +9280,6 @@ export function serializeOrganizationRequest_address(writer, organizationRequest
9409
9280
  }
9410
9281
  serializeStreetAddress(writer, organizationRequest_address, isSerializingDerivedType);
9411
9282
  }
9412
- /**
9413
- * Serializes information the current object
9414
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9415
- * @param OrganizationRequest_billingAddress The instance to serialize from.
9416
- * @param writer Serialization writer to use to serialize this model
9417
- */
9418
- // @ts-ignore
9419
- export function serializeOrganizationRequest_billingAddress(writer, organizationRequest_billingAddress = {}, isSerializingDerivedType = false) {
9420
- if (!organizationRequest_billingAddress || isSerializingDerivedType) {
9421
- return;
9422
- }
9423
- serializeStreetAddress(writer, organizationRequest_billingAddress, isSerializingDerivedType);
9424
- }
9425
- /**
9426
- * Serializes information the current object
9427
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9428
- * @param OrganizationRequest_compliancePolicy The instance to serialize from.
9429
- * @param writer Serialization writer to use to serialize this model
9430
- */
9431
- // @ts-ignore
9432
- export function serializeOrganizationRequest_compliancePolicy(writer, organizationRequest_compliancePolicy = {}, isSerializingDerivedType = false) {
9433
- if (!organizationRequest_compliancePolicy || isSerializingDerivedType) {
9434
- return;
9435
- }
9436
- serializeOrganizationCompliancePolicy(writer, organizationRequest_compliancePolicy, isSerializingDerivedType);
9437
- }
9438
- /**
9439
- * Serializes information the current object
9440
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9441
- * @param OrganizationRequest_einDocument The instance to serialize from.
9442
- * @param writer Serialization writer to use to serialize this model
9443
- */
9444
- // @ts-ignore
9445
- export function serializeOrganizationRequest_einDocument(writer, organizationRequest_einDocument = {}, isSerializingDerivedType = false) {
9446
- if (!organizationRequest_einDocument || isSerializingDerivedType) {
9447
- return;
9448
- }
9449
- serializeIdNameValue(writer, organizationRequest_einDocument, isSerializingDerivedType);
9450
- }
9451
9283
  /**
9452
9284
  * Serializes information the current object
9453
9285
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9636,60 +9468,6 @@ export function serializeOrganizationSwitchRequest(writer, organizationSwitchReq
9636
9468
  writer.writeStringValue("organizationId", organizationSwitchRequest.organizationId);
9637
9469
  writer.writeAdditionalData(organizationSwitchRequest.additionalData);
9638
9470
  }
9639
- /**
9640
- * Serializes information the current object
9641
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9642
- * @param OrganizationTableRow The instance to serialize from.
9643
- * @param writer Serialization writer to use to serialize this model
9644
- */
9645
- // @ts-ignore
9646
- export function serializeOrganizationTableRow(writer, organizationTableRow = {}, isSerializingDerivedType = false) {
9647
- if (!organizationTableRow || isSerializingDerivedType) {
9648
- return;
9649
- }
9650
- writer.writeNumberValue("accountBalance", organizationTableRow.accountBalance);
9651
- writer.writeEnumValue("activationStatus", organizationTableRow.activationStatus);
9652
- writer.writeDateValue("apiKeyExpiresAt", organizationTableRow.apiKeyExpiresAt);
9653
- writer.writeDateValue("apiKeyFirstUsedAt", organizationTableRow.apiKeyFirstUsedAt);
9654
- writer.writeDateValue("apiKeyIssuedAt", organizationTableRow.apiKeyIssuedAt);
9655
- writer.writeDateValue("apiKeyLastUsedAt", organizationTableRow.apiKeyLastUsedAt);
9656
- writer.writeCollectionOfPrimitiveValues("apiKeyPermissions", organizationTableRow.apiKeyPermissions);
9657
- writer.writeStringValue("apiKeyPreview", organizationTableRow.apiKeyPreview);
9658
- writer.writeNumberValue("apiKeyTotalUses", organizationTableRow.apiKeyTotalUses);
9659
- writer.writeEnumValue("billingPlan", organizationTableRow.billingPlan);
9660
- writer.writeBooleanValue("enabled", organizationTableRow.enabled);
9661
- writer.writeStringValue("id", organizationTableRow.id);
9662
- writer.writeStringValue("industry", organizationTableRow.industry);
9663
- writer.writeDateValue("lastSubscriptionEventAt", organizationTableRow.lastSubscriptionEventAt);
9664
- writer.writeDateValue("modifiedAt", organizationTableRow.modifiedAt);
9665
- writer.writeStringValue("name", organizationTableRow.name);
9666
- writer.writeBooleanValue("needsAdminReview", organizationTableRow.needsAdminReview);
9667
- writer.writeObjectValue("organization", organizationTableRow.organization, serializeOrganizationTableRow_organization);
9668
- writer.writeDateValue("paymentFailedAt", organizationTableRow.paymentFailedAt);
9669
- writer.writeStringValue("phone", organizationTableRow.phone);
9670
- writer.writeEnumValue("setupStep", organizationTableRow.setupStep);
9671
- writer.writeEnumValue("status", organizationTableRow.status);
9672
- writer.writeDateValue("subscriptionCancelAt", organizationTableRow.subscriptionCancelAt);
9673
- writer.writeEnumValue("subscriptionStatus", organizationTableRow.subscriptionStatus);
9674
- writer.writeEnumValue("tenDlcStatus", organizationTableRow.tenDlcStatus);
9675
- writer.writeNumberValue("userCount", organizationTableRow.userCount);
9676
- writer.writeStringValue("website", organizationTableRow.website);
9677
- writer.writeEnumValue("websiteStatus", organizationTableRow.websiteStatus);
9678
- writer.writeAdditionalData(organizationTableRow.additionalData);
9679
- }
9680
- /**
9681
- * Serializes information the current object
9682
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9683
- * @param OrganizationTableRow_organization The instance to serialize from.
9684
- * @param writer Serialization writer to use to serialize this model
9685
- */
9686
- // @ts-ignore
9687
- export function serializeOrganizationTableRow_organization(writer, organizationTableRow_organization = {}, isSerializingDerivedType = false) {
9688
- if (!organizationTableRow_organization || isSerializingDerivedType) {
9689
- return;
9690
- }
9691
- serializeIdNamePair(writer, organizationTableRow_organization, isSerializingDerivedType);
9692
- }
9693
9471
  /**
9694
9472
  * Serializes information the current object
9695
9473
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9960,23 +9738,6 @@ export function serializePagedResultOfNotificationTableRow(writer, pagedResultOf
9960
9738
  writer.writeNumberValue("totalCount", pagedResultOfNotificationTableRow.totalCount);
9961
9739
  writer.writeAdditionalData(pagedResultOfNotificationTableRow.additionalData);
9962
9740
  }
9963
- /**
9964
- * Serializes information the current object
9965
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9966
- * @param PagedResultOfOrganizationTableRow The instance to serialize from.
9967
- * @param writer Serialization writer to use to serialize this model
9968
- */
9969
- // @ts-ignore
9970
- export function serializePagedResultOfOrganizationTableRow(writer, pagedResultOfOrganizationTableRow = {}, isSerializingDerivedType = false) {
9971
- if (!pagedResultOfOrganizationTableRow || isSerializingDerivedType) {
9972
- return;
9973
- }
9974
- writer.writeStringValue("continuationToken", pagedResultOfOrganizationTableRow.continuationToken);
9975
- writer.writeCollectionOfObjectValues("items", pagedResultOfOrganizationTableRow.items, serializeOrganizationTableRow);
9976
- writer.writeNumberValue("pageSize", pagedResultOfOrganizationTableRow.pageSize);
9977
- writer.writeNumberValue("totalCount", pagedResultOfOrganizationTableRow.totalCount);
9978
- writer.writeAdditionalData(pagedResultOfOrganizationTableRow.additionalData);
9979
- }
9980
9741
  /**
9981
9742
  * Serializes information the current object
9982
9743
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -10549,11 +10310,8 @@ export function serializePhoneNumberRequest(writer, phoneNumberRequest = {}, isS
10549
10310
  if (!phoneNumberRequest || isSerializingDerivedType) {
10550
10311
  return;
10551
10312
  }
10552
- writer.writeBooleanValue("enabled", phoneNumberRequest.enabled);
10553
- writer.writeStringValue("id", phoneNumberRequest.id);
10554
10313
  writer.writeStringValue("name", phoneNumberRequest.name);
10555
10314
  writer.writeStringValue("number", phoneNumberRequest.number);
10556
- writer.writeStringValue("organizationId", phoneNumberRequest.organizationId);
10557
10315
  writer.writeAdditionalData(phoneNumberRequest.additionalData);
10558
10316
  }
10559
10317
  /**
@@ -10814,12 +10572,27 @@ export function serializeProblemDetails(writer, problemDetails = {}, isSerializi
10814
10572
  return;
10815
10573
  }
10816
10574
  writer.writeStringValue("detail", problemDetails.detail);
10575
+ writer.writeObjectValue("errors", problemDetails.errors, serializeProblemDetails_errors);
10817
10576
  writer.writeStringValue("instance", problemDetails.instance);
10818
10577
  writer.writeNumberValue("status", problemDetails.status);
10819
10578
  writer.writeStringValue("title", problemDetails.title);
10579
+ writer.writeStringValue("traceId", problemDetails.traceId);
10820
10580
  writer.writeStringValue("type", problemDetails.type);
10821
10581
  writer.writeAdditionalData(problemDetails.additionalData);
10822
10582
  }
10583
+ /**
10584
+ * Serializes information the current object
10585
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10586
+ * @param ProblemDetails_errors The instance to serialize from.
10587
+ * @param writer Serialization writer to use to serialize this model
10588
+ */
10589
+ // @ts-ignore
10590
+ export function serializeProblemDetails_errors(writer, problemDetails_errors = {}, isSerializingDerivedType = false) {
10591
+ if (!problemDetails_errors || isSerializingDerivedType) {
10592
+ return;
10593
+ }
10594
+ writer.writeAdditionalData(problemDetails_errors.additionalData);
10595
+ }
10823
10596
  /**
10824
10597
  * Serializes information the current object
10825
10598
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11090,15 +10863,10 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
11090
10863
  }
11091
10864
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceRequest.allowedProducts);
11092
10865
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceRequest.allowedStates);
11093
- writer.writeStringValue("apiKey", sourceRequest.apiKey);
11094
- writer.writeNumberValue("costPerLead", sourceRequest.costPerLead);
11095
10866
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceRequest.defaultTagIds);
11096
10867
  writer.writeCollectionOfPrimitiveValues("defaultTagNames", sourceRequest.defaultTagNames);
11097
10868
  writer.writeStringValue("description", sourceRequest.description);
11098
- writer.writeBooleanValue("enabled", sourceRequest.enabled);
11099
- writer.writeStringValue("id", sourceRequest.id);
11100
10869
  writer.writeStringValue("name", sourceRequest.name);
11101
- writer.writeBooleanValue("regenerateApiKey", sourceRequest.regenerateApiKey);
11102
10870
  writer.writeBooleanValue("requiresTrustedForm", sourceRequest.requiresTrustedForm);
11103
10871
  writer.writeAdditionalData(sourceRequest.additionalData);
11104
10872
  }
@@ -11408,7 +11176,6 @@ export function serializeSuppressionEntryRequest(writer, suppressionEntryRequest
11408
11176
  }
11409
11177
  writer.writeStringValue("channel", suppressionEntryRequest.channel);
11410
11178
  writer.writeStringValue("email", suppressionEntryRequest.email);
11411
- writer.writeStringValue("organizationId", suppressionEntryRequest.organizationId);
11412
11179
  writer.writeStringValue("phoneNumber", suppressionEntryRequest.phoneNumber);
11413
11180
  writer.writeStringValue("reason", suppressionEntryRequest.reason);
11414
11181
  writer.writeStringValue("recipientIdentifier", suppressionEntryRequest.recipientIdentifier);
@@ -11995,46 +11762,14 @@ export function serializeUserRequest(writer, userRequest = {}, isSerializingDeri
11995
11762
  if (!userRequest || isSerializingDerivedType) {
11996
11763
  return;
11997
11764
  }
11998
- writer.writeEnumValue("billingPlan", userRequest.billingPlan);
11999
- writer.writeObjectValue("compliance", userRequest.compliance, serializeUserRequest_compliance);
12000
- writer.writeObjectValue("currentOrganization", userRequest.currentOrganization, serializeUserRequest_currentOrganization);
12001
- writer.writeStringValue("email", userRequest.email);
12002
11765
  writer.writeStringValue("firstName", userRequest.firstName);
12003
- writer.writeStringValue("id", userRequest.id);
12004
11766
  writer.writeStringValue("lastName", userRequest.lastName);
12005
- writer.writeCollectionOfObjectValues("mobileDevicePreferences", userRequest.mobileDevicePreferences, serializeMobileDevicePreferences);
12006
11767
  writer.writeStringValue("name", userRequest.name);
12007
11768
  writer.writeObjectValue("notificationPreferences", userRequest.notificationPreferences, serializeUserRequest_notificationPreferences);
12008
11769
  writer.writeStringValue("phone", userRequest.phone);
12009
11770
  writer.writeStringValue("timeZoneId", userRequest.timeZoneId);
12010
11771
  writer.writeAdditionalData(userRequest.additionalData);
12011
11772
  }
12012
- /**
12013
- * Serializes information the current object
12014
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12015
- * @param UserRequest_compliance The instance to serialize from.
12016
- * @param writer Serialization writer to use to serialize this model
12017
- */
12018
- // @ts-ignore
12019
- export function serializeUserRequest_compliance(writer, userRequest_compliance = {}, isSerializingDerivedType = false) {
12020
- if (!userRequest_compliance || isSerializingDerivedType) {
12021
- return;
12022
- }
12023
- serializeUserCompliance(writer, userRequest_compliance, isSerializingDerivedType);
12024
- }
12025
- /**
12026
- * Serializes information the current object
12027
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12028
- * @param UserRequest_currentOrganization The instance to serialize from.
12029
- * @param writer Serialization writer to use to serialize this model
12030
- */
12031
- // @ts-ignore
12032
- export function serializeUserRequest_currentOrganization(writer, userRequest_currentOrganization = {}, isSerializingDerivedType = false) {
12033
- if (!userRequest_currentOrganization || isSerializingDerivedType) {
12034
- return;
12035
- }
12036
- serializeIdNamePair(writer, userRequest_currentOrganization, isSerializingDerivedType);
12037
- }
12038
11773
  /**
12039
11774
  * Serializes information the current object
12040
11775
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12547,16 +12282,6 @@ export const LeadStatusChangeRequest_categoryObject = {
12547
12282
  Invalid: "Invalid",
12548
12283
  Duplicate: "Duplicate",
12549
12284
  };
12550
- /**
12551
- * Known sources that can change a lead's current lead status change.
12552
- */
12553
- export const LeadStatusChangeRequest_changeSourceObject = {
12554
- User: "User",
12555
- AI: "AI",
12556
- Automation: "Automation",
12557
- System: "System",
12558
- API: "API",
12559
- };
12560
12285
  /**
12561
12286
  * Controlled lead status change categories used for reporting, automation, and analytics.
12562
12287
  */
@@ -12670,14 +12395,6 @@ export const OrganizationMemberRoleObject = {
12670
12395
  Admin: "Admin",
12671
12396
  Agent: "Agent",
12672
12397
  };
12673
- /**
12674
- * Describes an organization's account lifecycle and whether it can actively use Leadping services.
12675
- */
12676
- export const OrganizationRequest_statusObject = {
12677
- SettingUp: "SettingUp",
12678
- SetupCompleted: "SetupCompleted",
12679
- Active: "Active",
12680
- };
12681
12398
  /**
12682
12399
  * Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
12683
12400
  */
@@ -12781,104 +12498,6 @@ export const OrganizationSwitchOption_tenDlcStatusObject = {
12781
12498
  ResubmissionReady: "ResubmissionReady",
12782
12499
  Failed: "Failed",
12783
12500
  };
12784
- /**
12785
- * Summarizes an organization's overall progress from initial Leadping onboarding through launch readiness.
12786
- */
12787
- export const OrganizationTableRow_activationStatusObject = {
12788
- DraftOnboarding: "DraftOnboarding",
12789
- PaymentMethodPending: "PaymentMethodPending",
12790
- PaymentMethodConfirmed: "PaymentMethodConfirmed",
12791
- SubscriptionPending: "SubscriptionPending",
12792
- SubscriptionReceived: "SubscriptionReceived",
12793
- SubscriptionActive: "SubscriptionActive",
12794
- LaunchReviewPending: "LaunchReviewPending",
12795
- TelephonyProvisioningPending: "TelephonyProvisioningPending",
12796
- TelephonyPartiallyProvisioned: "TelephonyPartiallyProvisioned",
12797
- TelephonyReady: "TelephonyReady",
12798
- AwaitingReview: "AwaitingReview",
12799
- DomainSelection: "DomainSelection",
12800
- WebsiteSetup: "WebsiteSetup",
12801
- ComplianceRegistration: "ComplianceRegistration",
12802
- ReadyForApproval: "ReadyForApproval",
12803
- Active: "Active",
12804
- Failed: "Failed",
12805
- Blocked: "Blocked",
12806
- BlockedRequiresOperatorAction: "BlockedRequiresOperatorAction",
12807
- ManuallyBypassed: "ManuallyBypassed",
12808
- };
12809
- /**
12810
- * Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
12811
- */
12812
- export const OrganizationTableRow_billingPlanObject = {
12813
- Annual: "Annual",
12814
- Monthly: "Monthly",
12815
- };
12816
- /**
12817
- * Identifies a discrete billing, telephony, compliance, or configuration stage in organization provisioning.
12818
- */
12819
- export const OrganizationTableRow_setupStepObject = {
12820
- DomainFinding: "DomainFinding",
12821
- DomainOptionsFound: "DomainOptionsFound",
12822
- SiteGenerating: "SiteGenerating",
12823
- SiteGenerated: "SiteGenerated",
12824
- BrandSubmitted: "BrandSubmitted",
12825
- BrandApproved: "BrandApproved",
12826
- CampaignSubmitted: "CampaignSubmitted",
12827
- CampaignApproved: "CampaignApproved",
12828
- CarrierReviewing: "CarrierReviewing",
12829
- TenDlcComplete: "TenDlcComplete",
12830
- Complete: "Complete",
12831
- };
12832
- /**
12833
- * Describes an organization's account lifecycle and whether it can actively use Leadping services.
12834
- */
12835
- export const OrganizationTableRow_statusObject = {
12836
- SettingUp: "SettingUp",
12837
- SetupCompleted: "SetupCompleted",
12838
- Active: "Active",
12839
- };
12840
- /**
12841
- * Describes an organization's billing subscription lifecycle, including trial, active, delinquent, canceled, and expired states.
12842
- */
12843
- export const OrganizationTableRow_subscriptionStatusObject = {
12844
- Pending: "Pending",
12845
- Active: "Active",
12846
- Overdue: "Overdue",
12847
- Canceled: "Canceled",
12848
- };
12849
- /**
12850
- * Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.
12851
- */
12852
- export const OrganizationTableRow_tenDlcStatusObject = {
12853
- NotStarted: "NotStarted",
12854
- DraftGenerated: "DraftGenerated",
12855
- DraftIncomplete: "DraftIncomplete",
12856
- ReadyToSubmit: "ReadyToSubmit",
12857
- Submitted: "Submitted",
12858
- PendingTelnyxReview: "PendingTelnyxReview",
12859
- Approved: "Approved",
12860
- Rejected: "Rejected",
12861
- NeedsChanges: "NeedsChanges",
12862
- ResubmissionReady: "ResubmissionReady",
12863
- Failed: "Failed",
12864
- };
12865
- /**
12866
- * Describes an organization website's lifecycle from discovery and verification through activation, suspension, or removal.
12867
- */
12868
- export const OrganizationTableRow_websiteStatusObject = {
12869
- NotStarted: "NotStarted",
12870
- DomainSuggestionsPending: "DomainSuggestionsPending",
12871
- DomainSelectionPending: "DomainSelectionPending",
12872
- DomainPurchasePending: "DomainPurchasePending",
12873
- DomainPurchased: "DomainPurchased",
12874
- WebsiteGenerationQueued: "WebsiteGenerationQueued",
12875
- WebsiteGenerating: "WebsiteGenerating",
12876
- WebsiteDeploymentQueued: "WebsiteDeploymentQueued",
12877
- WebsiteDeploying: "WebsiteDeploying",
12878
- WebsiteLive: "WebsiteLive",
12879
- WebsiteFailed: "WebsiteFailed",
12880
- ManuallyBypassed: "ManuallyBypassed",
12881
- };
12882
12501
  /**
12883
12502
  * Defines outbound delivery channels protected by delivery control.
12884
12503
  */
@@ -13379,13 +12998,6 @@ export const UserDataExportStatusesObject = {
13379
12998
  Failed: "Failed",
13380
12999
  Expired: "Expired",
13381
13000
  };
13382
- /**
13383
- * Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
13384
- */
13385
- export const UserRequest_billingPlanObject = {
13386
- Annual: "Annual",
13387
- Monthly: "Monthly",
13388
- };
13389
13001
  /**
13390
13002
  * Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
13391
13003
  */