@leadping/sdk 1.0.110 → 1.0.111

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.
@@ -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
@@ -5771,6 +5780,17 @@ export function deserializeIntoOrganizationInvitationTableRow(organizationInvita
5771
5780
  "status": n => { organizationInvitationTableRow.status = n.getEnumValue(OrganizationInvitationStatusObject); },
5772
5781
  };
5773
5782
  }
5783
+ /**
5784
+ * The deserialization information for the current model
5785
+ * @param OrganizationInvitationTokenRequest The instance to deserialize into.
5786
+ * @returns {Record<string, (node: ParseNode) => void>}
5787
+ */
5788
+ // @ts-ignore
5789
+ export function deserializeIntoOrganizationInvitationTokenRequest(organizationInvitationTokenRequest = {}) {
5790
+ return {
5791
+ "token": n => { organizationInvitationTokenRequest.token = n.getStringValue(); },
5792
+ };
5793
+ }
5774
5794
  /**
5775
5795
  * The deserialization information for the current model
5776
5796
  * @param OrganizationMemberRequest The instance to deserialize into.
@@ -11674,6 +11694,20 @@ export function serializeOrganizationInvitationTableRow(writer, organizationInvi
11674
11694
  writer.writeEnumValue("status", organizationInvitationTableRow.status);
11675
11695
  writer.writeAdditionalData(organizationInvitationTableRow.additionalData);
11676
11696
  }
11697
+ /**
11698
+ * Serializes information the current object
11699
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11700
+ * @param OrganizationInvitationTokenRequest The instance to serialize from.
11701
+ * @param writer Serialization writer to use to serialize this model
11702
+ */
11703
+ // @ts-ignore
11704
+ export function serializeOrganizationInvitationTokenRequest(writer, organizationInvitationTokenRequest = {}, isSerializingDerivedType = false) {
11705
+ if (!organizationInvitationTokenRequest || isSerializingDerivedType) {
11706
+ return;
11707
+ }
11708
+ writer.writeStringValue("token", organizationInvitationTokenRequest.token);
11709
+ writer.writeAdditionalData(organizationInvitationTokenRequest.additionalData);
11710
+ }
11677
11711
  /**
11678
11712
  * Serializes information the current object
11679
11713
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15191,6 +15225,7 @@ export const OrganizationBillingState_pendingBillingPlanObject = {
15191
15225
  * Describes the lifecycle of an organization membership invitation from issuance through acceptance, expiration, or revocation.
15192
15226
  */
15193
15227
  export const OrganizationInvitationStatusObject = {
15228
+ Declined: "Declined",
15194
15229
  AwaitingConfirmation: "Awaiting confirmation",
15195
15230
  Pending: "Pending",
15196
15231
  Accepted: "Accepted",
@@ -15203,6 +15238,7 @@ export const OrganizationInvitationStatusObject = {
15203
15238
  * Identifies an organization member's access level and permission scope within Leadping.
15204
15239
  */
15205
15240
  export const OrganizationMemberRoleObject = {
15241
+ AccountAdmin: "Account Admin",
15206
15242
  Owner: "Owner",
15207
15243
  Admin: "Admin",
15208
15244
  Agent: "Agent",