Socket
Socket
Sign inDemoInstall

@giosg/types

Package Overview
Dependencies
Maintainers
8
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/types - npm Package Compare versions

Comparing version 2.0.2 to 3.0.0

8

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

### Breaking changes:
## 3.0.0 (Not published yet)
- Added `sla` field to `StaffCustomership` and `StaffCustomershipPayload`.
- Added `is_auto_tagging_enabled` boolean field to `OrganizationRoomSettings` and `OrganizationRoomSettingsPayload` interfaces.

@@ -10,2 +15,5 @@

- Merged `RoomVisitorVariable` and `ChatVisitorVariable` to `VisitorVariable`
- Merge `RoomVisitorVariablePayload` and `ChatVisitorVariablePayload` to `VisitorVariablePayload`
## 2.0.1

@@ -12,0 +20,0 @@

4

lib/customership.d.ts

@@ -50,2 +50,4 @@ import { NestedOrganization } from "./customer";

updated_at: string;
/** The service-level agreement (SLA) level */
sla: number;
}

@@ -75,3 +77,5 @@ export interface StaffCustomershipPayload {

invoicing_notes?: string;
/** The service-level agreement (SLA) level */
sla?: number;
}
//# sourceMappingURL=customership.d.ts.map

2

lib/index.d.ts

@@ -30,5 +30,5 @@ export { ActionTypes, ActionType, ActionTypeString, ACTION_TYPES, ActionShowAutosuggestSettings, ActionSendChatMessageSettings, ActionSendInteractionToChatSettings, ActionSettingsType, ACTION_STYLES, ActionStyle, } from "./actions";

export { UserClient, UserClientPayload } from "./userclients";
export { ChatVisitorVariable, ChatVisitorVariablePayload, RoomVisitorVariable, RoomVisitorVariablePayload, } from "./variables";
export { VisitorVariable, VisitorVariablePayload } from "./variables";
export { BlackList, BlackListPayload, CartLockedResponse, RoomVisitorPageView, RoomVisitor, } from "./visitor";
export { NestedWebhookChannelSubscription, NestedWebhookChannelSubscriptionPayload, WebhookRequestLogEntry, Webhook, WebhookPayload, } from "./webhooks";
//# sourceMappingURL=index.d.ts.map
import { VisitorCid, RoomUid, VisitorSessionCid, ChatUid, OrganizationUid } from "./types";
export interface ChatVisitorVariable {
export interface VisitorVariable {
/** Not mentioned in developers.giosg.com */
chat_id: ChatUid;
chat_id?: ChatUid;
/** ID of the visitor */

@@ -14,5 +14,6 @@ visitor_id: VisitorCid;

* stored on the server. In this case, you need to use encrypted_value and decrypt the value yourself. */
value: string | null;
value: string | string[] | null;
/** Identifier for the session on which the variable was saved for the visitor. */
session_id: VisitorSessionCid | null;
organization_id?: OrganizationUid | null;
created_at: string;

@@ -25,9 +26,9 @@ updated_at: string;

/** The value encrypted with the AES key if the encryption was used for this variable. This attribute is only present if is_encrypted is true */
encrypted_value?: string;
encrypted_value?: string | null;
/** The encrypted symmetric key (AES) with which the variable value is encrypted. This attribute is only present if is_encrypted is true. */
encrypted_symmetric_key?: string;
encrypted_symmetric_key?: string | null;
}
/** TODO: Add jsdocs and check nullability of fields */
export interface ChatVisitorVariablePayload {
chat_id: ChatUid;
export interface VisitorVariablePayload {
chat_id?: ChatUid;
visitor_id: VisitorCid;

@@ -42,26 +43,2 @@ room_id: RoomUid;

}
/** TODO: Add jsdocs and check nullability of fields */
export interface RoomVisitorVariable {
visitor_id: VisitorCid;
room_id: RoomUid;
key: string;
value: string;
session_id: VisitorSessionCid | null;
organization_id: OrganizationUid | null;
created_at: string;
updated_at: string;
is_signed: boolean;
is_encrypted: boolean;
encrypted_value: string | null;
encrypted_symmetric_key: string | null;
}
/** TODO: Add jsdocs and check nullability of fields */
export interface RoomVisitorVariablePayload {
visitor_id: VisitorCid;
room_id: RoomUid;
key: string;
value: string;
session_id?: VisitorSessionCid | null;
organization_id?: OrganizationUid | null;
}
//# sourceMappingURL=variables.d.ts.map
{
"name": "@giosg/types",
"version": "2.0.2",
"version": "3.0.0",
"description": "TypeScript interfaces for GiosgAPI",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc