@leadping/sdk 1.0.139 → 1.0.140

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.
@@ -1660,6 +1660,19 @@ export interface BrowserCallApproval extends AdditionalDataHolder, Parsable {
1660
1660
  */
1661
1661
  maximumDurationSeconds?: number | null;
1662
1662
  }
1663
+ /**
1664
+ * Describes a restriction on starting a call, including the calendar reset when applicable.
1665
+ */
1666
+ export interface CallBudgetResponse extends AdditionalDataHolder, Parsable {
1667
+ /**
1668
+ * The reason property
1669
+ */
1670
+ reason?: string | null;
1671
+ /**
1672
+ * The resetsAt property
1673
+ */
1674
+ resetsAt?: Date | null;
1675
+ }
1663
1676
  /**
1664
1677
  * Summarizes call event data in paginated and searchable results.
1665
1678
  */
@@ -2423,6 +2436,12 @@ export declare function createBlogSocialPostFromDiscriminatorValue(parseNode: Pa
2423
2436
  * @returns {BrowserCallApproval}
2424
2437
  */
2425
2438
  export declare function createBrowserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2439
+ /**
2440
+ * Creates a new instance of the appropriate class based on discriminator value
2441
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2442
+ * @returns {CallBudgetResponse}
2443
+ */
2444
+ export declare function createCallBudgetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2426
2445
  /**
2427
2446
  * Creates a new instance of the appropriate class based on discriminator value
2428
2447
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5088,6 +5107,12 @@ export declare function deserializeIntoBlogSocialPost(blogSocialPost?: Partial<B
5088
5107
  * @returns {Record<string, (node: ParseNode) => void>}
5089
5108
  */
5090
5109
  export declare function deserializeIntoBrowserCallApproval(browserCallApproval?: Partial<BrowserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
5110
+ /**
5111
+ * The deserialization information for the current model
5112
+ * @param CallBudgetResponse The instance to deserialize into.
5113
+ * @returns {Record<string, (node: ParseNode) => void>}
5114
+ */
5115
+ export declare function deserializeIntoCallBudgetResponse(callBudgetResponse?: Partial<CallBudgetResponse> | undefined): Record<string, (node: ParseNode) => void>;
5091
5116
  /**
5092
5117
  * The deserialization information for the current model
5093
5118
  * @param CallEventTableRow The instance to deserialize into.
@@ -7056,6 +7081,10 @@ export interface EventTableRow extends AdditionalDataHolder, Parsable {
7056
7081
  * Unique Leadping identifier for this event timeline table row.
7057
7082
  */
7058
7083
  id?: string | null;
7084
+ /**
7085
+ * Whether the scheduled send is waiting for spending capacity to reset.
7086
+ */
7087
+ isBudgetDelayed?: boolean | null;
7059
7088
  /**
7060
7089
  * Whether this record belongs to demo data.
7061
7090
  */
@@ -12564,6 +12593,13 @@ export declare function serializeBlogSocialPost(writer: SerializationWriter, blo
12564
12593
  * @param writer Serialization writer to use to serialize this model
12565
12594
  */
12566
12595
  export declare function serializeBrowserCallApproval(writer: SerializationWriter, browserCallApproval?: Partial<BrowserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
12596
+ /**
12597
+ * Serializes information the current object
12598
+ * @param CallBudgetResponse The instance to serialize from.
12599
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12600
+ * @param writer Serialization writer to use to serialize this model
12601
+ */
12602
+ export declare function serializeCallBudgetResponse(writer: SerializationWriter, callBudgetResponse?: Partial<CallBudgetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
12567
12603
  /**
12568
12604
  * Serializes information the current object
12569
12605
  * @param CallEventTableRow The instance to serialize from.
@@ -14553,6 +14589,10 @@ export interface SmsEventTableRow extends AdditionalDataHolder, Parsable {
14553
14589
  * Indicates whether automation created or triggered this SMS event table row.
14554
14590
  */
14555
14591
  isAutomated?: boolean | null;
14592
+ /**
14593
+ * Whether the scheduled send is waiting for spending capacity to reset.
14594
+ */
14595
+ isBudgetDelayed?: boolean | null;
14556
14596
  /**
14557
14597
  * Whether this record belongs to demo data.
14558
14598
  */
@@ -14782,6 +14822,10 @@ export interface SmsResponse extends AdditionalDataHolder, Parsable {
14782
14822
  * Stable unique identifier of the resource.
14783
14823
  */
14784
14824
  id?: string | null;
14825
+ /**
14826
+ * Whether the scheduled send is waiting for spending capacity to reset.
14827
+ */
14828
+ isBudgetDelayed?: boolean | null;
14785
14829
  /**
14786
14830
  * Whether this record belongs to demo data.
14787
14831
  */
@@ -15215,6 +15259,14 @@ export interface SourceTableRow_user extends IdNamePair, Parsable {
15215
15259
  * Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
15216
15260
  */
15217
15261
  export interface SpendLimitsRequest extends AdditionalDataHolder, Parsable {
15262
+ /**
15263
+ * Optional calling budget in USD.
15264
+ */
15265
+ callingLimit?: number | null;
15266
+ /**
15267
+ * Calendar period for an organization channel budget, in UTC.
15268
+ */
15269
+ callingPeriod?: SpendPeriod | null;
15218
15270
  /**
15219
15271
  * Daily usage budget in USD for the UTC calendar day. Null removes the limit; zero stops new paid usage.
15220
15272
  */
@@ -15223,11 +15275,31 @@ export interface SpendLimitsRequest extends AdditionalDataHolder, Parsable {
15223
15275
  * Monthly usage budget in USD for the UTC calendar month. Null removes the limit; zero stops new paid usage.
15224
15276
  */
15225
15277
  monthlyLimit?: number | null;
15278
+ /**
15279
+ * Optional texting budget in USD.
15280
+ */
15281
+ textingLimit?: number | null;
15282
+ /**
15283
+ * Calendar period for an organization channel budget, in UTC.
15284
+ */
15285
+ textingPeriod?: SpendPeriod | null;
15226
15286
  }
15227
15287
  /**
15228
15288
  * UTC calendar usage budgets, settled spend, and pending usage reservations in USD.
15229
15289
  */
15230
15290
  export interface SpendLimitsResponse extends AdditionalDataHolder, Parsable {
15291
+ /**
15292
+ * Optional calling budget in USD.
15293
+ */
15294
+ callingLimit?: number | null;
15295
+ /**
15296
+ * Calendar period for an organization channel budget, in UTC.
15297
+ */
15298
+ callingPeriod?: SpendPeriod | null;
15299
+ /**
15300
+ * Settled calling charges this period plus pending calling reservations.
15301
+ */
15302
+ callingUsed?: number | null;
15231
15303
  /**
15232
15304
  * Daily usage budget in USD. Null means no daily limit; zero stops new paid usage.
15233
15305
  */
@@ -15256,7 +15328,20 @@ export interface SpendLimitsResponse extends AdditionalDataHolder, Parsable {
15256
15328
  * Pending usage reservations in USD.
15257
15329
  */
15258
15330
  reserved?: number | null;
15331
+ /**
15332
+ * Optional texting budget in USD.
15333
+ */
15334
+ textingLimit?: number | null;
15335
+ /**
15336
+ * Calendar period for an organization channel budget, in UTC.
15337
+ */
15338
+ textingPeriod?: SpendPeriod | null;
15339
+ /**
15340
+ * Settled texting charges this period plus pending texting reservations.
15341
+ */
15342
+ textingUsed?: number | null;
15259
15343
  }
15344
+ export type SpendPeriod = (typeof SpendPeriodObject)[keyof typeof SpendPeriodObject];
15260
15345
  /**
15261
15346
  * Describes a physical or mailing address using international locality, administrative-area, postal-code, and country fields.
15262
15347
  */
@@ -17905,6 +17990,14 @@ export declare const SmsResponse_trafficTypeObject: {
17905
17990
  readonly SystemInternal: "SystemInternal";
17906
17991
  readonly FailedAttempt: "FailedAttempt";
17907
17992
  };
17993
+ /**
17994
+ * Calendar period for an organization channel budget, in UTC.
17995
+ */
17996
+ export declare const SpendPeriodObject: {
17997
+ readonly Day: "day";
17998
+ readonly Week: "week";
17999
+ readonly Month: "month";
18000
+ };
17908
18001
  /**
17909
18002
  * Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.
17910
18003
  */