@createiq/backend 1.0.87 → 1.0.89
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 +39 -25
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -28
- package/dist/index.d.ts +39 -28
- 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/client/sdk.gen.ts
CHANGED
|
@@ -1994,28 +1994,6 @@ export const getNegotiation = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1994
1994
|
});
|
|
1995
1995
|
};
|
|
1996
1996
|
|
|
1997
|
-
/**
|
|
1998
|
-
* Update metadata for a preset
|
|
1999
|
-
*
|
|
2000
|
-
* Update metadata for a preset.
|
|
2001
|
-
*/
|
|
2002
|
-
export const updateMetadata = <ThrowOnError extends boolean = false>(options: Options<updateMetadataData, ThrowOnError>) => {
|
|
2003
|
-
return (options.client ?? client).put<updateMetadataResponses, updateMetadataErrors, ThrowOnError>({
|
|
2004
|
-
security: [
|
|
2005
|
-
{
|
|
2006
|
-
name: 'Authorization',
|
|
2007
|
-
type: 'apiKey'
|
|
2008
|
-
}
|
|
2009
|
-
],
|
|
2010
|
-
url: '/api/v1/presets/{presetId}/metadata',
|
|
2011
|
-
...options,
|
|
2012
|
-
headers: {
|
|
2013
|
-
'Content-Type': 'application/json',
|
|
2014
|
-
...options.headers
|
|
2015
|
-
}
|
|
2016
|
-
});
|
|
2017
|
-
};
|
|
2018
|
-
|
|
2019
1997
|
/**
|
|
2020
1998
|
* View election data for all executed negotiations in a Sub-Account
|
|
2021
1999
|
*
|
|
@@ -2096,6 +2074,28 @@ export const setSignedSignaturePageForParty = <ThrowOnError extends boolean = fa
|
|
|
2096
2074
|
});
|
|
2097
2075
|
};
|
|
2098
2076
|
|
|
2077
|
+
/**
|
|
2078
|
+
* Update metadata for a preset
|
|
2079
|
+
*
|
|
2080
|
+
* Update metadata for a preset.
|
|
2081
|
+
*/
|
|
2082
|
+
export const updateMetadata = <ThrowOnError extends boolean = false>(options: Options<updateMetadataData, ThrowOnError>) => {
|
|
2083
|
+
return (options.client ?? client).put<updateMetadataResponses, updateMetadataErrors, ThrowOnError>({
|
|
2084
|
+
security: [
|
|
2085
|
+
{
|
|
2086
|
+
name: 'Authorization',
|
|
2087
|
+
type: 'apiKey'
|
|
2088
|
+
}
|
|
2089
|
+
],
|
|
2090
|
+
url: '/api/v1/presets/{presetId}/metadata',
|
|
2091
|
+
...options,
|
|
2092
|
+
headers: {
|
|
2093
|
+
'Content-Type': 'application/json',
|
|
2094
|
+
...options.headers
|
|
2095
|
+
}
|
|
2096
|
+
});
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Validate a potential negotiation group name, and display alternatives if it is taken
|
|
2101
2101
|
*
|
package/client/types.gen.ts
CHANGED
|
@@ -448,6 +448,10 @@ export type ElectionValueSimilarityScoreDto = {
|
|
|
448
448
|
similarity: number;
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
+
export type UpdateAccountDocusignEmailRestrictionDto = {
|
|
452
|
+
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
453
|
+
};
|
|
454
|
+
|
|
451
455
|
export type FormSubmissionSuccessResponseDto = {
|
|
452
456
|
message: string;
|
|
453
457
|
};
|
|
@@ -486,6 +490,7 @@ export type NegotiationFilesSummaryDto = {
|
|
|
486
490
|
executedDocument?: NegotiationFileDto_ExecutionDocumentDto;
|
|
487
491
|
availableActions: NegotiationFileAvailableActionDto;
|
|
488
492
|
externalAttachments: Array<NegotiationFileDto_ExternalAttachmentDto>;
|
|
493
|
+
negotiationFileNames: NegotiationFileNamesDto;
|
|
489
494
|
};
|
|
490
495
|
|
|
491
496
|
export type PartyNestedAnswersIdsDto = {
|
|
@@ -1471,6 +1476,8 @@ export type ComponentAnswerDto_ExhibitValuesDto = {
|
|
|
1471
1476
|
};
|
|
1472
1477
|
};
|
|
1473
1478
|
|
|
1479
|
+
export type DocuSignEmailRestriction = 'exact_email_match' | 'no_restriction';
|
|
1480
|
+
|
|
1474
1481
|
export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
|
|
1475
1482
|
|
|
1476
1483
|
export type NegotiationFileAvailableActionDto = {
|
|
@@ -1650,6 +1657,10 @@ export type AddReactionDto = {
|
|
|
1650
1657
|
emoji: string;
|
|
1651
1658
|
};
|
|
1652
1659
|
|
|
1660
|
+
export type NegotiationFileNamesDto = {
|
|
1661
|
+
currentPartyNegotiationDocument: string;
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1653
1664
|
export type ExecutedNegotiationSummaryDto_AccountMetadataDto = {
|
|
1654
1665
|
id: string;
|
|
1655
1666
|
name: string;
|
|
@@ -1977,6 +1988,7 @@ export type AdminAccountOnlyDto = {
|
|
|
1977
1988
|
availableActions: AccountAvailableActionsDto;
|
|
1978
1989
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
1979
1990
|
isAdvisor: boolean;
|
|
1991
|
+
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
1980
1992
|
isOneLink: boolean;
|
|
1981
1993
|
};
|
|
1982
1994
|
|
|
@@ -2874,6 +2886,7 @@ export type AdminAccountDetailDto = {
|
|
|
2874
2886
|
isSso: boolean;
|
|
2875
2887
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2876
2888
|
isAdvisor: boolean;
|
|
2889
|
+
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
2877
2890
|
integrationData: {
|
|
2878
2891
|
[key: string]: AccountIntegrationDataDto;
|
|
2879
2892
|
};
|
|
@@ -3111,6 +3124,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
|
|
|
3111
3124
|
isSso: boolean;
|
|
3112
3125
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
3113
3126
|
isAdvisor: boolean;
|
|
3127
|
+
docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
|
|
3114
3128
|
integrationData: {
|
|
3115
3129
|
[key: string]: AccountIntegrationDataDto;
|
|
3116
3130
|
};
|
|
@@ -6788,31 +6802,6 @@ export type getNegotiationResponses = {
|
|
|
6788
6802
|
|
|
6789
6803
|
export type getNegotiationResponse = getNegotiationResponses[keyof getNegotiationResponses];
|
|
6790
6804
|
|
|
6791
|
-
export type updateMetadataData = {
|
|
6792
|
-
body: PresetMetadataDto;
|
|
6793
|
-
path: {
|
|
6794
|
-
presetId: string;
|
|
6795
|
-
};
|
|
6796
|
-
query?: never;
|
|
6797
|
-
url: '/api/v1/presets/{presetId}/metadata';
|
|
6798
|
-
};
|
|
6799
|
-
|
|
6800
|
-
export type updateMetadataErrors = {
|
|
6801
|
-
/**
|
|
6802
|
-
* Preset not found
|
|
6803
|
-
*/
|
|
6804
|
-
404: unknown;
|
|
6805
|
-
};
|
|
6806
|
-
|
|
6807
|
-
export type updateMetadataResponses = {
|
|
6808
|
-
/**
|
|
6809
|
-
* The modified preset
|
|
6810
|
-
*/
|
|
6811
|
-
200: PresetSingleDto;
|
|
6812
|
-
};
|
|
6813
|
-
|
|
6814
|
-
export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
|
|
6815
|
-
|
|
6816
6805
|
export type getDownloadExecutedNegotiationsAsExcelData = {
|
|
6817
6806
|
body?: never;
|
|
6818
6807
|
path: {
|
|
@@ -6902,6 +6891,31 @@ export type setSignedSignaturePageForPartyResponses = {
|
|
|
6902
6891
|
|
|
6903
6892
|
export type setSignedSignaturePageForPartyResponse = setSignedSignaturePageForPartyResponses[keyof setSignedSignaturePageForPartyResponses];
|
|
6904
6893
|
|
|
6894
|
+
export type updateMetadataData = {
|
|
6895
|
+
body: PresetMetadataDto;
|
|
6896
|
+
path: {
|
|
6897
|
+
presetId: string;
|
|
6898
|
+
};
|
|
6899
|
+
query?: never;
|
|
6900
|
+
url: '/api/v1/presets/{presetId}/metadata';
|
|
6901
|
+
};
|
|
6902
|
+
|
|
6903
|
+
export type updateMetadataErrors = {
|
|
6904
|
+
/**
|
|
6905
|
+
* Preset not found
|
|
6906
|
+
*/
|
|
6907
|
+
404: unknown;
|
|
6908
|
+
};
|
|
6909
|
+
|
|
6910
|
+
export type updateMetadataResponses = {
|
|
6911
|
+
/**
|
|
6912
|
+
* The modified preset
|
|
6913
|
+
*/
|
|
6914
|
+
200: PresetSingleDto;
|
|
6915
|
+
};
|
|
6916
|
+
|
|
6917
|
+
export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
|
|
6918
|
+
|
|
6905
6919
|
export type suggestGroupNameData = {
|
|
6906
6920
|
body?: never;
|
|
6907
6921
|
path: {
|
package/dist/index.cjs
CHANGED
|
@@ -2504,22 +2504,6 @@ var getNegotiation = (options) => {
|
|
|
2504
2504
|
...options
|
|
2505
2505
|
});
|
|
2506
2506
|
};
|
|
2507
|
-
var updateMetadata = (options) => {
|
|
2508
|
-
return (options.client ?? client).put({
|
|
2509
|
-
security: [
|
|
2510
|
-
{
|
|
2511
|
-
name: "Authorization",
|
|
2512
|
-
type: "apiKey"
|
|
2513
|
-
}
|
|
2514
|
-
],
|
|
2515
|
-
url: "/api/v1/presets/{presetId}/metadata",
|
|
2516
|
-
...options,
|
|
2517
|
-
headers: {
|
|
2518
|
-
"Content-Type": "application/json",
|
|
2519
|
-
...options.headers
|
|
2520
|
-
}
|
|
2521
|
-
});
|
|
2522
|
-
};
|
|
2523
2507
|
var getDownloadExecutedNegotiationsAsExcel = (options) => {
|
|
2524
2508
|
return (options.client ?? client).get({
|
|
2525
2509
|
security: [
|
|
@@ -2576,6 +2560,22 @@ var setSignedSignaturePageForParty = (options) => {
|
|
|
2576
2560
|
}
|
|
2577
2561
|
});
|
|
2578
2562
|
};
|
|
2563
|
+
var updateMetadata = (options) => {
|
|
2564
|
+
return (options.client ?? client).put({
|
|
2565
|
+
security: [
|
|
2566
|
+
{
|
|
2567
|
+
name: "Authorization",
|
|
2568
|
+
type: "apiKey"
|
|
2569
|
+
}
|
|
2570
|
+
],
|
|
2571
|
+
url: "/api/v1/presets/{presetId}/metadata",
|
|
2572
|
+
...options,
|
|
2573
|
+
headers: {
|
|
2574
|
+
"Content-Type": "application/json",
|
|
2575
|
+
...options.headers
|
|
2576
|
+
}
|
|
2577
|
+
});
|
|
2578
|
+
};
|
|
2579
2579
|
var suggestGroupName = (options) => {
|
|
2580
2580
|
return (options.client ?? client).get({
|
|
2581
2581
|
security: [
|