@createiq/backend 1.0.49 → 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/dist/index.d.cts CHANGED
@@ -9350,36 +9350,6 @@ type UpdateCoverNote_Responses = {
9350
9350
  204: void;
9351
9351
  };
9352
9352
  type UpdateCoverNote_Response = UpdateCoverNote_Responses[keyof UpdateCoverNote_Responses];
9353
- type SendToCounterpartyInitial_Data = {
9354
- body?: SendToCounterPartyInitialDto;
9355
- path: {
9356
- subAccountId: string;
9357
- negotiationId: string;
9358
- };
9359
- query?: never;
9360
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
9361
- };
9362
- type SendToCounterpartyInitial_Errors = {
9363
- /**
9364
- * No counterparty is configured
9365
- */
9366
- 403: unknown;
9367
- /**
9368
- * Negotiation not found
9369
- */
9370
- 404: unknown;
9371
- /**
9372
- * Could not save new version
9373
- */
9374
- 409: unknown;
9375
- };
9376
- type SendToCounterpartyInitial_Responses = {
9377
- /**
9378
- * Sent to counterparty
9379
- */
9380
- 200: Array<NegotiationSingleDto>;
9381
- };
9382
- type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
9383
9353
  type QueueGenerateNegotiationDocumentJob_Data = {
9384
9354
  body: GenerateNegotiationDocumentDto;
9385
9355
  path: {
@@ -9434,6 +9404,36 @@ type UpgradePresetSchema_Responses = {
9434
9404
  200: PresetSingleWithPreviewDto;
9435
9405
  };
9436
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];
9437
9437
  type DocumentRenderTemplate_Data = {
9438
9438
  body?: never;
9439
9439
  path: {
@@ -11200,11 +11200,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
11200
11200
  * Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
11201
11201
  */
11202
11202
  declare const updateCoverNote: <ThrowOnError extends boolean = false>(options: Options<UpdateCoverNote_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, unknown, ThrowOnError>;
11203
- /**
11204
- * Send a negotiation to all counterparties for the first time
11205
- * Send a negotiation to all counterparties for the first time.
11206
- */
11207
- declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
11208
11203
  /**
11209
11204
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
11210
11205
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
@@ -11220,6 +11215,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
11220
11215
  * Create a new version of this preset with the latest schema.
11221
11216
  */
11222
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>;
11223
11223
  /**
11224
11224
  * Render a preview of the document template for the specified schema version
11225
11225
  * Render a preview of the document template for the specified schema version.
package/dist/index.d.ts CHANGED
@@ -9350,36 +9350,6 @@ type UpdateCoverNote_Responses = {
9350
9350
  204: void;
9351
9351
  };
9352
9352
  type UpdateCoverNote_Response = UpdateCoverNote_Responses[keyof UpdateCoverNote_Responses];
9353
- type SendToCounterpartyInitial_Data = {
9354
- body?: SendToCounterPartyInitialDto;
9355
- path: {
9356
- subAccountId: string;
9357
- negotiationId: string;
9358
- };
9359
- query?: never;
9360
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
9361
- };
9362
- type SendToCounterpartyInitial_Errors = {
9363
- /**
9364
- * No counterparty is configured
9365
- */
9366
- 403: unknown;
9367
- /**
9368
- * Negotiation not found
9369
- */
9370
- 404: unknown;
9371
- /**
9372
- * Could not save new version
9373
- */
9374
- 409: unknown;
9375
- };
9376
- type SendToCounterpartyInitial_Responses = {
9377
- /**
9378
- * Sent to counterparty
9379
- */
9380
- 200: Array<NegotiationSingleDto>;
9381
- };
9382
- type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
9383
9353
  type QueueGenerateNegotiationDocumentJob_Data = {
9384
9354
  body: GenerateNegotiationDocumentDto;
9385
9355
  path: {
@@ -9434,6 +9404,36 @@ type UpgradePresetSchema_Responses = {
9434
9404
  200: PresetSingleWithPreviewDto;
9435
9405
  };
9436
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];
9437
9437
  type DocumentRenderTemplate_Data = {
9438
9438
  body?: never;
9439
9439
  path: {
@@ -11200,11 +11200,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
11200
11200
  * Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
11201
11201
  */
11202
11202
  declare const updateCoverNote: <ThrowOnError extends boolean = false>(options: Options<UpdateCoverNote_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<void, unknown, ThrowOnError>;
11203
- /**
11204
- * Send a negotiation to all counterparties for the first time
11205
- * Send a negotiation to all counterparties for the first time.
11206
- */
11207
- declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
11208
11203
  /**
11209
11204
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
11210
11205
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
@@ -11220,6 +11215,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
11220
11215
  * Create a new version of this preset with the latest schema.
11221
11216
  */
11222
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>;
11223
11223
  /**
11224
11224
  * Render a preview of the document template for the specified schema version
11225
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: [