@matech/thebigpos-sdk 2.34.1 → 2.35.0-rc1

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/src/index.ts CHANGED
@@ -322,6 +322,8 @@ export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
322
322
 
323
323
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
324
324
 
325
+ export type BillingType = "ClosedLoan" | "LoanOfficer";
326
+
325
327
  export type AddressFamily =
326
328
  | "Unspecified"
327
329
  | "Unix"
@@ -399,13 +401,23 @@ export interface Account {
399
401
  losSettings: LOSSettings;
400
402
  asoSettings?: ASOSettings | null;
401
403
  settings: AccountSettings;
404
+ billingSettings?: AccountBilling | null;
402
405
  }
403
406
 
404
- export interface AccountReportFailure {
405
- /** @format uuid */
406
- accountID: string;
407
- accountName: string;
408
- errorMessage: string;
407
+ export interface AccountBilling {
408
+ billingType: string;
409
+ /** @format double */
410
+ contractedRate: number;
411
+ }
412
+
413
+ export interface AccountBillingRequest {
414
+ billingType: "ClosedLoan" | "LoanOfficer";
415
+ /**
416
+ * @format double
417
+ * @min 0
418
+ * @exclusiveMin true
419
+ */
420
+ contractedRate: number;
409
421
  }
410
422
 
411
423
  export interface AccountSettings {
@@ -522,6 +534,7 @@ export interface AdminAccessUser {
522
534
  /** @format int32 */
523
535
  loginsWithoutMFACount: number;
524
536
  canImpersonate: boolean;
537
+ preferredLoanOfficer?: PreferredLoanOfficer | null;
525
538
  loanIDs: string[];
526
539
  drafts: Draft[];
527
540
  notificationSettings?: UserNotificationSettings | null;
@@ -782,6 +795,7 @@ export interface BranchUser {
782
795
  /** @format int32 */
783
796
  loginsWithoutMFACount: number;
784
797
  canImpersonate: boolean;
798
+ preferredLoanOfficer?: PreferredLoanOfficer | null;
785
799
  loanIDs: string[];
786
800
  drafts: Draft[];
787
801
  notificationSettings?: UserNotificationSettings | null;
@@ -998,6 +1012,7 @@ export interface CreateAccountRequest {
998
1012
  settings: AccountSettingsRequest;
999
1013
  environment: "Development" | "Staging" | "UAT" | "Production";
1000
1014
  losIntegration: LOSIntegration;
1015
+ billingSettings: AccountBillingRequest;
1001
1016
  }
1002
1017
 
1003
1018
  export interface CreateBranchRequest {
@@ -1190,6 +1205,7 @@ export interface DetailedUser {
1190
1205
  /** @format int32 */
1191
1206
  loginsWithoutMFACount: number;
1192
1207
  canImpersonate: boolean;
1208
+ preferredLoanOfficer?: PreferredLoanOfficer | null;
1193
1209
  loanIDs: string[];
1194
1210
  drafts: Draft[];
1195
1211
  notificationSettings?: UserNotificationSettings | null;
@@ -1306,9 +1322,18 @@ export interface DocumentFolder {
1306
1322
  files: DocumentFile[];
1307
1323
  }
1308
1324
 
1325
+ export interface DocumentFoldersRequest {
1326
+ searchText?: string | null;
1327
+ losStatuses?: LOSStatus[] | null;
1328
+ sortBy?: string | null;
1329
+ sortDirection?: string | null;
1330
+ }
1331
+
1309
1332
  export interface DocumentSync {
1310
1333
  /** @format int32 */
1311
1334
  syncedCount: number;
1335
+ /** @format date-time */
1336
+ lastLosDocumentsSyncDate?: string | null;
1312
1337
  }
1313
1338
 
1314
1339
  export interface DocumentTemplate {
@@ -1969,6 +1994,7 @@ export interface ImpersonatedDetailedUser {
1969
1994
  /** @format int32 */
1970
1995
  loginsWithoutMFACount: number;
1971
1996
  canImpersonate: boolean;
1997
+ preferredLoanOfficer?: PreferredLoanOfficer | null;
1972
1998
  loanIDs: string[];
1973
1999
  drafts: Draft[];
1974
2000
  notificationSettings?: UserNotificationSettings | null;
@@ -2180,6 +2206,8 @@ export interface Loan {
2180
2206
  isInSync: boolean;
2181
2207
  /** @format date-time */
2182
2208
  syncDate?: string | null;
2209
+ /** @format date-time */
2210
+ lastLosDocumentsSyncDate?: string | null;
2183
2211
  isLocked: boolean;
2184
2212
  isLockedFromEditing: boolean;
2185
2213
  excludeFromAutoTaskReminders?: boolean | null;
@@ -2230,6 +2258,8 @@ export interface LoanApplicationRequest {
2230
2258
  borrowers: LoanBorrowerRequest[];
2231
2259
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2232
2260
  /** @format uuid */
2261
+ draftId?: string | null;
2262
+ /** @format uuid */
2233
2263
  existingLoanId?: string | null;
2234
2264
  }
2235
2265
 
@@ -4018,6 +4048,15 @@ export interface PostLoanComparisonPdfRequest {
4018
4048
  siteConfigurationID: string;
4019
4049
  }
4020
4050
 
4051
+ export interface PreferredLoanOfficer {
4052
+ /** @format uuid */
4053
+ id: string;
4054
+ firstName: string;
4055
+ lastName: string;
4056
+ email: string;
4057
+ phone?: string | null;
4058
+ }
4059
+
4021
4060
  export interface PreliminaryCondition {
4022
4061
  /** @format uuid */
4023
4062
  id: string;
@@ -5344,6 +5383,8 @@ export interface UpdateMeRequest {
5344
5383
  forcePasswordReset: boolean;
5345
5384
  mfaEnabled: boolean;
5346
5385
  notificationSettings: UserNotificationSettingsUpdateRequest;
5386
+ /** @format uuid */
5387
+ preferredLoanOfficerId?: string | null;
5347
5388
  }
5348
5389
 
5349
5390
  export interface UpdateMobilePhoneRequest {
@@ -5378,6 +5419,8 @@ export interface UpdateUserRequest {
5378
5419
  branchId?: string | null;
5379
5420
  forcePasswordReset: boolean;
5380
5421
  mfaEnabled: boolean;
5422
+ /** @format uuid */
5423
+ preferredLoanOfficerId?: string | null;
5381
5424
  }
5382
5425
 
5383
5426
  export interface UsageReport {
@@ -5408,15 +5451,142 @@ export interface UsageReport {
5408
5451
  createdAt: string;
5409
5452
  }
5410
5453
 
5411
- export interface UsageReportGenerationResult {
5412
- fileKey: string;
5413
- fileUrl: string;
5454
+ export interface UsageReportAccountBrief {
5455
+ /** @format uuid */
5456
+ accountId: string;
5457
+ accountName: string;
5458
+ hasDiscrepancy: boolean;
5459
+ errorMessage?: string | null;
5460
+ currentStep?: string | null;
5461
+ }
5462
+
5463
+ export interface UsageReportAccountExecution {
5464
+ /** @format uuid */
5465
+ accountId: string;
5466
+ accountName: string;
5467
+ status: string;
5468
+ hasDiscrepancy: boolean;
5469
+ excelFileUrl?: string | null;
5470
+ errorMessage?: string | null;
5471
+ /** @format date-time */
5472
+ validationStartedAt?: string | null;
5473
+ /** @format date-time */
5474
+ validationCompletedAt?: string | null;
5475
+ /** @format date-time */
5476
+ processingStartedAt?: string | null;
5477
+ /** @format date-time */
5478
+ processingCompletedAt?: string | null;
5479
+ }
5480
+
5481
+ export interface UsageReportAccountStatus {
5482
+ status: string;
5483
+ /** @format int32 */
5484
+ count: number;
5485
+ accounts: UsageReportAccountBrief[];
5486
+ }
5487
+
5488
+ export interface UsageReportActiveExecution {
5489
+ /** @format uuid */
5490
+ correlationId: string;
5491
+ currentState: string;
5414
5492
  /** @format int32 */
5415
- successCount: number;
5493
+ month: number;
5494
+ /** @format int32 */
5495
+ year: number;
5496
+ /** @format date-time */
5497
+ startedAt?: string | null;
5498
+ elapsedTime: string;
5499
+ progress: UsageReportProgress;
5500
+ accountsByStatus: UsageReportAccountStatus[];
5501
+ }
5502
+
5503
+ export interface UsageReportDashboard {
5504
+ activeExecution?: UsageReportActiveExecution | null;
5505
+ recentExecutions: UsageReportExecutionSummary[];
5506
+ statistics: UsageReportStatistics;
5507
+ }
5508
+
5509
+ export interface UsageReportExecution {
5510
+ /** @format uuid */
5511
+ correlationId: string;
5512
+ currentState: string;
5513
+ /** @format int32 */
5514
+ month: number;
5515
+ /** @format int32 */
5516
+ year: number;
5517
+ /** @format int32 */
5518
+ totalAccounts: number;
5519
+ /** @format int32 */
5520
+ validatedAccounts: number;
5521
+ /** @format int32 */
5522
+ processedAccounts: number;
5523
+ /** @format int32 */
5524
+ failedAccounts: number;
5525
+ /** @format date-time */
5526
+ startedAt?: string | null;
5527
+ /** @format date-time */
5528
+ completedAt?: string | null;
5529
+ finalZipUrl?: string | null;
5530
+ errorMessage?: string | null;
5531
+ accounts: UsageReportAccountExecution[];
5532
+ }
5533
+
5534
+ export interface UsageReportExecutionSummary {
5535
+ /** @format uuid */
5536
+ correlationId: string;
5537
+ currentState: string;
5538
+ /** @format int32 */
5539
+ month: number;
5540
+ /** @format int32 */
5541
+ year: number;
5542
+ period: string;
5543
+ /** @format date-time */
5544
+ startedAt?: string | null;
5545
+ /** @format date-time */
5546
+ completedAt?: string | null;
5547
+ duration?: string | null;
5548
+ /** @format int32 */
5549
+ totalAccounts: number;
5416
5550
  /** @format int32 */
5417
- failureCount: number;
5418
- reports: UsageReport[];
5419
- failures: AccountReportFailure[];
5551
+ processedAccounts: number;
5552
+ /** @format int32 */
5553
+ failedAccounts: number;
5554
+ finalZipUrl?: string | null;
5555
+ errorMessage?: string | null;
5556
+ }
5557
+
5558
+ export interface UsageReportProgress {
5559
+ /** @format int32 */
5560
+ totalAccounts: number;
5561
+ /** @format int32 */
5562
+ validatedAccounts: number;
5563
+ /** @format int32 */
5564
+ processedAccounts: number;
5565
+ /** @format int32 */
5566
+ failedAccounts: number;
5567
+ /** @format int32 */
5568
+ pendingAccounts: number;
5569
+ /** @format double */
5570
+ validationPercentage: number;
5571
+ /** @format double */
5572
+ processingPercentage: number;
5573
+ /** @format double */
5574
+ overallPercentage: number;
5575
+ }
5576
+
5577
+ export interface UsageReportStatistics {
5578
+ /** @format int32 */
5579
+ totalExecutionsThisYear: number;
5580
+ /** @format int32 */
5581
+ successfulExecutions: number;
5582
+ /** @format int32 */
5583
+ failedExecutions: number;
5584
+ /** @format int32 */
5585
+ partialExecutions: number;
5586
+ /** @format date-time */
5587
+ lastSuccessfulExecution?: string | null;
5588
+ /** @format date-time */
5589
+ lastFailedExecution?: string | null;
5420
5590
  }
5421
5591
 
5422
5592
  export interface User {
@@ -5440,6 +5610,7 @@ export interface User {
5440
5610
  /** @format int32 */
5441
5611
  loginsWithoutMFACount: number;
5442
5612
  canImpersonate: boolean;
5613
+ preferredLoanOfficer?: PreferredLoanOfficer | null;
5443
5614
  }
5444
5615
 
5445
5616
  export interface UserAccountDeletionRequest {
@@ -5941,7 +6112,7 @@ export class HttpClient<SecurityDataType = unknown> {
5941
6112
 
5942
6113
  /**
5943
6114
  * @title The Big POS API
5944
- * @version v2.34.0
6115
+ * @version v2.35.0
5945
6116
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5946
6117
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5947
6118
  */
@@ -6163,6 +6334,33 @@ export class Api<
6163
6334
  ...params,
6164
6335
  }),
6165
6336
 
6337
+ /**
6338
+ * No description
6339
+ *
6340
+ * @tags Accounts
6341
+ * @name UpdateAccountBilling
6342
+ * @summary Update billing configuration
6343
+ * @request PUT:/api/accounts/{id}/billing
6344
+ * @secure
6345
+ * @response `200` `AccountBilling` Success
6346
+ * @response `404` `ProblemDetails` Not Found
6347
+ * @response `422` `ProblemDetails` Client Error
6348
+ */
6349
+ updateAccountBilling: (
6350
+ id: string,
6351
+ data: AccountBillingRequest,
6352
+ params: RequestParams = {},
6353
+ ) =>
6354
+ this.request<AccountBilling, ProblemDetails>({
6355
+ path: `/api/accounts/${id}/billing`,
6356
+ method: "PUT",
6357
+ body: data,
6358
+ secure: true,
6359
+ type: ContentType.Json,
6360
+ format: "json",
6361
+ ...params,
6362
+ }),
6363
+
6166
6364
  /**
6167
6365
  * No description
6168
6366
  *
@@ -8170,7 +8368,7 @@ export class Api<
8170
8368
  method: "PATCH",
8171
8369
  body: data,
8172
8370
  secure: true,
8173
- type: ContentType.JsonPatchPatch,
8371
+ type: ContentType.JsonPatch,
8174
8372
  format: "json",
8175
8373
  ...params,
8176
8374
  }),
@@ -8280,7 +8478,7 @@ export class Api<
8280
8478
  method: "PATCH",
8281
8479
  body: data,
8282
8480
  secure: true,
8283
- type: ContentType.JsonPatchPatch,
8481
+ type: ContentType.JsonPatch,
8284
8482
  format: "json",
8285
8483
  ...params,
8286
8484
  }),
@@ -8307,7 +8505,7 @@ export class Api<
8307
8505
  method: "PATCH",
8308
8506
  body: data,
8309
8507
  secure: true,
8310
- type: ContentType.JsonPatchPatch,
8508
+ type: ContentType.JsonPatch,
8311
8509
  format: "json",
8312
8510
  ...params,
8313
8511
  }),
@@ -8549,7 +8747,7 @@ export class Api<
8549
8747
  method: "PATCH",
8550
8748
  body: data,
8551
8749
  secure: true,
8552
- type: ContentType.JsonPatchPatch,
8750
+ type: ContentType.JsonPatch,
8553
8751
  format: "json",
8554
8752
  ...params,
8555
8753
  }),
@@ -8629,7 +8827,7 @@ export class Api<
8629
8827
  method: "PATCH",
8630
8828
  body: data,
8631
8829
  secure: true,
8632
- type: ContentType.JsonPatchPatch,
8830
+ type: ContentType.JsonPatch,
8633
8831
  format: "json",
8634
8832
  ...params,
8635
8833
  }),
@@ -9140,15 +9338,21 @@ export class Api<
9140
9338
  * @tags LoanDocuments
9141
9339
  * @name GetLoanDocumentFolders
9142
9340
  * @summary Get document folder hierarchy
9143
- * @request GET:/api/loans/{loanId}/documents/folders
9341
+ * @request POST:/api/loans/{loanId}/documents/folders
9144
9342
  * @secure
9145
9343
  * @response `200` `(DocumentFolder)[]` Success
9146
9344
  */
9147
- getLoanDocumentFolders: (loanId: string, params: RequestParams = {}) =>
9345
+ getLoanDocumentFolders: (
9346
+ loanId: string,
9347
+ data: DocumentFoldersRequest,
9348
+ params: RequestParams = {},
9349
+ ) =>
9148
9350
  this.request<DocumentFolder[], any>({
9149
9351
  path: `/api/loans/${loanId}/documents/folders`,
9150
- method: "GET",
9352
+ method: "POST",
9353
+ body: data,
9151
9354
  secure: true,
9355
+ type: ContentType.Json,
9152
9356
  format: "json",
9153
9357
  ...params,
9154
9358
  }),
@@ -9289,17 +9493,14 @@ export class Api<
9289
9493
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
9290
9494
  *
9291
9495
  * @tags LoanDocuments
9292
- * @name SyncLoanDocumentsFromEncompass
9293
- * @summary Sync documents from Encompass
9496
+ * @name SyncLoanDocumentsFromLos
9497
+ * @summary Sync documents from LOS
9294
9498
  * @request POST:/api/loans/{loanId}/documents/sync
9295
9499
  * @secure
9296
9500
  * @response `200` `DocumentSync` Success
9297
9501
  * @response `404` `ProblemDetails` Not Found
9298
9502
  */
9299
- syncLoanDocumentsFromEncompass: (
9300
- loanId: string,
9301
- params: RequestParams = {},
9302
- ) =>
9503
+ syncLoanDocumentsFromLos: (loanId: string, params: RequestParams = {}) =>
9303
9504
  this.request<DocumentSync, ProblemDetails>({
9304
9505
  path: `/api/loans/${loanId}/documents/sync`,
9305
9506
  method: "POST",
@@ -9309,18 +9510,18 @@ export class Api<
9309
9510
  }),
9310
9511
 
9311
9512
  /**
9312
- * @description Re-attempts to push a failed document to Encompass
9513
+ * @description Re-attempts to push a failed document to LOS
9313
9514
  *
9314
9515
  * @tags LoanDocuments
9315
- * @name RetrySyncLoanDocumentToEncompass
9316
- * @summary Retry syncing a document to Encompass
9516
+ * @name RetrySyncLoanDocumentToLos
9517
+ * @summary Retry syncing a document to LOS
9317
9518
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
9318
9519
  * @secure
9319
9520
  * @response `200` `void` Success
9320
9521
  * @response `404` `ProblemDetails` Not Found
9321
9522
  * @response `423` `ProblemDetails` Client Error
9322
9523
  */
9323
- retrySyncLoanDocumentToEncompass: (
9524
+ retrySyncLoanDocumentToLos: (
9324
9525
  loanId: string,
9325
9526
  documentId: string,
9326
9527
  params: RequestParams = {},
@@ -10004,7 +10205,6 @@ export class Api<
10004
10205
  * @name GetLoans
10005
10206
  * @summary Get Loans
10006
10207
  * @request GET:/api/loans
10007
- * @deprecated
10008
10208
  * @secure
10009
10209
  * @response `200` `GetApplications` Success
10010
10210
  */
@@ -10173,7 +10373,7 @@ export class Api<
10173
10373
  query: query,
10174
10374
  body: data,
10175
10375
  secure: true,
10176
- type: ContentType.JsonPatchPatch,
10376
+ type: ContentType.JsonPatch,
10177
10377
  format: "json",
10178
10378
  ...params,
10179
10379
  }),
@@ -11902,26 +12102,17 @@ export class Api<
11902
12102
  * No description
11903
12103
  *
11904
12104
  * @tags UsageReports
11905
- * @name GenerateUsageReports
11906
- * @summary Generate usage reports for all active production accounts
11907
- * @request POST:/api/usage-reports
12105
+ * @name GetUsageReportById
12106
+ * @summary Get usage report by ID
12107
+ * @request GET:/api/usage-reports/{id}
11908
12108
  * @secure
11909
- * @response `200` `UsageReportGenerationResult` Success
11910
- * @response `400` `ProblemDetails` Bad Request
12109
+ * @response `200` `UsageReport` Success
12110
+ * @response `404` `ProblemDetails` Not Found
11911
12111
  */
11912
- generateUsageReports: (
11913
- query?: {
11914
- /** @format int32 */
11915
- month?: number;
11916
- /** @format int32 */
11917
- year?: number;
11918
- },
11919
- params: RequestParams = {},
11920
- ) =>
11921
- this.request<UsageReportGenerationResult, ProblemDetails>({
11922
- path: `/api/usage-reports`,
11923
- method: "POST",
11924
- query: query,
12112
+ getUsageReportById: (id: string, params: RequestParams = {}) =>
12113
+ this.request<UsageReport, ProblemDetails>({
12114
+ path: `/api/usage-reports/${id}`,
12115
+ method: "GET",
11925
12116
  secure: true,
11926
12117
  format: "json",
11927
12118
  ...params,
@@ -11960,14 +12151,14 @@ export class Api<
11960
12151
  * No description
11961
12152
  *
11962
12153
  * @tags UsageReports
11963
- * @name GenerateAndSendUsageReport
11964
- * @summary Generate and send monthly usage report email
11965
- * @request POST:/api/usage-reports/generate-and-send
12154
+ * @name StartUsageReportExecution
12155
+ * @summary Start a new usage report execution (async)
12156
+ * @request POST:/api/usage-reports
11966
12157
  * @secure
11967
- * @response `204` `void` No Content
11968
- * @response `500` `void` Server Error
12158
+ * @response `202` `any` Accepted
12159
+ * @response `400` `ProblemDetails` Bad Request
11969
12160
  */
11970
- generateAndSendUsageReport: (
12161
+ startUsageReportExecution: (
11971
12162
  query?: {
11972
12163
  /** @format int32 */
11973
12164
  month?: number;
@@ -11976,11 +12167,12 @@ export class Api<
11976
12167
  },
11977
12168
  params: RequestParams = {},
11978
12169
  ) =>
11979
- this.request<void, void>({
11980
- path: `/api/usage-reports/generate-and-send`,
12170
+ this.request<any, ProblemDetails>({
12171
+ path: `/api/usage-reports`,
11981
12172
  method: "POST",
11982
12173
  query: query,
11983
12174
  secure: true,
12175
+ format: "json",
11984
12176
  ...params,
11985
12177
  }),
11986
12178
 
@@ -11988,17 +12180,68 @@ export class Api<
11988
12180
  * No description
11989
12181
  *
11990
12182
  * @tags UsageReports
11991
- * @name GetUsageReportById
11992
- * @summary Get usage report by ID
11993
- * @request GET:/api/usage-reports/{id}
12183
+ * @name GetUsageReportDashboard
12184
+ * @summary Get usage report execution dashboard with active execution, recent history, and statistics
12185
+ * @request GET:/api/usage-reports/dashboard
11994
12186
  * @secure
11995
- * @response `200` `UsageReport` Success
12187
+ * @response `200` `UsageReportDashboard` Success
12188
+ */
12189
+ getUsageReportDashboard: (params: RequestParams = {}) =>
12190
+ this.request<UsageReportDashboard, any>({
12191
+ path: `/api/usage-reports/dashboard`,
12192
+ method: "GET",
12193
+ secure: true,
12194
+ format: "json",
12195
+ ...params,
12196
+ }),
12197
+
12198
+ /**
12199
+ * No description
12200
+ *
12201
+ * @tags UsageReports
12202
+ * @name GetUsageReportExecution
12203
+ * @summary Get usage report execution status by correlation ID
12204
+ * @request GET:/api/usage-reports/executions/{correlationId}
12205
+ * @secure
12206
+ * @response `200` `UsageReportExecution` Success
11996
12207
  * @response `404` `ProblemDetails` Not Found
11997
12208
  */
11998
- getUsageReportById: (id: string, params: RequestParams = {}) =>
11999
- this.request<UsageReport, ProblemDetails>({
12000
- path: `/api/usage-reports/${id}`,
12209
+ getUsageReportExecution: (
12210
+ correlationId: string,
12211
+ params: RequestParams = {},
12212
+ ) =>
12213
+ this.request<UsageReportExecution, ProblemDetails>({
12214
+ path: `/api/usage-reports/executions/${correlationId}`,
12215
+ method: "GET",
12216
+ secure: true,
12217
+ format: "json",
12218
+ ...params,
12219
+ }),
12220
+
12221
+ /**
12222
+ * No description
12223
+ *
12224
+ * @tags UsageReports
12225
+ * @name GetUsageReportExecutionsByPeriod
12226
+ * @summary Get usage report executions by month and year
12227
+ * @request GET:/api/usage-reports/executions
12228
+ * @secure
12229
+ * @response `200` `(UsageReportExecution)[]` Success
12230
+ * @response `400` `ProblemDetails` Bad Request
12231
+ */
12232
+ getUsageReportExecutionsByPeriod: (
12233
+ query?: {
12234
+ /** @format int32 */
12235
+ month?: number;
12236
+ /** @format int32 */
12237
+ year?: number;
12238
+ },
12239
+ params: RequestParams = {},
12240
+ ) =>
12241
+ this.request<UsageReportExecution[], ProblemDetails>({
12242
+ path: `/api/usage-reports/executions`,
12001
12243
  method: "GET",
12244
+ query: query,
12002
12245
  secure: true,
12003
12246
  format: "json",
12004
12247
  ...params,