@createiq/backend 1.0.90 → 1.0.92
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 +16 -16
- package/client/types.gen.ts +44 -33
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -36
- package/dist/index.d.ts +45 -36
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/sdk.gen.ts
CHANGED
|
@@ -1741,42 +1741,42 @@ export const breakingChanges = <ThrowOnError extends boolean = false>(options: O
|
|
|
1741
1741
|
};
|
|
1742
1742
|
|
|
1743
1743
|
/**
|
|
1744
|
-
*
|
|
1744
|
+
* Override reject an election
|
|
1745
1745
|
*
|
|
1746
|
-
*
|
|
1746
|
+
* Override reject an election.
|
|
1747
1747
|
*/
|
|
1748
|
-
export const
|
|
1749
|
-
return (options.client ?? client).
|
|
1748
|
+
export const overrideElectionRejection = <ThrowOnError extends boolean = false>(options: Options<overrideElectionRejectionData, ThrowOnError>) => {
|
|
1749
|
+
return (options.client ?? client).put<overrideElectionRejectionResponses, overrideElectionRejectionErrors, ThrowOnError>({
|
|
1750
1750
|
security: [
|
|
1751
1751
|
{
|
|
1752
1752
|
name: 'Authorization',
|
|
1753
1753
|
type: 'apiKey'
|
|
1754
1754
|
}
|
|
1755
1755
|
],
|
|
1756
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/
|
|
1757
|
-
...options
|
|
1756
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/elections/{electionId}/reject/override',
|
|
1757
|
+
...options,
|
|
1758
|
+
headers: {
|
|
1759
|
+
'Content-Type': 'application/json',
|
|
1760
|
+
...options.headers
|
|
1761
|
+
}
|
|
1758
1762
|
});
|
|
1759
1763
|
};
|
|
1760
1764
|
|
|
1761
1765
|
/**
|
|
1762
|
-
*
|
|
1766
|
+
* View all answers for the major version numbers of the other party in a sided negotiation
|
|
1763
1767
|
*
|
|
1764
|
-
*
|
|
1768
|
+
* View all answers for the major version numbers of the other party in a sided negotiation.
|
|
1765
1769
|
*/
|
|
1766
|
-
export const
|
|
1767
|
-
return (options.client ?? client).
|
|
1770
|
+
export const getOtherPartyAnswers = <ThrowOnError extends boolean = false>(options: Options<getOtherPartyAnswersData, ThrowOnError>) => {
|
|
1771
|
+
return (options.client ?? client).get<getOtherPartyAnswersResponses, getOtherPartyAnswersErrors, ThrowOnError>({
|
|
1768
1772
|
security: [
|
|
1769
1773
|
{
|
|
1770
1774
|
name: 'Authorization',
|
|
1771
1775
|
type: 'apiKey'
|
|
1772
1776
|
}
|
|
1773
1777
|
],
|
|
1774
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/
|
|
1775
|
-
...options
|
|
1776
|
-
headers: {
|
|
1777
|
-
'Content-Type': 'application/json',
|
|
1778
|
-
...options.headers
|
|
1779
|
-
}
|
|
1778
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}',
|
|
1779
|
+
...options
|
|
1780
1780
|
});
|
|
1781
1781
|
};
|
|
1782
1782
|
|
package/client/types.gen.ts
CHANGED
|
@@ -453,7 +453,7 @@ export type ElectionValueSimilarityScoreDto = {
|
|
|
453
453
|
};
|
|
454
454
|
|
|
455
455
|
export type UpdateAccountDocusignEmailRestrictionDto = {
|
|
456
|
-
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
456
|
+
docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
|
|
457
457
|
};
|
|
458
458
|
|
|
459
459
|
export type FormSubmissionSuccessResponseDto = {
|
|
@@ -1480,7 +1480,7 @@ export type ComponentAnswerDto_ExhibitValuesDto = {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
};
|
|
1482
1482
|
|
|
1483
|
-
export type DocuSignEmailRestriction = 'exact_email_match' | 'no_restriction';
|
|
1483
|
+
export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
|
|
1484
1484
|
|
|
1485
1485
|
export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
|
|
1486
1486
|
|
|
@@ -1992,7 +1992,7 @@ export type AdminAccountOnlyDto = {
|
|
|
1992
1992
|
availableActions: AccountAvailableActionsDto;
|
|
1993
1993
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
1994
1994
|
isAdvisor: boolean;
|
|
1995
|
-
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
1995
|
+
docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
|
|
1996
1996
|
isOneLink: boolean;
|
|
1997
1997
|
};
|
|
1998
1998
|
|
|
@@ -2567,6 +2567,12 @@ export type BulkSetJobCountDto = {
|
|
|
2567
2567
|
failedCreationJobs: number;
|
|
2568
2568
|
};
|
|
2569
2569
|
|
|
2570
|
+
export type MfaStatusResponseDto = {
|
|
2571
|
+
verified: boolean;
|
|
2572
|
+
expiresAt?: string;
|
|
2573
|
+
interactionCode?: string;
|
|
2574
|
+
};
|
|
2575
|
+
|
|
2570
2576
|
export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
|
|
2571
2577
|
persistedValue: boolean;
|
|
2572
2578
|
suggestedValue: boolean;
|
|
@@ -2890,7 +2896,7 @@ export type AdminAccountDetailDto = {
|
|
|
2890
2896
|
isSso: boolean;
|
|
2891
2897
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2892
2898
|
isAdvisor: boolean;
|
|
2893
|
-
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
2899
|
+
docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
|
|
2894
2900
|
integrationData: {
|
|
2895
2901
|
[key: string]: AccountIntegrationDataDto;
|
|
2896
2902
|
};
|
|
@@ -3128,7 +3134,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
|
|
|
3128
3134
|
isSso: boolean;
|
|
3129
3135
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
3130
3136
|
isAdvisor: boolean;
|
|
3131
|
-
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
3137
|
+
docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
|
|
3132
3138
|
integrationData: {
|
|
3133
3139
|
[key: string]: AccountIntegrationDataDto;
|
|
3134
3140
|
};
|
|
@@ -3868,6 +3874,11 @@ export type RejectPresetDto = {
|
|
|
3868
3874
|
comment: string;
|
|
3869
3875
|
};
|
|
3870
3876
|
|
|
3877
|
+
export type MfaVerifyRequestDto = {
|
|
3878
|
+
otp: string;
|
|
3879
|
+
rememberDevice?: boolean;
|
|
3880
|
+
};
|
|
3881
|
+
|
|
3871
3882
|
export type LegacyNegotiationStatisticsDto = {
|
|
3872
3883
|
counterpartyTurn: LegacySidedNegotiationCountsDto;
|
|
3873
3884
|
ourTurn: LegacySidedNegotiationCountsDto;
|
|
@@ -6472,34 +6483,6 @@ export type breakingChangesResponses = {
|
|
|
6472
6483
|
|
|
6473
6484
|
export type breakingChangesResponse = breakingChangesResponses[keyof breakingChangesResponses];
|
|
6474
6485
|
|
|
6475
|
-
export type getOtherPartyAnswersData = {
|
|
6476
|
-
body?: never;
|
|
6477
|
-
path: {
|
|
6478
|
-
subAccountId: string;
|
|
6479
|
-
negotiationId: string;
|
|
6480
|
-
counterpartyId: string;
|
|
6481
|
-
version: string;
|
|
6482
|
-
};
|
|
6483
|
-
query?: never;
|
|
6484
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}';
|
|
6485
|
-
};
|
|
6486
|
-
|
|
6487
|
-
export type getOtherPartyAnswersErrors = {
|
|
6488
|
-
/**
|
|
6489
|
-
* Party answers not found of the party id for the specified version or negotiation not found
|
|
6490
|
-
*/
|
|
6491
|
-
404: unknown;
|
|
6492
|
-
};
|
|
6493
|
-
|
|
6494
|
-
export type getOtherPartyAnswersResponses = {
|
|
6495
|
-
/**
|
|
6496
|
-
* Other party answers
|
|
6497
|
-
*/
|
|
6498
|
-
200: VersionedPartyAnswersDto;
|
|
6499
|
-
};
|
|
6500
|
-
|
|
6501
|
-
export type getOtherPartyAnswersResponse = getOtherPartyAnswersResponses[keyof getOtherPartyAnswersResponses];
|
|
6502
|
-
|
|
6503
6486
|
export type overrideElectionRejectionData = {
|
|
6504
6487
|
body: ApprovalCommentDto;
|
|
6505
6488
|
path: {
|
|
@@ -6535,6 +6518,34 @@ export type overrideElectionRejectionResponses = {
|
|
|
6535
6518
|
|
|
6536
6519
|
export type overrideElectionRejectionResponse = overrideElectionRejectionResponses[keyof overrideElectionRejectionResponses];
|
|
6537
6520
|
|
|
6521
|
+
export type getOtherPartyAnswersData = {
|
|
6522
|
+
body?: never;
|
|
6523
|
+
path: {
|
|
6524
|
+
subAccountId: string;
|
|
6525
|
+
negotiationId: string;
|
|
6526
|
+
counterpartyId: string;
|
|
6527
|
+
version: string;
|
|
6528
|
+
};
|
|
6529
|
+
query?: never;
|
|
6530
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}';
|
|
6531
|
+
};
|
|
6532
|
+
|
|
6533
|
+
export type getOtherPartyAnswersErrors = {
|
|
6534
|
+
/**
|
|
6535
|
+
* Party answers not found of the party id for the specified version or negotiation not found
|
|
6536
|
+
*/
|
|
6537
|
+
404: unknown;
|
|
6538
|
+
};
|
|
6539
|
+
|
|
6540
|
+
export type getOtherPartyAnswersResponses = {
|
|
6541
|
+
/**
|
|
6542
|
+
* Other party answers
|
|
6543
|
+
*/
|
|
6544
|
+
200: VersionedPartyAnswersDto;
|
|
6545
|
+
};
|
|
6546
|
+
|
|
6547
|
+
export type getOtherPartyAnswersResponse = getOtherPartyAnswersResponses[keyof getOtherPartyAnswersResponses];
|
|
6548
|
+
|
|
6538
6549
|
export type overrideElectionApprovalData = {
|
|
6539
6550
|
body: ApprovalCommentDto;
|
|
6540
6551
|
path: {
|
package/dist/index.cjs
CHANGED
|
@@ -2329,18 +2329,6 @@ var breakingChanges = (options) => {
|
|
|
2329
2329
|
...options
|
|
2330
2330
|
});
|
|
2331
2331
|
};
|
|
2332
|
-
var getOtherPartyAnswers = (options) => {
|
|
2333
|
-
return (options.client ?? client).get({
|
|
2334
|
-
security: [
|
|
2335
|
-
{
|
|
2336
|
-
name: "Authorization",
|
|
2337
|
-
type: "apiKey"
|
|
2338
|
-
}
|
|
2339
|
-
],
|
|
2340
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}",
|
|
2341
|
-
...options
|
|
2342
|
-
});
|
|
2343
|
-
};
|
|
2344
2332
|
var overrideElectionRejection = (options) => {
|
|
2345
2333
|
return (options.client ?? client).put({
|
|
2346
2334
|
security: [
|
|
@@ -2357,6 +2345,18 @@ var overrideElectionRejection = (options) => {
|
|
|
2357
2345
|
}
|
|
2358
2346
|
});
|
|
2359
2347
|
};
|
|
2348
|
+
var getOtherPartyAnswers = (options) => {
|
|
2349
|
+
return (options.client ?? client).get({
|
|
2350
|
+
security: [
|
|
2351
|
+
{
|
|
2352
|
+
name: "Authorization",
|
|
2353
|
+
type: "apiKey"
|
|
2354
|
+
}
|
|
2355
|
+
],
|
|
2356
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{counterpartyId}/versions/{version}",
|
|
2357
|
+
...options
|
|
2358
|
+
});
|
|
2359
|
+
};
|
|
2360
2360
|
var overrideElectionApproval = (options) => {
|
|
2361
2361
|
return (options.client ?? client).put({
|
|
2362
2362
|
security: [
|