@otr-app/shared-backend-generated-client 2.5.129 → 2.5.130

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 (33) hide show
  1. package/dist/angular/.openapi-generator/FILES +3 -0
  2. package/dist/angular/api/api.ts +3 -1
  3. package/dist/angular/api/lawfirmDashboardController.service.ts +173 -0
  4. package/dist/angular/api.module.ts +1 -0
  5. package/dist/angular/model/earningsByPeriodDto.ts +18 -0
  6. package/dist/angular/model/getLawfirmGrossEarningsResponse.ts +18 -0
  7. package/dist/angular/model/models.ts +2 -0
  8. package/dist/otrBackendService.js +54 -0
  9. package/dist/otrBackendService.min.js +4 -4
  10. package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +29 -0
  11. package/dist/typescript/api/LawfirmDashboardControllerApi.js +65 -0
  12. package/dist/typescript/api/api.d.ts +3 -1
  13. package/dist/typescript/api/api.js +3 -1
  14. package/dist/typescript/api.module.js +1 -0
  15. package/dist/typescript/model/EarningsByPeriodDto.d.ts +15 -0
  16. package/dist/typescript/model/EarningsByPeriodDto.js +12 -0
  17. package/dist/typescript/model/GetLawfirmGrossEarningsResponse.d.ts +15 -0
  18. package/dist/typescript/model/GetLawfirmGrossEarningsResponse.js +12 -0
  19. package/dist/typescript/model/models.d.ts +2 -0
  20. package/dist/typescript/model/models.js +2 -0
  21. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.d.ts +42 -0
  22. package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +80 -0
  23. package/dist/typescript-fetch/apis/index.d.ts +1 -0
  24. package/dist/typescript-fetch/apis/index.js +1 -0
  25. package/dist/typescript-fetch/models/EarningsByPeriodDto.d.ts +33 -0
  26. package/dist/typescript-fetch/models/EarningsByPeriodDto.js +38 -0
  27. package/dist/typescript-fetch/models/GetLawfirmGrossEarningsResponse.d.ts +28 -0
  28. package/dist/typescript-fetch/models/GetLawfirmGrossEarningsResponse.js +37 -0
  29. package/dist/typescript-fetch/models/index.d.ts +2 -0
  30. package/dist/typescript-fetch/models/index.js +2 -0
  31. package/dist/typescript-open-api/otr-backend.d.ts +85 -0
  32. package/dist/typescript-open-api/otr-backend.js +7 -0
  33. package/package.json +1 -1
@@ -3811,6 +3811,23 @@ export interface paths {
3811
3811
  patch?: never;
3812
3812
  trace?: never;
3813
3813
  };
3814
+ "/api/v1/lawfirms/{lawfirmId}/dashboard/gross-earnings": {
3815
+ parameters: {
3816
+ query?: never;
3817
+ header?: never;
3818
+ path?: never;
3819
+ cookie?: never;
3820
+ };
3821
+ /** getLawfirmGrossEarnings */
3822
+ get: operations["getLawfirmGrossEarningsUsingGET"];
3823
+ put?: never;
3824
+ post?: never;
3825
+ delete?: never;
3826
+ options?: never;
3827
+ head?: never;
3828
+ patch?: never;
3829
+ trace?: never;
3830
+ };
3814
3831
  "/api/v1/cases/{caseId}/documents": {
3815
3832
  parameters: {
3816
3833
  query?: never;
@@ -10151,6 +10168,13 @@ export interface components {
10151
10168
  units?: components["schemas"]["TemporalUnit"][];
10152
10169
  zero?: boolean;
10153
10170
  };
10171
+ /** EarningsByPeriodDto */
10172
+ EarningsByPeriodDto: {
10173
+ /** Format: date-time */
10174
+ periodDate?: string;
10175
+ /** Format: int64 */
10176
+ totalAmountInCents?: number;
10177
+ };
10154
10178
  /** EditConversationMessageRequest */
10155
10179
  EditConversationMessageRequest: {
10156
10180
  messageBody?: string;
@@ -11202,6 +11226,10 @@ export interface components {
11202
11226
  numTransactions?: number;
11203
11227
  transactions?: components["schemas"]["FinancialTransaction"][];
11204
11228
  };
11229
+ /** GetLawfirmGrossEarningsResponse */
11230
+ GetLawfirmGrossEarningsResponse: {
11231
+ earnings?: components["schemas"]["EarningsByPeriodDto"][];
11232
+ };
11205
11233
  /** GetLawfirmInboxMessagesResponse */
11206
11234
  GetLawfirmInboxMessagesResponse: {
11207
11235
  messages?: components["schemas"]["LawfirmInboxMessageDomain"][];
@@ -29086,6 +29114,57 @@ export interface operations {
29086
29114
  };
29087
29115
  };
29088
29116
  };
29117
+ getLawfirmGrossEarningsUsingGET: {
29118
+ parameters: {
29119
+ query: {
29120
+ /** @description period */
29121
+ period: PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod;
29122
+ /** @description startDate */
29123
+ startDate?: string;
29124
+ /** @description endDate */
29125
+ endDate?: string;
29126
+ };
29127
+ header?: never;
29128
+ path: {
29129
+ /** @description lawfirmId */
29130
+ lawfirmId: number;
29131
+ };
29132
+ cookie?: never;
29133
+ };
29134
+ requestBody?: never;
29135
+ responses: {
29136
+ /** @description OK */
29137
+ 200: {
29138
+ headers: {
29139
+ [name: string]: unknown;
29140
+ };
29141
+ content: {
29142
+ "*/*": components["schemas"]["GetLawfirmGrossEarningsResponse"];
29143
+ };
29144
+ };
29145
+ /** @description Unauthorized */
29146
+ 401: {
29147
+ headers: {
29148
+ [name: string]: unknown;
29149
+ };
29150
+ content?: never;
29151
+ };
29152
+ /** @description Forbidden */
29153
+ 403: {
29154
+ headers: {
29155
+ [name: string]: unknown;
29156
+ };
29157
+ content?: never;
29158
+ };
29159
+ /** @description Not Found */
29160
+ 404: {
29161
+ headers: {
29162
+ [name: string]: unknown;
29163
+ };
29164
+ content?: never;
29165
+ };
29166
+ };
29167
+ };
29089
29168
  getLawfirmCaseDocumentsUsingGET: {
29090
29169
  parameters: {
29091
29170
  query?: never;
@@ -40680,6 +40759,12 @@ export declare enum PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLa
40680
40759
  CLIENT = "CLIENT",
40681
40760
  LAWYER = "LAWYER"
40682
40761
  }
40762
+ export declare enum PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod {
40763
+ DAILY = "DAILY",
40764
+ HOURLY = "HOURLY",
40765
+ MONTHLY = "MONTHLY",
40766
+ WEEKLY = "WEEKLY"
40767
+ }
40683
40768
  export declare enum PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type {
40684
40769
  ENGAGEMENT_LETTER = "ENGAGEMENT_LETTER",
40685
40770
  OTHER_DOCUMENT = "OTHER_DOCUMENT",
@@ -334,6 +334,13 @@ export var PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessa
334
334
  PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy["CLIENT"] = "CLIENT";
335
335
  PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy["LAWYER"] = "LAWYER";
336
336
  })(PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy || (PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy = {}));
337
+ export var PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod;
338
+ (function (PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod) {
339
+ PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["DAILY"] = "DAILY";
340
+ PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["HOURLY"] = "HOURLY";
341
+ PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["MONTHLY"] = "MONTHLY";
342
+ PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["WEEKLY"] = "WEEKLY";
343
+ })(PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod || (PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod = {}));
337
344
  export var PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type;
338
345
  (function (PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type) {
339
346
  PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type["ENGAGEMENT_LETTER"] = "ENGAGEMENT_LETTER";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.129",
3
+ "version": "2.5.130",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"