@leadping/sdk 1.0.70 → 1.0.71

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.
@@ -2377,6 +2377,12 @@ export declare function createOrganizationInvitationResponseFromDiscriminatorVal
2377
2377
  * @returns {OrganizationInvitationTableRow}
2378
2378
  */
2379
2379
  export declare function createOrganizationInvitationTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2380
+ /**
2381
+ * Creates a new instance of the appropriate class based on discriminator value
2382
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2383
+ * @returns {OrganizationMemberRequest_stateEligibility}
2384
+ */
2385
+ export declare function createOrganizationMemberRequest_stateEligibilityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2380
2386
  /**
2381
2387
  * Creates a new instance of the appropriate class based on discriminator value
2382
2388
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2389,6 +2395,12 @@ export declare function createOrganizationMemberRequestFromDiscriminatorValue(pa
2389
2395
  * @returns {OrganizationMemberResponse}
2390
2396
  */
2391
2397
  export declare function createOrganizationMemberResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2398
+ /**
2399
+ * Creates a new instance of the appropriate class based on discriminator value
2400
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2401
+ * @returns {OrganizationMemberStateEligibility}
2402
+ */
2403
+ export declare function createOrganizationMemberStateEligibilityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2392
2404
  /**
2393
2405
  * Creates a new instance of the appropriate class based on discriminator value
2394
2406
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4664,12 +4676,24 @@ export declare function deserializeIntoOrganizationInvitationTableRow(organizati
4664
4676
  * @returns {Record<string, (node: ParseNode) => void>}
4665
4677
  */
4666
4678
  export declare function deserializeIntoOrganizationMemberRequest(organizationMemberRequest?: Partial<OrganizationMemberRequest> | undefined): Record<string, (node: ParseNode) => void>;
4679
+ /**
4680
+ * The deserialization information for the current model
4681
+ * @param OrganizationMemberRequest_stateEligibility The instance to deserialize into.
4682
+ * @returns {Record<string, (node: ParseNode) => void>}
4683
+ */
4684
+ export declare function deserializeIntoOrganizationMemberRequest_stateEligibility(organizationMemberRequest_stateEligibility?: Partial<OrganizationMemberRequest_stateEligibility> | undefined): Record<string, (node: ParseNode) => void>;
4667
4685
  /**
4668
4686
  * The deserialization information for the current model
4669
4687
  * @param OrganizationMemberResponse The instance to deserialize into.
4670
4688
  * @returns {Record<string, (node: ParseNode) => void>}
4671
4689
  */
4672
4690
  export declare function deserializeIntoOrganizationMemberResponse(organizationMemberResponse?: Partial<OrganizationMemberResponse> | undefined): Record<string, (node: ParseNode) => void>;
4691
+ /**
4692
+ * The deserialization information for the current model
4693
+ * @param OrganizationMemberStateEligibility The instance to deserialize into.
4694
+ * @returns {Record<string, (node: ParseNode) => void>}
4695
+ */
4696
+ export declare function deserializeIntoOrganizationMemberStateEligibility(organizationMemberStateEligibility?: Partial<OrganizationMemberStateEligibility> | undefined): Record<string, (node: ParseNode) => void>;
4673
4697
  /**
4674
4698
  * The deserialization information for the current model
4675
4699
  * @param OrganizationMemberTableRow The instance to deserialize into.
@@ -6091,6 +6115,10 @@ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
6091
6115
  * Lead source ID used for call attribution and sender selection.
6092
6116
  */
6093
6117
  sourceId?: string | null;
6118
+ /**
6119
+ * Connect the authenticated user's browser phone to the server-controlled destination call.
6120
+ */
6121
+ useBrowserPhone?: boolean | null;
6094
6122
  /**
6095
6123
  * Indicates whether a user manually overrode Leadping's automatic number selection for this phone call initiation request.
6096
6124
  */
@@ -8038,11 +8066,20 @@ export interface OrganizationMemberRequest extends AdditionalDataHolder, Parsabl
8038
8066
  * Identifies an organization member's access level and permission scope within Leadping.
8039
8067
  */
8040
8068
  role?: OrganizationMemberRole | null;
8069
+ /**
8070
+ * Defines the states an organization member can work; this is not verification of professional licensing.
8071
+ */
8072
+ stateEligibility?: OrganizationMemberRequest_stateEligibility | null;
8041
8073
  /**
8042
8074
  * User ID to add, update, or remove from the organization.
8043
8075
  */
8044
8076
  userId?: string | null;
8045
8077
  }
8078
+ /**
8079
+ * Defines the states an organization member can work; this is not verification of professional licensing.
8080
+ */
8081
+ export interface OrganizationMemberRequest_stateEligibility extends OrganizationMemberStateEligibility, Parsable {
8082
+ }
8046
8083
  /**
8047
8084
  * Describes organization user data returned by Leadping.
8048
8085
  */
@@ -8099,6 +8136,10 @@ export interface OrganizationMemberResponse extends AdditionalDataHolder, Parsab
8099
8136
  * Identifies an organization member's access level and permission scope within Leadping.
8100
8137
  */
8101
8138
  role?: OrganizationMemberRole | null;
8139
+ /**
8140
+ * Defines the states an organization member can work; this is not verification of professional licensing.
8141
+ */
8142
+ stateEligibility?: OrganizationMemberStateEligibility | null;
8102
8143
  /**
8103
8144
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
8104
8145
  */
@@ -8109,6 +8150,19 @@ export interface OrganizationMemberResponse extends AdditionalDataHolder, Parsab
8109
8150
  userEmail?: string | null;
8110
8151
  }
8111
8152
  export type OrganizationMemberRole = (typeof OrganizationMemberRoleObject)[keyof typeof OrganizationMemberRoleObject];
8153
+ /**
8154
+ * Defines the states an organization member can work; this is not verification of professional licensing.
8155
+ */
8156
+ export interface OrganizationMemberStateEligibility extends AdditionalDataHolder, Parsable {
8157
+ /**
8158
+ * Allowed state abbreviations when all states is false. An empty list permits no states.
8159
+ */
8160
+ allowedStates?: string[] | null;
8161
+ /**
8162
+ * Whether all states are eligible, subject to organization and source restrictions.
8163
+ */
8164
+ allStates?: boolean | null;
8165
+ }
8112
8166
  /**
8113
8167
  * Describes organization user data used in Leadping API requests and responses.
8114
8168
  */
@@ -8133,6 +8187,10 @@ export interface OrganizationMemberTableRow extends AdditionalDataHolder, Parsab
8133
8187
  * Identifies an organization member's access level and permission scope within Leadping.
8134
8188
  */
8135
8189
  role?: OrganizationMemberRole | null;
8190
+ /**
8191
+ * Defines the states an organization member can work; this is not verification of professional licensing.
8192
+ */
8193
+ stateEligibility?: OrganizationMemberStateEligibility | null;
8136
8194
  /**
8137
8195
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
8138
8196
  */
@@ -8166,6 +8224,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
8166
8224
  * Primary organization name.
8167
8225
  */
8168
8226
  name?: string | null;
8227
+ /**
8228
+ * Main service or offer described during organization setup.
8229
+ */
8230
+ offer?: string | null;
8169
8231
  /**
8170
8232
  * Phone details for the lead, user, or organization represented by this organization profile request.
8171
8233
  */
@@ -8174,6 +8236,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
8174
8236
  * Alternate organization name or DBA shown in Leadping.
8175
8237
  */
8176
8238
  secondaryName?: string | null;
8239
+ /**
8240
+ * Intended audience described during organization setup.
8241
+ */
8242
+ targetAudience?: string | null;
8177
8243
  /**
8178
8244
  * Industry vertical used for lead routing, compliance review, and reporting.
8179
8245
  */
@@ -11158,6 +11224,13 @@ export declare function serializeOrganizationInvitationTableRow(writer: Serializ
11158
11224
  * @param writer Serialization writer to use to serialize this model
11159
11225
  */
11160
11226
  export declare function serializeOrganizationMemberRequest(writer: SerializationWriter, organizationMemberRequest?: Partial<OrganizationMemberRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
11227
+ /**
11228
+ * Serializes information the current object
11229
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11230
+ * @param OrganizationMemberRequest_stateEligibility The instance to serialize from.
11231
+ * @param writer Serialization writer to use to serialize this model
11232
+ */
11233
+ export declare function serializeOrganizationMemberRequest_stateEligibility(writer: SerializationWriter, organizationMemberRequest_stateEligibility?: Partial<OrganizationMemberRequest_stateEligibility> | undefined | null, isSerializingDerivedType?: boolean): void;
11161
11234
  /**
11162
11235
  * Serializes information the current object
11163
11236
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11165,6 +11238,13 @@ export declare function serializeOrganizationMemberRequest(writer: Serialization
11165
11238
  * @param writer Serialization writer to use to serialize this model
11166
11239
  */
11167
11240
  export declare function serializeOrganizationMemberResponse(writer: SerializationWriter, organizationMemberResponse?: Partial<OrganizationMemberResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11241
+ /**
11242
+ * Serializes information the current object
11243
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11244
+ * @param OrganizationMemberStateEligibility The instance to serialize from.
11245
+ * @param writer Serialization writer to use to serialize this model
11246
+ */
11247
+ export declare function serializeOrganizationMemberStateEligibility(writer: SerializationWriter, organizationMemberStateEligibility?: Partial<OrganizationMemberStateEligibility> | undefined | null, isSerializingDerivedType?: boolean): void;
11168
11248
  /**
11169
11249
  * Serializes information the current object
11170
11250
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.