@matech/thebigpos-sdk 2.35.0 → 2.36.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.
package/.husky/pre-commit CHANGED
@@ -1,3 +1,3 @@
1
- [ -f ./src/index.ts ] && node scripts/apply-json-patch-content-type.js
2
- yarn build
1
+ [ -f ./src/index.ts ] && node scripts/apply-json-patch-content-type.js
2
+ yarn build
3
3
  git add .
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Mortgage Automation Technologies
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mortgage Automation Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,73 +1,73 @@
1
- # The BIG POS Typescript SDK
2
-
3
- ## Installation
4
- Using npm:
5
-
6
- ```bash
7
- $ npm install @matech/thebigpos-sdk
8
- ```
9
-
10
- Using yarn:
11
-
12
- ```bash
13
- $ yarn add @matech/thebigpos-sdk
14
- ```
15
-
16
- ## Quick Start
17
- ```js
18
- import { Api } from "@matech/thebigpos-sdk";
19
-
20
- const securityWorker = (data: any) => {
21
- return { headers: data }
22
- }
23
-
24
- const setBearerSecurityWorker = (accessToken:string) => {
25
- const data = {
26
- Authorization: `Bearer ${accessToken}`
27
- };
28
-
29
- apiClient.setSecurityData(data);
30
- };
31
-
32
- const apiClient = new Api({
33
- baseURL:
34
- process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
- securityWorker,
36
- })
37
-
38
- apiClient.api.getSiteConfiguration().then((response) => {
39
- console.log(response.data);
40
- });
41
- ```
42
-
43
- ## Generate SDK from Swagger
44
-
45
- To regenerate the SDK from a specific API version, run:
46
-
47
- ```bash
48
- npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/{version}/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --generate-union-enums
49
- ```
50
-
51
- Replace `{version}` with the target API version (e.g. `v2.34.0`):
52
-
53
- ```bash
54
- npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/v2.34.0/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --generate-union-enums
55
- ```
56
-
57
- ## Publishing
58
-
59
- 1. Update the `version` field in `package.json` before publishing.
60
- 2. Build the project:
61
-
62
- ```bash
63
- yarn build
64
- ```
65
-
66
- 3. Publish to npm:
67
-
68
- ```bash
69
- yarn publish
70
- ```
71
-
72
- ____
73
- © 2024 Mortgage Automation Technologies. All rights reserved
1
+ # The BIG POS Typescript SDK
2
+
3
+ ## Installation
4
+ Using npm:
5
+
6
+ ```bash
7
+ $ npm install @matech/thebigpos-sdk
8
+ ```
9
+
10
+ Using yarn:
11
+
12
+ ```bash
13
+ $ yarn add @matech/thebigpos-sdk
14
+ ```
15
+
16
+ ## Quick Start
17
+ ```js
18
+ import { Api } from "@matech/thebigpos-sdk";
19
+
20
+ const securityWorker = (data: any) => {
21
+ return { headers: data }
22
+ }
23
+
24
+ const setBearerSecurityWorker = (accessToken:string) => {
25
+ const data = {
26
+ Authorization: `Bearer ${accessToken}`
27
+ };
28
+
29
+ apiClient.setSecurityData(data);
30
+ };
31
+
32
+ const apiClient = new Api({
33
+ baseURL:
34
+ process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
+ securityWorker,
36
+ })
37
+
38
+ apiClient.api.getSiteConfiguration().then((response) => {
39
+ console.log(response.data);
40
+ });
41
+ ```
42
+
43
+ ## Generate SDK from Swagger
44
+
45
+ To regenerate the SDK from a specific API version, run:
46
+
47
+ ```bash
48
+ npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/{version}/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --generate-union-enums
49
+ ```
50
+
51
+ Replace `{version}` with the target API version (e.g. `v2.34.0`):
52
+
53
+ ```bash
54
+ npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/v2.34.0/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --generate-union-enums
55
+ ```
56
+
57
+ ## Publishing
58
+
59
+ 1. Update the `version` field in `package.json` before publishing.
60
+ 2. Build the project:
61
+
62
+ ```bash
63
+ yarn build
64
+ ```
65
+
66
+ 3. Publish to npm:
67
+
68
+ ```bash
69
+ yarn publish
70
+ ```
71
+
72
+ ____
73
+ © 2024 Mortgage Automation Technologies. All rights reserved
package/dist/index.d.ts CHANGED
@@ -921,9 +921,17 @@ export interface DocumentFolder {
921
921
  count: number;
922
922
  files: DocumentFile[];
923
923
  }
924
+ export interface DocumentFoldersRequest {
925
+ searchText?: string | null;
926
+ losStatuses?: LOSStatus[] | null;
927
+ sortBy?: string | null;
928
+ sortDirection?: string | null;
929
+ }
924
930
  export interface DocumentSync {
925
931
  /** @format int32 */
926
932
  syncedCount: number;
933
+ /** @format date-time */
934
+ lastLosDocumentsSyncDate?: string | null;
927
935
  }
928
936
  export interface DocumentTemplate {
929
937
  /** @format date-time */
@@ -1687,6 +1695,8 @@ export interface Loan {
1687
1695
  isInSync: boolean;
1688
1696
  /** @format date-time */
1689
1697
  syncDate?: string | null;
1698
+ /** @format date-time */
1699
+ lastLosDocumentsSyncDate?: string | null;
1690
1700
  isLocked: boolean;
1691
1701
  isLockedFromEditing: boolean;
1692
1702
  excludeFromAutoTaskReminders?: boolean | null;
@@ -1735,6 +1745,8 @@ export interface LoanApplicationRequest {
1735
1745
  borrowers: LoanBorrowerRequest[];
1736
1746
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
1737
1747
  /** @format uuid */
1748
+ draftId?: string | null;
1749
+ /** @format uuid */
1738
1750
  existingLoanId?: string | null;
1739
1751
  }
1740
1752
  export interface LoanBorrower {
@@ -3325,7 +3337,7 @@ export interface NotificationTemplateVersionUpdateRequest {
3325
3337
  }
3326
3338
  export interface Operation {
3327
3339
  op?: string;
3328
- value?: string | number | boolean | null | object;
3340
+ value?: object | null;
3329
3341
  path?: string;
3330
3342
  }
3331
3343
  export interface OverridePasswordRequest {
@@ -5165,7 +5177,6 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
5165
5177
  format?: ResponseType;
5166
5178
  }
5167
5179
  export declare enum ContentType {
5168
- JsonPatch = "application/json-patch+json",
5169
5180
  Json = "application/json",
5170
5181
  JsonApi = "application/vnd.api+json",
5171
5182
  FormData = "multipart/form-data",
@@ -5187,7 +5198,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5187
5198
  }
5188
5199
  /**
5189
5200
  * @title The Big POS API
5190
- * @version v2.35.0
5201
+ * @version v2.36.0
5191
5202
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5192
5203
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5193
5204
  */
@@ -6903,16 +6914,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6903
6914
  sortDirection?: string;
6904
6915
  }, params?: RequestParams) => Promise<AxiosResponse<LoanDocumentSearchPaginated, any, {}>>;
6905
6916
  /**
6906
- * @description Returns all documents grouped by folder for sidebar display
6917
+ * @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
6907
6918
  *
6908
6919
  * @tags LoanDocuments
6909
6920
  * @name GetLoanDocumentFolders
6910
6921
  * @summary Get document folder hierarchy
6911
- * @request GET:/api/loans/{loanId}/documents/folders
6922
+ * @request POST:/api/loans/{loanId}/documents/folders
6912
6923
  * @secure
6913
6924
  * @response `200` `(DocumentFolder)[]` Success
6914
6925
  */
6915
- getLoanDocumentFolders: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentFolder[], any, {}>>;
6926
+ getLoanDocumentFolders: (loanId: string, data: DocumentFoldersRequest, query?: {
6927
+ /** @default false */
6928
+ folderNamesOnly?: boolean;
6929
+ }, params?: RequestParams) => Promise<AxiosResponse<DocumentFolder[], any, {}>>;
6916
6930
  /**
6917
6931
  * No description
6918
6932
  *
@@ -6984,27 +6998,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6984
6998
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
6985
6999
  *
6986
7000
  * @tags LoanDocuments
6987
- * @name SyncLoanDocumentsFromEncompass
6988
- * @summary Sync documents from Encompass
7001
+ * @name SyncLoanDocumentsFromLos
7002
+ * @summary Sync documents from LOS
6989
7003
  * @request POST:/api/loans/{loanId}/documents/sync
6990
7004
  * @secure
6991
7005
  * @response `200` `DocumentSync` Success
6992
7006
  * @response `404` `ProblemDetails` Not Found
6993
7007
  */
6994
- syncLoanDocumentsFromEncompass: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentSync, any, {}>>;
7008
+ syncLoanDocumentsFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentSync, any, {}>>;
6995
7009
  /**
6996
- * @description Re-attempts to push a failed document to Encompass
7010
+ * @description Re-attempts to push a failed document to LOS
6997
7011
  *
6998
7012
  * @tags LoanDocuments
6999
- * @name RetrySyncLoanDocumentToEncompass
7000
- * @summary Retry syncing a document to Encompass
7013
+ * @name RetrySyncLoanDocumentToLos
7014
+ * @summary Retry syncing a document to LOS
7001
7015
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
7002
7016
  * @secure
7003
7017
  * @response `200` `void` Success
7004
7018
  * @response `404` `ProblemDetails` Not Found
7005
7019
  * @response `423` `ProblemDetails` Client Error
7006
7020
  */
7007
- retrySyncLoanDocumentToEncompass: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
7021
+ retrySyncLoanDocumentToLos: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
7008
7022
  /**
7009
7023
  * No description
7010
7024
  *
@@ -7372,7 +7386,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7372
7386
  * @name GetLoans
7373
7387
  * @summary Get Loans
7374
7388
  * @request GET:/api/loans
7375
- * @deprecated
7376
7389
  * @secure
7377
7390
  * @response `200` `GetApplications` Success
7378
7391
  */
package/dist/index.js CHANGED
@@ -32,7 +32,6 @@ var __rest = (this && this.__rest) || function (s, e) {
32
32
  import axios from "axios";
33
33
  export var ContentType;
34
34
  (function (ContentType) {
35
- ContentType["JsonPatch"] = "application/json-patch+json";
36
35
  ContentType["Json"] = "application/json";
37
36
  ContentType["JsonApi"] = "application/vnd.api+json";
38
37
  ContentType["FormData"] = "multipart/form-data";
@@ -104,7 +103,7 @@ export class HttpClient {
104
103
  }
105
104
  /**
106
105
  * @title The Big POS API
107
- * @version v2.35.0
106
+ * @version v2.36.0
108
107
  * @termsOfService https://www.thebigpos.com/terms-of-use/
109
108
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
110
109
  */
@@ -1204,7 +1203,7 @@ export class Api extends HttpClient {
1204
1203
  * @response `200` `string` Success
1205
1204
  * @response `422` `UnprocessableEntity` Client Error
1206
1205
  */
1207
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1206
+ updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1208
1207
  /**
1209
1208
  * No description
1210
1209
  *
@@ -1254,7 +1253,7 @@ export class Api extends HttpClient {
1254
1253
  * @response `200` `string` Success
1255
1254
  * @response `422` `UnprocessableEntity` Client Error
1256
1255
  */
1257
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1256
+ updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1258
1257
  /**
1259
1258
  * No description
1260
1259
  *
@@ -1267,7 +1266,7 @@ export class Api extends HttpClient {
1267
1266
  * @response `202` `string` Accepted
1268
1267
  * @response `422` `UnprocessableEntity` Client Error
1269
1268
  */
1270
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1269
+ updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1271
1270
  /**
1272
1271
  * No description
1273
1272
  *
@@ -1381,7 +1380,7 @@ export class Api extends HttpClient {
1381
1380
  * @secure
1382
1381
  * @response `200` `ListingFile` Success
1383
1382
  */
1384
- updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1383
+ updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1385
1384
  /**
1386
1385
  * No description
1387
1386
  *
@@ -1414,7 +1413,7 @@ export class Api extends HttpClient {
1414
1413
  * @secure
1415
1414
  * @response `200` `(ListingPhoto)[]` Success
1416
1415
  */
1417
- updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1416
+ updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1418
1417
  /**
1419
1418
  * No description
1420
1419
  *
@@ -1653,16 +1652,16 @@ export class Api extends HttpClient {
1653
1652
  */
1654
1653
  searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1655
1654
  /**
1656
- * @description Returns all documents grouped by folder for sidebar display
1655
+ * @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
1657
1656
  *
1658
1657
  * @tags LoanDocuments
1659
1658
  * @name GetLoanDocumentFolders
1660
1659
  * @summary Get document folder hierarchy
1661
- * @request GET:/api/loans/{loanId}/documents/folders
1660
+ * @request POST:/api/loans/{loanId}/documents/folders
1662
1661
  * @secure
1663
1662
  * @response `200` `(DocumentFolder)[]` Success
1664
1663
  */
1665
- getLoanDocumentFolders: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "GET", secure: true, format: "json" }, params)),
1664
+ getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1666
1665
  /**
1667
1666
  * No description
1668
1667
  *
@@ -1729,27 +1728,27 @@ export class Api extends HttpClient {
1729
1728
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
1730
1729
  *
1731
1730
  * @tags LoanDocuments
1732
- * @name SyncLoanDocumentsFromEncompass
1733
- * @summary Sync documents from Encompass
1731
+ * @name SyncLoanDocumentsFromLos
1732
+ * @summary Sync documents from LOS
1734
1733
  * @request POST:/api/loans/{loanId}/documents/sync
1735
1734
  * @secure
1736
1735
  * @response `200` `DocumentSync` Success
1737
1736
  * @response `404` `ProblemDetails` Not Found
1738
1737
  */
1739
- syncLoanDocumentsFromEncompass: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
1738
+ syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
1740
1739
  /**
1741
- * @description Re-attempts to push a failed document to Encompass
1740
+ * @description Re-attempts to push a failed document to LOS
1742
1741
  *
1743
1742
  * @tags LoanDocuments
1744
- * @name RetrySyncLoanDocumentToEncompass
1745
- * @summary Retry syncing a document to Encompass
1743
+ * @name RetrySyncLoanDocumentToLos
1744
+ * @summary Retry syncing a document to LOS
1746
1745
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
1747
1746
  * @secure
1748
1747
  * @response `200` `void` Success
1749
1748
  * @response `404` `ProblemDetails` Not Found
1750
1749
  * @response `423` `ProblemDetails` Client Error
1751
1750
  */
1752
- retrySyncLoanDocumentToEncompass: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/sync/retry`, method: "POST", secure: true }, params)),
1751
+ retrySyncLoanDocumentToLos: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/sync/retry`, method: "POST", secure: true }, params)),
1753
1752
  /**
1754
1753
  * No description
1755
1754
  *
@@ -2063,7 +2062,6 @@ export class Api extends HttpClient {
2063
2062
  * @name GetLoans
2064
2063
  * @summary Get Loans
2065
2064
  * @request GET:/api/loans
2066
- * @deprecated
2067
2065
  * @secure
2068
2066
  * @response `200` `GetApplications` Success
2069
2067
  */
@@ -2144,7 +2142,7 @@ export class Api extends HttpClient {
2144
2142
  * @response `200` `TaskCommentPaginated` Success
2145
2143
  * @response `404` `ProblemDetails` Not Found
2146
2144
  */
2147
- searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2145
+ searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2148
2146
  /**
2149
2147
  * No description
2150
2148
  *