@hypelabs-llc/ts-sdk 0.2.4 → 0.2.5

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.
@@ -885,9 +885,9 @@ export interface CustomerAuthResponse extends AdditionalDataHolder, Parsable {
885
885
  */
886
886
  expiresAt?: Date | null;
887
887
  /**
888
- * Whether the customer is banned (suspended). False for an active account.
888
+ * Whether the customer's account is active. False when the account has been suspended.
889
889
  */
890
- isBanned?: boolean | null;
890
+ isActive?: boolean | null;
891
891
  /**
892
892
  * The customer's preferred locale (e.g. `en-US`), when set.
893
893
  */
@@ -928,7 +928,7 @@ export function deserializeIntoCustomerAuthResponse(customerAuthResponse = {}) {
928
928
  "avatar": n => { customerAuthResponse.avatar = n.getStringValue(); },
929
929
  "email": n => { customerAuthResponse.email = n.getStringValue(); },
930
930
  "expiresAt": n => { customerAuthResponse.expiresAt = n.getDateValue(); },
931
- "isBanned": n => { customerAuthResponse.isBanned = n.getBooleanValue(); },
931
+ "isActive": n => { customerAuthResponse.isActive = n.getBooleanValue(); },
932
932
  "locale": n => { customerAuthResponse.locale = n.getStringValue(); },
933
933
  "name": n => { customerAuthResponse.name = n.getStringValue(); },
934
934
  "userId": n => { customerAuthResponse.userId = n.getGuidValue(); },
@@ -2029,7 +2029,7 @@ export function serializeCustomerAuthResponse(writer, customerAuthResponse = {},
2029
2029
  writer.writeStringValue("avatar", customerAuthResponse.avatar);
2030
2030
  writer.writeStringValue("email", customerAuthResponse.email);
2031
2031
  writer.writeDateValue("expiresAt", customerAuthResponse.expiresAt);
2032
- writer.writeBooleanValue("isBanned", customerAuthResponse.isBanned);
2032
+ writer.writeBooleanValue("isActive", customerAuthResponse.isActive);
2033
2033
  writer.writeStringValue("locale", customerAuthResponse.locale);
2034
2034
  writer.writeStringValue("name", customerAuthResponse.name);
2035
2035
  writer.writeGuidValue("userId", customerAuthResponse.userId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypelabs-llc/ts-sdk",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "The TypeScript client for the HypeLabs Connect API, for internal services.",
5
5
  "license": "MIT",
6
6
  "repository": {