@createiq/backend 1.0.48 → 1.0.50
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 +22 -22
- package/client/types.gen.ts +35 -34
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -35
- package/dist/index.d.ts +36 -35
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -229,6 +229,7 @@ type DocumentListDto = {
|
|
|
229
229
|
pagingMeta: PagingMetaDto;
|
|
230
230
|
totalPhase2Templates: number;
|
|
231
231
|
totalTemplates: number;
|
|
232
|
+
totalFavouriteDocuments: number;
|
|
232
233
|
};
|
|
233
234
|
type PublicAccountSearchResultsDto = {
|
|
234
235
|
accountNames: Array<string>;
|
|
@@ -9349,36 +9350,6 @@ type UpdateCoverNote_Responses = {
|
|
|
9349
9350
|
204: void;
|
|
9350
9351
|
};
|
|
9351
9352
|
type UpdateCoverNote_Response = UpdateCoverNote_Responses[keyof UpdateCoverNote_Responses];
|
|
9352
|
-
type SendToCounterpartyInitial_Data = {
|
|
9353
|
-
body?: SendToCounterPartyInitialDto;
|
|
9354
|
-
path: {
|
|
9355
|
-
subAccountId: string;
|
|
9356
|
-
negotiationId: string;
|
|
9357
|
-
};
|
|
9358
|
-
query?: never;
|
|
9359
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
|
|
9360
|
-
};
|
|
9361
|
-
type SendToCounterpartyInitial_Errors = {
|
|
9362
|
-
/**
|
|
9363
|
-
* No counterparty is configured
|
|
9364
|
-
*/
|
|
9365
|
-
403: unknown;
|
|
9366
|
-
/**
|
|
9367
|
-
* Negotiation not found
|
|
9368
|
-
*/
|
|
9369
|
-
404: unknown;
|
|
9370
|
-
/**
|
|
9371
|
-
* Could not save new version
|
|
9372
|
-
*/
|
|
9373
|
-
409: unknown;
|
|
9374
|
-
};
|
|
9375
|
-
type SendToCounterpartyInitial_Responses = {
|
|
9376
|
-
/**
|
|
9377
|
-
* Sent to counterparty
|
|
9378
|
-
*/
|
|
9379
|
-
200: Array<NegotiationSingleDto>;
|
|
9380
|
-
};
|
|
9381
|
-
type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
|
|
9382
9353
|
type QueueGenerateNegotiationDocumentJob_Data = {
|
|
9383
9354
|
body: GenerateNegotiationDocumentDto;
|
|
9384
9355
|
path: {
|
|
@@ -9433,6 +9404,36 @@ type UpgradePresetSchema_Responses = {
|
|
|
9433
9404
|
200: PresetSingleWithPreviewDto;
|
|
9434
9405
|
};
|
|
9435
9406
|
type UpgradePresetSchema_Response = UpgradePresetSchema_Responses[keyof UpgradePresetSchema_Responses];
|
|
9407
|
+
type SendToCounterpartyInitial_Data = {
|
|
9408
|
+
body?: SendToCounterPartyInitialDto;
|
|
9409
|
+
path: {
|
|
9410
|
+
subAccountId: string;
|
|
9411
|
+
negotiationId: string;
|
|
9412
|
+
};
|
|
9413
|
+
query?: never;
|
|
9414
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
|
|
9415
|
+
};
|
|
9416
|
+
type SendToCounterpartyInitial_Errors = {
|
|
9417
|
+
/**
|
|
9418
|
+
* No counterparty is configured
|
|
9419
|
+
*/
|
|
9420
|
+
403: unknown;
|
|
9421
|
+
/**
|
|
9422
|
+
* Negotiation not found
|
|
9423
|
+
*/
|
|
9424
|
+
404: unknown;
|
|
9425
|
+
/**
|
|
9426
|
+
* Could not save new version
|
|
9427
|
+
*/
|
|
9428
|
+
409: unknown;
|
|
9429
|
+
};
|
|
9430
|
+
type SendToCounterpartyInitial_Responses = {
|
|
9431
|
+
/**
|
|
9432
|
+
* Sent to counterparty
|
|
9433
|
+
*/
|
|
9434
|
+
200: Array<NegotiationSingleDto>;
|
|
9435
|
+
};
|
|
9436
|
+
type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
|
|
9436
9437
|
type DocumentRenderTemplate_Data = {
|
|
9437
9438
|
body?: never;
|
|
9438
9439
|
path: {
|
|
@@ -11199,11 +11200,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
|
|
|
11199
11200
|
* Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
|
|
11200
11201
|
*/
|
|
11201
11202
|
declare const updateCoverNote: <ThrowOnError extends boolean = false>(options: Options<UpdateCoverNote_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, unknown, ThrowOnError>;
|
|
11202
|
-
/**
|
|
11203
|
-
* Send a negotiation to all counterparties for the first time
|
|
11204
|
-
* Send a negotiation to all counterparties for the first time.
|
|
11205
|
-
*/
|
|
11206
|
-
declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
|
|
11207
11203
|
/**
|
|
11208
11204
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
|
|
11209
11205
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
|
|
@@ -11219,6 +11215,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
|
|
|
11219
11215
|
* Create a new version of this preset with the latest schema.
|
|
11220
11216
|
*/
|
|
11221
11217
|
declare const upgradePresetSchema: <ThrowOnError extends boolean = false>(options: Options<UpgradePresetSchema_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PresetSingleWithPreviewDto, unknown, ThrowOnError>;
|
|
11218
|
+
/**
|
|
11219
|
+
* Send a negotiation to all counterparties for the first time
|
|
11220
|
+
* Send a negotiation to all counterparties for the first time.
|
|
11221
|
+
*/
|
|
11222
|
+
declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
|
|
11222
11223
|
/**
|
|
11223
11224
|
* Render a preview of the document template for the specified schema version
|
|
11224
11225
|
* Render a preview of the document template for the specified schema version.
|
package/dist/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ type DocumentListDto = {
|
|
|
229
229
|
pagingMeta: PagingMetaDto;
|
|
230
230
|
totalPhase2Templates: number;
|
|
231
231
|
totalTemplates: number;
|
|
232
|
+
totalFavouriteDocuments: number;
|
|
232
233
|
};
|
|
233
234
|
type PublicAccountSearchResultsDto = {
|
|
234
235
|
accountNames: Array<string>;
|
|
@@ -9349,36 +9350,6 @@ type UpdateCoverNote_Responses = {
|
|
|
9349
9350
|
204: void;
|
|
9350
9351
|
};
|
|
9351
9352
|
type UpdateCoverNote_Response = UpdateCoverNote_Responses[keyof UpdateCoverNote_Responses];
|
|
9352
|
-
type SendToCounterpartyInitial_Data = {
|
|
9353
|
-
body?: SendToCounterPartyInitialDto;
|
|
9354
|
-
path: {
|
|
9355
|
-
subAccountId: string;
|
|
9356
|
-
negotiationId: string;
|
|
9357
|
-
};
|
|
9358
|
-
query?: never;
|
|
9359
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
|
|
9360
|
-
};
|
|
9361
|
-
type SendToCounterpartyInitial_Errors = {
|
|
9362
|
-
/**
|
|
9363
|
-
* No counterparty is configured
|
|
9364
|
-
*/
|
|
9365
|
-
403: unknown;
|
|
9366
|
-
/**
|
|
9367
|
-
* Negotiation not found
|
|
9368
|
-
*/
|
|
9369
|
-
404: unknown;
|
|
9370
|
-
/**
|
|
9371
|
-
* Could not save new version
|
|
9372
|
-
*/
|
|
9373
|
-
409: unknown;
|
|
9374
|
-
};
|
|
9375
|
-
type SendToCounterpartyInitial_Responses = {
|
|
9376
|
-
/**
|
|
9377
|
-
* Sent to counterparty
|
|
9378
|
-
*/
|
|
9379
|
-
200: Array<NegotiationSingleDto>;
|
|
9380
|
-
};
|
|
9381
|
-
type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
|
|
9382
9353
|
type QueueGenerateNegotiationDocumentJob_Data = {
|
|
9383
9354
|
body: GenerateNegotiationDocumentDto;
|
|
9384
9355
|
path: {
|
|
@@ -9433,6 +9404,36 @@ type UpgradePresetSchema_Responses = {
|
|
|
9433
9404
|
200: PresetSingleWithPreviewDto;
|
|
9434
9405
|
};
|
|
9435
9406
|
type UpgradePresetSchema_Response = UpgradePresetSchema_Responses[keyof UpgradePresetSchema_Responses];
|
|
9407
|
+
type SendToCounterpartyInitial_Data = {
|
|
9408
|
+
body?: SendToCounterPartyInitialDto;
|
|
9409
|
+
path: {
|
|
9410
|
+
subAccountId: string;
|
|
9411
|
+
negotiationId: string;
|
|
9412
|
+
};
|
|
9413
|
+
query?: never;
|
|
9414
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
|
|
9415
|
+
};
|
|
9416
|
+
type SendToCounterpartyInitial_Errors = {
|
|
9417
|
+
/**
|
|
9418
|
+
* No counterparty is configured
|
|
9419
|
+
*/
|
|
9420
|
+
403: unknown;
|
|
9421
|
+
/**
|
|
9422
|
+
* Negotiation not found
|
|
9423
|
+
*/
|
|
9424
|
+
404: unknown;
|
|
9425
|
+
/**
|
|
9426
|
+
* Could not save new version
|
|
9427
|
+
*/
|
|
9428
|
+
409: unknown;
|
|
9429
|
+
};
|
|
9430
|
+
type SendToCounterpartyInitial_Responses = {
|
|
9431
|
+
/**
|
|
9432
|
+
* Sent to counterparty
|
|
9433
|
+
*/
|
|
9434
|
+
200: Array<NegotiationSingleDto>;
|
|
9435
|
+
};
|
|
9436
|
+
type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
|
|
9436
9437
|
type DocumentRenderTemplate_Data = {
|
|
9437
9438
|
body?: never;
|
|
9438
9439
|
path: {
|
|
@@ -11199,11 +11200,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
|
|
|
11199
11200
|
* Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
|
|
11200
11201
|
*/
|
|
11201
11202
|
declare const updateCoverNote: <ThrowOnError extends boolean = false>(options: Options<UpdateCoverNote_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, unknown, ThrowOnError>;
|
|
11202
|
-
/**
|
|
11203
|
-
* Send a negotiation to all counterparties for the first time
|
|
11204
|
-
* Send a negotiation to all counterparties for the first time.
|
|
11205
|
-
*/
|
|
11206
|
-
declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
|
|
11207
11203
|
/**
|
|
11208
11204
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
|
|
11209
11205
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
|
|
@@ -11219,6 +11215,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
|
|
|
11219
11215
|
* Create a new version of this preset with the latest schema.
|
|
11220
11216
|
*/
|
|
11221
11217
|
declare const upgradePresetSchema: <ThrowOnError extends boolean = false>(options: Options<UpgradePresetSchema_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PresetSingleWithPreviewDto, unknown, ThrowOnError>;
|
|
11218
|
+
/**
|
|
11219
|
+
* Send a negotiation to all counterparties for the first time
|
|
11220
|
+
* Send a negotiation to all counterparties for the first time.
|
|
11221
|
+
*/
|
|
11222
|
+
declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
|
|
11222
11223
|
/**
|
|
11223
11224
|
* Render a preview of the document template for the specified schema version
|
|
11224
11225
|
* Render a preview of the document template for the specified schema version.
|
package/dist/index.js
CHANGED
|
@@ -3359,22 +3359,6 @@ var updateCoverNote = (options) => {
|
|
|
3359
3359
|
}
|
|
3360
3360
|
});
|
|
3361
3361
|
};
|
|
3362
|
-
var sendToCounterpartyInitial = (options) => {
|
|
3363
|
-
return (options.client ?? client).put({
|
|
3364
|
-
security: [
|
|
3365
|
-
{
|
|
3366
|
-
name: "Authorization",
|
|
3367
|
-
type: "apiKey"
|
|
3368
|
-
}
|
|
3369
|
-
],
|
|
3370
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial",
|
|
3371
|
-
...options,
|
|
3372
|
-
headers: {
|
|
3373
|
-
"Content-Type": "application/json",
|
|
3374
|
-
...options?.headers
|
|
3375
|
-
}
|
|
3376
|
-
});
|
|
3377
|
-
};
|
|
3378
3362
|
var queueGenerateNegotiationDocumentJob = (options) => {
|
|
3379
3363
|
return (options.client ?? client).post({
|
|
3380
3364
|
security: [
|
|
@@ -3415,6 +3399,22 @@ var upgradePresetSchema = (options) => {
|
|
|
3415
3399
|
...options
|
|
3416
3400
|
});
|
|
3417
3401
|
};
|
|
3402
|
+
var sendToCounterpartyInitial = (options) => {
|
|
3403
|
+
return (options.client ?? client).put({
|
|
3404
|
+
security: [
|
|
3405
|
+
{
|
|
3406
|
+
name: "Authorization",
|
|
3407
|
+
type: "apiKey"
|
|
3408
|
+
}
|
|
3409
|
+
],
|
|
3410
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial",
|
|
3411
|
+
...options,
|
|
3412
|
+
headers: {
|
|
3413
|
+
"Content-Type": "application/json",
|
|
3414
|
+
...options?.headers
|
|
3415
|
+
}
|
|
3416
|
+
});
|
|
3417
|
+
};
|
|
3418
3418
|
var documentRenderTemplate = (options) => {
|
|
3419
3419
|
return (options.client ?? client).get({
|
|
3420
3420
|
security: [
|