@createiq/backend 1.0.49 → 1.0.51

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
@@ -338,7 +338,6 @@ type CreateDocumentMetadataDto = {
338
338
  disclaimer?: DocumentDisclaimerDto;
339
339
  availability: 'default' | 'new' | 'unavailable';
340
340
  year: number;
341
- showSimpleReceiverView: boolean;
342
341
  prefillReceiverAnswers: boolean;
343
342
  skipProposeDatePhase: boolean;
344
343
  supportsBulkUpload: boolean;
@@ -740,7 +739,6 @@ type DocumentDto = {
740
739
  disclaimer?: DocumentDisclaimerDto;
741
740
  availability: 'default' | 'new' | 'unavailable';
742
741
  year: number;
743
- showSimpleReceiverView: boolean;
744
742
  prefillReceiverAnswers: boolean;
745
743
  skipProposeDatePhase: boolean;
746
744
  supportsBulkUpload: boolean;
@@ -836,7 +834,6 @@ type UpdateDocumentDto = {
836
834
  disclaimer?: DocumentDisclaimerDto;
837
835
  availability: 'default' | 'new' | 'unavailable';
838
836
  year: number;
839
- showSimpleReceiverView: boolean;
840
837
  prefillReceiverAnswers: boolean;
841
838
  skipProposeDatePhase: boolean;
842
839
  supportsBulkUpload: boolean;
@@ -2431,7 +2428,6 @@ type DocumentWithPackDto = {
2431
2428
  disclaimer?: DocumentDisclaimerDto;
2432
2429
  availability: 'default' | 'new' | 'unavailable';
2433
2430
  year: number;
2434
- showSimpleReceiverView: boolean;
2435
2431
  prefillReceiverAnswers: boolean;
2436
2432
  skipProposeDatePhase: boolean;
2437
2433
  supportsBulkUpload: boolean;
@@ -9350,36 +9346,6 @@ type UpdateCoverNote_Responses = {
9350
9346
  204: void;
9351
9347
  };
9352
9348
  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
9349
  type QueueGenerateNegotiationDocumentJob_Data = {
9384
9350
  body: GenerateNegotiationDocumentDto;
9385
9351
  path: {
@@ -9434,6 +9400,36 @@ type UpgradePresetSchema_Responses = {
9434
9400
  200: PresetSingleWithPreviewDto;
9435
9401
  };
9436
9402
  type UpgradePresetSchema_Response = UpgradePresetSchema_Responses[keyof UpgradePresetSchema_Responses];
9403
+ type SendToCounterpartyInitial_Data = {
9404
+ body?: SendToCounterPartyInitialDto;
9405
+ path: {
9406
+ subAccountId: string;
9407
+ negotiationId: string;
9408
+ };
9409
+ query?: never;
9410
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
9411
+ };
9412
+ type SendToCounterpartyInitial_Errors = {
9413
+ /**
9414
+ * No counterparty is configured
9415
+ */
9416
+ 403: unknown;
9417
+ /**
9418
+ * Negotiation not found
9419
+ */
9420
+ 404: unknown;
9421
+ /**
9422
+ * Could not save new version
9423
+ */
9424
+ 409: unknown;
9425
+ };
9426
+ type SendToCounterpartyInitial_Responses = {
9427
+ /**
9428
+ * Sent to counterparty
9429
+ */
9430
+ 200: Array<NegotiationSingleDto>;
9431
+ };
9432
+ type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
9437
9433
  type DocumentRenderTemplate_Data = {
9438
9434
  body?: never;
9439
9435
  path: {
@@ -11200,11 +11196,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
11200
11196
  * Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
11201
11197
  */
11202
11198
  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
11199
  /**
11209
11200
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
11210
11201
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
@@ -11220,6 +11211,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
11220
11211
  * Create a new version of this preset with the latest schema.
11221
11212
  */
11222
11213
  declare const upgradePresetSchema: <ThrowOnError extends boolean = false>(options: Options<UpgradePresetSchema_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PresetSingleWithPreviewDto, unknown, ThrowOnError>;
11214
+ /**
11215
+ * Send a negotiation to all counterparties for the first time
11216
+ * Send a negotiation to all counterparties for the first time.
11217
+ */
11218
+ declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
11223
11219
  /**
11224
11220
  * Render a preview of the document template for the specified schema version
11225
11221
  * Render a preview of the document template for the specified schema version.
package/dist/index.d.ts CHANGED
@@ -338,7 +338,6 @@ type CreateDocumentMetadataDto = {
338
338
  disclaimer?: DocumentDisclaimerDto;
339
339
  availability: 'default' | 'new' | 'unavailable';
340
340
  year: number;
341
- showSimpleReceiverView: boolean;
342
341
  prefillReceiverAnswers: boolean;
343
342
  skipProposeDatePhase: boolean;
344
343
  supportsBulkUpload: boolean;
@@ -740,7 +739,6 @@ type DocumentDto = {
740
739
  disclaimer?: DocumentDisclaimerDto;
741
740
  availability: 'default' | 'new' | 'unavailable';
742
741
  year: number;
743
- showSimpleReceiverView: boolean;
744
742
  prefillReceiverAnswers: boolean;
745
743
  skipProposeDatePhase: boolean;
746
744
  supportsBulkUpload: boolean;
@@ -836,7 +834,6 @@ type UpdateDocumentDto = {
836
834
  disclaimer?: DocumentDisclaimerDto;
837
835
  availability: 'default' | 'new' | 'unavailable';
838
836
  year: number;
839
- showSimpleReceiverView: boolean;
840
837
  prefillReceiverAnswers: boolean;
841
838
  skipProposeDatePhase: boolean;
842
839
  supportsBulkUpload: boolean;
@@ -2431,7 +2428,6 @@ type DocumentWithPackDto = {
2431
2428
  disclaimer?: DocumentDisclaimerDto;
2432
2429
  availability: 'default' | 'new' | 'unavailable';
2433
2430
  year: number;
2434
- showSimpleReceiverView: boolean;
2435
2431
  prefillReceiverAnswers: boolean;
2436
2432
  skipProposeDatePhase: boolean;
2437
2433
  supportsBulkUpload: boolean;
@@ -9350,36 +9346,6 @@ type UpdateCoverNote_Responses = {
9350
9346
  204: void;
9351
9347
  };
9352
9348
  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
9349
  type QueueGenerateNegotiationDocumentJob_Data = {
9384
9350
  body: GenerateNegotiationDocumentDto;
9385
9351
  path: {
@@ -9434,6 +9400,36 @@ type UpgradePresetSchema_Responses = {
9434
9400
  200: PresetSingleWithPreviewDto;
9435
9401
  };
9436
9402
  type UpgradePresetSchema_Response = UpgradePresetSchema_Responses[keyof UpgradePresetSchema_Responses];
9403
+ type SendToCounterpartyInitial_Data = {
9404
+ body?: SendToCounterPartyInitialDto;
9405
+ path: {
9406
+ subAccountId: string;
9407
+ negotiationId: string;
9408
+ };
9409
+ query?: never;
9410
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/sendToCounterparty/initial';
9411
+ };
9412
+ type SendToCounterpartyInitial_Errors = {
9413
+ /**
9414
+ * No counterparty is configured
9415
+ */
9416
+ 403: unknown;
9417
+ /**
9418
+ * Negotiation not found
9419
+ */
9420
+ 404: unknown;
9421
+ /**
9422
+ * Could not save new version
9423
+ */
9424
+ 409: unknown;
9425
+ };
9426
+ type SendToCounterpartyInitial_Responses = {
9427
+ /**
9428
+ * Sent to counterparty
9429
+ */
9430
+ 200: Array<NegotiationSingleDto>;
9431
+ };
9432
+ type SendToCounterpartyInitial_Response = SendToCounterpartyInitial_Responses[keyof SendToCounterpartyInitial_Responses];
9437
9433
  type DocumentRenderTemplate_Data = {
9438
9434
  body?: never;
9439
9435
  path: {
@@ -11200,11 +11196,6 @@ declare const deleteCoverNote: <ThrowOnError extends boolean = false>(options: O
11200
11196
  * Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
11201
11197
  */
11202
11198
  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
11199
  /**
11209
11200
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
11210
11201
  * Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
@@ -11220,6 +11211,11 @@ declare const createSignaturePagePdf: <ThrowOnError extends boolean = false>(opt
11220
11211
  * Create a new version of this preset with the latest schema.
11221
11212
  */
11222
11213
  declare const upgradePresetSchema: <ThrowOnError extends boolean = false>(options: Options<UpgradePresetSchema_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PresetSingleWithPreviewDto, unknown, ThrowOnError>;
11214
+ /**
11215
+ * Send a negotiation to all counterparties for the first time
11216
+ * Send a negotiation to all counterparties for the first time.
11217
+ */
11218
+ declare const sendToCounterpartyInitial: <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto[], unknown, ThrowOnError>;
11223
11219
  /**
11224
11220
  * Render a preview of the document template for the specified schema version
11225
11221
  * 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: [