@createiq/backend 1.0.46 → 1.0.48

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
@@ -4143,7 +4143,11 @@ export const renameExecutionAttachment = <ThrowOnError extends boolean = false>(
4143
4143
  }
4144
4144
  ],
4145
4145
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment/{oldFileName}',
4146
- ...options
4146
+ ...options,
4147
+ headers: {
4148
+ 'Content-Type': 'application/json',
4149
+ ...options?.headers
4150
+ }
4147
4151
  });
4148
4152
  };
4149
4153
 
@@ -854,10 +854,11 @@ export type PopulateStatisticsRequestDto = {
854
854
  };
855
855
 
856
856
  export type AdminAccountSummaryDto = {
857
- accountId: string;
858
857
  accountName: string;
859
- accountShortCode: string;
860
858
  enabledFeatures: Array<string>;
859
+ accountId: string;
860
+ accountShortCode: string;
861
+ capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
861
862
  };
862
863
 
863
864
  export type AdvisorRelationshipSummaryDto = {
@@ -886,6 +887,8 @@ export type AccountAndSubAccountsDto = {
886
887
  subAccounts: Array<SubAccountIdAndNameDto>;
887
888
  };
888
889
 
890
+ export type CapitalMarketsOrganisationType = 'SellSide' | 'BuySide' | 'ServiceProviderLawFirm' | 'ServiceProviderOther';
891
+
889
892
  export type ActiveOrPendingUserForNakhodaAdminDto = {
890
893
  accountName?: string;
891
894
  emailsEnabled?: boolean;
@@ -1879,6 +1882,17 @@ export type NestedPartyAnswersDto = {
1879
1882
  };
1880
1883
  };
1881
1884
 
1885
+ export type AdminAccountOnlyDto = {
1886
+ accountName: string;
1887
+ logoUrl?: string;
1888
+ presetApprovals: boolean;
1889
+ accountId: string;
1890
+ availableActions: AccountAvailableActionsDto;
1891
+ capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
1892
+ isAdvisor: boolean;
1893
+ isOneLink: boolean;
1894
+ };
1895
+
1882
1896
  export type NegotiationParentDto = {
1883
1897
  type: 'ConfirmedTemplateParentDto';
1884
1898
  negotiationId: string;
@@ -2094,6 +2108,10 @@ export type RawResultSetDto = {
2094
2108
 
2095
2109
  export type UIPartyPosition = 'partyA' | 'partyB' | 'moderator';
2096
2110
 
2111
+ export type UpdateCapitalMarketsOrganisationTypeDto = {
2112
+ capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2113
+ };
2114
+
2097
2115
  export type SubAccountIdNameShareSettingsDto = {
2098
2116
  id: string;
2099
2117
  name: string;
@@ -2683,6 +2701,7 @@ export type AdminAccountDetailDto = {
2683
2701
  pendingEntities: Array<EntityMetadataDto>;
2684
2702
  advisors: Array<AccountAndSubAccountsDto>;
2685
2703
  isSso: boolean;
2704
+ capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2686
2705
  isAdvisor: boolean;
2687
2706
  integrationData: {
2688
2707
  [key: string]: AccountIntegrationDataDto;
@@ -2918,6 +2937,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
2918
2937
  pendingEntities: Array<EntityMetadataDto>;
2919
2938
  advisors: Array<AccountAndSubAccountsDto>;
2920
2939
  isSso: boolean;
2940
+ capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2921
2941
  isAdvisor: boolean;
2922
2942
  integrationData: {
2923
2943
  [key: string]: AccountIntegrationDataDto;
@@ -3559,6 +3579,10 @@ export type AdvisorAccountRelationshipsDto = {
3559
3579
  availableActions: ContextAvailableActionsDto;
3560
3580
  };
3561
3581
 
3582
+ export type RenameExecutionAttachmentDto = {
3583
+ newFileName: string;
3584
+ };
3585
+
3562
3586
  export type PresetHealth = 'ok' | 'blocked';
3563
3587
 
3564
3588
  export type AdvisorRequestSummaryDto = {
@@ -10019,7 +10043,7 @@ export type AcceptAllPositionsFromPreviousVersion_Responses = {
10019
10043
  export type AcceptAllPositionsFromPreviousVersion_Response = AcceptAllPositionsFromPreviousVersion_Responses[keyof AcceptAllPositionsFromPreviousVersion_Responses];
10020
10044
 
10021
10045
  export type RenameExecutionAttachment_Data = {
10022
- body?: never;
10046
+ body: RenameExecutionAttachmentDto;
10023
10047
  path: {
10024
10048
  subAccountId: string;
10025
10049
  negotiationId: string;
package/dist/index.cjs CHANGED
@@ -3311,7 +3311,11 @@ var renameExecutionAttachment = (options) => {
3311
3311
  }
3312
3312
  ],
3313
3313
  url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/executionAttachment/{oldFileName}",
3314
- ...options
3314
+ ...options,
3315
+ headers: {
3316
+ "Content-Type": "application/json",
3317
+ ...options?.headers
3318
+ }
3315
3319
  });
3316
3320
  };
3317
3321
  var getNestedAnswers = (options) => {