|
378 | 378 | "return": "GuideContentGenerationJob", |
379 | 379 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.AIStudioApi();\n\nlet body = {}; // Object | \n\n// Start a guide content generation job.\napiInstance.postGuidesJobs(body)\n .then((data) => {\n console.log(`postGuidesJobs success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postGuidesJobs\");\n console.error(err);\n });" |
380 | 380 | }, |
| 381 | + "postguidesuploads": { |
| 382 | + "operationId": "postguidesuploads", |
| 383 | + "functionName": "postGuidesUploads", |
| 384 | + "signature": "postGuidesUploads(body)", |
| 385 | + "parameters": [ |
| 386 | + { |
| 387 | + "name": "body", |
| 388 | + "type": "Object", |
| 389 | + "required": "true" |
| 390 | + } |
| 391 | + ], |
| 392 | + "return": "UploadUrlResponse", |
| 393 | + "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.UploadsApi();\n\nlet body = {}; // Object | query\n\n// Generate presigned URL for uploading a file content to generate guide\napiInstance.postGuidesUploads(body)\n .then((data) => {\n console.log(`postGuidesUploads success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling postGuidesUploads\");\n console.error(err);\n });" |
| 394 | + }, |
381 | 395 | "putconversationssummariessetting": { |
382 | 396 | "operationId": "putconversationssummariessetting", |
383 | 397 | "functionName": "putConversationsSummariesSetting", |
|
16985 | 16999 | } |
16986 | 17000 | ], |
16987 | 17001 | "return": "NoteListing", |
16988 | | - "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ExternalContactsApi();\n\nlet contactId = \"contactId_example\"; // String | ExternalContact Id\nlet opts = { \n \"pageSize\": 20, // Number | Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000)\n \"pageNumber\": 1, // Number | Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000)\n \"sortOrder\": \"sortOrder_example\", // String | The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc\n \"expand\": [\"expand_example\"] // [String] | which fields, if any, to expand\n};\n\n// List notes for an external contact\napiInstance.getExternalcontactsContactNotes(contactId, opts)\n .then((data) => {\n console.log(`getExternalcontactsContactNotes success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getExternalcontactsContactNotes\");\n console.error(err);\n });" |
| 17002 | + "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.ExternalContactsApi();\n\nlet contactId = \"contactId_example\"; // String | ExternalContact Id\nlet opts = { \n \"pageSize\": 20, // Number | Page size (limited to fetching first 1,000 records; pageSize <= 100; pageNumber * pageSize must be <= 1,000)\n \"pageNumber\": 1, // Number | Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000)\n \"sortOrder\": \"sortOrder_example\", // String | The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc\n \"expand\": [\"expand_example\"] // [String] | which fields, if any, to expand\n};\n\n// List notes for an external contact\napiInstance.getExternalcontactsContactNotes(contactId, opts)\n .then((data) => {\n console.log(`getExternalcontactsContactNotes success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getExternalcontactsContactNotes\");\n console.error(err);\n });" |
16989 | 17003 | }, |
16990 | 17004 | "getexternalcontactscontactunresolved": { |
16991 | 17005 | "operationId": "getexternalcontactscontactunresolved", |
|
27169 | 27183 | "return": "CategoryResponse", |
27170 | 27184 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.KnowledgeApi();\n\nlet knowledgeBaseId = \"knowledgeBaseId_example\"; // String | Knowledge base ID\nlet categoryId = \"categoryId_example\"; // String | Category ID\nlet body = {}; // Object | \n\n// Update category\napiInstance.patchKnowledgeKnowledgebaseCategory(knowledgeBaseId, categoryId, body)\n .then((data) => {\n console.log(`patchKnowledgeKnowledgebaseCategory success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling patchKnowledgeKnowledgebaseCategory\");\n console.error(err);\n });" |
27171 | 27185 | }, |
| 27186 | + "patchknowledgeknowledgebasechunkssearchsearchid": { |
| 27187 | + "operationId": "patchknowledgeknowledgebasechunkssearchsearchid", |
| 27188 | + "functionName": "patchKnowledgeKnowledgebaseChunksSearchSearchId", |
| 27189 | + "signature": "patchKnowledgeKnowledgebaseChunksSearchSearchId(knowledgeBaseId, searchId, body)", |
| 27190 | + "parameters": [ |
| 27191 | + { |
| 27192 | + "name": "knowledgeBaseId", |
| 27193 | + "type": "String", |
| 27194 | + "required": "true" |
| 27195 | + }, |
| 27196 | + { |
| 27197 | + "name": "searchId", |
| 27198 | + "type": "String", |
| 27199 | + "required": "true" |
| 27200 | + }, |
| 27201 | + { |
| 27202 | + "name": "body", |
| 27203 | + "type": "Object", |
| 27204 | + "required": "false" |
| 27205 | + } |
| 27206 | + ], |
| 27207 | + "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.KnowledgeApi();\n\nlet knowledgeBaseId = \"knowledgeBaseId_example\"; // String | Knowledge Base ID\nlet searchId = \"searchId_example\"; // String | Unique identifier of search request\nlet opts = { \n \"body\": {} // Object | \n};\n\n// Register chunk search result.\napiInstance.patchKnowledgeKnowledgebaseChunksSearchSearchId(knowledgeBaseId, searchId, opts)\n .then(() => {\n console.log(\"patchKnowledgeKnowledgebaseChunksSearchSearchId returned successfully.\");\n })\n .catch((err) => {\n console.log(\"There was a failure calling patchKnowledgeKnowledgebaseChunksSearchSearchId\");\n console.error(err);\n });" |
| 27208 | + }, |
27172 | 27209 | "patchknowledgeknowledgebasedocument": { |
27173 | 27210 | "operationId": "patchknowledgeknowledgebasedocument", |
27174 | 27211 | "functionName": "patchKnowledgeKnowledgebaseDocument", |
|
44605 | 44642 | "required": "false" |
44606 | 44643 | } |
44607 | 44644 | ], |
44608 | | - "return": "SocialTopicResponseEntityListing", |
| 44645 | + "return": "SocialTopicWithDataIngestionRuleMetadataResponseEntityListing", |
44609 | 44646 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.SocialMediaApi();\n\nlet opts = { \n \"pageNumber\": 1, // Number | Page number\n \"pageSize\": 25, // Number | Page size\n \"divisionIds\": [\"divisionIds_example\"], // [String] | One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.\n \"includeDeleted\": true, // Boolean | Determines whether to include soft-deleted items in the result.\n \"name\": \"name_example\", // String | Search for topic by name that contains the given search string, search is case insensitive\n \"ids\": [\"ids_example\"] // [String] | One or more topic IDs to search through the topics.\n};\n\n// Retrieve all social topics.\napiInstance.getSocialmediaTopics(opts)\n .then((data) => {\n console.log(`getSocialmediaTopics success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getSocialmediaTopics\");\n console.error(err);\n });" |
44610 | 44647 | }, |
44611 | 44648 | "patchsocialmediatopic": { |
|
45361 | 45398 | "required": "true" |
45362 | 45399 | } |
45363 | 45400 | ], |
45364 | | - "return": "ProgramMappings", |
| 45401 | + "return": "TopicsDefinitionsProgramMappings", |
45365 | 45402 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.SpeechTextAnalyticsApi();\n\nlet programId = \"programId_example\"; // String | The id of the program\n\n// Get Speech and Text Analytics program mappings to queues and flows by id\napiInstance.getSpeechandtextanalyticsProgramMappings(programId)\n .then((data) => {\n console.log(`getSpeechandtextanalyticsProgramMappings success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getSpeechandtextanalyticsProgramMappings\");\n console.error(err);\n });" |
45366 | 45403 | }, |
45367 | 45404 | "getspeechandtextanalyticsprogramsettingsinsights": { |
|
45446 | 45483 | "required": "false" |
45447 | 45484 | } |
45448 | 45485 | ], |
45449 | | - "return": "ProgramsMappingsEntityListing", |
| 45486 | + "return": "TopicsDefinitionsProgramsMappingsEntityListing", |
45450 | 45487 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.SpeechTextAnalyticsApi();\n\nlet opts = { \n \"nextPage\": \"nextPage_example\", // String | The key for listing the next page\n \"pageSize\": 20 // Number | The page size for the listing\n};\n\n// Get the list of Speech and Text Analytics programs mappings to queues and flows\napiInstance.getSpeechandtextanalyticsProgramsMappings(opts)\n .then((data) => {\n console.log(`getSpeechandtextanalyticsProgramsMappings success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getSpeechandtextanalyticsProgramsMappings\");\n console.error(err);\n });" |
45451 | 45488 | }, |
45452 | 45489 | "getspeechandtextanalyticsprogramspublishjob": { |
|
45992 | 46029 | "required": "true" |
45993 | 46030 | } |
45994 | 46031 | ], |
45995 | | - "return": "ProgramMappings", |
| 46032 | + "return": "TopicsDefinitionsProgramMappings", |
45996 | 46033 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.SpeechTextAnalyticsApi();\n\nlet programId = \"programId_example\"; // String | The id of the program\nlet body = {}; // Object | The program to set mappings for\n\n// Set Speech and Text Analytics program mappings to queues and flows\napiInstance.putSpeechandtextanalyticsProgramMappings(programId, body)\n .then((data) => {\n console.log(`putSpeechandtextanalyticsProgramMappings success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling putSpeechandtextanalyticsProgramMappings\");\n console.error(err);\n });" |
45997 | 46034 | }, |
45998 | 46035 | "putspeechandtextanalyticsprogramsettingsinsights": { |
|
0 commit comments