Skip to content

Commit 6fb7197

Browse files
Merge pull request #23 from release-docusign/MSFlow.DS1003.10.17.2023
Sales Co-pilot release candidate Ms flow.ds1003.10.17.2023
2 parents 57bd615 + 185c9b0 commit 6fb7197

File tree

2 files changed

+608
-1
lines changed

2 files changed

+608
-1
lines changed

certified-connectors/DocuSign/apiDefinition.swagger.json

Lines changed: 354 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"info": {
44
"version": "1.0",
55
"title": "DocuSign",
6+
"x-ms-keywords": "DocuSign",
67
"description": "DocuSign helps organizations connect and automate how they prepare, sign, act on, and manage agreements.",
78
"x-ms-deployment-version": "1.0.0",
89
"x-ms-api-annotation": {
@@ -889,6 +890,221 @@
889890
"x-ms-visibility": "important"
890891
}
891892
},
893+
"/accounts/salesCopilotAccount/envelopes/getRelatedActivities": {
894+
"get": {
895+
"tags": [
896+
"DocuSign"
897+
],
898+
"summary": "Sales Copilot: Get related activities",
899+
"description": "Sales Copilot: Get related activities.",
900+
"operationId": "scp-get-related-activities",
901+
"x-ms-no-generic-test": true,
902+
"consumes": [
903+
"application/json",
904+
"text/json",
905+
"application/xml",
906+
"text/xml",
907+
"application/x-www-form-urlencoded"
908+
],
909+
"produces": [
910+
"application/json",
911+
"text/json",
912+
"application/xml",
913+
"text/xml"
914+
],
915+
"parameters": [
916+
{
917+
"name": "recordType",
918+
"in": "query",
919+
"required": true,
920+
"enum": [
921+
"account",
922+
"opportunity",
923+
"lead"
924+
],
925+
"type": "string"
926+
},
927+
{
928+
"name": "recordId",
929+
"in": "query",
930+
"required": true,
931+
"type": "string"
932+
},
933+
{
934+
"name": "startDateTime",
935+
"description": "Enter start date-time in the format: 2017-05-02T01:44Z",
936+
"in": "query",
937+
"type": "string",
938+
"required": false,
939+
"format": "date-time"
940+
},
941+
{
942+
"name": "endDateTime",
943+
"description": "Enter end date-time in the format: 2017-05-02T01:44Z",
944+
"in": "query",
945+
"type": "string",
946+
"format": "date-time"
947+
},
948+
{
949+
"name": "top",
950+
"description": "Top envelopes to be returned",
951+
"in": "query",
952+
"type": "integer",
953+
"format": "int32"
954+
},
955+
{
956+
"name": "skip",
957+
"description": "Envelopes to be skipped",
958+
"in": "query",
959+
"type": "integer",
960+
"format": "int32"
961+
},
962+
{
963+
"name": "crmType",
964+
"in": "query",
965+
"enum": [
966+
"Dynamics365"
967+
],
968+
"type": "string"
969+
},
970+
{
971+
"name": "crmOrgUrl",
972+
"in": "query",
973+
"type": "string"
974+
}
975+
],
976+
"responses": {
977+
"200": {
978+
"description": "Success",
979+
"schema": {
980+
"$ref": "#/definitions/ActivityListResponseEnvelope"
981+
}
982+
},
983+
"400": {
984+
"description": "Bad Request",
985+
"schema": {
986+
"$ref": "#/definitions/ApiError"
987+
}
988+
},
989+
"500": {
990+
"description": "Server Error",
991+
"schema": {
992+
"$ref": "#/definitions/ApiError"
993+
}
994+
}
995+
},
996+
"x-ms-openai-data": {
997+
"openai-enabled": true
998+
}
999+
}
1000+
},
1001+
"/accounts/salesCopilotAccount/envelopes/getRelatedRecords": {
1002+
"get": {
1003+
"tags": [
1004+
"DocuSign"
1005+
],
1006+
"summary": "Sales Copilot: Get related records",
1007+
"description": "Sales Copilot: Get related records.",
1008+
"operationId": "scp-get-related-records",
1009+
"x-ms-no-generic-test": true,
1010+
"consumes": [
1011+
"application/json",
1012+
"text/json",
1013+
"application/xml",
1014+
"text/xml",
1015+
"application/x-www-form-urlencoded"
1016+
],
1017+
"produces": [
1018+
"application/json",
1019+
"text/json",
1020+
"application/xml",
1021+
"text/xml"
1022+
],
1023+
"parameters": [
1024+
{
1025+
"name": "recordType",
1026+
"in": "query",
1027+
"required": true,
1028+
"enum": [
1029+
"account",
1030+
"opportunity",
1031+
"lead"
1032+
],
1033+
"type": "string"
1034+
},
1035+
{
1036+
"name": "recordId",
1037+
"in": "query",
1038+
"required": true,
1039+
"type": "string"
1040+
},
1041+
{
1042+
"name": "startDateTime",
1043+
"description": "Enter start date-time in the format: 2017-05-02T01:44Z",
1044+
"in": "query",
1045+
"type": "string",
1046+
"required": false,
1047+
"format": "date-time"
1048+
},
1049+
{
1050+
"name": "top",
1051+
"description": "Top envelopes to be returned",
1052+
"in": "query",
1053+
"type": "integer",
1054+
"format": "int32"
1055+
},
1056+
{
1057+
"name": "skip",
1058+
"description": "Envelopes to be skipped",
1059+
"in": "query",
1060+
"type": "integer",
1061+
"format": "int32"
1062+
},
1063+
{
1064+
"name": "crmType",
1065+
"in": "query",
1066+
"enum": [
1067+
"Dynamics365"
1068+
],
1069+
"type": "string"
1070+
},
1071+
{
1072+
"name": "crmOrgUrl",
1073+
"in": "query",
1074+
"type": "string"
1075+
}
1076+
],
1077+
"responses": {
1078+
"200": {
1079+
"description": "Success",
1080+
"schema": {
1081+
"$ref": "#/definitions/DocumentRecordListResponseEnvelope"
1082+
}
1083+
},
1084+
"400": {
1085+
"description": "Bad Request",
1086+
"schema": {
1087+
"$ref": "#/definitions/ApiError"
1088+
}
1089+
},
1090+
"401": {
1091+
"description": "Unauthorized",
1092+
"schema": {
1093+
"$ref": "#/definitions/ApiError"
1094+
}
1095+
},
1096+
"500": {
1097+
"description": "Server Error",
1098+
"schema": {
1099+
"$ref": "#/definitions/ApiError"
1100+
}
1101+
}
1102+
},
1103+
"x-ms-openai-data": {
1104+
"openai-enabled": true
1105+
}
1106+
}
1107+
},
8921108
"/accounts/{accountId}/envelopes/createFromTemplate": {
8931109
"post": {
8941110
"tags": [
@@ -2478,7 +2694,7 @@
24782694
"deprecated": false,
24792695
"x-ms-visibility": "important",
24802696
"x-ms-no-generic-test": true
2481-
},
2697+
}
24822698
},
24832699
"/login_information": {
24842700
"get": {
@@ -4465,6 +4681,86 @@
44654681
}
44664682
}
44674683
},
4684+
"Activity": {
4685+
"required": [
4686+
"dateTime",
4687+
"description",
4688+
"title"
4689+
],
4690+
"type": "object",
4691+
"properties": {
4692+
"title": {
4693+
"minLength": 1,
4694+
"type": "string"
4695+
},
4696+
"description": {
4697+
"minLength": 1,
4698+
"type": "string"
4699+
},
4700+
"dateTime": {
4701+
"type": "string",
4702+
"format": "date-time"
4703+
},
4704+
"url": {
4705+
"type": "string"
4706+
},
4707+
"additionalProperties": {
4708+
"type": "object",
4709+
"properties": {
4710+
"additionalProperties": {
4711+
"type": "string"
4712+
}
4713+
},
4714+
"x-ms-summary": "Additional Properties"
4715+
}
4716+
},
4717+
"additionalProperties": false
4718+
},
4719+
"DocumentRecord": {
4720+
"required": [
4721+
"recordId",
4722+
"recordTitle",
4723+
"recordTypeDisplayName",
4724+
"recordTypePluralDisplayName",
4725+
"recordType"
4726+
],
4727+
"type": "object",
4728+
"properties": {
4729+
"recordId": {
4730+
"minLength": 1,
4731+
"type": "string"
4732+
},
4733+
"recordTypeDisplayName": {
4734+
"minLength": 1,
4735+
"type": "string"
4736+
},
4737+
"recordTypePluralDisplayName": {
4738+
"minLength": 1,
4739+
"type": "string"
4740+
},
4741+
"recordType": {
4742+
"minLength": 1,
4743+
"type": "string"
4744+
},
4745+
"recordTitle": {
4746+
"minLength": 1,
4747+
"type": "string"
4748+
},
4749+
"url": {
4750+
"type": "string"
4751+
},
4752+
"additionalProperties": {
4753+
"type": "object",
4754+
"properties": {
4755+
"additionalProperties": {
4756+
"type": "string"
4757+
}
4758+
},
4759+
"x-ms-summary": "Additional Properties"
4760+
}
4761+
},
4762+
"additionalProperties": false
4763+
},
44684764
"Envelope": {
44694765
"type": "object",
44704766
"properties": {
@@ -4534,6 +4830,63 @@
45344830
}
45354831
}
45364832
},
4833+
"ActivityListResponseEnvelope": {
4834+
"type": "object",
4835+
"properties": {
4836+
"value": {
4837+
"description": "Related activies",
4838+
"type": "array",
4839+
"items": {
4840+
"$ref": "#/definitions/Activity"
4841+
},
4842+
"x-ms-summary": "Related activities"
4843+
},
4844+
"hasMoreResults": {
4845+
"type": "boolean"
4846+
}
4847+
},
4848+
"additionalProperties": false
4849+
},
4850+
"DocumentRecordListResponseEnvelope": {
4851+
"type": "object",
4852+
"properties": {
4853+
"value": {
4854+
"description": "Related records",
4855+
"type": "array",
4856+
"items": {
4857+
"$ref": "#/definitions/DocumentRecord"
4858+
},
4859+
"x-ms-summary": "Related records"
4860+
},
4861+
"hasMoreResults": {
4862+
"type": "boolean"
4863+
}
4864+
},
4865+
"additionalProperties": false
4866+
},
4867+
"ApiError": {
4868+
"required": [
4869+
"errorCode"
4870+
],
4871+
"type": "object",
4872+
"properties": {
4873+
"errorCode": {
4874+
"minLength": 1,
4875+
"type": "string"
4876+
},
4877+
"errorMessage": {
4878+
"type": "string"
4879+
},
4880+
"activityId": {
4881+
"type": "string"
4882+
},
4883+
"details": {
4884+
"type": "object",
4885+
"additionalProperties": { }
4886+
}
4887+
},
4888+
"additionalProperties": false
4889+
},
45374890
"CreateEnvelopeResponse": {
45384891
"type": "object",
45394892
"properties": {

0 commit comments

Comments
 (0)