@leadping/sdk 1.0.110 → 1.0.112
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.
- package/dist/invitations/decline/index.d.ts +31 -0
- package/dist/invitations/decline/index.d.ts.map +1 -0
- package/dist/invitations/decline/index.js +29 -0
- package/dist/invitations/decline/index.js.map +1 -0
- package/dist/invitations/index.d.ts +53 -0
- package/dist/invitations/index.d.ts.map +1 -0
- package/dist/invitations/index.js +44 -0
- package/dist/invitations/index.js.map +1 -0
- package/dist/invitations/item/accept/index.d.ts +30 -0
- package/dist/invitations/item/accept/index.d.ts.map +1 -0
- package/dist/invitations/item/accept/index.js +28 -0
- package/dist/invitations/item/accept/index.js.map +1 -0
- package/dist/invitations/item/decline/index.d.ts +30 -0
- package/dist/invitations/item/decline/index.d.ts.map +1 -0
- package/dist/invitations/item/decline/index.js +28 -0
- package/dist/invitations/item/decline/index.js.map +1 -0
- package/dist/invitations/item/index.d.ts +25 -0
- package/dist/invitations/item/index.d.ts.map +1 -0
- package/dist/invitations/item/index.js +25 -0
- package/dist/invitations/item/index.js.map +1 -0
- package/dist/leadpingOpenApiClient.d.ts +5 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +6 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +38 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1506,6 +1506,15 @@ export function createOrganizationInvitationResponseFromDiscriminatorValue(parse
|
|
|
1506
1506
|
export function createOrganizationInvitationTableRowFromDiscriminatorValue(parseNode) {
|
|
1507
1507
|
return deserializeIntoOrganizationInvitationTableRow;
|
|
1508
1508
|
}
|
|
1509
|
+
/**
|
|
1510
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1511
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1512
|
+
* @returns {OrganizationInvitationTokenRequest}
|
|
1513
|
+
*/
|
|
1514
|
+
// @ts-ignore
|
|
1515
|
+
export function createOrganizationInvitationTokenRequestFromDiscriminatorValue(parseNode) {
|
|
1516
|
+
return deserializeIntoOrganizationInvitationTokenRequest;
|
|
1517
|
+
}
|
|
1509
1518
|
/**
|
|
1510
1519
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1511
1520
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4260,6 +4269,7 @@ export function deserializeIntoEligibleOutgoingNumberResponse(eligibleOutgoingNu
|
|
|
4260
4269
|
"reasonLabel": n => { eligibleOutgoingNumberResponse.reasonLabel = n.getStringValue(); },
|
|
4261
4270
|
"selectionReason": n => { eligibleOutgoingNumberResponse.selectionReason = n.getEnumValue(OutgoingNumberSelectionReasonObject); },
|
|
4262
4271
|
"sourceId": n => { eligibleOutgoingNumberResponse.sourceId = n.getStringValue(); },
|
|
4272
|
+
"state": n => { eligibleOutgoingNumberResponse.state = n.getStringValue(); },
|
|
4263
4273
|
"teamId": n => { eligibleOutgoingNumberResponse.teamId = n.getStringValue(); },
|
|
4264
4274
|
};
|
|
4265
4275
|
}
|
|
@@ -5771,6 +5781,17 @@ export function deserializeIntoOrganizationInvitationTableRow(organizationInvita
|
|
|
5771
5781
|
"status": n => { organizationInvitationTableRow.status = n.getEnumValue(OrganizationInvitationStatusObject); },
|
|
5772
5782
|
};
|
|
5773
5783
|
}
|
|
5784
|
+
/**
|
|
5785
|
+
* The deserialization information for the current model
|
|
5786
|
+
* @param OrganizationInvitationTokenRequest The instance to deserialize into.
|
|
5787
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5788
|
+
*/
|
|
5789
|
+
// @ts-ignore
|
|
5790
|
+
export function deserializeIntoOrganizationInvitationTokenRequest(organizationInvitationTokenRequest = {}) {
|
|
5791
|
+
return {
|
|
5792
|
+
"token": n => { organizationInvitationTokenRequest.token = n.getStringValue(); },
|
|
5793
|
+
};
|
|
5794
|
+
}
|
|
5774
5795
|
/**
|
|
5775
5796
|
* The deserialization information for the current model
|
|
5776
5797
|
* @param OrganizationMemberRequest The instance to deserialize into.
|
|
@@ -9929,6 +9950,7 @@ export function serializeEligibleOutgoingNumberResponse(writer, eligibleOutgoing
|
|
|
9929
9950
|
writer.writeStringValue("reasonLabel", eligibleOutgoingNumberResponse.reasonLabel);
|
|
9930
9951
|
writer.writeEnumValue("selectionReason", eligibleOutgoingNumberResponse.selectionReason);
|
|
9931
9952
|
writer.writeStringValue("sourceId", eligibleOutgoingNumberResponse.sourceId);
|
|
9953
|
+
writer.writeStringValue("state", eligibleOutgoingNumberResponse.state);
|
|
9932
9954
|
writer.writeStringValue("teamId", eligibleOutgoingNumberResponse.teamId);
|
|
9933
9955
|
writer.writeAdditionalData(eligibleOutgoingNumberResponse.additionalData);
|
|
9934
9956
|
}
|
|
@@ -11674,6 +11696,20 @@ export function serializeOrganizationInvitationTableRow(writer, organizationInvi
|
|
|
11674
11696
|
writer.writeEnumValue("status", organizationInvitationTableRow.status);
|
|
11675
11697
|
writer.writeAdditionalData(organizationInvitationTableRow.additionalData);
|
|
11676
11698
|
}
|
|
11699
|
+
/**
|
|
11700
|
+
* Serializes information the current object
|
|
11701
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11702
|
+
* @param OrganizationInvitationTokenRequest The instance to serialize from.
|
|
11703
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11704
|
+
*/
|
|
11705
|
+
// @ts-ignore
|
|
11706
|
+
export function serializeOrganizationInvitationTokenRequest(writer, organizationInvitationTokenRequest = {}, isSerializingDerivedType = false) {
|
|
11707
|
+
if (!organizationInvitationTokenRequest || isSerializingDerivedType) {
|
|
11708
|
+
return;
|
|
11709
|
+
}
|
|
11710
|
+
writer.writeStringValue("token", organizationInvitationTokenRequest.token);
|
|
11711
|
+
writer.writeAdditionalData(organizationInvitationTokenRequest.additionalData);
|
|
11712
|
+
}
|
|
11677
11713
|
/**
|
|
11678
11714
|
* Serializes information the current object
|
|
11679
11715
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -15191,6 +15227,7 @@ export const OrganizationBillingState_pendingBillingPlanObject = {
|
|
|
15191
15227
|
* Describes the lifecycle of an organization membership invitation from issuance through acceptance, expiration, or revocation.
|
|
15192
15228
|
*/
|
|
15193
15229
|
export const OrganizationInvitationStatusObject = {
|
|
15230
|
+
Declined: "Declined",
|
|
15194
15231
|
AwaitingConfirmation: "Awaiting confirmation",
|
|
15195
15232
|
Pending: "Pending",
|
|
15196
15233
|
Accepted: "Accepted",
|
|
@@ -15203,6 +15240,7 @@ export const OrganizationInvitationStatusObject = {
|
|
|
15203
15240
|
* Identifies an organization member's access level and permission scope within Leadping.
|
|
15204
15241
|
*/
|
|
15205
15242
|
export const OrganizationMemberRoleObject = {
|
|
15243
|
+
AccountAdmin: "Account Admin",
|
|
15206
15244
|
Owner: "Owner",
|
|
15207
15245
|
Admin: "Admin",
|
|
15208
15246
|
Agent: "Agent",
|