@createiq/backend 1.0.86 → 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 = {
@@ -1906,6 +1912,8 @@ export type AdminAccountWithEntitiesDto = {
1906
1912
  accountDomains: Array<string>;
1907
1913
  };
1908
1914
 
1915
+ export type TurnstileErrorCode = 'missing-input-secret' | 'invalid-input-secret' | 'missing-input-response' | 'invalid-input-response' | 'bad-request' | 'timeout-or-duplicate' | 'internal-error';
1916
+
1909
1917
  export type UnsubscribeRequestDto = {
1910
1918
  email: string;
1911
1919
  hash: string;
@@ -1975,6 +1983,7 @@ export type AdminAccountOnlyDto = {
1975
1983
  availableActions: AccountAvailableActionsDto;
1976
1984
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
1977
1985
  isAdvisor: boolean;
1986
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
1978
1987
  isOneLink: boolean;
1979
1988
  };
1980
1989
 
@@ -2872,6 +2881,7 @@ export type AdminAccountDetailDto = {
2872
2881
  isSso: boolean;
2873
2882
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2874
2883
  isAdvisor: boolean;
2884
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
2875
2885
  integrationData: {
2876
2886
  [key: string]: AccountIntegrationDataDto;
2877
2887
  };
@@ -3109,6 +3119,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
3109
3119
  isSso: boolean;
3110
3120
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
3111
3121
  isAdvisor: boolean;
3122
+ docusignEmailRestriction: 'exact_email_match' | 'no_restriction';
3112
3123
  integrationData: {
3113
3124
  [key: string]: AccountIntegrationDataDto;
3114
3125
  };
@@ -6786,31 +6797,6 @@ export type getNegotiationResponses = {
6786
6797
 
6787
6798
  export type getNegotiationResponse = getNegotiationResponses[keyof getNegotiationResponses];
6788
6799
 
6789
- export type updateMetadataData = {
6790
- body: PresetMetadataDto;
6791
- path: {
6792
- presetId: string;
6793
- };
6794
- query?: never;
6795
- url: '/api/v1/presets/{presetId}/metadata';
6796
- };
6797
-
6798
- export type updateMetadataErrors = {
6799
- /**
6800
- * Preset not found
6801
- */
6802
- 404: unknown;
6803
- };
6804
-
6805
- export type updateMetadataResponses = {
6806
- /**
6807
- * The modified preset
6808
- */
6809
- 200: PresetSingleDto;
6810
- };
6811
-
6812
- export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
6813
-
6814
6800
  export type getDownloadExecutedNegotiationsAsExcelData = {
6815
6801
  body?: never;
6816
6802
  path: {
@@ -6900,6 +6886,31 @@ export type setSignedSignaturePageForPartyResponses = {
6900
6886
 
6901
6887
  export type setSignedSignaturePageForPartyResponse = setSignedSignaturePageForPartyResponses[keyof setSignedSignaturePageForPartyResponses];
6902
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
+
6903
6914
  export type suggestGroupNameData = {
6904
6915
  body?: never;
6905
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: [