Skip to content

Commit 2449e91

Browse files
author
InIn Devops
committed
21.0.0
1 parent 193cb05 commit 2449e91

56 files changed

Lines changed: 3149 additions & 278 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ npm install purecloud-platform-client-v2
2525
Reference from the CDN:
2626

2727
~~~ html
28-
<!-- Replace `20.1.0` with the version you want to use. -->
29-
<script src="https://sdk-cdn.mypurecloud.com/javascript/20.1.0/purecloud-platform-client-v2.min.js"></script>
28+
<!-- Replace `21.0.0` with the version you want to use. -->
29+
<script src="https://sdk-cdn.mypurecloud.com/javascript/21.0.0/purecloud-platform-client-v2.min.js"></script>
3030
~~~
3131

3232
View the documentation on the [PureCloud Developer Center](https://developer.mypurecloud.com/api/rest/client-libraries/javascript/).
@@ -41,7 +41,7 @@ Reference the SDK in your HTML document. For convenience, all modules are bundle
4141

4242
~~~ html
4343
<!-- Include the full library -->
44-
<script src="https://sdk-cdn.mypurecloud.com/javascript/20.1.0/purecloud-platform-client-v2.min.js"></script>
44+
<script src="https://sdk-cdn.mypurecloud.com/javascript/21.0.0/purecloud-platform-client-v2.min.js"></script>
4545
~~~
4646

4747

build/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ npm install purecloud-platform-client-v2
2525
Reference from the CDN:
2626

2727
~~~ html
28-
<!-- Replace `20.1.0` with the version you want to use. -->
29-
<script src="https://sdk-cdn.mypurecloud.com/javascript/20.1.0/purecloud-platform-client-v2.min.js"></script>
28+
<!-- Replace `21.0.0` with the version you want to use. -->
29+
<script src="https://sdk-cdn.mypurecloud.com/javascript/21.0.0/purecloud-platform-client-v2.min.js"></script>
3030
~~~
3131

3232
View the documentation on the [PureCloud Developer Center](https://developer.mypurecloud.com/api/rest/client-libraries/javascript/).
@@ -41,7 +41,7 @@ Reference the SDK in your HTML document. For convenience, all modules are bundle
4141

4242
~~~ html
4343
<!-- Include the full library -->
44-
<script src="https://sdk-cdn.mypurecloud.com/javascript/20.1.0/purecloud-platform-client-v2.min.js"></script>
44+
<script src="https://sdk-cdn.mypurecloud.com/javascript/21.0.0/purecloud-platform-client-v2.min.js"></script>
4545
~~~
4646

4747

build/docs/ArchitectApi.md

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ All URIs are relative to *https://api.mypurecloud.com*
5050
[**getFlowVersionConfiguration**](ArchitectApi.html#getFlowVersionConfiguration) | **GET** /api/v2/flows/{flowId}/versions/{versionId}/configuration | Create flow version configuration
5151
[**getFlowVersions**](ArchitectApi.html#getFlowVersions) | **GET** /api/v2/flows/{flowId}/versions | Get flow version list
5252
[**getFlows**](ArchitectApi.html#getFlows) | **GET** /api/v2/flows | Get a pageable list of flows, filtered by query parameters
53-
[**getFlowsDatatable**](ArchitectApi.html#getFlowsDatatable) | **GET** /api/v2/flows/datatables/{datatableId} | Returns a specific datatable by datatableId
53+
[**getFlowsDatatable**](ArchitectApi.html#getFlowsDatatable) | **GET** /api/v2/flows/datatables/{datatableId} | Returns a specific datatable by id
5454
[**getFlowsDatatableRow**](ArchitectApi.html#getFlowsDatatableRow) | **GET** /api/v2/flows/datatables/{datatableId}/rows/{rowId} | Returns a specific row for the datatable
5555
[**getFlowsDatatableRows**](ArchitectApi.html#getFlowsDatatableRows) | **GET** /api/v2/flows/datatables/{datatableId}/rows | Returns the rows for the datatable
5656
[**getFlowsDatatables**](ArchitectApi.html#getFlowsDatatables) | **GET** /api/v2/flows/datatables | Retrieve a list of datatables for the org
@@ -80,7 +80,7 @@ All URIs are relative to *https://api.mypurecloud.com*
8080
[**putArchitectSchedulegroup**](ArchitectApi.html#putArchitectSchedulegroup) | **PUT** /api/v2/architect/schedulegroups/{scheduleGroupId} | Updates a schedule group by ID
8181
[**putArchitectSystempromptResource**](ArchitectApi.html#putArchitectSystempromptResource) | **PUT** /api/v2/architect/systemprompts/{promptId}/resources/{languageCode} | Updates a system prompt resource override.
8282
[**putFlow**](ArchitectApi.html#putFlow) | **PUT** /api/v2/flows/{flowId} | Update flow
83-
[**putFlowsDatatable**](ArchitectApi.html#putFlowsDatatable) | **PUT** /api/v2/flows/datatables/{datatableId} | Updates a specific datatable by datatableId
83+
[**putFlowsDatatable**](ArchitectApi.html#putFlowsDatatable) | **PUT** /api/v2/flows/datatables/{datatableId} | Updates a specific datatable by id
8484
[**putFlowsDatatableRow**](ArchitectApi.html#putFlowsDatatableRow) | **PUT** /api/v2/flows/datatables/{datatableId}/rows/{rowId} | Update a row entry
8585
{: class="table table-striped"}
8686

@@ -534,7 +534,7 @@ DELETE /api/v2/flows/datatables/{datatableId}
534534

535535
deletes a specific datatable by id
536536

537-
deletes an entire datatable (including schema and data) with a given datatableId)
537+
deletes an entire datatable (including schema and data) with a given id)
538538

539539
### Example
540540

@@ -2415,11 +2415,11 @@ apiInstance.getFlows(type, opts)
24152415

24162416
<a name="getFlowsDatatable"></a>
24172417

2418-
# JsonSchemaDocument getFlowsDatatable(datatableId, opts)
2418+
# DataTable getFlowsDatatable(datatableId, opts)
24192419

24202420
GET /api/v2/flows/datatables/{datatableId}
24212421

2422-
Returns a specific datatable by datatableId
2422+
Returns a specific datatable by id
24232423

24242424
Given a datableid returns the schema associated with it.
24252425

@@ -2439,7 +2439,7 @@ var apiInstance = new platformClient.ArchitectApi();
24392439
var datatableId = "datatableId_example"; // String | id of datatable
24402440

24412441
var opts = {
2442-
'showbrief': true // Boolean | If true returns a shortened version of the schema including the name, id and description]
2442+
'expand': "expand_example" // String | Expand instructions for the result
24432443
};
24442444
apiInstance.getFlowsDatatable(datatableId, opts)
24452445
.then(function(data) {
@@ -2458,12 +2458,12 @@ apiInstance.getFlowsDatatable(datatableId, opts)
24582458
| Name | Type | Description | Notes |
24592459
| ------------- | ------------- | ------------- | ------------- |
24602460
**datatableId** | **String** | id of datatable | |
2461-
**showbrief** | **Boolean** | If true returns a shortened version of the schema including the name, id and description] | [optional] [default to true] |
2461+
**expand** | **String** | Expand instructions for the result | [optional] <br />**Values**: schema |
24622462
{: class="table table-striped"}
24632463

24642464
### Return type
24652465

2466-
**JsonSchemaDocument**
2466+
**DataTable**
24672467

24682468
<a name="getFlowsDatatableRow"></a>
24692469

@@ -2522,7 +2522,7 @@ apiInstance.getFlowsDatatableRow(datatableId, rowId, opts)
25222522

25232523
<a name="getFlowsDatatableRows"></a>
25242524

2525-
# **[{&#39;String&#39;: Object}]** getFlowsDatatableRows(datatableId, opts)
2525+
# DataTableRowEntityListing getFlowsDatatableRows(datatableId, opts)
25262526

25272527
GET /api/v2/flows/datatables/{datatableId}/rows
25282528

@@ -2546,6 +2546,8 @@ var apiInstance = new platformClient.ArchitectApi();
25462546
var datatableId = "datatableId_example"; // String | id of datatable
25472547

25482548
var opts = {
2549+
'pageSize': 25, // Number | Page size
2550+
'pageNumber': 1, // Number | Page number
25492551
'showbrief': true // Boolean | If true returns just the key value of the row
25502552
};
25512553
apiInstance.getFlowsDatatableRows(datatableId, opts)
@@ -2565,16 +2567,18 @@ apiInstance.getFlowsDatatableRows(datatableId, opts)
25652567
| Name | Type | Description | Notes |
25662568
| ------------- | ------------- | ------------- | ------------- |
25672569
**datatableId** | **String** | id of datatable | |
2570+
**pageSize** | **Number** | Page size | [optional] [default to 25] |
2571+
**pageNumber** | **Number** | Page number | [optional] [default to 1] |
25682572
**showbrief** | **Boolean** | If true returns just the key value of the row | [optional] [default to true] |
25692573
{: class="table table-striped"}
25702574

25712575
### Return type
25722576

2573-
**[{&#39;String&#39;: Object}]**
2577+
**DataTableRowEntityListing**
25742578

25752579
<a name="getFlowsDatatables"></a>
25762580

2577-
# [JsonSchemaDocument] getFlowsDatatables(opts)
2581+
# DataTablesDomainEntityListing getFlowsDatatables(opts)
25782582

25792583
GET /api/v2/flows/datatables
25802584

@@ -2596,7 +2600,11 @@ platformClient.ApiClient.instance.authentications['PureCloud Auth'].accessToken
25962600
var apiInstance = new platformClient.ArchitectApi();
25972601

25982602
var opts = {
2599-
'showbrief': true // Boolean | If true, returns a shortened version of the schema including the name, id and description
2603+
'expand': "expand_example", // String | Expand instructions for the result
2604+
'pageSize': 25, // Number | Page size
2605+
'pageNumber': 1, // Number | Page number
2606+
'sortBy': "id", // String | Sort by
2607+
'sortOrder': "ascending" // String | Sort order
26002608
};
26012609
apiInstance.getFlowsDatatables(opts)
26022610
.then(function(data) {
@@ -2614,12 +2622,16 @@ apiInstance.getFlowsDatatables(opts)
26142622

26152623
| Name | Type | Description | Notes |
26162624
| ------------- | ------------- | ------------- | ------------- |
2617-
**showbrief** | **Boolean** | If true, returns a shortened version of the schema including the name, id and description | [optional] [default to true] |
2625+
**expand** | **String** | Expand instructions for the result | [optional] <br />**Values**: schema |
2626+
**pageSize** | **Number** | Page size | [optional] [default to 25] |
2627+
**pageNumber** | **Number** | Page number | [optional] [default to 1] |
2628+
**sortBy** | **String** | Sort by | [optional] [default to id]<br />**Values**: id, name |
2629+
**sortOrder** | **String** | Sort order | [optional] [default to ascending]<br />**Values**: ascending, descending |
26182630
{: class="table table-striped"}
26192631

26202632
### Return type
26212633

2622-
**[JsonSchemaDocument]**
2634+
**DataTablesDomainEntityListing**
26232635

26242636
<a name="postArchitectDependencytrackingBuild"></a>
26252637

@@ -3505,7 +3517,7 @@ apiInstance.postFlowsDatatableRows(datatableId, dataTableRow)
35053517

35063518
<a name="postFlowsDatatables"></a>
35073519

3508-
# JsonSchemaDocument postFlowsDatatables(body)
3520+
# DataTable postFlowsDatatables(body)
35093521

35103522
POST /api/v2/flows/datatables
35113523

@@ -3549,7 +3561,7 @@ apiInstance.postFlowsDatatables(body)
35493561

35503562
### Return type
35513563

3552-
**JsonSchemaDocument**
3564+
**DataTable**
35533565

35543566
<a name="putArchitectIvr"></a>
35553567

@@ -3923,13 +3935,13 @@ apiInstance.putFlow(flowId, opts)
39233935

39243936
<a name="putFlowsDatatable"></a>
39253937

3926-
# JsonSchemaDocument putFlowsDatatable(datatableId, opts)
3938+
# DataTable putFlowsDatatable(datatableId, opts)
39273939

39283940
PUT /api/v2/flows/datatables/{datatableId}
39293941

3930-
Updates a specific datatable by datatableId
3942+
Updates a specific datatable by id
39313943

3932-
Updates a schema for a datatable with the given datatableId - updates are additive only, no changes or removals of existing fields.
3944+
Updates a schema for a datatable with the given id - updates are additive only, no changes or removals of existing fields.
39333945

39343946
### Example
39353947

@@ -3947,7 +3959,7 @@ var apiInstance = new platformClient.ArchitectApi();
39473959
var datatableId = "datatableId_example"; // String | id of datatable
39483960

39493961
var opts = {
3950-
'showbrief': true, // Boolean | If true returns a shortened version of the schema including the name, id and description
3962+
'expand': "expand_example", // String | Expand instructions for the result
39513963
'body': {} // Object | datatable json-schema
39523964
};
39533965
apiInstance.putFlowsDatatable(datatableId, opts)
@@ -3967,13 +3979,13 @@ apiInstance.putFlowsDatatable(datatableId, opts)
39673979
| Name | Type | Description | Notes |
39683980
| ------------- | ------------- | ------------- | ------------- |
39693981
**datatableId** | **String** | id of datatable | |
3970-
**showbrief** | **Boolean** | If true returns a shortened version of the schema including the name, id and description | [optional] [default to true] |
3982+
**expand** | **String** | Expand instructions for the result | [optional] <br />**Values**: schema |
39713983
**body** | **Object** | datatable json-schema | [optional] |
39723984
{: class="table table-striped"}
39733985

39743986
### Return type
39753987

3976-
**JsonSchemaDocument**
3988+
**DataTable**
39773989

39783990
<a name="putFlowsDatatableRow"></a>
39793991

0 commit comments

Comments
 (0)