Skip to content

Commit

Permalink
fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
popestr committed Oct 1, 2024
1 parent 4da1b4b commit b5ed036
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ init(messageResponse: MessageResponse): Promise<ChatCoreZendeskSessionCredential

**Returns:**

Promise&lt;ChatCoreZendeskSessionCredentials&gt;
Promise&lt;[ChatCoreZendeskSessionCredentials](./chat-core-zendesk.chatcorezendesksessioncredentials.md)<!-- -->&gt;

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ reinitializeSession(credentials: ChatCoreZendeskSessionCredentials): Promise<voi

| Parameter | Type | Description |
| --- | --- | --- |
| credentials | ChatCoreZendeskSessionCredentials | The credentials to use to reinitialize the session. |
| credentials | [ChatCoreZendeskSessionCredentials](./chat-core-zendesk.chatcorezendesksessioncredentials.md) | The credentials to use to reinitialize the session. |

**Returns:**

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/chat-core-zendesk](./chat-core-zendesk.md) &gt; [ChatCoreZendeskSessionCredentials](./chat-core-zendesk.chatcorezendesksessioncredentials.md) &gt; [conversationId](./chat-core-zendesk.chatcorezendesksessioncredentials.conversationid.md)

## ChatCoreZendeskSessionCredentials.conversationId property

The conversation ID for the current chat session.

**Signature:**

```typescript
conversationId: string;
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@yext/chat-core-zendesk](./chat-core-zendesk.md) &gt; [ChatCoreZendeskSessionCredentials](./chat-core-zendesk.chatcorezendesksessioncredentials.md)

## ChatCoreZendeskSessionCredentials interface

Credentials for the Zendesk session created by the [ChatCoreZendesk](./chat-core-zendesk.chatcorezendesk.md)<!-- -->. Used for reinitializing the session across page reloads.

**Signature:**

```typescript
export interface ChatCoreZendeskSessionCredentials
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [conversationId](./chat-core-zendesk.chatcorezendesksessioncredentials.conversationid.md) | | string | The conversation ID for the current chat session. |

1 change: 1 addition & 0 deletions packages/chat-core-zendesk/docs/chat-core-zendesk.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
| --- | --- |
| [ChatCoreZendesk](./chat-core-zendesk.chatcorezendesk.md) | Provides methods for interacting with Chat's Zendesk integration. |
| [ChatCoreZendeskConfig](./chat-core-zendesk.chatcorezendeskconfig.md) | Configuration for this instance of the [ChatCoreZendesk](./chat-core-zendesk.chatcorezendesk.md)<!-- -->. |
| [ChatCoreZendeskSessionCredentials](./chat-core-zendesk.chatcorezendesksessioncredentials.md) | Credentials for the Zendesk session created by the [ChatCoreZendesk](./chat-core-zendesk.chatcorezendesk.md)<!-- -->. Used for reinitializing the session across page reloads. |

6 changes: 5 additions & 1 deletion packages/chat-core-zendesk/etc/chat-core-zendesk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { MessageResponse } from '@yext/chat-core';
export interface ChatCoreZendesk {
emit<T extends keyof EventMap>(eventName: T, data: EventMap[T]): void;
getSession(): string | undefined;
// Warning: (ae-forgotten-export) The symbol "ChatCoreZendeskSessionCredentials" needs to be exported by the entry point index.d.ts
init(messageResponse: MessageResponse): Promise<ChatCoreZendeskSessionCredentials>;
// Warning: (ae-forgotten-export) The symbol "EventMap" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "EventCallback" needs to be exported by the entry point index.d.ts
Expand All @@ -29,6 +28,11 @@ export interface ChatCoreZendeskConfig {
ticketTags?: string[];
}

// @public
export interface ChatCoreZendeskSessionCredentials {
conversationId: string;
}

// Warning: (ae-forgotten-export) The symbol "ChatCoreZendeskImpl" needs to be exported by the entry point index.d.ts
//
// @public
Expand Down
1 change: 1 addition & 0 deletions packages/chat-core-zendesk/src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { ChatCoreZendeskConfig } from "./ChatCoreZendeskConfig";
export { ChatCoreZendesk } from "./ChatCoreZendesk";
export { ChatCoreZendeskSessionCredentials } from "./ChatCoreZendeskSessionCredentials";

0 comments on commit b5ed036

Please sign in to comment.