@createiq/backend 1.0.169 → 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.
@@ -9899,31 +9899,86 @@ export type generateCommentsReportResponses = {
9899
9899
  202: unknown;
9900
9900
  };
9901
9901
 
9902
- export type getExtractionResultsData = {
9902
+ export type listPackageAttachmentsData = {
9903
9903
  body?: never;
9904
9904
  path: {
9905
9905
  subAccountId: string;
9906
- negotiationId: string;
9906
+ negotiationPackageId: string;
9907
9907
  };
9908
9908
  query?: never;
9909
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/getResults';
9909
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/attachment';
9910
9910
  };
9911
9911
 
9912
- export type getExtractionResultsErrors = {
9912
+ export type listPackageAttachmentsResponses = {
9913
9913
  /**
9914
- * Extraction has not started for this negotiation
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
9915
9940
  */
9916
9941
  404: unknown;
9917
9942
  };
9918
9943
 
9919
- export type getExtractionResultsResponses = {
9944
+ export type setPackageAttachmentsResponses = {
9920
9945
  /**
9921
- * The current extraction status
9946
+ * The package attachment(s) were uploaded successfully. Returns all package attachments
9922
9947
  */
9923
- 200: ExtractionResultDto;
9948
+ 201: AttachmentsExistsDto;
9924
9949
  };
9925
9950
 
9926
- export type getExtractionResultsResponse = getExtractionResultsResponses[keyof getExtractionResultsResponses];
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];
9927
9982
 
9928
9983
  export type getAdminLikeUsersData = {
9929
9984
  body?: never;
@@ -10057,6 +10112,86 @@ export type getPreviousMajorVersionsNestedAnswerElectionsResponses = {
10057
10112
 
10058
10113
  export type getPreviousMajorVersionsNestedAnswerElectionsResponse = getPreviousMajorVersionsNestedAnswerElectionsResponses[keyof getPreviousMajorVersionsNestedAnswerElectionsResponses];
10059
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
+
10060
10195
  export type listNegotiationsData = {
10061
10196
  body?: never;
10062
10197
  path: {