@leadping/sdk 1.0.139 → 1.0.141

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.
@@ -498,6 +498,15 @@ export function createBlogSocialPostFromDiscriminatorValue(parseNode) {
498
498
  export function createBrowserCallApprovalFromDiscriminatorValue(parseNode) {
499
499
  return deserializeIntoBrowserCallApproval;
500
500
  }
501
+ /**
502
+ * Creates a new instance of the appropriate class based on discriminator value
503
+ * @param parseNode The parse node to use to read the discriminator value and create the object
504
+ * @returns {CallBudgetResponse}
505
+ */
506
+ // @ts-ignore
507
+ export function createCallBudgetResponseFromDiscriminatorValue(parseNode) {
508
+ return deserializeIntoCallBudgetResponse;
509
+ }
501
510
  /**
502
511
  * Creates a new instance of the appropriate class based on discriminator value
503
512
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1245,6 +1254,15 @@ export function createLeadResponse_inquiryFromDiscriminatorValue(parseNode) {
1245
1254
  export function createLeadResponse_phoneIdentityFromDiscriminatorValue(parseNode) {
1246
1255
  return deserializeIntoLeadResponse_phoneIdentity;
1247
1256
  }
1257
+ /**
1258
+ * Creates a new instance of the appropriate class based on discriminator value
1259
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1260
+ * @returns {LeadResponse_possibleDuplicate}
1261
+ */
1262
+ // @ts-ignore
1263
+ export function createLeadResponse_possibleDuplicateFromDiscriminatorValue(parseNode) {
1264
+ return deserializeIntoLeadResponse_possibleDuplicate;
1265
+ }
1248
1266
  /**
1249
1267
  * Creates a new instance of the appropriate class based on discriminator value
1250
1268
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2316,6 +2334,15 @@ export function createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue(pa
2316
2334
  export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode) {
2317
2335
  return deserializeIntoPhoneNumberTrafficTrendPoint;
2318
2336
  }
2337
+ /**
2338
+ * Creates a new instance of the appropriate class based on discriminator value
2339
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2340
+ * @returns {PossibleDuplicateLead}
2341
+ */
2342
+ // @ts-ignore
2343
+ export function createPossibleDuplicateLeadFromDiscriminatorValue(parseNode) {
2344
+ return deserializeIntoPossibleDuplicateLead;
2345
+ }
2319
2346
  /**
2320
2347
  * Creates a new instance of the appropriate class based on discriminator value
2321
2348
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3836,6 +3863,18 @@ export function deserializeIntoBrowserCallApproval(browserCallApproval = {}) {
3836
3863
  "maximumDurationSeconds": n => { browserCallApproval.maximumDurationSeconds = n.getNumberValue(); },
3837
3864
  };
3838
3865
  }
3866
+ /**
3867
+ * The deserialization information for the current model
3868
+ * @param CallBudgetResponse The instance to deserialize into.
3869
+ * @returns {Record<string, (node: ParseNode) => void>}
3870
+ */
3871
+ // @ts-ignore
3872
+ export function deserializeIntoCallBudgetResponse(callBudgetResponse = {}) {
3873
+ return {
3874
+ "reason": n => { callBudgetResponse.reason = n.getStringValue(); },
3875
+ "resetsAt": n => { callBudgetResponse.resetsAt = n.getDateValue(); },
3876
+ };
3877
+ }
3839
3878
  /**
3840
3879
  * The deserialization information for the current model
3841
3880
  * @param CallEventTableRow The instance to deserialize into.
@@ -4507,6 +4546,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
4507
4546
  "fromPhoneNumber": n => { eventTableRow.fromPhoneNumber = n.getStringValue(); },
4508
4547
  "fromPhoneNumberId": n => { eventTableRow.fromPhoneNumberId = n.getStringValue(); },
4509
4548
  "id": n => { eventTableRow.id = n.getStringValue(); },
4549
+ "isBudgetDelayed": n => { eventTableRow.isBudgetDelayed = n.getBooleanValue(); },
4510
4550
  "isDemo": n => { eventTableRow.isDemo = n.getBooleanValue(); },
4511
4551
  "leadId": n => { eventTableRow.leadId = n.getStringValue(); },
4512
4552
  "media": n => { eventTableRow.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
@@ -5205,6 +5245,7 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
5205
5245
  "metadata": n => { leadResponse.metadata = n.getObjectValue(createLeadMetadataFromDiscriminatorValue); },
5206
5246
  "modifiedAt": n => { leadResponse.modifiedAt = n.getDateValue(); },
5207
5247
  "phoneIdentity": n => { leadResponse.phoneIdentity = n.getObjectValue(createLeadResponse_phoneIdentityFromDiscriminatorValue); },
5248
+ "possibleDuplicate": n => { leadResponse.possibleDuplicate = n.getObjectValue(createLeadResponse_possibleDuplicateFromDiscriminatorValue); },
5208
5249
  "processingStatus": n => { leadResponse.processingStatus = n.getEnumValue(LeadResponse_processingStatusObject); },
5209
5250
  "processingStatusChangedAt": n => { leadResponse.processingStatusChangedAt = n.getDateValue(); },
5210
5251
  "processingStatusReason": n => { leadResponse.processingStatusReason = n.getStringValue(); },
@@ -5288,6 +5329,17 @@ export function deserializeIntoLeadResponse_phoneIdentity(leadResponse_phoneIden
5288
5329
  ...deserializeIntoPhoneIdentityResponse(leadResponse_phoneIdentity),
5289
5330
  };
5290
5331
  }
5332
+ /**
5333
+ * The deserialization information for the current model
5334
+ * @param LeadResponse_possibleDuplicate The instance to deserialize into.
5335
+ * @returns {Record<string, (node: ParseNode) => void>}
5336
+ */
5337
+ // @ts-ignore
5338
+ export function deserializeIntoLeadResponse_possibleDuplicate(leadResponse_possibleDuplicate = {}) {
5339
+ return {
5340
+ ...deserializeIntoPossibleDuplicateLead(leadResponse_possibleDuplicate),
5341
+ };
5342
+ }
5291
5343
  /**
5292
5344
  * The deserialization information for the current model
5293
5345
  * @param LeadResponse_profile The instance to deserialize into.
@@ -6080,6 +6132,7 @@ export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
6080
6132
  "automaticallyMarkLeadsMessaged": n => { organizationRequest.automaticallyMarkLeadsMessaged = n.getBooleanValue(); },
6081
6133
  "calledLeadStatusId": n => { organizationRequest.calledLeadStatusId = n.getStringValue(); },
6082
6134
  "description": n => { organizationRequest.description = n.getStringValue(); },
6135
+ "duplicateLeadLookbackDays": n => { organizationRequest.duplicateLeadLookbackDays = n.getNumberValue(); },
6083
6136
  "ein": n => { organizationRequest.ein = n.getStringValue(); },
6084
6137
  "isYoungerThan90": n => { organizationRequest.isYoungerThan90 = n.getBooleanValue(); },
6085
6138
  "messagedLeadStatusId": n => { organizationRequest.messagedLeadStatusId = n.getStringValue(); },
@@ -6133,6 +6186,7 @@ export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
6133
6186
  "createdAt": n => { organizationResponse.createdAt = n.getDateValue(); },
6134
6187
  "description": n => { organizationResponse.description = n.getStringValue(); },
6135
6188
  "domain": n => { organizationResponse.domain = n.getStringValue(); },
6189
+ "duplicateLeadLookbackDays": n => { organizationResponse.duplicateLeadLookbackDays = n.getNumberValue(); },
6136
6190
  "ein": n => { organizationResponse.ein = n.getStringValue(); },
6137
6191
  "einDocument": n => { organizationResponse.einDocument = n.getObjectValue(createOrganizationResponse_einDocumentFromDiscriminatorValue); },
6138
6192
  "enabled": n => { organizationResponse.enabled = n.getBooleanValue(); },
@@ -7257,6 +7311,19 @@ export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTr
7257
7311
  "startAt": n => { phoneNumberTrafficTrendPoint.startAt = n.getDateValue(); },
7258
7312
  };
7259
7313
  }
7314
+ /**
7315
+ * The deserialization information for the current model
7316
+ * @param PossibleDuplicateLead The instance to deserialize into.
7317
+ * @returns {Record<string, (node: ParseNode) => void>}
7318
+ */
7319
+ // @ts-ignore
7320
+ export function deserializeIntoPossibleDuplicateLead(possibleDuplicateLead = {}) {
7321
+ return {
7322
+ "leadId": n => { possibleDuplicateLead.leadId = n.getStringValue(); },
7323
+ "receivedAt": n => { possibleDuplicateLead.receivedAt = n.getDateValue(); },
7324
+ "sourceName": n => { possibleDuplicateLead.sourceName = n.getStringValue(); },
7325
+ };
7326
+ }
7260
7327
  /**
7261
7328
  * The deserialization information for the current model
7262
7329
  * @param ProblemDetails The instance to deserialize into.
@@ -7367,6 +7434,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
7367
7434
  "fromPhoneNumberId": n => { smsEventTableRow.fromPhoneNumberId = n.getStringValue(); },
7368
7435
  "id": n => { smsEventTableRow.id = n.getStringValue(); },
7369
7436
  "isAutomated": n => { smsEventTableRow.isAutomated = n.getBooleanValue(); },
7437
+ "isBudgetDelayed": n => { smsEventTableRow.isBudgetDelayed = n.getBooleanValue(); },
7370
7438
  "isDemo": n => { smsEventTableRow.isDemo = n.getBooleanValue(); },
7371
7439
  "lead": n => { smsEventTableRow.lead = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
7372
7440
  "leadAvatarUrl": n => { smsEventTableRow.leadAvatarUrl = n.getStringValue(); },
@@ -7459,6 +7527,7 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
7459
7527
  "fromPhoneNumber": n => { smsResponse.fromPhoneNumber = n.getStringValue(); },
7460
7528
  "fromPhoneNumberId": n => { smsResponse.fromPhoneNumberId = n.getStringValue(); },
7461
7529
  "id": n => { smsResponse.id = n.getStringValue(); },
7530
+ "isBudgetDelayed": n => { smsResponse.isBudgetDelayed = n.getBooleanValue(); },
7462
7531
  "isDemo": n => { smsResponse.isDemo = n.getBooleanValue(); },
7463
7532
  "leadId": n => { smsResponse.leadId = n.getStringValue(); },
7464
7533
  "media": n => { smsResponse.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
@@ -7697,8 +7766,12 @@ export function deserializeIntoSourceTableRow_user(sourceTableRow_user = {}) {
7697
7766
  // @ts-ignore
7698
7767
  export function deserializeIntoSpendLimitsRequest(spendLimitsRequest = {}) {
7699
7768
  return {
7769
+ "callingLimit": n => { spendLimitsRequest.callingLimit = n.getNumberValue(); },
7770
+ "callingPeriod": n => { spendLimitsRequest.callingPeriod = n.getEnumValue(SpendPeriodObject); },
7700
7771
  "dailyLimit": n => { spendLimitsRequest.dailyLimit = n.getNumberValue(); },
7701
7772
  "monthlyLimit": n => { spendLimitsRequest.monthlyLimit = n.getNumberValue(); },
7773
+ "textingLimit": n => { spendLimitsRequest.textingLimit = n.getNumberValue(); },
7774
+ "textingPeriod": n => { spendLimitsRequest.textingPeriod = n.getEnumValue(SpendPeriodObject); },
7702
7775
  };
7703
7776
  }
7704
7777
  /**
@@ -7709,6 +7782,9 @@ export function deserializeIntoSpendLimitsRequest(spendLimitsRequest = {}) {
7709
7782
  // @ts-ignore
7710
7783
  export function deserializeIntoSpendLimitsResponse(spendLimitsResponse = {}) {
7711
7784
  return {
7785
+ "callingLimit": n => { spendLimitsResponse.callingLimit = n.getNumberValue(); },
7786
+ "callingPeriod": n => { spendLimitsResponse.callingPeriod = n.getEnumValue(SpendPeriodObject); },
7787
+ "callingUsed": n => { spendLimitsResponse.callingUsed = n.getNumberValue(); },
7712
7788
  "dailyLimit": n => { spendLimitsResponse.dailyLimit = n.getNumberValue(); },
7713
7789
  "dailyResetsAt": n => { spendLimitsResponse.dailyResetsAt = n.getDateValue(); },
7714
7790
  "dailySpent": n => { spendLimitsResponse.dailySpent = n.getNumberValue(); },
@@ -7716,6 +7792,9 @@ export function deserializeIntoSpendLimitsResponse(spendLimitsResponse = {}) {
7716
7792
  "monthlyResetsAt": n => { spendLimitsResponse.monthlyResetsAt = n.getDateValue(); },
7717
7793
  "monthlySpent": n => { spendLimitsResponse.monthlySpent = n.getNumberValue(); },
7718
7794
  "reserved": n => { spendLimitsResponse.reserved = n.getNumberValue(); },
7795
+ "textingLimit": n => { spendLimitsResponse.textingLimit = n.getNumberValue(); },
7796
+ "textingPeriod": n => { spendLimitsResponse.textingPeriod = n.getEnumValue(SpendPeriodObject); },
7797
+ "textingUsed": n => { spendLimitsResponse.textingUsed = n.getNumberValue(); },
7719
7798
  };
7720
7799
  }
7721
7800
  /**
@@ -9566,6 +9645,21 @@ export function serializeBrowserCallApproval(writer, browserCallApproval = {}, i
9566
9645
  writer.writeNumberValue("maximumDurationSeconds", browserCallApproval.maximumDurationSeconds);
9567
9646
  writer.writeAdditionalData(browserCallApproval.additionalData);
9568
9647
  }
9648
+ /**
9649
+ * Serializes information the current object
9650
+ * @param CallBudgetResponse The instance to serialize from.
9651
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9652
+ * @param writer Serialization writer to use to serialize this model
9653
+ */
9654
+ // @ts-ignore
9655
+ export function serializeCallBudgetResponse(writer, callBudgetResponse = {}, isSerializingDerivedType = false) {
9656
+ if (!callBudgetResponse || isSerializingDerivedType) {
9657
+ return;
9658
+ }
9659
+ writer.writeStringValue("reason", callBudgetResponse.reason);
9660
+ writer.writeDateValue("resetsAt", callBudgetResponse.resetsAt);
9661
+ writer.writeAdditionalData(callBudgetResponse.additionalData);
9662
+ }
9569
9663
  /**
9570
9664
  * Serializes information the current object
9571
9665
  * @param CallEventTableRow The instance to serialize from.
@@ -10333,6 +10427,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
10333
10427
  writer.writeStringValue("fromPhoneNumber", eventTableRow.fromPhoneNumber);
10334
10428
  writer.writeStringValue("fromPhoneNumberId", eventTableRow.fromPhoneNumberId);
10335
10429
  writer.writeStringValue("id", eventTableRow.id);
10430
+ writer.writeBooleanValue("isBudgetDelayed", eventTableRow.isBudgetDelayed);
10336
10431
  writer.writeBooleanValue("isDemo", eventTableRow.isDemo);
10337
10432
  writer.writeStringValue("leadId", eventTableRow.leadId);
10338
10433
  writer.writeCollectionOfObjectValues("media", eventTableRow.media, serializeMessageMediaAttachment);
@@ -11150,6 +11245,7 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
11150
11245
  writer.writeObjectValue("metadata", leadResponse.metadata, serializeLeadMetadata);
11151
11246
  writer.writeDateValue("modifiedAt", leadResponse.modifiedAt);
11152
11247
  writer.writeObjectValue("phoneIdentity", leadResponse.phoneIdentity, serializeLeadResponse_phoneIdentity);
11248
+ writer.writeObjectValue("possibleDuplicate", leadResponse.possibleDuplicate, serializeLeadResponse_possibleDuplicate);
11153
11249
  writer.writeEnumValue("processingStatus", leadResponse.processingStatus);
11154
11250
  writer.writeDateValue("processingStatusChangedAt", leadResponse.processingStatusChangedAt);
11155
11251
  writer.writeStringValue("processingStatusReason", leadResponse.processingStatusReason);
@@ -11249,6 +11345,19 @@ export function serializeLeadResponse_phoneIdentity(writer, leadResponse_phoneId
11249
11345
  }
11250
11346
  serializePhoneIdentityResponse(writer, leadResponse_phoneIdentity, isSerializingDerivedType);
11251
11347
  }
11348
+ /**
11349
+ * Serializes information the current object
11350
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11351
+ * @param LeadResponse_possibleDuplicate The instance to serialize from.
11352
+ * @param writer Serialization writer to use to serialize this model
11353
+ */
11354
+ // @ts-ignore
11355
+ export function serializeLeadResponse_possibleDuplicate(writer, leadResponse_possibleDuplicate = {}, isSerializingDerivedType = false) {
11356
+ if (!leadResponse_possibleDuplicate || isSerializingDerivedType) {
11357
+ return;
11358
+ }
11359
+ serializePossibleDuplicateLead(writer, leadResponse_possibleDuplicate, isSerializingDerivedType);
11360
+ }
11252
11361
  /**
11253
11362
  * Serializes information the current object
11254
11363
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12161,6 +12270,7 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
12161
12270
  writer.writeBooleanValue("automaticallyMarkLeadsMessaged", organizationRequest.automaticallyMarkLeadsMessaged);
12162
12271
  writer.writeStringValue("calledLeadStatusId", organizationRequest.calledLeadStatusId);
12163
12272
  writer.writeStringValue("description", organizationRequest.description);
12273
+ writer.writeNumberValue("duplicateLeadLookbackDays", organizationRequest.duplicateLeadLookbackDays);
12164
12274
  writer.writeStringValue("ein", organizationRequest.ein);
12165
12275
  writer.writeBooleanValue("isYoungerThan90", organizationRequest.isYoungerThan90);
12166
12276
  writer.writeStringValue("messagedLeadStatusId", organizationRequest.messagedLeadStatusId);
@@ -12219,6 +12329,7 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
12219
12329
  writer.writeDateValue("createdAt", organizationResponse.createdAt);
12220
12330
  writer.writeStringValue("description", organizationResponse.description);
12221
12331
  writer.writeStringValue("domain", organizationResponse.domain);
12332
+ writer.writeNumberValue("duplicateLeadLookbackDays", organizationResponse.duplicateLeadLookbackDays);
12222
12333
  writer.writeStringValue("ein", organizationResponse.ein);
12223
12334
  writer.writeObjectValue("einDocument", organizationResponse.einDocument, serializeOrganizationResponse_einDocument);
12224
12335
  writer.writeBooleanValue("enabled", organizationResponse.enabled);
@@ -13537,6 +13648,22 @@ export function serializePhoneNumberTrafficTrendPoint(writer, phoneNumberTraffic
13537
13648
  writer.writeDateValue("startAt", phoneNumberTrafficTrendPoint.startAt);
13538
13649
  writer.writeAdditionalData(phoneNumberTrafficTrendPoint.additionalData);
13539
13650
  }
13651
+ /**
13652
+ * Serializes information the current object
13653
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13654
+ * @param PossibleDuplicateLead The instance to serialize from.
13655
+ * @param writer Serialization writer to use to serialize this model
13656
+ */
13657
+ // @ts-ignore
13658
+ export function serializePossibleDuplicateLead(writer, possibleDuplicateLead = {}, isSerializingDerivedType = false) {
13659
+ if (!possibleDuplicateLead || isSerializingDerivedType) {
13660
+ return;
13661
+ }
13662
+ writer.writeStringValue("leadId", possibleDuplicateLead.leadId);
13663
+ writer.writeDateValue("receivedAt", possibleDuplicateLead.receivedAt);
13664
+ writer.writeStringValue("sourceName", possibleDuplicateLead.sourceName);
13665
+ writer.writeAdditionalData(possibleDuplicateLead.additionalData);
13666
+ }
13540
13667
  /**
13541
13668
  * Serializes information the current object
13542
13669
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13666,6 +13793,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
13666
13793
  writer.writeStringValue("fromPhoneNumberId", smsEventTableRow.fromPhoneNumberId);
13667
13794
  writer.writeStringValue("id", smsEventTableRow.id);
13668
13795
  writer.writeBooleanValue("isAutomated", smsEventTableRow.isAutomated);
13796
+ writer.writeBooleanValue("isBudgetDelayed", smsEventTableRow.isBudgetDelayed);
13669
13797
  writer.writeBooleanValue("isDemo", smsEventTableRow.isDemo);
13670
13798
  writer.writeObjectValue("lead", smsEventTableRow.lead, serializeIdNamePair);
13671
13799
  writer.writeStringValue("leadAvatarUrl", smsEventTableRow.leadAvatarUrl);
@@ -13769,6 +13897,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
13769
13897
  writer.writeStringValue("fromPhoneNumber", smsResponse.fromPhoneNumber);
13770
13898
  writer.writeStringValue("fromPhoneNumberId", smsResponse.fromPhoneNumberId);
13771
13899
  writer.writeStringValue("id", smsResponse.id);
13900
+ writer.writeBooleanValue("isBudgetDelayed", smsResponse.isBudgetDelayed);
13772
13901
  writer.writeBooleanValue("isDemo", smsResponse.isDemo);
13773
13902
  writer.writeStringValue("leadId", smsResponse.leadId);
13774
13903
  writer.writeCollectionOfObjectValues("media", smsResponse.media, serializeMessageMediaAttachment);
@@ -14041,8 +14170,12 @@ export function serializeSpendLimitsRequest(writer, spendLimitsRequest = {}, isS
14041
14170
  if (!spendLimitsRequest || isSerializingDerivedType) {
14042
14171
  return;
14043
14172
  }
14173
+ writer.writeNumberValue("callingLimit", spendLimitsRequest.callingLimit);
14174
+ writer.writeEnumValue("callingPeriod", spendLimitsRequest.callingPeriod);
14044
14175
  writer.writeNumberValue("dailyLimit", spendLimitsRequest.dailyLimit);
14045
14176
  writer.writeNumberValue("monthlyLimit", spendLimitsRequest.monthlyLimit);
14177
+ writer.writeNumberValue("textingLimit", spendLimitsRequest.textingLimit);
14178
+ writer.writeEnumValue("textingPeriod", spendLimitsRequest.textingPeriod);
14046
14179
  writer.writeAdditionalData(spendLimitsRequest.additionalData);
14047
14180
  }
14048
14181
  /**
@@ -14056,6 +14189,9 @@ export function serializeSpendLimitsResponse(writer, spendLimitsResponse = {}, i
14056
14189
  if (!spendLimitsResponse || isSerializingDerivedType) {
14057
14190
  return;
14058
14191
  }
14192
+ writer.writeNumberValue("callingLimit", spendLimitsResponse.callingLimit);
14193
+ writer.writeEnumValue("callingPeriod", spendLimitsResponse.callingPeriod);
14194
+ writer.writeNumberValue("callingUsed", spendLimitsResponse.callingUsed);
14059
14195
  writer.writeNumberValue("dailyLimit", spendLimitsResponse.dailyLimit);
14060
14196
  writer.writeDateValue("dailyResetsAt", spendLimitsResponse.dailyResetsAt);
14061
14197
  writer.writeNumberValue("dailySpent", spendLimitsResponse.dailySpent);
@@ -14063,6 +14199,9 @@ export function serializeSpendLimitsResponse(writer, spendLimitsResponse = {}, i
14063
14199
  writer.writeDateValue("monthlyResetsAt", spendLimitsResponse.monthlyResetsAt);
14064
14200
  writer.writeNumberValue("monthlySpent", spendLimitsResponse.monthlySpent);
14065
14201
  writer.writeNumberValue("reserved", spendLimitsResponse.reserved);
14202
+ writer.writeNumberValue("textingLimit", spendLimitsResponse.textingLimit);
14203
+ writer.writeEnumValue("textingPeriod", spendLimitsResponse.textingPeriod);
14204
+ writer.writeNumberValue("textingUsed", spendLimitsResponse.textingUsed);
14066
14205
  writer.writeAdditionalData(spendLimitsResponse.additionalData);
14067
14206
  }
14068
14207
  /**
@@ -16044,6 +16183,14 @@ export const SmsResponse_trafficTypeObject = {
16044
16183
  SystemInternal: "SystemInternal",
16045
16184
  FailedAttempt: "FailedAttempt",
16046
16185
  };
16186
+ /**
16187
+ * Calendar period for an organization channel budget, in UTC.
16188
+ */
16189
+ export const SpendPeriodObject = {
16190
+ Day: "day",
16191
+ Week: "week",
16192
+ Month: "month",
16193
+ };
16047
16194
  /**
16048
16195
  * Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.
16049
16196
  */