@hypelabs-llc/ts-sdk 0.2.3 → 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
  */
@@ -1854,6 +1854,14 @@ export interface OrganizationStore extends AdditionalDataHolder, Parsable {
1854
1854
  * Crisp workspace id for the store's live chat.
1855
1855
  */
1856
1856
  crispWorkspaceId?: string | null;
1857
+ /**
1858
+ * Custom CSS injected into the store's pages.
1859
+ */
1860
+ customCss?: string | null;
1861
+ /**
1862
+ * Custom JavaScript injected into the store's pages.
1863
+ */
1864
+ customJs?: string | null;
1857
1865
  /**
1858
1866
  * Store documentation shown to customers, as markdown.
1859
1867
  */
@@ -3042,6 +3050,9 @@ export declare const BillingCyclesObject: {
3042
3050
  readonly Yearly: "Yearly";
3043
3051
  readonly OpenapiJsonNullSentinelValue2BF936000FE44250987AE5DDB203E464: "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464";
3044
3052
  };
3053
+ /**
3054
+ * Which capability this option is (e.g. IPv6, IP scoring).
3055
+ */
3045
3056
  export declare const CapabilityTypesObject: {
3046
3057
  readonly IpScore: "IpScore";
3047
3058
  readonly Ipv6: "Ipv6";
@@ -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(); },
@@ -1219,6 +1219,8 @@ export function deserializeIntoOrganizationBranding(organizationBranding = {}) {
1219
1219
  export function deserializeIntoOrganizationStore(organizationStore = {}) {
1220
1220
  return {
1221
1221
  "crispWorkspaceId": n => { organizationStore.crispWorkspaceId = n.getStringValue(); },
1222
+ "customCss": n => { organizationStore.customCss = n.getStringValue(); },
1223
+ "customJs": n => { organizationStore.customJs = n.getStringValue(); },
1222
1224
  "documentationMd": n => { organizationStore.documentationMd = n.getStringValue(); },
1223
1225
  "domain": n => { organizationStore.domain = n.getStringValue(); },
1224
1226
  "name": n => { organizationStore.name = n.getStringValue(); },
@@ -2027,7 +2029,7 @@ export function serializeCustomerAuthResponse(writer, customerAuthResponse = {},
2027
2029
  writer.writeStringValue("avatar", customerAuthResponse.avatar);
2028
2030
  writer.writeStringValue("email", customerAuthResponse.email);
2029
2031
  writer.writeDateValue("expiresAt", customerAuthResponse.expiresAt);
2030
- writer.writeBooleanValue("isBanned", customerAuthResponse.isBanned);
2032
+ writer.writeBooleanValue("isActive", customerAuthResponse.isActive);
2031
2033
  writer.writeStringValue("locale", customerAuthResponse.locale);
2032
2034
  writer.writeStringValue("name", customerAuthResponse.name);
2033
2035
  writer.writeGuidValue("userId", customerAuthResponse.userId);
@@ -2376,6 +2378,8 @@ export function serializeOrganizationStore(writer, organizationStore = {}, isSer
2376
2378
  return;
2377
2379
  }
2378
2380
  writer.writeStringValue("crispWorkspaceId", organizationStore.crispWorkspaceId);
2381
+ writer.writeStringValue("customCss", organizationStore.customCss);
2382
+ writer.writeStringValue("customJs", organizationStore.customJs);
2379
2383
  writer.writeStringValue("documentationMd", organizationStore.documentationMd);
2380
2384
  writer.writeStringValue("domain", organizationStore.domain);
2381
2385
  writer.writeStringValue("name", organizationStore.name);
@@ -2976,6 +2980,9 @@ export const BillingCyclesObject = {
2976
2980
  Yearly: "Yearly",
2977
2981
  OpenapiJsonNullSentinelValue2BF936000FE44250987AE5DDB203E464: "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464",
2978
2982
  };
2983
+ /**
2984
+ * Which capability this option is (e.g. IPv6, IP scoring).
2985
+ */
2979
2986
  export const CapabilityTypesObject = {
2980
2987
  IpScore: "IpScore",
2981
2988
  Ipv6: "Ipv6",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypelabs-llc/ts-sdk",
3
- "version": "0.2.3",
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": {