@createiq/backend 1.0.87 → 1.0.88

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 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
  *
@@ -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
  };
@@ -1471,6 +1475,8 @@ export type ComponentAnswerDto_ExhibitValuesDto = {
1471
1475
  };
1472
1476
  };
1473
1477
 
1478
+ export type DocuSignEmailRestriction = 'exact_email_match' | 'no_restriction';
1479
+
1474
1480
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
1475
1481
 
1476
1482
  export type NegotiationFileAvailableActionDto = {
@@ -1977,6 +1983,7 @@ export type AdminAccountOnlyDto = {
1977
1983
  availableActions: AccountAvailableActionsDto;
1978
1984
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
1979
1985
  isAdvisor: boolean;
1986
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
1980
1987
  isOneLink: boolean;
1981
1988
  };
1982
1989
 
@@ -2874,6 +2881,7 @@ export type AdminAccountDetailDto = {
2874
2881
  isSso: boolean;
2875
2882
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2876
2883
  isAdvisor: boolean;
2884
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
2877
2885
  integrationData: {
2878
2886
  [key: string]: AccountIntegrationDataDto;
2879
2887
  };
@@ -3111,6 +3119,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
3111
3119
  isSso: boolean;
3112
3120
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
3113
3121
  isAdvisor: boolean;
3122
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
3114
3123
  integrationData: {
3115
3124
  [key: string]: AccountIntegrationDataDto;
3116
3125
  };
@@ -6788,31 +6797,6 @@ export type getNegotiationResponses = {
6788
6797
 
6789
6798
  export type getNegotiationResponse = getNegotiationResponses[keyof getNegotiationResponses];
6790
6799
 
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
6800
  export type getDownloadExecutedNegotiationsAsExcelData = {
6817
6801
  body?: never;
6818
6802
  path: {
@@ -6902,6 +6886,31 @@ export type setSignedSignaturePageForPartyResponses = {
6902
6886
 
6903
6887
  export type setSignedSignaturePageForPartyResponse = setSignedSignaturePageForPartyResponses[keyof setSignedSignaturePageForPartyResponses];
6904
6888
 
6889
+ export type updateMetadataData = {
6890
+ body: PresetMetadataDto;
6891
+ path: {
6892
+ presetId: string;
6893
+ };
6894
+ query?: never;
6895
+ url: '/api/v1/presets/{presetId}/metadata';
6896
+ };
6897
+
6898
+ export type updateMetadataErrors = {
6899
+ /**
6900
+ * Preset not found
6901
+ */
6902
+ 404: unknown;
6903
+ };
6904
+
6905
+ export type updateMetadataResponses = {
6906
+ /**
6907
+ * The modified preset
6908
+ */
6909
+ 200: PresetSingleDto;
6910
+ };
6911
+
6912
+ export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
6913
+
6905
6914
  export type suggestGroupNameData = {
6906
6915
  body?: never;
6907
6916
  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: [