@createiq/backend 1.0.168 → 1.0.170
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 +70 -5
- package/client/types.gen.ts +144 -11
- package/dist/index.d.mts +159 -15
- package/dist/index.mjs +80 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -3059,8 +3059,6 @@ export type CreateSubAccountResponseDto = {
|
|
|
3059
3059
|
|
|
3060
3060
|
export type SendPackageToCounterpartyRequestDto = {
|
|
3061
3061
|
negotiationIds: Array<string>;
|
|
3062
|
-
attachDocx?: boolean;
|
|
3063
|
-
attachPdf?: boolean;
|
|
3064
3062
|
reminderCadence?: 'OneWeek' | 'TwoWeeks' | 'ThreeWeeks';
|
|
3065
3063
|
};
|
|
3066
3064
|
|
|
@@ -9901,31 +9899,86 @@ export type generateCommentsReportResponses = {
|
|
|
9901
9899
|
202: unknown;
|
|
9902
9900
|
};
|
|
9903
9901
|
|
|
9904
|
-
export type
|
|
9902
|
+
export type listPackageAttachmentsData = {
|
|
9905
9903
|
body?: never;
|
|
9906
9904
|
path: {
|
|
9907
9905
|
subAccountId: string;
|
|
9908
|
-
|
|
9906
|
+
negotiationPackageId: string;
|
|
9909
9907
|
};
|
|
9910
9908
|
query?: never;
|
|
9911
|
-
url: '/api/v1/subAccounts/{subAccountId}/
|
|
9909
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9912
9910
|
};
|
|
9913
9911
|
|
|
9914
|
-
export type
|
|
9912
|
+
export type listPackageAttachmentsResponses = {
|
|
9915
9913
|
/**
|
|
9916
|
-
*
|
|
9914
|
+
* Information about uploaded files
|
|
9915
|
+
*/
|
|
9916
|
+
200: AttachmentsExistsDto;
|
|
9917
|
+
};
|
|
9918
|
+
|
|
9919
|
+
export type listPackageAttachmentsResponse = listPackageAttachmentsResponses[keyof listPackageAttachmentsResponses];
|
|
9920
|
+
|
|
9921
|
+
export type setPackageAttachmentsData = {
|
|
9922
|
+
body: {
|
|
9923
|
+
file?: Array<Blob | File>;
|
|
9924
|
+
};
|
|
9925
|
+
path: {
|
|
9926
|
+
subAccountId: string;
|
|
9927
|
+
negotiationPackageId: string;
|
|
9928
|
+
};
|
|
9929
|
+
query?: never;
|
|
9930
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9931
|
+
};
|
|
9932
|
+
|
|
9933
|
+
export type setPackageAttachmentsErrors = {
|
|
9934
|
+
/**
|
|
9935
|
+
* 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
|
|
9936
|
+
*/
|
|
9937
|
+
400: unknown;
|
|
9938
|
+
/**
|
|
9939
|
+
* The negotiation package was not found
|
|
9917
9940
|
*/
|
|
9918
9941
|
404: unknown;
|
|
9919
9942
|
};
|
|
9920
9943
|
|
|
9921
|
-
export type
|
|
9944
|
+
export type setPackageAttachmentsResponses = {
|
|
9922
9945
|
/**
|
|
9923
|
-
* The
|
|
9946
|
+
* The package attachment(s) were uploaded successfully. Returns all package attachments
|
|
9924
9947
|
*/
|
|
9925
|
-
|
|
9948
|
+
201: AttachmentsExistsDto;
|
|
9926
9949
|
};
|
|
9927
9950
|
|
|
9928
|
-
export type
|
|
9951
|
+
export type setPackageAttachmentsResponse = setPackageAttachmentsResponses[keyof setPackageAttachmentsResponses];
|
|
9952
|
+
|
|
9953
|
+
export type setPackageAttachmentData = {
|
|
9954
|
+
body: Blob | File;
|
|
9955
|
+
path: {
|
|
9956
|
+
subAccountId: string;
|
|
9957
|
+
negotiationPackageId: string;
|
|
9958
|
+
};
|
|
9959
|
+
query?: never;
|
|
9960
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
|
|
9961
|
+
};
|
|
9962
|
+
|
|
9963
|
+
export type setPackageAttachmentErrors = {
|
|
9964
|
+
/**
|
|
9965
|
+
* 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
|
|
9966
|
+
*/
|
|
9967
|
+
400: unknown;
|
|
9968
|
+
/**
|
|
9969
|
+
* The negotiation package was not found
|
|
9970
|
+
*/
|
|
9971
|
+
404: unknown;
|
|
9972
|
+
};
|
|
9973
|
+
|
|
9974
|
+
export type setPackageAttachmentResponses = {
|
|
9975
|
+
/**
|
|
9976
|
+
* The package attachment was uploaded successfully. Returns all package attachments
|
|
9977
|
+
*/
|
|
9978
|
+
201: AttachmentsExistsDto;
|
|
9979
|
+
};
|
|
9980
|
+
|
|
9981
|
+
export type setPackageAttachmentResponse = setPackageAttachmentResponses[keyof setPackageAttachmentResponses];
|
|
9929
9982
|
|
|
9930
9983
|
export type getAdminLikeUsersData = {
|
|
9931
9984
|
body?: never;
|
|
@@ -10059,6 +10112,86 @@ export type getPreviousMajorVersionsNestedAnswerElectionsResponses = {
|
|
|
10059
10112
|
|
|
10060
10113
|
export type getPreviousMajorVersionsNestedAnswerElectionsResponse = getPreviousMajorVersionsNestedAnswerElectionsResponses[keyof getPreviousMajorVersionsNestedAnswerElectionsResponses];
|
|
10061
10114
|
|
|
10115
|
+
export type getExtractionResultsData = {
|
|
10116
|
+
body?: never;
|
|
10117
|
+
path: {
|
|
10118
|
+
subAccountId: string;
|
|
10119
|
+
negotiationId: string;
|
|
10120
|
+
};
|
|
10121
|
+
query?: never;
|
|
10122
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/getResults';
|
|
10123
|
+
};
|
|
10124
|
+
|
|
10125
|
+
export type getExtractionResultsErrors = {
|
|
10126
|
+
/**
|
|
10127
|
+
* Extraction has not started for this negotiation
|
|
10128
|
+
*/
|
|
10129
|
+
404: unknown;
|
|
10130
|
+
};
|
|
10131
|
+
|
|
10132
|
+
export type getExtractionResultsResponses = {
|
|
10133
|
+
/**
|
|
10134
|
+
* The current extraction status
|
|
10135
|
+
*/
|
|
10136
|
+
200: ExtractionResultDto;
|
|
10137
|
+
};
|
|
10138
|
+
|
|
10139
|
+
export type getExtractionResultsResponse = getExtractionResultsResponses[keyof getExtractionResultsResponses];
|
|
10140
|
+
|
|
10141
|
+
export type deletePackageAttachmentData = {
|
|
10142
|
+
body?: never;
|
|
10143
|
+
path: {
|
|
10144
|
+
subAccountId: string;
|
|
10145
|
+
negotiationPackageId: string;
|
|
10146
|
+
fileName: string;
|
|
10147
|
+
};
|
|
10148
|
+
query?: never;
|
|
10149
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment/{fileName}';
|
|
10150
|
+
};
|
|
10151
|
+
|
|
10152
|
+
export type deletePackageAttachmentErrors = {
|
|
10153
|
+
/**
|
|
10154
|
+
* Package or attachment not found
|
|
10155
|
+
*/
|
|
10156
|
+
404: unknown;
|
|
10157
|
+
};
|
|
10158
|
+
|
|
10159
|
+
export type deletePackageAttachmentResponses = {
|
|
10160
|
+
/**
|
|
10161
|
+
* The package attachment was deleted successfully. Returns the remaining package attachments
|
|
10162
|
+
*/
|
|
10163
|
+
200: AttachmentsExistsDto;
|
|
10164
|
+
};
|
|
10165
|
+
|
|
10166
|
+
export type deletePackageAttachmentResponse = deletePackageAttachmentResponses[keyof deletePackageAttachmentResponses];
|
|
10167
|
+
|
|
10168
|
+
export type getPackageAttachmentData = {
|
|
10169
|
+
body?: never;
|
|
10170
|
+
path: {
|
|
10171
|
+
subAccountId: string;
|
|
10172
|
+
negotiationPackageId: string;
|
|
10173
|
+
fileName: string;
|
|
10174
|
+
};
|
|
10175
|
+
query?: never;
|
|
10176
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment/{fileName}';
|
|
10177
|
+
};
|
|
10178
|
+
|
|
10179
|
+
export type getPackageAttachmentErrors = {
|
|
10180
|
+
/**
|
|
10181
|
+
* Package or attachment not found
|
|
10182
|
+
*/
|
|
10183
|
+
404: unknown;
|
|
10184
|
+
};
|
|
10185
|
+
|
|
10186
|
+
export type getPackageAttachmentResponses = {
|
|
10187
|
+
/**
|
|
10188
|
+
* The uploaded package attachment
|
|
10189
|
+
*/
|
|
10190
|
+
200: Blob | File;
|
|
10191
|
+
};
|
|
10192
|
+
|
|
10193
|
+
export type getPackageAttachmentResponse = getPackageAttachmentResponses[keyof getPackageAttachmentResponses];
|
|
10194
|
+
|
|
10062
10195
|
export type listNegotiationsData = {
|
|
10063
10196
|
body?: never;
|
|
10064
10197
|
path: {
|