@createiq/backend 1.0.169 → 1.0.171
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/index.ts +2 -2
- package/client/sdk.gen.ts +107 -53
- package/client/types.gen.ts +211 -93
- package/dist/index.d.mts +233 -107
- package/dist/index.mjs +123 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -245,6 +245,14 @@ export type AuthnSuccessResponseDto = {
|
|
|
245
245
|
sessionToken?: string;
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
+
export type ValidatedEntityDto = {
|
|
249
|
+
type: 'ValidEntityDto';
|
|
250
|
+
entity: EntityDto;
|
|
251
|
+
} | {
|
|
252
|
+
type: 'InvalidEntityDto';
|
|
253
|
+
entityId: EntityIdDto;
|
|
254
|
+
};
|
|
255
|
+
|
|
248
256
|
export type ApiUserSummaryDto = {
|
|
249
257
|
name: string;
|
|
250
258
|
role: string;
|
|
@@ -278,18 +286,6 @@ export type RenderedTemplateDto = {
|
|
|
278
286
|
};
|
|
279
287
|
};
|
|
280
288
|
|
|
281
|
-
export type ValidatedEntityDto = {
|
|
282
|
-
type: 'ValidEntityDto';
|
|
283
|
-
entity: EntityDto;
|
|
284
|
-
} | {
|
|
285
|
-
type: 'InvalidEntityDto';
|
|
286
|
-
entityId: EntityIdDto;
|
|
287
|
-
};
|
|
288
|
-
|
|
289
|
-
export type CheckForBrokenGuestApprovalRequestsDto = {
|
|
290
|
-
existingApproverEmail: string;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
289
|
export type DocumentListDto = {
|
|
294
290
|
filter: FilterResultsDto;
|
|
295
291
|
documents: Array<DocumentListItemDto>;
|
|
@@ -1416,6 +1412,11 @@ export type ApprovalHistoryDto = {
|
|
|
1416
1412
|
answers?: NegotiationAnswersDto;
|
|
1417
1413
|
};
|
|
1418
1414
|
|
|
1415
|
+
export type CheckForBrokenApproversDto = {
|
|
1416
|
+
existingApproverId?: string;
|
|
1417
|
+
existingApproverEmail?: string;
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1419
1420
|
export type ClientSubAccountContextDto = {
|
|
1420
1421
|
accountId: string;
|
|
1421
1422
|
accountName: string;
|
|
@@ -8042,6 +8043,22 @@ export type getCommentsResponses = {
|
|
|
8042
8043
|
200: unknown;
|
|
8043
8044
|
};
|
|
8044
8045
|
|
|
8046
|
+
export type checkForBrokenApproversData = {
|
|
8047
|
+
body: CheckForBrokenApproversDto;
|
|
8048
|
+
path?: never;
|
|
8049
|
+
query?: never;
|
|
8050
|
+
url: '/api/v1/account/checkForBrokenApprovers';
|
|
8051
|
+
};
|
|
8052
|
+
|
|
8053
|
+
export type checkForBrokenApproversResponses = {
|
|
8054
|
+
/**
|
|
8055
|
+
* A list of workspaces that contain broken negotiations/presets in connection to a specific user and/or guest approval invitation email, which was caused by an admin action. Also includes a list of potential users that can replace the broken approver.
|
|
8056
|
+
*/
|
|
8057
|
+
200: BrokenApproversSummaryDto;
|
|
8058
|
+
};
|
|
8059
|
+
|
|
8060
|
+
export type checkForBrokenApproversResponse = checkForBrokenApproversResponses[keyof checkForBrokenApproversResponses];
|
|
8061
|
+
|
|
8045
8062
|
export type contactForNewApproverData = {
|
|
8046
8063
|
body?: never;
|
|
8047
8064
|
path: {
|
|
@@ -8898,22 +8915,6 @@ export type assignToMeResponses = {
|
|
|
8898
8915
|
|
|
8899
8916
|
export type assignToMeResponse = assignToMeResponses[keyof assignToMeResponses];
|
|
8900
8917
|
|
|
8901
|
-
export type checkForBrokenGuestApprovalRequestsData = {
|
|
8902
|
-
body: CheckForBrokenGuestApprovalRequestsDto;
|
|
8903
|
-
path?: never;
|
|
8904
|
-
query?: never;
|
|
8905
|
-
url: '/api/v1/account/checkForBrokenGuestApprovalRequests';
|
|
8906
|
-
};
|
|
8907
|
-
|
|
8908
|
-
export type checkForBrokenGuestApprovalRequestsResponses = {
|
|
8909
|
-
/**
|
|
8910
|
-
* A list of workspaces that contain broken negotiations in connection to a specific guest approval invitation email, which was caused by an admin action. Also includes a list of potential users that can replace the broken guest approver.
|
|
8911
|
-
*/
|
|
8912
|
-
200: BrokenApproversSummaryDto;
|
|
8913
|
-
};
|
|
8914
|
-
|
|
8915
|
-
export type checkForBrokenGuestApprovalRequestsResponse = checkForBrokenGuestApprovalRequestsResponses[keyof checkForBrokenGuestApprovalRequestsResponses];
|
|
8916
|
-
|
|
8917
8918
|
export type getSignedSignaturePagePDFData = {
|
|
8918
8919
|
body?: never;
|
|
8919
8920
|
path: {
|
|
@@ -9899,31 +9900,86 @@ export type generateCommentsReportResponses = {
|
|
|
9899
9900
|
202: unknown;
|
|
9900
9901
|
};
|
|
9901
9902
|
|
|
9902
|
-
export type
|
|
9903
|
+
export type listPackageAttachmentsData = {
|
|
9903
9904
|
body?: never;
|
|
9904
9905
|
path: {
|
|
9905
9906
|
subAccountId: string;
|
|
9906
|
-
|
|
9907
|
+
negotiationPackageId: string;
|
|
9907
9908
|
};
|
|
9908
9909
|
query?: never;
|
|
9909
|
-
url: '/api/v1/subAccounts/{subAccountId}/
|
|
9910
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9910
9911
|
};
|
|
9911
9912
|
|
|
9912
|
-
export type
|
|
9913
|
+
export type listPackageAttachmentsResponses = {
|
|
9913
9914
|
/**
|
|
9914
|
-
*
|
|
9915
|
+
* Information about uploaded files
|
|
9916
|
+
*/
|
|
9917
|
+
200: AttachmentsExistsDto;
|
|
9918
|
+
};
|
|
9919
|
+
|
|
9920
|
+
export type listPackageAttachmentsResponse = listPackageAttachmentsResponses[keyof listPackageAttachmentsResponses];
|
|
9921
|
+
|
|
9922
|
+
export type setPackageAttachmentsData = {
|
|
9923
|
+
body: {
|
|
9924
|
+
file?: Array<Blob | File>;
|
|
9925
|
+
};
|
|
9926
|
+
path: {
|
|
9927
|
+
subAccountId: string;
|
|
9928
|
+
negotiationPackageId: string;
|
|
9929
|
+
};
|
|
9930
|
+
query?: never;
|
|
9931
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9932
|
+
};
|
|
9933
|
+
|
|
9934
|
+
export type setPackageAttachmentsErrors = {
|
|
9935
|
+
/**
|
|
9936
|
+
* A part is missing its Content-Type, no file was supplied, or the file(s) are too large or would exceed the maximum total size for all files
|
|
9937
|
+
*/
|
|
9938
|
+
400: unknown;
|
|
9939
|
+
/**
|
|
9940
|
+
* The negotiation package was not found
|
|
9915
9941
|
*/
|
|
9916
9942
|
404: unknown;
|
|
9917
9943
|
};
|
|
9918
9944
|
|
|
9919
|
-
export type
|
|
9945
|
+
export type setPackageAttachmentsResponses = {
|
|
9920
9946
|
/**
|
|
9921
|
-
* The
|
|
9947
|
+
* The package attachment(s) were uploaded successfully. Returns all package attachments
|
|
9922
9948
|
*/
|
|
9923
|
-
|
|
9949
|
+
201: AttachmentsExistsDto;
|
|
9924
9950
|
};
|
|
9925
9951
|
|
|
9926
|
-
export type
|
|
9952
|
+
export type setPackageAttachmentsResponse = setPackageAttachmentsResponses[keyof setPackageAttachmentsResponses];
|
|
9953
|
+
|
|
9954
|
+
export type setPackageAttachmentData = {
|
|
9955
|
+
body: Blob | File;
|
|
9956
|
+
path: {
|
|
9957
|
+
subAccountId: string;
|
|
9958
|
+
negotiationPackageId: string;
|
|
9959
|
+
};
|
|
9960
|
+
query?: never;
|
|
9961
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9962
|
+
};
|
|
9963
|
+
|
|
9964
|
+
export type setPackageAttachmentErrors = {
|
|
9965
|
+
/**
|
|
9966
|
+
* The X-File-Name or Content-Type header is missing, or the file is too large or would exceed the maximum total size for all files
|
|
9967
|
+
*/
|
|
9968
|
+
400: unknown;
|
|
9969
|
+
/**
|
|
9970
|
+
* The negotiation package was not found
|
|
9971
|
+
*/
|
|
9972
|
+
404: unknown;
|
|
9973
|
+
};
|
|
9974
|
+
|
|
9975
|
+
export type setPackageAttachmentResponses = {
|
|
9976
|
+
/**
|
|
9977
|
+
* The package attachment was uploaded successfully. Returns all package attachments
|
|
9978
|
+
*/
|
|
9979
|
+
201: AttachmentsExistsDto;
|
|
9980
|
+
};
|
|
9981
|
+
|
|
9982
|
+
export type setPackageAttachmentResponse = setPackageAttachmentResponses[keyof setPackageAttachmentResponses];
|
|
9927
9983
|
|
|
9928
9984
|
export type getAdminLikeUsersData = {
|
|
9929
9985
|
body?: never;
|
|
@@ -10057,6 +10113,86 @@ export type getPreviousMajorVersionsNestedAnswerElectionsResponses = {
|
|
|
10057
10113
|
|
|
10058
10114
|
export type getPreviousMajorVersionsNestedAnswerElectionsResponse = getPreviousMajorVersionsNestedAnswerElectionsResponses[keyof getPreviousMajorVersionsNestedAnswerElectionsResponses];
|
|
10059
10115
|
|
|
10116
|
+
export type getExtractionResultsData = {
|
|
10117
|
+
body?: never;
|
|
10118
|
+
path: {
|
|
10119
|
+
subAccountId: string;
|
|
10120
|
+
negotiationId: string;
|
|
10121
|
+
};
|
|
10122
|
+
query?: never;
|
|
10123
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/getResults';
|
|
10124
|
+
};
|
|
10125
|
+
|
|
10126
|
+
export type getExtractionResultsErrors = {
|
|
10127
|
+
/**
|
|
10128
|
+
* Extraction has not started for this negotiation
|
|
10129
|
+
*/
|
|
10130
|
+
404: unknown;
|
|
10131
|
+
};
|
|
10132
|
+
|
|
10133
|
+
export type getExtractionResultsResponses = {
|
|
10134
|
+
/**
|
|
10135
|
+
* The current extraction status
|
|
10136
|
+
*/
|
|
10137
|
+
200: ExtractionResultDto;
|
|
10138
|
+
};
|
|
10139
|
+
|
|
10140
|
+
export type getExtractionResultsResponse = getExtractionResultsResponses[keyof getExtractionResultsResponses];
|
|
10141
|
+
|
|
10142
|
+
export type deletePackageAttachmentData = {
|
|
10143
|
+
body?: never;
|
|
10144
|
+
path: {
|
|
10145
|
+
subAccountId: string;
|
|
10146
|
+
negotiationPackageId: string;
|
|
10147
|
+
fileName: string;
|
|
10148
|
+
};
|
|
10149
|
+
query?: never;
|
|
10150
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment/{fileName}';
|
|
10151
|
+
};
|
|
10152
|
+
|
|
10153
|
+
export type deletePackageAttachmentErrors = {
|
|
10154
|
+
/**
|
|
10155
|
+
* Package or attachment not found
|
|
10156
|
+
*/
|
|
10157
|
+
404: unknown;
|
|
10158
|
+
};
|
|
10159
|
+
|
|
10160
|
+
export type deletePackageAttachmentResponses = {
|
|
10161
|
+
/**
|
|
10162
|
+
* The package attachment was deleted successfully. Returns the remaining package attachments
|
|
10163
|
+
*/
|
|
10164
|
+
200: AttachmentsExistsDto;
|
|
10165
|
+
};
|
|
10166
|
+
|
|
10167
|
+
export type deletePackageAttachmentResponse = deletePackageAttachmentResponses[keyof deletePackageAttachmentResponses];
|
|
10168
|
+
|
|
10169
|
+
export type getPackageAttachmentData = {
|
|
10170
|
+
body?: never;
|
|
10171
|
+
path: {
|
|
10172
|
+
subAccountId: string;
|
|
10173
|
+
negotiationPackageId: string;
|
|
10174
|
+
fileName: string;
|
|
10175
|
+
};
|
|
10176
|
+
query?: never;
|
|
10177
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment/{fileName}';
|
|
10178
|
+
};
|
|
10179
|
+
|
|
10180
|
+
export type getPackageAttachmentErrors = {
|
|
10181
|
+
/**
|
|
10182
|
+
* Package or attachment not found
|
|
10183
|
+
*/
|
|
10184
|
+
404: unknown;
|
|
10185
|
+
};
|
|
10186
|
+
|
|
10187
|
+
export type getPackageAttachmentResponses = {
|
|
10188
|
+
/**
|
|
10189
|
+
* The uploaded package attachment
|
|
10190
|
+
*/
|
|
10191
|
+
200: Blob | File;
|
|
10192
|
+
};
|
|
10193
|
+
|
|
10194
|
+
export type getPackageAttachmentResponse = getPackageAttachmentResponses[keyof getPackageAttachmentResponses];
|
|
10195
|
+
|
|
10060
10196
|
export type listNegotiationsData = {
|
|
10061
10197
|
body?: never;
|
|
10062
10198
|
path: {
|
|
@@ -11042,6 +11178,44 @@ export type setMultipleNestedAnswersResponses = {
|
|
|
11042
11178
|
|
|
11043
11179
|
export type setMultipleNestedAnswersResponse = setMultipleNestedAnswersResponses[keyof setMultipleNestedAnswersResponses];
|
|
11044
11180
|
|
|
11181
|
+
export type deleteBulkSetAttachmentData = {
|
|
11182
|
+
body?: never;
|
|
11183
|
+
path: {
|
|
11184
|
+
bulkSetId: string;
|
|
11185
|
+
fileName: string;
|
|
11186
|
+
};
|
|
11187
|
+
query?: never;
|
|
11188
|
+
url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
|
|
11189
|
+
};
|
|
11190
|
+
|
|
11191
|
+
export type deleteBulkSetAttachmentResponses = {
|
|
11192
|
+
/**
|
|
11193
|
+
* The bulk set attachment was deleted successfully. Returns all bulk set attachments
|
|
11194
|
+
*/
|
|
11195
|
+
200: AttachmentsExistsDto;
|
|
11196
|
+
};
|
|
11197
|
+
|
|
11198
|
+
export type deleteBulkSetAttachmentResponse = deleteBulkSetAttachmentResponses[keyof deleteBulkSetAttachmentResponses];
|
|
11199
|
+
|
|
11200
|
+
export type getBulkSetAttachmentData = {
|
|
11201
|
+
body?: never;
|
|
11202
|
+
path: {
|
|
11203
|
+
bulkSetId: string;
|
|
11204
|
+
fileName: string;
|
|
11205
|
+
};
|
|
11206
|
+
query?: never;
|
|
11207
|
+
url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
|
|
11208
|
+
};
|
|
11209
|
+
|
|
11210
|
+
export type getBulkSetAttachmentResponses = {
|
|
11211
|
+
/**
|
|
11212
|
+
* The uploaded bulk set attachment
|
|
11213
|
+
*/
|
|
11214
|
+
200: Blob | File;
|
|
11215
|
+
};
|
|
11216
|
+
|
|
11217
|
+
export type getBulkSetAttachmentResponse = getBulkSetAttachmentResponses[keyof getBulkSetAttachmentResponses];
|
|
11218
|
+
|
|
11045
11219
|
export type getDocumentData = {
|
|
11046
11220
|
body?: never;
|
|
11047
11221
|
path: {
|
|
@@ -11314,62 +11488,6 @@ export type setPresetResponses = {
|
|
|
11314
11488
|
|
|
11315
11489
|
export type setPresetResponse = setPresetResponses[keyof setPresetResponses];
|
|
11316
11490
|
|
|
11317
|
-
export type checkForBrokenApproversData = {
|
|
11318
|
-
body?: never;
|
|
11319
|
-
path: {
|
|
11320
|
-
existingApproverId: string;
|
|
11321
|
-
};
|
|
11322
|
-
query?: never;
|
|
11323
|
-
url: '/api/v1/account/checkForBrokenApprovers/{existingApproverId}';
|
|
11324
|
-
};
|
|
11325
|
-
|
|
11326
|
-
export type checkForBrokenApproversResponses = {
|
|
11327
|
-
/**
|
|
11328
|
-
* A list of workspaces that contain broken negotiations/presets in connection to a specific user, which caused by an admin action. Also includes a list of potential users that can replace the broken user.
|
|
11329
|
-
*/
|
|
11330
|
-
200: BrokenApproversSummaryDto;
|
|
11331
|
-
};
|
|
11332
|
-
|
|
11333
|
-
export type checkForBrokenApproversResponse = checkForBrokenApproversResponses[keyof checkForBrokenApproversResponses];
|
|
11334
|
-
|
|
11335
|
-
export type deleteBulkSetAttachmentData = {
|
|
11336
|
-
body?: never;
|
|
11337
|
-
path: {
|
|
11338
|
-
bulkSetId: string;
|
|
11339
|
-
fileName: string;
|
|
11340
|
-
};
|
|
11341
|
-
query?: never;
|
|
11342
|
-
url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
|
|
11343
|
-
};
|
|
11344
|
-
|
|
11345
|
-
export type deleteBulkSetAttachmentResponses = {
|
|
11346
|
-
/**
|
|
11347
|
-
* The bulk set attachment was deleted successfully. Returns all bulk set attachments
|
|
11348
|
-
*/
|
|
11349
|
-
200: AttachmentsExistsDto;
|
|
11350
|
-
};
|
|
11351
|
-
|
|
11352
|
-
export type deleteBulkSetAttachmentResponse = deleteBulkSetAttachmentResponses[keyof deleteBulkSetAttachmentResponses];
|
|
11353
|
-
|
|
11354
|
-
export type getBulkSetAttachmentData = {
|
|
11355
|
-
body?: never;
|
|
11356
|
-
path: {
|
|
11357
|
-
bulkSetId: string;
|
|
11358
|
-
fileName: string;
|
|
11359
|
-
};
|
|
11360
|
-
query?: never;
|
|
11361
|
-
url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
|
|
11362
|
-
};
|
|
11363
|
-
|
|
11364
|
-
export type getBulkSetAttachmentResponses = {
|
|
11365
|
-
/**
|
|
11366
|
-
* The uploaded bulk set attachment
|
|
11367
|
-
*/
|
|
11368
|
-
200: Blob | File;
|
|
11369
|
-
};
|
|
11370
|
-
|
|
11371
|
-
export type getBulkSetAttachmentResponse = getBulkSetAttachmentResponses[keyof getBulkSetAttachmentResponses];
|
|
11372
|
-
|
|
11373
11491
|
export type usersWithNegotiationAccessData = {
|
|
11374
11492
|
body?: never;
|
|
11375
11493
|
path: {
|