@createiq/backend 1.0.24 → 1.0.26
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 +112 -2
- package/client/types.gen.ts +194 -19
- package/dist/index.cjs +92 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +198 -20
- package/dist/index.d.ts +198 -20
- package/dist/index.js +86 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.cjs
CHANGED
|
@@ -34,6 +34,8 @@ __export(index_exports, {
|
|
|
34
34
|
addElectionRejection: () => addElectionRejection,
|
|
35
35
|
addWatchers: () => addWatchers,
|
|
36
36
|
applyExtractedAnswers: () => applyExtractedAnswers,
|
|
37
|
+
approve: () => approve,
|
|
38
|
+
approveAccessRequest: () => approveAccessRequest,
|
|
37
39
|
approveFinalDocument: () => approveFinalDocument,
|
|
38
40
|
assignEntity: () => assignEntity,
|
|
39
41
|
assignToMe: () => assignToMe,
|
|
@@ -217,6 +219,7 @@ __export(index_exports, {
|
|
|
217
219
|
presetGetMultipleNestedAnswers: () => presetGetMultipleNestedAnswers,
|
|
218
220
|
presetGetNestedAnswers: () => presetGetNestedAnswers,
|
|
219
221
|
presetRenderTemplate: () => presetRenderTemplate,
|
|
222
|
+
presetRequestApproval: () => presetRequestApproval,
|
|
220
223
|
presetSendForApproval: () => presetSendForApproval,
|
|
221
224
|
presetSetElectionApproval: () => presetSetElectionApproval,
|
|
222
225
|
presetSetFinalApproval: () => presetSetFinalApproval,
|
|
@@ -225,7 +228,9 @@ __export(index_exports, {
|
|
|
225
228
|
presetSwapParties: () => presetSwapParties,
|
|
226
229
|
publisherSummaries: () => publisherSummaries,
|
|
227
230
|
queueGenerateNegotiationDocumentJob: () => queueGenerateNegotiationDocumentJob,
|
|
231
|
+
rejectAccessRequest: () => rejectAccessRequest,
|
|
228
232
|
rejectFinalDocument: () => rejectFinalDocument,
|
|
233
|
+
rejectPresetApproval: () => rejectPresetApproval,
|
|
229
234
|
removeWatchers: () => removeWatchers,
|
|
230
235
|
renameExecutionAttachment: () => renameExecutionAttachment,
|
|
231
236
|
resetUserAnswers: () => resetUserAnswers,
|
|
@@ -263,6 +268,7 @@ __export(index_exports, {
|
|
|
263
268
|
setSignedExecutedVersion: () => setSignedExecutedVersion,
|
|
264
269
|
setSignedSignaturePageForParty: () => setSignedSignaturePageForParty,
|
|
265
270
|
shareNegotiation: () => shareNegotiation,
|
|
271
|
+
shareSubAccount: () => shareSubAccount,
|
|
266
272
|
suggestGroupName: () => suggestGroupName,
|
|
267
273
|
swapParties: () => swapParties,
|
|
268
274
|
syncNewApprover: () => syncNewApprover,
|
|
@@ -570,6 +576,18 @@ var presetSetMultipleNestedAnswers = (options) => {
|
|
|
570
576
|
}
|
|
571
577
|
});
|
|
572
578
|
};
|
|
579
|
+
var approve = (options) => {
|
|
580
|
+
return (options.client ?? client).put({
|
|
581
|
+
security: [
|
|
582
|
+
{
|
|
583
|
+
name: "Authorization",
|
|
584
|
+
type: "apiKey"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
url: "/api/v1/presets/{presetId}/approvals/approve",
|
|
588
|
+
...options
|
|
589
|
+
});
|
|
590
|
+
};
|
|
573
591
|
var overrideApproveFinalDocument = (options) => {
|
|
574
592
|
return (options.client ?? client).put({
|
|
575
593
|
security: [
|
|
@@ -942,6 +960,22 @@ var listEntities = (options) => {
|
|
|
942
960
|
...options
|
|
943
961
|
});
|
|
944
962
|
};
|
|
963
|
+
var shareSubAccount = (options) => {
|
|
964
|
+
return (options.client ?? client).post({
|
|
965
|
+
security: [
|
|
966
|
+
{
|
|
967
|
+
name: "Authorization",
|
|
968
|
+
type: "apiKey"
|
|
969
|
+
}
|
|
970
|
+
],
|
|
971
|
+
url: "/api/v1/subAccounts/{subAccountId}/share",
|
|
972
|
+
...options,
|
|
973
|
+
headers: {
|
|
974
|
+
"Content-Type": "application/json",
|
|
975
|
+
...options?.headers
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
};
|
|
945
979
|
var assignEntity = (options) => {
|
|
946
980
|
return (options.client ?? client).put({
|
|
947
981
|
security: [
|
|
@@ -2968,6 +3002,18 @@ var scheduleExtraction = (options) => {
|
|
|
2968
3002
|
...options
|
|
2969
3003
|
});
|
|
2970
3004
|
};
|
|
3005
|
+
var approveAccessRequest = (options) => {
|
|
3006
|
+
return (options.client ?? client).put({
|
|
3007
|
+
security: [
|
|
3008
|
+
{
|
|
3009
|
+
name: "Authorization",
|
|
3010
|
+
type: "apiKey"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/approve",
|
|
3014
|
+
...options
|
|
3015
|
+
});
|
|
3016
|
+
};
|
|
2971
3017
|
var negotiationsFilter = (options) => {
|
|
2972
3018
|
return (options.client ?? client).get({
|
|
2973
3019
|
security: [
|
|
@@ -3096,6 +3142,34 @@ var updateSubAccount = (options) => {
|
|
|
3096
3142
|
}
|
|
3097
3143
|
});
|
|
3098
3144
|
};
|
|
3145
|
+
var presetRequestApproval = (options) => {
|
|
3146
|
+
return (options.client ?? client).put({
|
|
3147
|
+
security: [
|
|
3148
|
+
{
|
|
3149
|
+
name: "Authorization",
|
|
3150
|
+
type: "apiKey"
|
|
3151
|
+
}
|
|
3152
|
+
],
|
|
3153
|
+
url: "/api/v1/presets/{presetId}/approvals/requestApproval",
|
|
3154
|
+
...options
|
|
3155
|
+
});
|
|
3156
|
+
};
|
|
3157
|
+
var rejectPresetApproval = (options) => {
|
|
3158
|
+
return (options.client ?? client).put({
|
|
3159
|
+
security: [
|
|
3160
|
+
{
|
|
3161
|
+
name: "Authorization",
|
|
3162
|
+
type: "apiKey"
|
|
3163
|
+
}
|
|
3164
|
+
],
|
|
3165
|
+
url: "/api/v1/presets/{presetId}/approvals/reject",
|
|
3166
|
+
...options,
|
|
3167
|
+
headers: {
|
|
3168
|
+
"Content-Type": "application/json",
|
|
3169
|
+
...options?.headers
|
|
3170
|
+
}
|
|
3171
|
+
});
|
|
3172
|
+
};
|
|
3099
3173
|
var setOwnerEntity = (options) => {
|
|
3100
3174
|
return (options.client ?? client).put({
|
|
3101
3175
|
security: [
|
|
@@ -3689,6 +3763,18 @@ var sendElectionApprovalReminder = (options) => {
|
|
|
3689
3763
|
...options
|
|
3690
3764
|
});
|
|
3691
3765
|
};
|
|
3766
|
+
var rejectAccessRequest = (options) => {
|
|
3767
|
+
return (options.client ?? client).put({
|
|
3768
|
+
security: [
|
|
3769
|
+
{
|
|
3770
|
+
name: "Authorization",
|
|
3771
|
+
type: "apiKey"
|
|
3772
|
+
}
|
|
3773
|
+
],
|
|
3774
|
+
url: "/api/v1/subAccounts/{subAccountId}/accessRequest/{accessRequestId}/reject",
|
|
3775
|
+
...options
|
|
3776
|
+
});
|
|
3777
|
+
};
|
|
3692
3778
|
var getExecutedNegotiationSummary = (options) => {
|
|
3693
3779
|
return (options.client ?? client).get({
|
|
3694
3780
|
security: [
|
|
@@ -3885,6 +3971,8 @@ var getProfile = (options) => {
|
|
|
3885
3971
|
addElectionRejection,
|
|
3886
3972
|
addWatchers,
|
|
3887
3973
|
applyExtractedAnswers,
|
|
3974
|
+
approve,
|
|
3975
|
+
approveAccessRequest,
|
|
3888
3976
|
approveFinalDocument,
|
|
3889
3977
|
assignEntity,
|
|
3890
3978
|
assignToMe,
|
|
@@ -4068,6 +4156,7 @@ var getProfile = (options) => {
|
|
|
4068
4156
|
presetGetMultipleNestedAnswers,
|
|
4069
4157
|
presetGetNestedAnswers,
|
|
4070
4158
|
presetRenderTemplate,
|
|
4159
|
+
presetRequestApproval,
|
|
4071
4160
|
presetSendForApproval,
|
|
4072
4161
|
presetSetElectionApproval,
|
|
4073
4162
|
presetSetFinalApproval,
|
|
@@ -4076,7 +4165,9 @@ var getProfile = (options) => {
|
|
|
4076
4165
|
presetSwapParties,
|
|
4077
4166
|
publisherSummaries,
|
|
4078
4167
|
queueGenerateNegotiationDocumentJob,
|
|
4168
|
+
rejectAccessRequest,
|
|
4079
4169
|
rejectFinalDocument,
|
|
4170
|
+
rejectPresetApproval,
|
|
4080
4171
|
removeWatchers,
|
|
4081
4172
|
renameExecutionAttachment,
|
|
4082
4173
|
resetUserAnswers,
|
|
@@ -4114,6 +4205,7 @@ var getProfile = (options) => {
|
|
|
4114
4205
|
setSignedExecutedVersion,
|
|
4115
4206
|
setSignedSignaturePageForParty,
|
|
4116
4207
|
shareNegotiation,
|
|
4208
|
+
shareSubAccount,
|
|
4117
4209
|
suggestGroupName,
|
|
4118
4210
|
swapParties,
|
|
4119
4211
|
syncNewApprover,
|