@orbis-systems/orbis-api-clients 0.6.0 → 0.6.1

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.
@@ -802,6 +802,18 @@ export interface InsightFilterCustomIndexesRequest {
802
802
  paging?: InsightPaging;
803
803
  symbols?: string[];
804
804
  }
805
+ export interface InsightFilteredCustomIndexResponse {
806
+ created_at?: string;
807
+ description?: string;
808
+ equities?: string[];
809
+ etfs?: string[];
810
+ excluded_symbols?: string[];
811
+ id?: string;
812
+ included_symbols?: string[];
813
+ name?: string;
814
+ symbols?: string[];
815
+ updated_at?: string;
816
+ }
805
817
  export interface InsightFixedIncome {
806
818
  a144: boolean;
807
819
  accrued_interest: number;
@@ -4085,14 +4097,23 @@ export class CustomLists<HandleError extends boolean = boolean> {
4085
4097
  */
4086
4098
  removeCustomList(filter: InsightRemoveCustomIndexRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
4087
4099
  /**
4088
- * @description get custom list
4100
+ * @description filter custom lists
4089
4101
  * @tags Custom Lists
4090
- * @name GetCustomList
4091
- * @summary get custom list
4092
- * @request GET:/custom-lists/:id
4102
+ * @name FilterCustomLists
4103
+ * @summary filter custom lists
4104
+ * @request POST:/custom-lists/filter
4093
4105
  * @secure
4094
4106
  */
4095
- getCustomList(id: string, query: {
4107
+ filterCustomLists(filter: InsightFilterCustomIndexesRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetCustomIndexesResponse, HandleError>>;
4108
+ /**
4109
+ * @description get custom list with quotes
4110
+ * @tags Custom Lists
4111
+ * @name GetCustomListWithQuotes
4112
+ * @summary get custom list with quotes
4113
+ * @request GET:/custom-lists/{id-or-slug}
4114
+ * @secure
4115
+ */
4116
+ getCustomListWithQuotes(idOrSlug: string, query: {
4096
4117
  /** sort direction - asc or desc */
4097
4118
  order_direction: string;
4098
4119
  /** sort field - volume, symbol(alphabetical), market_cap, dividend_percent */
@@ -4103,14 +4124,17 @@ export class CustomLists<HandleError extends boolean = boolean> {
4103
4124
  offset: number;
4104
4125
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetCustomIndexesResponse, HandleError>>;
4105
4126
  /**
4106
- * @description filter custom lists
4127
+ * @description filter custom list
4107
4128
  * @tags Custom Lists
4108
- * @name FilterCustomLists
4109
- * @summary filter custom lists
4110
- * @request POST:/custom-lists/filter
4129
+ * @name FilterCustomList
4130
+ * @summary filter custom list
4131
+ * @request GET:/custom-lists/{id-or-slug}/filter
4111
4132
  * @secure
4112
4133
  */
4113
- filterCustomLists(filter: InsightFilterCustomIndexesRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetCustomIndexesResponse, HandleError>>;
4134
+ filterCustomList(idOrSlug: string, query?: {
4135
+ /** symbols to check inclusion */
4136
+ symbols?: string[];
4137
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFilteredCustomIndexResponse, HandleError>>;
4114
4138
  }
4115
4139
  export class Dashboard<HandleError extends boolean = boolean> {
4116
4140
  protected readonly apiClient: JwtClient<HandleError>;