@createiq/backend 1.0.19 → 1.0.21
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/client/sdk.gen.ts +93 -76
- package/client/types.gen.ts +253 -234
- package/dist/index.cjs +68 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +257 -231
- package/dist/index.d.ts +257 -231
- package/dist/index.js +61 -48
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.cjs
CHANGED
|
@@ -39,9 +39,7 @@ __export(index_exports, {
|
|
|
39
39
|
assignToMe: () => assignToMe,
|
|
40
40
|
assignUser: () => assignUser,
|
|
41
41
|
auditTrailFilters: () => auditTrailFilters,
|
|
42
|
-
auditTrailForAccountAsExcel: () => auditTrailForAccountAsExcel,
|
|
43
42
|
auditTrailForAccountAsJson: () => auditTrailForAccountAsJson,
|
|
44
|
-
auditTrailForSubAccountAsExcel: () => auditTrailForSubAccountAsExcel,
|
|
45
43
|
auditTrailForSubAccountAsJson: () => auditTrailForSubAccountAsJson,
|
|
46
44
|
authPing: () => authPing,
|
|
47
45
|
breakingChanges: () => breakingChanges,
|
|
@@ -90,9 +88,6 @@ __export(index_exports, {
|
|
|
90
88
|
deleteSignedSignaturePageForParty: () => deleteSignedSignaturePageForParty,
|
|
91
89
|
documentRenderTemplate: () => documentRenderTemplate,
|
|
92
90
|
documentsFilter: () => documentsFilter,
|
|
93
|
-
downloadActiveNegotiationsReportAsExcel: () => downloadActiveNegotiationsReportAsExcel,
|
|
94
|
-
downloadDashboardReportAsExcel: () => downloadDashboardReportAsExcel,
|
|
95
|
-
downloadExecutedNegotiationsAsExcel: () => downloadExecutedNegotiationsAsExcel,
|
|
96
91
|
downloadNegotiation: () => downloadNegotiation,
|
|
97
92
|
downloadPostExecutionPack: () => downloadPostExecutionPack,
|
|
98
93
|
downloadPreExecutionCounterpartyNegotiation: () => downloadPreExecutionCounterpartyNegotiation,
|
|
@@ -104,10 +99,15 @@ __export(index_exports, {
|
|
|
104
99
|
extendWindow: () => extendWindow,
|
|
105
100
|
fixApprovalRules: () => fixApprovalRules,
|
|
106
101
|
forkNegotiation: () => forkNegotiation,
|
|
102
|
+
generateActiveNegotiationsReportAsExcel: () => generateActiveNegotiationsReportAsExcel,
|
|
107
103
|
generateAndMaybeSendEnvelope: () => generateAndMaybeSendEnvelope,
|
|
104
|
+
generateAuditTrailForAccountAsExcel: () => generateAuditTrailForAccountAsExcel,
|
|
105
|
+
generateAuditTrailForSubAccountAsExcel: () => generateAuditTrailForSubAccountAsExcel,
|
|
106
|
+
generateCommentsReport: () => generateCommentsReport,
|
|
107
|
+
generateExecutedNegotiationsReportAsExcel: () => generateExecutedNegotiationsReportAsExcel,
|
|
108
|
+
generateNegotiationsReport: () => generateNegotiationsReport,
|
|
108
109
|
getAccessibleNegotiation: () => getAccessibleNegotiation,
|
|
109
110
|
getAccountRelationshipSummaries: () => getAccountRelationshipSummaries,
|
|
110
|
-
getAllNegotiationCommentsForSubAccount: () => getAllNegotiationCommentsForSubAccount,
|
|
111
111
|
getAllVersions: () => getAllVersions,
|
|
112
112
|
getAmendDefaults: () => getAmendDefaults,
|
|
113
113
|
getAnnotatedOfflineNegotiatedDocument: () => getAnnotatedOfflineNegotiatedDocument,
|
|
@@ -150,6 +150,7 @@ __export(index_exports, {
|
|
|
150
150
|
getOriginalAnswersForForkNegotiation: () => getOriginalAnswersForForkNegotiation,
|
|
151
151
|
getOtherPartyAnswers: () => getOtherPartyAnswers,
|
|
152
152
|
getPartyAnswers: () => getPartyAnswers,
|
|
153
|
+
getPotentialUsers: () => getPotentialUsers,
|
|
153
154
|
getPreset: () => getPreset,
|
|
154
155
|
getPreviousActiveUsers: () => getPreviousActiveUsers,
|
|
155
156
|
getPreviousMajorVersionsNestedAnswerElections: () => getPreviousMajorVersionsNestedAnswerElections,
|
|
@@ -624,7 +625,7 @@ var updateSelectedElections = (options) => {
|
|
|
624
625
|
}
|
|
625
626
|
});
|
|
626
627
|
};
|
|
627
|
-
var
|
|
628
|
+
var generateAuditTrailForAccountAsExcel = (options) => {
|
|
628
629
|
return (options.client ?? client).get({
|
|
629
630
|
security: [
|
|
630
631
|
{
|
|
@@ -912,6 +913,22 @@ var negotiationForkHistory = (options) => {
|
|
|
912
913
|
...options
|
|
913
914
|
});
|
|
914
915
|
};
|
|
916
|
+
var moveEntity = (options) => {
|
|
917
|
+
return (options.client ?? client).put({
|
|
918
|
+
security: [
|
|
919
|
+
{
|
|
920
|
+
name: "Authorization",
|
|
921
|
+
type: "apiKey"
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
|
|
925
|
+
...options,
|
|
926
|
+
headers: {
|
|
927
|
+
"Content-Type": "application/json",
|
|
928
|
+
...options?.headers
|
|
929
|
+
}
|
|
930
|
+
});
|
|
931
|
+
};
|
|
915
932
|
var listEntities = (options) => {
|
|
916
933
|
return (options?.client ?? client).get({
|
|
917
934
|
security: [
|
|
@@ -972,34 +989,6 @@ var setElectionApproval = (options) => {
|
|
|
972
989
|
}
|
|
973
990
|
});
|
|
974
991
|
};
|
|
975
|
-
var downloadDashboardReportAsExcel = (options) => {
|
|
976
|
-
return (options.client ?? client).get({
|
|
977
|
-
security: [
|
|
978
|
-
{
|
|
979
|
-
name: "Authorization",
|
|
980
|
-
type: "apiKey"
|
|
981
|
-
}
|
|
982
|
-
],
|
|
983
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiations/xlsx",
|
|
984
|
-
...options
|
|
985
|
-
});
|
|
986
|
-
};
|
|
987
|
-
var moveEntity = (options) => {
|
|
988
|
-
return (options.client ?? client).put({
|
|
989
|
-
security: [
|
|
990
|
-
{
|
|
991
|
-
name: "Authorization",
|
|
992
|
-
type: "apiKey"
|
|
993
|
-
}
|
|
994
|
-
],
|
|
995
|
-
url: "/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move",
|
|
996
|
-
...options,
|
|
997
|
-
headers: {
|
|
998
|
-
"Content-Type": "application/json",
|
|
999
|
-
...options?.headers
|
|
1000
|
-
}
|
|
1001
|
-
});
|
|
1002
|
-
};
|
|
1003
992
|
var deleteApprovalComment = (options) => {
|
|
1004
993
|
return (options.client ?? client).delete({
|
|
1005
994
|
security: [
|
|
@@ -1076,6 +1065,18 @@ var getAccessibleNegotiation = (options) => {
|
|
|
1076
1065
|
...options
|
|
1077
1066
|
});
|
|
1078
1067
|
};
|
|
1068
|
+
var generateNegotiationsReport = (options) => {
|
|
1069
|
+
return (options.client ?? client).get({
|
|
1070
|
+
security: [
|
|
1071
|
+
{
|
|
1072
|
+
name: "Authorization",
|
|
1073
|
+
type: "apiKey"
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}",
|
|
1077
|
+
...options
|
|
1078
|
+
});
|
|
1079
|
+
};
|
|
1079
1080
|
var forkNegotiation = (options) => {
|
|
1080
1081
|
return (options.client ?? client).post({
|
|
1081
1082
|
security: [
|
|
@@ -1609,7 +1610,7 @@ var getDownloadExecutedNegotiationsAsExcel = (options) => {
|
|
|
1609
1610
|
...options
|
|
1610
1611
|
});
|
|
1611
1612
|
};
|
|
1612
|
-
var
|
|
1613
|
+
var generateExecutedNegotiationsReportAsExcel = (options) => {
|
|
1613
1614
|
return (options.client ?? client).post({
|
|
1614
1615
|
security: [
|
|
1615
1616
|
{
|
|
@@ -2225,20 +2226,20 @@ var getPartyAnswers = (options) => {
|
|
|
2225
2226
|
...options
|
|
2226
2227
|
});
|
|
2227
2228
|
};
|
|
2228
|
-
var
|
|
2229
|
-
return (options.client ?? client).
|
|
2229
|
+
var deletePreset = (options) => {
|
|
2230
|
+
return (options.client ?? client).delete({
|
|
2230
2231
|
security: [
|
|
2231
2232
|
{
|
|
2232
2233
|
name: "Authorization",
|
|
2233
2234
|
type: "apiKey"
|
|
2234
2235
|
}
|
|
2235
2236
|
],
|
|
2236
|
-
url: "/api/v1/
|
|
2237
|
+
url: "/api/v1/presets/{presetId}",
|
|
2237
2238
|
...options
|
|
2238
2239
|
});
|
|
2239
2240
|
};
|
|
2240
|
-
var
|
|
2241
|
-
return (options.client ?? client).
|
|
2241
|
+
var getPreset = (options) => {
|
|
2242
|
+
return (options.client ?? client).get({
|
|
2242
2243
|
security: [
|
|
2243
2244
|
{
|
|
2244
2245
|
name: "Authorization",
|
|
@@ -2249,7 +2250,7 @@ var deletePreset = (options) => {
|
|
|
2249
2250
|
...options
|
|
2250
2251
|
});
|
|
2251
2252
|
};
|
|
2252
|
-
var
|
|
2253
|
+
var createPresetAuditTrailJson = (options) => {
|
|
2253
2254
|
return (options.client ?? client).get({
|
|
2254
2255
|
security: [
|
|
2255
2256
|
{
|
|
@@ -2257,11 +2258,11 @@ var getPreset = (options) => {
|
|
|
2257
2258
|
type: "apiKey"
|
|
2258
2259
|
}
|
|
2259
2260
|
],
|
|
2260
|
-
url: "/api/v1/presets/{presetId}",
|
|
2261
|
+
url: "/api/v1/presets/{presetId}/audit_trail/json",
|
|
2261
2262
|
...options
|
|
2262
2263
|
});
|
|
2263
2264
|
};
|
|
2264
|
-
var
|
|
2265
|
+
var getPotentialUsers = (options) => {
|
|
2265
2266
|
return (options.client ?? client).get({
|
|
2266
2267
|
security: [
|
|
2267
2268
|
{
|
|
@@ -2269,7 +2270,19 @@ var createPresetAuditTrailJson = (options) => {
|
|
|
2269
2270
|
type: "apiKey"
|
|
2270
2271
|
}
|
|
2271
2272
|
],
|
|
2272
|
-
url: "/api/v1/
|
|
2273
|
+
url: "/api/v1/subaccount/{subAccountId}/potentialUsers",
|
|
2274
|
+
...options
|
|
2275
|
+
});
|
|
2276
|
+
};
|
|
2277
|
+
var getNegotiationsGroup = (options) => {
|
|
2278
|
+
return (options.client ?? client).get({
|
|
2279
|
+
security: [
|
|
2280
|
+
{
|
|
2281
|
+
name: "Authorization",
|
|
2282
|
+
type: "apiKey"
|
|
2283
|
+
}
|
|
2284
|
+
],
|
|
2285
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations",
|
|
2273
2286
|
...options
|
|
2274
2287
|
});
|
|
2275
2288
|
};
|
|
@@ -2381,7 +2394,7 @@ var assignUser = (options) => {
|
|
|
2381
2394
|
...options
|
|
2382
2395
|
});
|
|
2383
2396
|
};
|
|
2384
|
-
var
|
|
2397
|
+
var generateCommentsReport = (options) => {
|
|
2385
2398
|
return (options.client ?? client).get({
|
|
2386
2399
|
security: [
|
|
2387
2400
|
{
|
|
@@ -2666,7 +2679,7 @@ var setExternalAttachment = (options) => {
|
|
|
2666
2679
|
}
|
|
2667
2680
|
});
|
|
2668
2681
|
};
|
|
2669
|
-
var
|
|
2682
|
+
var generateAuditTrailForSubAccountAsExcel = (options) => {
|
|
2670
2683
|
return (options.client ?? client).get({
|
|
2671
2684
|
security: [
|
|
2672
2685
|
{
|
|
@@ -3271,7 +3284,7 @@ var getDownloadActiveNegotiationsReportAsExcel = (options) => {
|
|
|
3271
3284
|
...options
|
|
3272
3285
|
});
|
|
3273
3286
|
};
|
|
3274
|
-
var
|
|
3287
|
+
var generateActiveNegotiationsReportAsExcel = (options) => {
|
|
3275
3288
|
return (options.client ?? client).post({
|
|
3276
3289
|
security: [
|
|
3277
3290
|
{
|
|
@@ -3860,9 +3873,7 @@ var getProfile = (options) => {
|
|
|
3860
3873
|
assignToMe,
|
|
3861
3874
|
assignUser,
|
|
3862
3875
|
auditTrailFilters,
|
|
3863
|
-
auditTrailForAccountAsExcel,
|
|
3864
3876
|
auditTrailForAccountAsJson,
|
|
3865
|
-
auditTrailForSubAccountAsExcel,
|
|
3866
3877
|
auditTrailForSubAccountAsJson,
|
|
3867
3878
|
authPing,
|
|
3868
3879
|
breakingChanges,
|
|
@@ -3911,9 +3922,6 @@ var getProfile = (options) => {
|
|
|
3911
3922
|
deleteSignedSignaturePageForParty,
|
|
3912
3923
|
documentRenderTemplate,
|
|
3913
3924
|
documentsFilter,
|
|
3914
|
-
downloadActiveNegotiationsReportAsExcel,
|
|
3915
|
-
downloadDashboardReportAsExcel,
|
|
3916
|
-
downloadExecutedNegotiationsAsExcel,
|
|
3917
3925
|
downloadNegotiation,
|
|
3918
3926
|
downloadPostExecutionPack,
|
|
3919
3927
|
downloadPreExecutionCounterpartyNegotiation,
|
|
@@ -3925,10 +3933,15 @@ var getProfile = (options) => {
|
|
|
3925
3933
|
extendWindow,
|
|
3926
3934
|
fixApprovalRules,
|
|
3927
3935
|
forkNegotiation,
|
|
3936
|
+
generateActiveNegotiationsReportAsExcel,
|
|
3928
3937
|
generateAndMaybeSendEnvelope,
|
|
3938
|
+
generateAuditTrailForAccountAsExcel,
|
|
3939
|
+
generateAuditTrailForSubAccountAsExcel,
|
|
3940
|
+
generateCommentsReport,
|
|
3941
|
+
generateExecutedNegotiationsReportAsExcel,
|
|
3942
|
+
generateNegotiationsReport,
|
|
3929
3943
|
getAccessibleNegotiation,
|
|
3930
3944
|
getAccountRelationshipSummaries,
|
|
3931
|
-
getAllNegotiationCommentsForSubAccount,
|
|
3932
3945
|
getAllVersions,
|
|
3933
3946
|
getAmendDefaults,
|
|
3934
3947
|
getAnnotatedOfflineNegotiatedDocument,
|
|
@@ -3971,6 +3984,7 @@ var getProfile = (options) => {
|
|
|
3971
3984
|
getOriginalAnswersForForkNegotiation,
|
|
3972
3985
|
getOtherPartyAnswers,
|
|
3973
3986
|
getPartyAnswers,
|
|
3987
|
+
getPotentialUsers,
|
|
3974
3988
|
getPreset,
|
|
3975
3989
|
getPreviousActiveUsers,
|
|
3976
3990
|
getPreviousMajorVersionsNestedAnswerElections,
|