@orbis-systems/orbis-api-clients 1.3.1 → 1.4.0

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.
Files changed (43) hide show
  1. package/dist/aesmidas/index.d.ts +356 -167
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -1
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -1
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +11752 -5935
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/index.d.ts +3 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.esm.js +1 -1
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/insight/index.d.ts +134 -3
  20. package/dist/insight/index.d.ts.map +1 -1
  21. package/dist/insight/index.esm.js +1 -1
  22. package/dist/insight/index.esm.js.map +1 -1
  23. package/dist/insight/index.js +1 -1
  24. package/dist/insight/index.js.map +1 -1
  25. package/dist/middleware/index.d.ts +197 -51
  26. package/dist/middleware/index.d.ts.map +1 -1
  27. package/dist/middleware/index.esm.js +1 -1
  28. package/dist/middleware/index.esm.js.map +1 -1
  29. package/dist/middleware/index.js +1 -1
  30. package/dist/middleware/index.js.map +1 -1
  31. package/dist/orbis/index.d.ts +59 -51
  32. package/dist/orbis/index.d.ts.map +1 -1
  33. package/dist/orbis/index.esm.js +1 -1
  34. package/dist/orbis/index.esm.js.map +1 -1
  35. package/dist/orbis/index.js +1 -1
  36. package/dist/orbis/index.js.map +1 -1
  37. package/dist/uma/index.d.ts +923 -90
  38. package/dist/uma/index.d.ts.map +1 -1
  39. package/dist/uma/index.esm.js +1 -1
  40. package/dist/uma/index.esm.js.map +1 -1
  41. package/dist/uma/index.js +1 -1
  42. package/dist/uma/index.js.map +1 -1
  43. package/package.json +157 -157
@@ -1,4 +1,4 @@
1
- import { AxiosError, AxiosInstance, AxiosRequestConfig, HttpStatusCode } from "axios";
1
+ import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponseHeaders, HttpStatusCode } from "axios";
2
2
  enum CaseFormat {
3
3
  Camel = "camel",
4
4
  Snake = "snake",
@@ -44,12 +44,14 @@ type SuccessClientResponse<Data = unknown, RawData = unknown> = ResponseStatus &
44
44
  success: true;
45
45
  data: Data;
46
46
  rawData: RawData;
47
+ headers: AxiosResponseHeaders;
47
48
  };
48
49
  type ErrorClientResponse = ResponseStatus & {
49
50
  success: false;
50
51
  data?: any;
51
52
  rawData?: any;
52
53
  error: unknown;
54
+ headers?: AxiosResponseHeaders;
53
55
  };
54
56
  type ClientResponse<Data = unknown, HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> = HandleError extends true ? SuccessClientResponse<TransformData<Data, Format>, Data> | ErrorClientResponse : SuccessClientResponse<TransformData<Data, Format>, Data>;
55
57
  declare abstract class BaseClient<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original, AuthData = unknown> {
@@ -360,7 +362,7 @@ export class AdvisoryCharges<HandleError extends boolean = boolean, Format exten
360
362
  /**
361
363
  * @tags Advisory Charges
362
364
  * @name Search
363
- * @summary /search
365
+ * @summary Search
364
366
  * @request GET:/v2/charges/search
365
367
  * @secure
366
368
  */
@@ -394,7 +396,7 @@ export class AdvisoryCharges<HandleError extends boolean = boolean, Format exten
394
396
  /**
395
397
  * @tags Advisory Charges
396
398
  * @name Apply
397
- * @summary /apply
399
+ * @summary Apply
398
400
  * @request POST:/v2/charges/apply
399
401
  * @secure
400
402
  */
@@ -409,7 +411,7 @@ export class AdvisoryCharges<HandleError extends boolean = boolean, Format exten
409
411
  /**
410
412
  * @tags Advisory Charges
411
413
  * @name Cancel
412
- * @summary /cancel
414
+ * @summary Cancel
413
415
  * @request POST:/v2/charges/cancel
414
416
  * @secure
415
417
  */
@@ -420,32 +422,36 @@ export class AdvisoryGroups<HandleError extends boolean = boolean, Format extend
420
422
  constructor(apiClient: JwtClient<HandleError, Format>);
421
423
  /**
422
424
  * @tags Advisory Groups
423
- * @name GroupsManage
425
+ * @name Manage
426
+ * @summary Manage
424
427
  * @request POST:/v1/groups/manage/{action}
425
428
  * @secure
426
429
  */
427
- groupsManage(action: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
430
+ manage(action: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
428
431
  /**
429
432
  * @tags Advisory Groups
430
- * @name GroupsList
433
+ * @name List
434
+ * @summary List
431
435
  * @request GET:/v1/groups/list
432
436
  * @secure
433
437
  */
434
- groupsList(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
438
+ list(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
435
439
  /**
436
440
  * @tags Advisory Groups
437
- * @name GroupAccountsStats
441
+ * @name AccountStats
442
+ * @summary Account Stats
438
443
  * @request GET:/v2/advisory/group/accounts/stats/{groupsId}
439
444
  * @secure
440
445
  */
441
- groupAccountsStats(groupsId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
446
+ accountStats(groupsId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
442
447
  /**
443
448
  * @tags Advisory Groups
444
- * @name GroupPortfolios
449
+ * @name Portfolios
450
+ * @summary Portfolios
445
451
  * @request GET:/v2/advisory/group/portfolios/{groupId}
446
452
  * @secure
447
453
  */
448
- groupPortfolios(groupId: string, query?: {
454
+ portfolios(groupId: string, query?: {
449
455
  /**
450
456
  * Should load quotes or not.
451
457
  * @example "false"
@@ -479,18 +485,20 @@ export class AdvisoryGroups<HandleError extends boolean = boolean, Format extend
479
485
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
480
486
  /**
481
487
  * @tags Advisory Groups
482
- * @name GroupRtb
488
+ * @name Balance
489
+ * @summary Balance
483
490
  * @request GET:/v2/advisory/group/rtb/{groupId}
484
491
  * @secure
485
492
  */
486
- groupRtb(groupId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
493
+ balance(groupId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
487
494
  /**
488
495
  * @tags Advisory Groups
489
- * @name GroupRtbs
496
+ * @name Balances
497
+ * @summary Balances
490
498
  * @request GET:/v2/advisory/group/rtbs/{groupId}
491
499
  * @secure
492
500
  */
493
- groupRtbs(groupId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
501
+ balances(groupId: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
494
502
  }
495
503
  export class AdvisoryModels<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
496
504
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -772,16 +780,16 @@ export class AdvisoryUserAccountManagement<HandleError extends boolean = boolean
772
780
  constructor(apiClient: JwtClient<HandleError, Format>);
773
781
  /**
774
782
  * @tags Advisory User Account Management
775
- * @name List
776
- * @summary /list
783
+ * @name UsersList
784
+ * @summary Users list
777
785
  * @request GET:/v2/advisory/users/list
778
786
  * @secure
779
787
  */
780
- list(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
788
+ usersList(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
781
789
  /**
782
790
  * @tags Advisory User Account Management
783
791
  * @name Accounts
784
- * @summary /accounts
792
+ * @summary Accounts
785
793
  * @request GET:/v2/advisory/users/accounts
786
794
  * @secure
787
795
  */
@@ -796,16 +804,16 @@ export class AdvisoryUserAccountManagement<HandleError extends boolean = boolean
796
804
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
797
805
  /**
798
806
  * @tags Advisory User Account Management
799
- * @name AccountsStats
800
- * @summary /accounts/stats
807
+ * @name AccountStats
808
+ * @summary Account stats
801
809
  * @request GET:/v2/advisory/users/accounts/stats
802
810
  * @secure
803
811
  */
804
- accountsStats(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
812
+ accountStats(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
805
813
  /**
806
814
  * @tags Advisory User Account Management
807
815
  * @name AccountNotes
808
- * @summary /account/notes
816
+ * @summary Account notes
809
817
  * @request GET:/v2/advisory/users/account/notes
810
818
  * @secure
811
819
  */
@@ -818,12 +826,12 @@ export class AdvisoryUserAccountManagement<HandleError extends boolean = boolean
818
826
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
819
827
  /**
820
828
  * @tags Advisory User Account Management
821
- * @name Notes
822
- * @summary /notes
829
+ * @name UsersNotes
830
+ * @summary Users notes
823
831
  * @request GET:/v2/advisory/users/notes
824
832
  * @secure
825
833
  */
826
- notes(query?: {
834
+ usersNotes(query?: {
827
835
  /**
828
836
  * User's ID
829
837
  * @example "1234"
@@ -832,11 +840,11 @@ export class AdvisoryUserAccountManagement<HandleError extends boolean = boolean
832
840
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
833
841
  /**
834
842
  * @tags Advisory User Account Management
835
- * @name NotesPost
843
+ * @name Notes
836
844
  * @request POST:/v2/advisory/users/notes/{action}
837
845
  * @secure
838
846
  */
839
- notesPost(action: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
847
+ notes(action: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
840
848
  }
841
849
  export class Advisory<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
842
850
  protected readonly apiClient: JwtClient<HandleError, Format>;
@@ -1593,28 +1601,28 @@ export class Miscellaneous<HandleError extends boolean = boolean, Format extends
1593
1601
  constructor(apiClient: JwtClient<HandleError, Format>);
1594
1602
  /**
1595
1603
  * @tags Miscellaneous
1596
- * @name ResearchMarketdate
1597
- * @summary /research/marketDate
1604
+ * @name MarketDate
1605
+ * @summary Market Date
1598
1606
  * @request GET:/research/marketDate
1599
1607
  * @secure
1600
1608
  */
1601
- researchMarketdate(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
1609
+ marketDate(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
1602
1610
  /**
1603
1611
  * @tags Miscellaneous
1604
- * @name ResearchDatesMarkets
1605
- * @summary /research/dates/markets
1612
+ * @name MarketList
1613
+ * @summary Market List
1606
1614
  * @request GET:/research/dates/markets
1607
1615
  * @secure
1608
1616
  */
1609
- researchDatesMarkets(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
1617
+ marketList(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
1610
1618
  /**
1611
1619
  * @tags Miscellaneous
1612
- * @name ResearchDatesLastopen
1613
- * @summary /research/dates/lastOpen
1620
+ * @name MarketLastOpenDate
1621
+ * @summary Market Last Open Date
1614
1622
  * @request GET:/research/dates/lastOpen
1615
1623
  * @secure
1616
1624
  */
1617
- researchDatesLastopen(query?: {
1625
+ marketLastOpenDate(query?: {
1618
1626
  /**
1619
1627
  * Optional value for the market
1620
1628
  * @example "U"
@@ -1623,12 +1631,12 @@ export class Miscellaneous<HandleError extends boolean = boolean, Format extends
1623
1631
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
1624
1632
  /**
1625
1633
  * @tags Miscellaneous
1626
- * @name ResearchDatesCheck
1627
- * @summary /research/dates/check
1634
+ * @name MarketDataCheck
1635
+ * @summary Market Data Check
1628
1636
  * @request GET:/research/dates/check
1629
1637
  * @secure
1630
1638
  */
1631
- researchDatesCheck(query?: {
1639
+ marketDataCheck(query?: {
1632
1640
  /**
1633
1641
  * Optional value for the market
1634
1642
  * @example "U"
@@ -1997,7 +2005,7 @@ export class OrdersV2MutualFunds<HandleError extends boolean = boolean, Format e
1997
2005
  /**
1998
2006
  * @tags Orders V2 Mutual Funds
1999
2007
  * @name MutualFundPlacement
2000
- * @summary Mutual fund placement
2008
+ * @summary Mutual Fund Placement
2001
2009
  * @request POST:/orders/v2/mf/place
2002
2010
  * @secure
2003
2011
  */
@@ -2005,7 +2013,7 @@ export class OrdersV2MutualFunds<HandleError extends boolean = boolean, Format e
2005
2013
  /**
2006
2014
  * @tags Orders V2 Mutual Funds
2007
2015
  * @name MutualFundPreview
2008
- * @summary Mutual fund preview
2016
+ * @summary Mutual Fund Preview
2009
2017
  * @request POST:/orders/v2/mf/preview
2010
2018
  * @secure
2011
2019
  */
@@ -5447,6 +5455,14 @@ export class User<HandleError extends boolean = boolean, Format extends CaseForm
5447
5455
  /** @example "2/2/2018" */
5448
5456
  dateTo?: any;
5449
5457
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
5458
+ /**
5459
+ * @tags User
5460
+ * @name PreferencesView
5461
+ * @summary Preferences (view)
5462
+ * @request GET:/user/preferences
5463
+ * @secure
5464
+ */
5465
+ preferencesView(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
5450
5466
  /**
5451
5467
  * @tags User
5452
5468
  * @name AccountPortfolioHistory
@@ -5604,14 +5620,6 @@ export class User<HandleError extends boolean = boolean, Format extends CaseForm
5604
5620
  account?: any;
5605
5621
  accountId?: any;
5606
5622
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
5607
- /**
5608
- * @tags User
5609
- * @name PreferencesView
5610
- * @summary Preferences (view)
5611
- * @request GET:/user/preferences
5612
- * @secure
5613
- */
5614
- preferencesView(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError, Format>>;
5615
5623
  /**
5616
5624
  * @tags User
5617
5625
  * @name PreferencesChange