Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Feb 22, 2019
1 parent fd01ecd commit 3565012
Show file tree
Hide file tree
Showing 726 changed files with 65,157 additions and 9,839 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/2.0.0/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/3.0.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -46,7 +46,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/2.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/3.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
4 changes: 2 additions & 2 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/2.0.0/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/3.0.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -46,7 +46,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/2.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/3.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
8 changes: 4 additions & 4 deletions build/dist/node/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var superagent = _interopDefault(require('superagent'));

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 2.0.0
* @version 3.0.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -535,7 +535,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '2.0.0' });
//request.set({ 'purecloud-sdk': '3.0.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -662,7 +662,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 2.0.0
* @version 3.0.0
*/

/**
Expand Down Expand Up @@ -1040,7 +1040,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 2.0.0
* @version 3.0.0
*/
class platformClient {
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions build/dist/web-amd/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ define(['superagent'], function (superagent) { 'use strict';

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 2.0.0
* @version 3.0.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -533,7 +533,7 @@ define(['superagent'], function (superagent) { 'use strict';

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '2.0.0' });
//request.set({ 'purecloud-sdk': '3.0.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -660,7 +660,7 @@ define(['superagent'], function (superagent) { 'use strict';
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 2.0.0
* @version 3.0.0
*/

/**
Expand Down Expand Up @@ -1038,7 +1038,7 @@ define(['superagent'], function (superagent) { 'use strict';
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 2.0.0
* @version 3.0.0
*/
class platformClient {
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions build/dist/web-cjs/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ function isSlowBuffer (obj) {

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 2.0.0
* @version 3.0.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -2500,7 +2500,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '2.0.0' });
//request.set({ 'purecloud-sdk': '3.0.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -2627,7 +2627,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 2.0.0
* @version 3.0.0
*/

/**
Expand Down Expand Up @@ -3005,7 +3005,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 2.0.0
* @version 3.0.0
*/
class platformClient {
constructor() {
Expand Down
8 changes: 4 additions & 4 deletions build/dist/web-cjs/purecloud-guest-chat-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4008,7 +4008,7 @@ function isSlowBuffer (obj) {

/**
* @module purecloud-guest-chat-client/ApiClient
* @version 2.0.0
* @version 3.0.0
*/
class ApiClient {
/**
Expand Down Expand Up @@ -4537,7 +4537,7 @@ class ApiClient {

// set header parameters
request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
//request.set({ 'purecloud-sdk': '2.0.0' });
//request.set({ 'purecloud-sdk': '3.0.0' });

// set request timeout
request.timeout(this.timeout);
Expand Down Expand Up @@ -4664,7 +4664,7 @@ class WebChatApi {
/**
* WebChat service.
* @module purecloud-guest-chat-client/api/WebChatApi
* @version 2.0.0
* @version 3.0.0
*/

/**
Expand Down Expand Up @@ -5042,7 +5042,7 @@ class WebChatApi {
* </pre>
* </p>
* @module purecloud-guest-chat-client/index
* @version 2.0.0
* @version 3.0.0
*/
class platformClient {
constructor() {
Expand Down
20 changes: 19 additions & 1 deletion build/docs/WebChatApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ CreateWebChatMessageRequest <a href="#" onclick="return copyCreateWebChatMessage
```{"language":"json", "maxHeight": "250px"}
{
"body": String,
"bodyType": String,
}
```

Expand Down Expand Up @@ -706,10 +707,27 @@ CreateWebChatConversationRequest <a href="#" onclick="return copyCreateWebChatCo
},
"memberInfo": {
"displayName": String,
"profileImageUrl": String,
"avatarImageUrl": String,
"customFields": {String: String},
},
"memberAuthToken": String,
"journeyContext": {
"customer": {
"id": String,
"type": String,
},
"customerSession": {
"id": String,
"type": String,
},
"triggeringAction": {
"id": String,
"actionMap": {
"id": String,
"version": Number,
},
},
},
}
```

Expand Down
4 changes: 2 additions & 2 deletions build/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For direct use in a browser script:

```{"language":"html"}
<!-- Include the CJS SDK -->
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/2.0.0/purecloud-guest-chat-client.min.js"></script>
<script src="https://sdk-cdn.mypurecloud.com/javascript-guest/3.0.0/purecloud-guest-chat-client.min.js"></script>
<script type="text/javascript">
// Obtain a reference to the platformClient object
Expand All @@ -46,7 +46,7 @@ For direct use in a browser script:
<script type="text/javascript">
// Obtain a reference to the platformClient object
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/2.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
requirejs(['https://sdk-cdn.mypurecloud.com/javascript-guest/amd/3.0.0/purecloud-guest-chat-client.min.js'], (platformClient) => {
console.log(platformClient);
});
</script>
Expand Down
35 changes: 32 additions & 3 deletions build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ declare namespace Models {
"routingTarget": Models.WebChatRoutingTarget;
"memberInfo": Models.GuestMemberInfo;
"memberAuthToken"?: string;
"journeyContext"?: Models.JourneyContext;
}

export interface CreateWebChatConversationResponse {
Expand All @@ -80,6 +81,7 @@ declare namespace Models {

export interface CreateWebChatMessageRequest {
"body": string;
"bodyType"?: string;
}

export interface Detail {
Expand All @@ -104,10 +106,36 @@ declare namespace Models {

export interface GuestMemberInfo {
"displayName": string;
"profileImageUrl"?: string;
"avatarImageUrl"?: string;
"customFields"?: { [key: string]: string; };
}

export interface JourneyAction {
"id": string;
"actionMap"?: Models.JourneyActionMap;
}

export interface JourneyActionMap {
"id": string;
"version": number;
}

export interface JourneyContext {
"customer"?: Models.JourneyCustomer;
"customerSession"?: Models.JourneyCustomerSession;
"triggeringAction"?: Models.JourneyAction;
}

export interface JourneyCustomer {
"id": string;
"type": string;
}

export interface JourneyCustomerSession {
"id": string;
"type": string;
}

export interface WebChatConversation {
"id"?: string;
"name"?: string;
Expand All @@ -131,7 +159,7 @@ declare namespace Models {
export interface WebChatMemberInfo {
"id"?: string;
"displayName"?: string;
"profileImageUrl"?: string;
"avatarImageUrl"?: string;
"role": string;
"joinDate"?: string;
"leaveDate"?: string;
Expand All @@ -147,8 +175,8 @@ declare namespace Models {
"total"?: number;
"firstUri"?: string;
"selfUri"?: string;
"previousUri"?: string;
"nextUri"?: string;
"previousUri"?: string;
"lastUri"?: string;
"pageCount"?: number;
}
Expand All @@ -159,6 +187,7 @@ declare namespace Models {
"conversation": Models.WebChatConversation;
"sender": Models.WebChatMemberInfo;
"body": string;
"bodyType": string;
"timestamp": string;
"selfUri"?: string;
}
Expand Down
1 change: 1 addition & 0 deletions build/node_modules/.bin/atob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/node_modules/arr-diff/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3565012

Please sign in to comment.