purecloud-platform-client-v2 128.0.0 → 129.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +233 -64
- package/dist/web-amd/purecloud-platform-client-v2.js +233 -64
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +233 -64
- package/dist/web-cjs/purecloud-platform-client-v2.js +233 -64
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +138 -4
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +121 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +30 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -1439,6 +1439,7 @@ declare class GamificationApi {
|
|
|
1439
1439
|
getGamificationMetricdefinitions(): Promise<Models.GetMetricDefinitionsResponse>;
|
|
1440
1440
|
getGamificationMetrics(opts?: GamificationApi.getGamificationMetricsOptions): Promise<Models.GetMetricsResponse>;
|
|
1441
1441
|
getGamificationProfile(performanceProfileId: string): Promise<Models.PerformanceProfile>;
|
|
1442
|
+
getGamificationProfileMembers(performanceProfileId: string): Promise<Models.MemberListing>;
|
|
1442
1443
|
getGamificationProfileMetric(profileId: string, metricId: string, opts?: GamificationApi.getGamificationProfileMetricOptions): Promise<Models.Metric>;
|
|
1443
1444
|
getGamificationProfileMetrics(profileId: string, opts?: GamificationApi.getGamificationProfileMetricsOptions): Promise<Models.GetMetricResponse>;
|
|
1444
1445
|
getGamificationProfileMetricsObjectivedetails(profileId: string, opts?: GamificationApi.getGamificationProfileMetricsObjectivedetailsOptions): Promise<Models.GetMetricsResponse>;
|
|
@@ -1468,6 +1469,9 @@ declare class GamificationApi {
|
|
|
1468
1469
|
postGamificationMetrics(body: Models.Metric): Promise<Models.Metric>;
|
|
1469
1470
|
postGamificationProfileActivate(performanceProfileId: string): Promise<Models.PerformanceProfile>;
|
|
1470
1471
|
postGamificationProfileDeactivate(performanceProfileId: string): Promise<Models.PerformanceProfile>;
|
|
1472
|
+
postGamificationProfileMembers(performanceProfileId: string, body: Models.AssignUsers): Promise<Models.Assignment>;
|
|
1473
|
+
postGamificationProfileMembersValidate(performanceProfileId: string, body: Models.ValidateAssignUsers): Promise<Models.AssignmentValidation>;
|
|
1474
|
+
postGamificationProfileMetricLink(sourceProfileId: string, sourceMetricId: string, body: Models.TargetPerformanceProfile): Promise<Models.Metric>;
|
|
1471
1475
|
postGamificationProfileMetrics(profileId: string, body: Models.Metric): Promise<Models.Metric>;
|
|
1472
1476
|
postGamificationProfiles(body: Models.CreatePerformanceProfile): Promise<Models.GetProfilesResponse>;
|
|
1473
1477
|
putGamificationMetric(metricId: string, body: Models.Metric, opts?: GamificationApi.putGamificationMetricOptions): Promise<Models.Metric>;
|
|
@@ -1719,6 +1723,7 @@ declare class IntegrationsApi {
|
|
|
1719
1723
|
getIntegrationsBotconnectorIntegrationIdBots(integrationId: string): Promise<Models.BotList>;
|
|
1720
1724
|
getIntegrationsBotconnectorIntegrationIdBotsSummaries(integrationId: string, opts?: IntegrationsApi.getIntegrationsBotconnectorIntegrationIdBotsSummariesOptions): Promise<Models.BotConnectorBotSummaryEntityListing>;
|
|
1721
1725
|
getIntegrationsClientapps(opts?: IntegrationsApi.getIntegrationsClientappsOptions): Promise<Models.ClientAppEntityListing>;
|
|
1726
|
+
getIntegrationsClientappsUnifiedcommunications(opts?: IntegrationsApi.getIntegrationsClientappsUnifiedcommunicationsOptions): Promise<Models.UCIntegrationListing>;
|
|
1722
1727
|
getIntegrationsCredential(credentialId: string): Promise<Models.Credential>;
|
|
1723
1728
|
getIntegrationsCredentials(opts?: IntegrationsApi.getIntegrationsCredentialsOptions): Promise<Models.CredentialInfoListing>;
|
|
1724
1729
|
getIntegrationsCredentialsTypes(): Promise<Models.CredentialTypeListing>;
|
|
@@ -1834,6 +1839,14 @@ declare namespace IntegrationsApi {
|
|
|
1834
1839
|
"nextPage"?: string;
|
|
1835
1840
|
"previousPage"?: string;
|
|
1836
1841
|
}
|
|
1842
|
+
export interface getIntegrationsClientappsUnifiedcommunicationsOptions {
|
|
1843
|
+
"pageSize"?: number;
|
|
1844
|
+
"pageNumber"?: number;
|
|
1845
|
+
"sortBy"?: string;
|
|
1846
|
+
"expand"?: Array<string>;
|
|
1847
|
+
"nextPage"?: string;
|
|
1848
|
+
"previousPage"?: string;
|
|
1849
|
+
}
|
|
1837
1850
|
export interface getIntegrationsCredentialsOptions {
|
|
1838
1851
|
"pageNumber"?: number;
|
|
1839
1852
|
"pageSize"?: number;
|
|
@@ -4008,6 +4021,7 @@ declare class TelephonyProvidersEdgeApi {
|
|
|
4008
4021
|
getTelephonyProvidersEdgesEdgegroupEdgetrunkbase(edgegroupId: string, edgetrunkbaseId: string): Promise<Models.EdgeTrunkBase>;
|
|
4009
4022
|
getTelephonyProvidersEdgesEdgegroups(opts?: TelephonyProvidersEdgeApi.getTelephonyProvidersEdgesEdgegroupsOptions): Promise<Models.EdgeGroupEntityListing>;
|
|
4010
4023
|
getTelephonyProvidersEdgesEdgeversionreport(): Promise<Models.EdgeVersionReport>;
|
|
4024
|
+
getTelephonyProvidersEdgesExpired(): Promise<Models.ExpiredEdgeListing>;
|
|
4011
4025
|
getTelephonyProvidersEdgesExtension(extensionId: string): Promise<Models.Extension>;
|
|
4012
4026
|
getTelephonyProvidersEdgesExtensionpool(extensionPoolId: string): Promise<Models.ExtensionPool>;
|
|
4013
4027
|
getTelephonyProvidersEdgesExtensionpools(opts?: TelephonyProvidersEdgeApi.getTelephonyProvidersEdgesExtensionpoolsOptions): Promise<Models.ExtensionPoolEntityListing>;
|
|
@@ -5390,6 +5404,13 @@ declare namespace Models {
|
|
|
5390
5404
|
"metadata": Models.WfmVersionedEntityMetadata;
|
|
5391
5405
|
}
|
|
5392
5406
|
|
|
5407
|
+
export interface ActivityCodeReference {
|
|
5408
|
+
"id": string;
|
|
5409
|
+
"name"?: string;
|
|
5410
|
+
"secondaryPresences"?: Array<Models.SecondaryPresence>;
|
|
5411
|
+
"selfUri"?: string;
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5393
5414
|
export interface AcwDetailEventTopicAfterCallWorkEvent {
|
|
5394
5415
|
"eventTime"?: number;
|
|
5395
5416
|
"conversationId"?: string;
|
|
@@ -6365,6 +6386,11 @@ declare namespace Models {
|
|
|
6365
6386
|
"isPassed"?: boolean;
|
|
6366
6387
|
}
|
|
6367
6388
|
|
|
6389
|
+
export interface AssignUsers {
|
|
6390
|
+
"membersToAssign": Array<string>;
|
|
6391
|
+
"membersToRemove": Array<string>;
|
|
6392
|
+
}
|
|
6393
|
+
|
|
6368
6394
|
export interface AssignedSegment {
|
|
6369
6395
|
"id"?: string;
|
|
6370
6396
|
"selfUri"?: string;
|
|
@@ -6378,6 +6404,24 @@ declare namespace Models {
|
|
|
6378
6404
|
"endTime"?: string;
|
|
6379
6405
|
}
|
|
6380
6406
|
|
|
6407
|
+
export interface Assignment {
|
|
6408
|
+
"assignedMembers"?: Array<Models.UserReference>;
|
|
6409
|
+
"removedMembers"?: Array<Models.UserReference>;
|
|
6410
|
+
"assignmentErrors"?: Array<Models.AssignmentError>;
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6413
|
+
export interface AssignmentError {
|
|
6414
|
+
"user"?: Models.UserReference;
|
|
6415
|
+
"message"?: string;
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
export interface AssignmentValidation {
|
|
6419
|
+
"membersNotAssigned"?: Array<Models.UserReference>;
|
|
6420
|
+
"membersAlreadyAssigned"?: Array<Models.UserReference>;
|
|
6421
|
+
"membersAlreadyAssignedToOther"?: Array<Models.OtherProfileAssignment>;
|
|
6422
|
+
"invalidMemberAssignments"?: Array<Models.InvalidAssignment>;
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6381
6425
|
export interface AssociatedValueField {
|
|
6382
6426
|
"dataType": string;
|
|
6383
6427
|
"name": string;
|
|
@@ -8549,8 +8593,8 @@ declare namespace Models {
|
|
|
8549
8593
|
"expirationDate"?: string;
|
|
8550
8594
|
"issueDate"?: string;
|
|
8551
8595
|
"expired"?: boolean;
|
|
8552
|
-
"valid"?: boolean;
|
|
8553
8596
|
"signatureValid"?: boolean;
|
|
8597
|
+
"valid"?: boolean;
|
|
8554
8598
|
}
|
|
8555
8599
|
|
|
8556
8600
|
export interface Change {
|
|
@@ -8995,6 +9039,10 @@ declare namespace Models {
|
|
|
8995
9039
|
"afterCallWorkRequired"?: boolean;
|
|
8996
9040
|
}
|
|
8997
9041
|
|
|
9042
|
+
export interface ColumnStatus {
|
|
9043
|
+
"contactable"?: boolean;
|
|
9044
|
+
}
|
|
9045
|
+
|
|
8998
9046
|
export interface CommandStatus {
|
|
8999
9047
|
"id"?: string;
|
|
9000
9048
|
"name"?: string;
|
|
@@ -9332,6 +9380,11 @@ declare namespace Models {
|
|
|
9332
9380
|
"numeric"?: boolean;
|
|
9333
9381
|
}
|
|
9334
9382
|
|
|
9383
|
+
export interface ContactableStatus {
|
|
9384
|
+
"contactable"?: boolean;
|
|
9385
|
+
"columnStatus"?: { [key: string]: Models.ColumnStatus; };
|
|
9386
|
+
}
|
|
9387
|
+
|
|
9335
9388
|
export interface ContactlistDownloadReadyExportUri {
|
|
9336
9389
|
"uri"?: string;
|
|
9337
9390
|
"exportTimestamp"?: string;
|
|
@@ -14034,6 +14087,11 @@ declare namespace Models {
|
|
|
14034
14087
|
"pageCount"?: number;
|
|
14035
14088
|
}
|
|
14036
14089
|
|
|
14090
|
+
export interface EdgeIdNamePair {
|
|
14091
|
+
"id"?: string;
|
|
14092
|
+
"name"?: string;
|
|
14093
|
+
}
|
|
14094
|
+
|
|
14037
14095
|
export interface EdgeInterface {
|
|
14038
14096
|
"type"?: string;
|
|
14039
14097
|
"ipAddress"?: string;
|
|
@@ -14962,6 +15020,10 @@ declare namespace Models {
|
|
|
14962
15020
|
"threshold"?: number;
|
|
14963
15021
|
}
|
|
14964
15022
|
|
|
15023
|
+
export interface ExpiredEdgeListing {
|
|
15024
|
+
"entities"?: Array<Models.EdgeIdNamePair>;
|
|
15025
|
+
}
|
|
15026
|
+
|
|
14965
15027
|
export interface ExportScriptRequest {
|
|
14966
15028
|
"fileName"?: string;
|
|
14967
15029
|
"versionId"?: string;
|
|
@@ -16403,9 +16465,9 @@ declare namespace Models {
|
|
|
16403
16465
|
"started"?: string;
|
|
16404
16466
|
"completed"?: string;
|
|
16405
16467
|
"entities"?: Array<Models.HistoryEntry>;
|
|
16468
|
+
"pageNumber"?: number;
|
|
16406
16469
|
"pageSize"?: number;
|
|
16407
16470
|
"total"?: number;
|
|
16408
|
-
"pageNumber"?: number;
|
|
16409
16471
|
"pageCount"?: number;
|
|
16410
16472
|
}
|
|
16411
16473
|
|
|
@@ -16852,6 +16914,11 @@ declare namespace Models {
|
|
|
16852
16914
|
"intervalLengthMinutes"?: number;
|
|
16853
16915
|
}
|
|
16854
16916
|
|
|
16917
|
+
export interface InvalidAssignment {
|
|
16918
|
+
"user"?: Models.UserReference;
|
|
16919
|
+
"message"?: string;
|
|
16920
|
+
}
|
|
16921
|
+
|
|
16855
16922
|
export interface IpAddressAuthentication {
|
|
16856
16923
|
"networkWhitelist"?: Array<string>;
|
|
16857
16924
|
}
|
|
@@ -18414,6 +18481,10 @@ declare namespace Models {
|
|
|
18414
18481
|
"values"?: Array<string>;
|
|
18415
18482
|
}
|
|
18416
18483
|
|
|
18484
|
+
export interface ListWrapperSecondaryPresence {
|
|
18485
|
+
"values"?: Array<Models.SecondaryPresence>;
|
|
18486
|
+
}
|
|
18487
|
+
|
|
18417
18488
|
export interface ListWrapperShiftStartVariance {
|
|
18418
18489
|
"values"?: Array<Models.ShiftStartVariance>;
|
|
18419
18490
|
}
|
|
@@ -18784,6 +18855,11 @@ declare namespace Models {
|
|
|
18784
18855
|
"includeNonAcd"?: boolean;
|
|
18785
18856
|
}
|
|
18786
18857
|
|
|
18858
|
+
export interface Member {
|
|
18859
|
+
"id": string;
|
|
18860
|
+
"selfUri"?: string;
|
|
18861
|
+
}
|
|
18862
|
+
|
|
18787
18863
|
export interface MemberEntity {
|
|
18788
18864
|
"id"?: string;
|
|
18789
18865
|
}
|
|
@@ -18797,6 +18873,10 @@ declare namespace Models {
|
|
|
18797
18873
|
"selfUri"?: string;
|
|
18798
18874
|
}
|
|
18799
18875
|
|
|
18876
|
+
export interface MemberListing {
|
|
18877
|
+
"entities"?: Array<Models.Member>;
|
|
18878
|
+
}
|
|
18879
|
+
|
|
18800
18880
|
export interface MergeOperation {
|
|
18801
18881
|
"sourceContact"?: Models.AddressableEntityRef;
|
|
18802
18882
|
"targetContact"?: Models.AddressableEntityRef;
|
|
@@ -20100,6 +20180,12 @@ declare namespace Models {
|
|
|
20100
20180
|
"conversationId"?: string;
|
|
20101
20181
|
}
|
|
20102
20182
|
|
|
20183
|
+
export interface OtherProfileAssignment {
|
|
20184
|
+
"id"?: string;
|
|
20185
|
+
"currentProfile"?: Models.DomainEntityRef;
|
|
20186
|
+
"selfUri"?: string;
|
|
20187
|
+
}
|
|
20188
|
+
|
|
20103
20189
|
export interface OutOfOffice {
|
|
20104
20190
|
"id"?: string;
|
|
20105
20191
|
"name"?: string;
|
|
@@ -25416,6 +25502,11 @@ declare namespace Models {
|
|
|
25416
25502
|
"sortBy"?: string;
|
|
25417
25503
|
}
|
|
25418
25504
|
|
|
25505
|
+
export interface SecondaryPresence {
|
|
25506
|
+
"id": string;
|
|
25507
|
+
"selfUri"?: string;
|
|
25508
|
+
}
|
|
25509
|
+
|
|
25419
25510
|
export interface Section {
|
|
25420
25511
|
"fieldList"?: Array<Models.FieldList>;
|
|
25421
25512
|
"instructionText"?: string;
|
|
@@ -26619,6 +26710,10 @@ declare namespace Models {
|
|
|
26619
26710
|
"pageCount"?: number;
|
|
26620
26711
|
}
|
|
26621
26712
|
|
|
26713
|
+
export interface TargetPerformanceProfile {
|
|
26714
|
+
"targetPerformanceProfileId": string;
|
|
26715
|
+
}
|
|
26716
|
+
|
|
26622
26717
|
export interface Team {
|
|
26623
26718
|
"id"?: string;
|
|
26624
26719
|
"name": string;
|
|
@@ -27757,6 +27852,38 @@ declare namespace Models {
|
|
|
27757
27852
|
"selfUri"?: string;
|
|
27758
27853
|
}
|
|
27759
27854
|
|
|
27855
|
+
export interface UCI10n {
|
|
27856
|
+
"name"?: string;
|
|
27857
|
+
}
|
|
27858
|
+
|
|
27859
|
+
export interface UCIcon {
|
|
27860
|
+
"vector": string;
|
|
27861
|
+
}
|
|
27862
|
+
|
|
27863
|
+
export interface UCIntegration {
|
|
27864
|
+
"id"?: string;
|
|
27865
|
+
"name"?: string;
|
|
27866
|
+
"ucIntegrationKey": string;
|
|
27867
|
+
"integrationPresenceSource": string;
|
|
27868
|
+
"pbxPermission": string;
|
|
27869
|
+
"icon": Models.UCIcon;
|
|
27870
|
+
"i10n": { [key: string]: Models.UCI10n; };
|
|
27871
|
+
"selfUri"?: string;
|
|
27872
|
+
}
|
|
27873
|
+
|
|
27874
|
+
export interface UCIntegrationListing {
|
|
27875
|
+
"entities"?: Array<Models.UCIntegration>;
|
|
27876
|
+
"pageSize"?: number;
|
|
27877
|
+
"pageNumber"?: number;
|
|
27878
|
+
"total"?: number;
|
|
27879
|
+
"firstUri"?: string;
|
|
27880
|
+
"selfUri"?: string;
|
|
27881
|
+
"nextUri"?: string;
|
|
27882
|
+
"previousUri"?: string;
|
|
27883
|
+
"lastUri"?: string;
|
|
27884
|
+
"pageCount"?: number;
|
|
27885
|
+
}
|
|
27886
|
+
|
|
27760
27887
|
export interface UnpublishedProgramsEntityListing {
|
|
27761
27888
|
"entities"?: Array<Models.Program>;
|
|
27762
27889
|
"pageSize"?: number;
|
|
@@ -28581,6 +28708,7 @@ declare namespace Models {
|
|
|
28581
28708
|
"id"?: string;
|
|
28582
28709
|
"name"?: string;
|
|
28583
28710
|
"user"?: Models.UserReference;
|
|
28711
|
+
"businessUnit"?: Models.BusinessUnit;
|
|
28584
28712
|
"managementUnit"?: Models.ManagementUnit;
|
|
28585
28713
|
"team"?: Models.Team;
|
|
28586
28714
|
"scheduledActivityCategory"?: string;
|
|
@@ -28776,6 +28904,10 @@ declare namespace Models {
|
|
|
28776
28904
|
"response"?: Models.SubscriberResponse;
|
|
28777
28905
|
}
|
|
28778
28906
|
|
|
28907
|
+
export interface ValidateAssignUsers {
|
|
28908
|
+
"membersToAssign": Array<string>;
|
|
28909
|
+
}
|
|
28910
|
+
|
|
28779
28911
|
export interface ValidateWorkPlanMessages {
|
|
28780
28912
|
"violationMessages"?: Array<Models.WorkPlanConfigurationViolationMessage>;
|
|
28781
28913
|
"constraintConflictMessage"?: Models.ConstraintConflictMessage;
|
|
@@ -28798,8 +28930,7 @@ declare namespace Models {
|
|
|
28798
28930
|
|
|
28799
28931
|
export interface ValidationServiceRequest {
|
|
28800
28932
|
"dateImportEnded": string;
|
|
28801
|
-
"
|
|
28802
|
-
"uploadKey"?: string;
|
|
28933
|
+
"uploadKey": string;
|
|
28803
28934
|
}
|
|
28804
28935
|
|
|
28805
28936
|
export interface ValueWrapperDate {
|
|
@@ -28980,6 +29111,7 @@ declare namespace Models {
|
|
|
28980
29111
|
"journeyUrlContainsAllConditions"?: Array<string>;
|
|
28981
29112
|
"journeyUrlNotContainsAllConditions"?: Array<string>;
|
|
28982
29113
|
"flowMilestoneIds"?: Array<string>;
|
|
29114
|
+
"isAssessmentPassed"?: boolean;
|
|
28983
29115
|
}
|
|
28984
29116
|
|
|
28985
29117
|
export interface VisibilityCondition {
|
|
@@ -30395,6 +30527,8 @@ declare namespace Models {
|
|
|
30395
30527
|
"version": number;
|
|
30396
30528
|
"modifiedBy"?: Models.UserReference;
|
|
30397
30529
|
"dateModified"?: string;
|
|
30530
|
+
"createdBy"?: Models.UserReference;
|
|
30531
|
+
"dateCreated"?: string;
|
|
30398
30532
|
}
|
|
30399
30533
|
|
|
30400
30534
|
export interface WhatsAppDefinition {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import Configuration from './configuration.js';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6
|
-
* @version
|
|
6
|
+
* @version 129.0.0
|
|
7
7
|
*/
|
|
8
8
|
class ApiClient {
|
|
9
9
|
/**
|
|
@@ -950,7 +950,7 @@ class ApiClient {
|
|
|
950
950
|
|
|
951
951
|
// set header parameters
|
|
952
952
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
953
|
-
//request.set({ 'purecloud-sdk': '
|
|
953
|
+
//request.set({ 'purecloud-sdk': '129.0.0' });
|
|
954
954
|
|
|
955
955
|
// set request timeout
|
|
956
956
|
request.timeout(that.timeout);
|
|
@@ -5,7 +5,7 @@ class GamificationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Gamification service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 129.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -273,6 +273,31 @@ class GamificationApi {
|
|
|
273
273
|
);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
+
/**
|
|
277
|
+
* Members of a given performance profile
|
|
278
|
+
*
|
|
279
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
280
|
+
*/
|
|
281
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
282
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
283
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
284
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return this.apiClient.callApi(
|
|
288
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
289
|
+
'GET',
|
|
290
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
291
|
+
{ },
|
|
292
|
+
{ },
|
|
293
|
+
{ },
|
|
294
|
+
null,
|
|
295
|
+
['PureCloud OAuth'],
|
|
296
|
+
['application/json'],
|
|
297
|
+
['application/json']
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
|
|
276
301
|
/**
|
|
277
302
|
* Performance profile gamified metric by id
|
|
278
303
|
*
|
|
@@ -1127,6 +1152,101 @@ class GamificationApi {
|
|
|
1127
1152
|
);
|
|
1128
1153
|
}
|
|
1129
1154
|
|
|
1155
|
+
/**
|
|
1156
|
+
* Assign members to a given performance profile
|
|
1157
|
+
*
|
|
1158
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
1159
|
+
* @param {Object} body assignUsers
|
|
1160
|
+
*/
|
|
1161
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
1162
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
1163
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
1164
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
1165
|
+
}
|
|
1166
|
+
// verify the required parameter 'body' is set
|
|
1167
|
+
if (body === undefined || body === null) {
|
|
1168
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
return this.apiClient.callApi(
|
|
1172
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
1173
|
+
'POST',
|
|
1174
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
1175
|
+
{ },
|
|
1176
|
+
{ },
|
|
1177
|
+
{ },
|
|
1178
|
+
body,
|
|
1179
|
+
['PureCloud OAuth'],
|
|
1180
|
+
['application/json'],
|
|
1181
|
+
['application/json']
|
|
1182
|
+
);
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Validate member assignment
|
|
1187
|
+
*
|
|
1188
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
1189
|
+
* @param {Object} body memberAssignments
|
|
1190
|
+
*/
|
|
1191
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
1192
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
1193
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
1194
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
1195
|
+
}
|
|
1196
|
+
// verify the required parameter 'body' is set
|
|
1197
|
+
if (body === undefined || body === null) {
|
|
1198
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
return this.apiClient.callApi(
|
|
1202
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
1203
|
+
'POST',
|
|
1204
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
1205
|
+
{ },
|
|
1206
|
+
{ },
|
|
1207
|
+
{ },
|
|
1208
|
+
body,
|
|
1209
|
+
['PureCloud OAuth'],
|
|
1210
|
+
['application/json'],
|
|
1211
|
+
['application/json']
|
|
1212
|
+
);
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Creates a linked metric
|
|
1217
|
+
*
|
|
1218
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
1219
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
1220
|
+
* @param {Object} body linkedMetric
|
|
1221
|
+
*/
|
|
1222
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
1223
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
1224
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
1225
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
1226
|
+
}
|
|
1227
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
1228
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
1229
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
1230
|
+
}
|
|
1231
|
+
// verify the required parameter 'body' is set
|
|
1232
|
+
if (body === undefined || body === null) {
|
|
1233
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
return this.apiClient.callApi(
|
|
1237
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
1238
|
+
'POST',
|
|
1239
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
1240
|
+
{ },
|
|
1241
|
+
{ },
|
|
1242
|
+
{ },
|
|
1243
|
+
body,
|
|
1244
|
+
['PureCloud OAuth'],
|
|
1245
|
+
['application/json'],
|
|
1246
|
+
['application/json']
|
|
1247
|
+
);
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1130
1250
|
/**
|
|
1131
1251
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
1132
1252
|
*
|