@nextplus/js-sdk 0.0.8 → 0.0.10
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/dist/{chunk-P5F3SZVG.js → chunk-GMJM2AK6.js} +9 -1
- package/dist/{chunk-2RQUD2BL.js → chunk-O65NPNYE.js} +1004 -64
- package/dist/{index-BCKEhMYV.d.cts → index-DP-keAMv.d.ts} +214 -9
- package/dist/{index-Dt0zpNE2.d.ts → index-Dwy0Oyyf.d.cts} +214 -9
- package/dist/index.cjs +1003 -63
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/sdk/index.cjs +1007 -63
- package/dist/sdk/index.d.cts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +10 -2
- package/dist/sdk/sdk.gen.cjs +1007 -63
- package/dist/sdk/sdk.gen.d.cts +1 -1
- package/dist/sdk/sdk.gen.d.ts +1 -1
- package/dist/sdk/sdk.gen.js +9 -1
- package/dist/{sdk.gen-Bpl7iDGX.d.cts → sdk.gen-BntcMIIs.d.cts} +1657 -57
- package/dist/{sdk.gen-BYVWLTm8.d.ts → sdk.gen-k17BtAsz.d.ts} +1657 -57
- package/package.json +1 -1
- package/src/sdk/schemas.gen.ts +265 -42
- package/src/sdk/sdk.gen.ts +1452 -36
- package/src/sdk/transformers.gen.ts +325 -0
- package/src/sdk/types.gen.ts +1672 -52
package/src/sdk/types.gen.ts
CHANGED
|
@@ -262,6 +262,8 @@ export type Resource = {
|
|
|
262
262
|
created?: Date;
|
|
263
263
|
modified?: Date;
|
|
264
264
|
serverModified?: Date;
|
|
265
|
+
deletedAt?: Date;
|
|
266
|
+
deletedBy?: string;
|
|
265
267
|
_meta?: Array<Meta>;
|
|
266
268
|
};
|
|
267
269
|
|
|
@@ -737,6 +739,7 @@ export type Workorder = {
|
|
|
737
739
|
runningOnOldVersion?: boolean;
|
|
738
740
|
workflowRev?: string;
|
|
739
741
|
changeLog?: Array<XAny>;
|
|
742
|
+
hasReadOnlyToNonReadOnlyTransition?: boolean;
|
|
740
743
|
workorderTypeId?: string;
|
|
741
744
|
parentWorkorderId?: string;
|
|
742
745
|
priorityDocIds?: Array<XAny>;
|
|
@@ -750,6 +753,7 @@ export type Workorder = {
|
|
|
750
753
|
validQuantity?: number;
|
|
751
754
|
malfunctionCode?: string;
|
|
752
755
|
externalId?: string;
|
|
756
|
+
netTimeSpent?: number;
|
|
753
757
|
partIds?: Array<string>;
|
|
754
758
|
locationIds?: Array<string>;
|
|
755
759
|
parentId?: string;
|
|
@@ -773,10 +777,8 @@ export type Workorder = {
|
|
|
773
777
|
export type Stock = {
|
|
774
778
|
id: string;
|
|
775
779
|
kitStatus?: boolean;
|
|
776
|
-
tags?: Array<XAny>;
|
|
777
780
|
serviceCalls?: Array<XAny>;
|
|
778
781
|
issueSufficientQuantity?: number;
|
|
779
|
-
needTimeLogCheck?: boolean;
|
|
780
782
|
status?: string;
|
|
781
783
|
serial?: string;
|
|
782
784
|
workorderNumber?: string;
|
|
@@ -789,8 +791,6 @@ export type Stock = {
|
|
|
789
791
|
start?: Date;
|
|
790
792
|
end?: Date;
|
|
791
793
|
expirationDate?: Date;
|
|
792
|
-
progress?: number;
|
|
793
|
-
usedTools?: Array<XAny>;
|
|
794
794
|
stockStatus?: string;
|
|
795
795
|
source?: string;
|
|
796
796
|
changeLog?: Array<XAny>;
|
|
@@ -1041,6 +1041,7 @@ export type Form = {
|
|
|
1041
1041
|
deletedAt?: Date;
|
|
1042
1042
|
deletedBy?: string;
|
|
1043
1043
|
C_test?: string;
|
|
1044
|
+
C_formVariable?: string;
|
|
1044
1045
|
};
|
|
1045
1046
|
|
|
1046
1047
|
export type FormDataComment = {
|
|
@@ -1157,6 +1158,7 @@ export type WorkflowSessionItem = {
|
|
|
1157
1158
|
nextNodeId?: string;
|
|
1158
1159
|
nextNodeName?: string;
|
|
1159
1160
|
workorderId?: string;
|
|
1161
|
+
workorderNumber?: string;
|
|
1160
1162
|
indicator?: number;
|
|
1161
1163
|
serials?: Array<XAny>;
|
|
1162
1164
|
configuration?: Array<XAny>;
|
|
@@ -1441,11 +1443,8 @@ export type WorkorderStatus = {
|
|
|
1441
1443
|
onCreateDefault?: boolean;
|
|
1442
1444
|
onStartDefault?: boolean;
|
|
1443
1445
|
onEndDefault?: boolean;
|
|
1446
|
+
readOnly?: boolean;
|
|
1444
1447
|
statusType: string;
|
|
1445
|
-
isChangeReasonRequired: boolean;
|
|
1446
|
-
changeReasonFields?: Array<XAny>;
|
|
1447
|
-
transitionToPermitRoleIds?: Array<XAny>;
|
|
1448
|
-
transitionToPermitCertificateIds?: Array<XAny>;
|
|
1449
1448
|
_v?: number;
|
|
1450
1449
|
created?: Date;
|
|
1451
1450
|
modified?: Date;
|
|
@@ -1455,6 +1454,20 @@ export type WorkorderStatus = {
|
|
|
1455
1454
|
UserId?: string;
|
|
1456
1455
|
};
|
|
1457
1456
|
|
|
1457
|
+
export type WorkorderStatusTransition = {
|
|
1458
|
+
id: string;
|
|
1459
|
+
sourceStatusId: string;
|
|
1460
|
+
targetStatusId: string;
|
|
1461
|
+
requiredRoleIds?: Array<XAny>;
|
|
1462
|
+
requiredCertificateIds?: Array<XAny>;
|
|
1463
|
+
isChangeReasonRequired?: boolean;
|
|
1464
|
+
changeReasonFields?: Array<XAny>;
|
|
1465
|
+
created?: Date;
|
|
1466
|
+
modified?: Date;
|
|
1467
|
+
serverModified?: Date;
|
|
1468
|
+
UserId?: string;
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1458
1471
|
export type TimeLogReport = {
|
|
1459
1472
|
id: string;
|
|
1460
1473
|
workorderNumber?: string;
|
|
@@ -1749,6 +1762,7 @@ export type Addon = {
|
|
|
1749
1762
|
name: string;
|
|
1750
1763
|
active?: boolean;
|
|
1751
1764
|
features?: Array<XAny>;
|
|
1765
|
+
icon?: string;
|
|
1752
1766
|
created?: Date;
|
|
1753
1767
|
modified?: Date;
|
|
1754
1768
|
serverModified?: Date;
|
|
@@ -1758,6 +1772,70 @@ export type Addon = {
|
|
|
1758
1772
|
createdBy?: string;
|
|
1759
1773
|
};
|
|
1760
1774
|
|
|
1775
|
+
export type SqlServer = {
|
|
1776
|
+
id: string;
|
|
1777
|
+
name: string;
|
|
1778
|
+
host: string;
|
|
1779
|
+
port?: number;
|
|
1780
|
+
database: string;
|
|
1781
|
+
username?: string;
|
|
1782
|
+
additionalConnectionOptions?: string;
|
|
1783
|
+
active: boolean;
|
|
1784
|
+
engine?: string;
|
|
1785
|
+
parameters?: Array<XAny>;
|
|
1786
|
+
created?: Date;
|
|
1787
|
+
modified?: Date;
|
|
1788
|
+
serverModified?: Date;
|
|
1789
|
+
deletedAt?: Date;
|
|
1790
|
+
deletedBy?: string;
|
|
1791
|
+
UserId?: string;
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1794
|
+
export type ChatThread = {
|
|
1795
|
+
id: string;
|
|
1796
|
+
title: string;
|
|
1797
|
+
systemPrompt?: string;
|
|
1798
|
+
messages?: Array<XAny>;
|
|
1799
|
+
systemFiles?: Array<XAny>;
|
|
1800
|
+
/**
|
|
1801
|
+
* The state/context where the chat was initiated (e.g., 'workorder', 'form', etc.)
|
|
1802
|
+
*/
|
|
1803
|
+
state?: string;
|
|
1804
|
+
created?: Date;
|
|
1805
|
+
modified?: Date;
|
|
1806
|
+
serverModified?: Date;
|
|
1807
|
+
UserId?: string;
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
export type CommandPaletteHistory = {
|
|
1811
|
+
/**
|
|
1812
|
+
* Navigation state name (e.g., 'app.workflow.list')
|
|
1813
|
+
*/
|
|
1814
|
+
state: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* State parameters as JSON string
|
|
1817
|
+
*/
|
|
1818
|
+
stateParams?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Translated title of the navigation item
|
|
1821
|
+
*/
|
|
1822
|
+
title: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Number of times this page was visited
|
|
1825
|
+
*/
|
|
1826
|
+
count: number;
|
|
1827
|
+
/**
|
|
1828
|
+
* Last time this page was visited
|
|
1829
|
+
*/
|
|
1830
|
+
lastVisited: Date;
|
|
1831
|
+
id: string;
|
|
1832
|
+
created?: Date;
|
|
1833
|
+
modified?: Date;
|
|
1834
|
+
serverModified?: Date;
|
|
1835
|
+
deletedAt?: Date;
|
|
1836
|
+
deletedBy?: string;
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1761
1839
|
export type Device = {
|
|
1762
1840
|
id: string;
|
|
1763
1841
|
pinNumber: number;
|
|
@@ -10262,7 +10340,9 @@ export type ResourceThumbnailData = {
|
|
|
10262
10340
|
type: string;
|
|
10263
10341
|
view: string;
|
|
10264
10342
|
};
|
|
10265
|
-
query?:
|
|
10343
|
+
query?: {
|
|
10344
|
+
deleted?: boolean;
|
|
10345
|
+
};
|
|
10266
10346
|
url: '/Resources/{id}/{type}/{view}';
|
|
10267
10347
|
};
|
|
10268
10348
|
|
|
@@ -10316,6 +10396,29 @@ export type ResourceDeleteFileByIdResponses = {
|
|
|
10316
10396
|
export type ResourceDeleteFileByIdResponse =
|
|
10317
10397
|
ResourceDeleteFileByIdResponses[keyof ResourceDeleteFileByIdResponses];
|
|
10318
10398
|
|
|
10399
|
+
export type ResourceDeleteFileIfNotUsedData = {
|
|
10400
|
+
body: {
|
|
10401
|
+
id?: string;
|
|
10402
|
+
sessionId: string;
|
|
10403
|
+
formDataId?: string;
|
|
10404
|
+
};
|
|
10405
|
+
path?: never;
|
|
10406
|
+
query?: never;
|
|
10407
|
+
url: '/Resources/deleteFileIfNotUsed';
|
|
10408
|
+
};
|
|
10409
|
+
|
|
10410
|
+
export type ResourceDeleteFileIfNotUsedResponses = {
|
|
10411
|
+
/**
|
|
10412
|
+
* Request was successful
|
|
10413
|
+
*/
|
|
10414
|
+
200: {
|
|
10415
|
+
[key: string]: unknown;
|
|
10416
|
+
};
|
|
10417
|
+
};
|
|
10418
|
+
|
|
10419
|
+
export type ResourceDeleteFileIfNotUsedResponse =
|
|
10420
|
+
ResourceDeleteFileIfNotUsedResponses[keyof ResourceDeleteFileIfNotUsedResponses];
|
|
10421
|
+
|
|
10319
10422
|
export type ResourceProcessingFileData = {
|
|
10320
10423
|
body?: never;
|
|
10321
10424
|
path?: never;
|
|
@@ -10342,7 +10445,9 @@ export type ResourceDownloadData = {
|
|
|
10342
10445
|
path: {
|
|
10343
10446
|
id: string;
|
|
10344
10447
|
};
|
|
10345
|
-
query?:
|
|
10448
|
+
query?: {
|
|
10449
|
+
deleted?: boolean;
|
|
10450
|
+
};
|
|
10346
10451
|
url: '/Resources/download/{id}';
|
|
10347
10452
|
};
|
|
10348
10453
|
|
|
@@ -10356,6 +10461,100 @@ export type ResourceDownloadResponses = {
|
|
|
10356
10461
|
export type ResourceDownloadResponse =
|
|
10357
10462
|
ResourceDownloadResponses[keyof ResourceDownloadResponses];
|
|
10358
10463
|
|
|
10464
|
+
export type ResourceUploadBase64Data = {
|
|
10465
|
+
body: {
|
|
10466
|
+
/**
|
|
10467
|
+
* Base64 encoded file data (can include data URI prefix)
|
|
10468
|
+
*/
|
|
10469
|
+
base64Data: string;
|
|
10470
|
+
/**
|
|
10471
|
+
* Original filename with extension
|
|
10472
|
+
*/
|
|
10473
|
+
filename: string;
|
|
10474
|
+
/**
|
|
10475
|
+
* Container/directory name for the file
|
|
10476
|
+
*/
|
|
10477
|
+
container: string;
|
|
10478
|
+
/**
|
|
10479
|
+
* Whether the file should be hidden (boolean or string)
|
|
10480
|
+
*/
|
|
10481
|
+
hidden: string;
|
|
10482
|
+
};
|
|
10483
|
+
path?: never;
|
|
10484
|
+
query?: {
|
|
10485
|
+
/**
|
|
10486
|
+
* Additional options (mediatype, folderId, validateFileUniqueness)
|
|
10487
|
+
*/
|
|
10488
|
+
options?: string;
|
|
10489
|
+
};
|
|
10490
|
+
url: '/Resources/uploadBase64';
|
|
10491
|
+
};
|
|
10492
|
+
|
|
10493
|
+
export type ResourceUploadBase64Responses = {
|
|
10494
|
+
/**
|
|
10495
|
+
* Request was successful
|
|
10496
|
+
*/
|
|
10497
|
+
200: {
|
|
10498
|
+
[key: string]: unknown;
|
|
10499
|
+
};
|
|
10500
|
+
};
|
|
10501
|
+
|
|
10502
|
+
export type ResourceUploadBase64Response =
|
|
10503
|
+
ResourceUploadBase64Responses[keyof ResourceUploadBase64Responses];
|
|
10504
|
+
|
|
10505
|
+
export type ResourceGetFileAsBufferData = {
|
|
10506
|
+
body?: never;
|
|
10507
|
+
path: {
|
|
10508
|
+
/**
|
|
10509
|
+
* Resource ID
|
|
10510
|
+
*/
|
|
10511
|
+
id: string;
|
|
10512
|
+
};
|
|
10513
|
+
query?: {
|
|
10514
|
+
/**
|
|
10515
|
+
* Include deleted files
|
|
10516
|
+
*/
|
|
10517
|
+
deleted?: boolean;
|
|
10518
|
+
};
|
|
10519
|
+
url: '/Resources/buffer/{id}';
|
|
10520
|
+
};
|
|
10521
|
+
|
|
10522
|
+
export type ResourceGetFileAsBufferResponses = {
|
|
10523
|
+
/**
|
|
10524
|
+
* Request was successful
|
|
10525
|
+
*/
|
|
10526
|
+
200: {
|
|
10527
|
+
[key: string]: unknown;
|
|
10528
|
+
};
|
|
10529
|
+
};
|
|
10530
|
+
|
|
10531
|
+
export type ResourceGetFileAsBufferResponse =
|
|
10532
|
+
ResourceGetFileAsBufferResponses[keyof ResourceGetFileAsBufferResponses];
|
|
10533
|
+
|
|
10534
|
+
export type ResourceCountWithDeletedData = {
|
|
10535
|
+
body?: never;
|
|
10536
|
+
path?: never;
|
|
10537
|
+
query?: {
|
|
10538
|
+
/**
|
|
10539
|
+
* Criteria to match model instances
|
|
10540
|
+
*/
|
|
10541
|
+
where?: string;
|
|
10542
|
+
};
|
|
10543
|
+
url: '/Resources/countWithDeleted';
|
|
10544
|
+
};
|
|
10545
|
+
|
|
10546
|
+
export type ResourceCountWithDeletedResponses = {
|
|
10547
|
+
/**
|
|
10548
|
+
* Request was successful
|
|
10549
|
+
*/
|
|
10550
|
+
200: {
|
|
10551
|
+
count?: number;
|
|
10552
|
+
};
|
|
10553
|
+
};
|
|
10554
|
+
|
|
10555
|
+
export type ResourceCountWithDeletedResponse =
|
|
10556
|
+
ResourceCountWithDeletedResponses[keyof ResourceCountWithDeletedResponses];
|
|
10557
|
+
|
|
10359
10558
|
export type WorkflowPrototypeDestroyByIdGlobalConnectionsData = {
|
|
10360
10559
|
body?: never;
|
|
10361
10560
|
path: {
|
|
@@ -12561,6 +12760,35 @@ export type WorkflowPrototypeImportDocxResponses = {
|
|
|
12561
12760
|
export type WorkflowPrototypeImportDocxResponse =
|
|
12562
12761
|
WorkflowPrototypeImportDocxResponses[keyof WorkflowPrototypeImportDocxResponses];
|
|
12563
12762
|
|
|
12763
|
+
export type WorkflowPrototypeImportFromZipData = {
|
|
12764
|
+
body: {
|
|
12765
|
+
/**
|
|
12766
|
+
* Resource ID of uploaded .nxtvmm ZIP file
|
|
12767
|
+
*/
|
|
12768
|
+
fileId: string;
|
|
12769
|
+
};
|
|
12770
|
+
path: {
|
|
12771
|
+
/**
|
|
12772
|
+
* Workflow id
|
|
12773
|
+
*/
|
|
12774
|
+
id: string;
|
|
12775
|
+
};
|
|
12776
|
+
query?: never;
|
|
12777
|
+
url: '/Workflows/{id}/importFromZip';
|
|
12778
|
+
};
|
|
12779
|
+
|
|
12780
|
+
export type WorkflowPrototypeImportFromZipResponses = {
|
|
12781
|
+
/**
|
|
12782
|
+
* Request was successful
|
|
12783
|
+
*/
|
|
12784
|
+
200: {
|
|
12785
|
+
[key: string]: unknown;
|
|
12786
|
+
};
|
|
12787
|
+
};
|
|
12788
|
+
|
|
12789
|
+
export type WorkflowPrototypeImportFromZipResponse =
|
|
12790
|
+
WorkflowPrototypeImportFromZipResponses[keyof WorkflowPrototypeImportFromZipResponses];
|
|
12791
|
+
|
|
12564
12792
|
export type WorkflowForkData = {
|
|
12565
12793
|
body: {
|
|
12566
12794
|
workflowId: string;
|
|
@@ -12991,7 +13219,9 @@ export type WorkflowPublishParentWorkflowsResponses = {
|
|
|
12991
13219
|
/**
|
|
12992
13220
|
* Request was successful
|
|
12993
13221
|
*/
|
|
12994
|
-
200:
|
|
13222
|
+
200: {
|
|
13223
|
+
[key: string]: unknown;
|
|
13224
|
+
};
|
|
12995
13225
|
};
|
|
12996
13226
|
|
|
12997
13227
|
export type WorkflowPublishParentWorkflowsResponse =
|
|
@@ -16145,6 +16375,30 @@ export type ToolCountResponses = {
|
|
|
16145
16375
|
|
|
16146
16376
|
export type ToolCountResponse = ToolCountResponses[keyof ToolCountResponses];
|
|
16147
16377
|
|
|
16378
|
+
export type ToolImportToolsData = {
|
|
16379
|
+
body: {
|
|
16380
|
+
/**
|
|
16381
|
+
* Array of tool data rows to import
|
|
16382
|
+
*/
|
|
16383
|
+
rows: string;
|
|
16384
|
+
};
|
|
16385
|
+
path?: never;
|
|
16386
|
+
query?: never;
|
|
16387
|
+
url: '/Tools/import';
|
|
16388
|
+
};
|
|
16389
|
+
|
|
16390
|
+
export type ToolImportToolsResponses = {
|
|
16391
|
+
/**
|
|
16392
|
+
* Import results with created/updated tools and validation errors
|
|
16393
|
+
*/
|
|
16394
|
+
200: {
|
|
16395
|
+
[key: string]: unknown;
|
|
16396
|
+
};
|
|
16397
|
+
};
|
|
16398
|
+
|
|
16399
|
+
export type ToolImportToolsResponse =
|
|
16400
|
+
ToolImportToolsResponses[keyof ToolImportToolsResponses];
|
|
16401
|
+
|
|
16148
16402
|
export type ToolExportTranslationsData = {
|
|
16149
16403
|
body?: never;
|
|
16150
16404
|
path?: never;
|
|
@@ -17101,6 +17355,25 @@ export type WorkorderCountResponses = {
|
|
|
17101
17355
|
export type WorkorderCountResponse =
|
|
17102
17356
|
WorkorderCountResponses[keyof WorkorderCountResponses];
|
|
17103
17357
|
|
|
17358
|
+
export type WorkorderGetStatusHistoryData = {
|
|
17359
|
+
body?: never;
|
|
17360
|
+
path?: never;
|
|
17361
|
+
query: {
|
|
17362
|
+
workorderId: string;
|
|
17363
|
+
};
|
|
17364
|
+
url: '/Workorders/getStatusHistory';
|
|
17365
|
+
};
|
|
17366
|
+
|
|
17367
|
+
export type WorkorderGetStatusHistoryResponses = {
|
|
17368
|
+
/**
|
|
17369
|
+
* Request was successful
|
|
17370
|
+
*/
|
|
17371
|
+
200: Array<XAny>;
|
|
17372
|
+
};
|
|
17373
|
+
|
|
17374
|
+
export type WorkorderGetStatusHistoryResponse =
|
|
17375
|
+
WorkorderGetStatusHistoryResponses[keyof WorkorderGetStatusHistoryResponses];
|
|
17376
|
+
|
|
17104
17377
|
export type WorkorderPrototypeGetAvailableSerialsData = {
|
|
17105
17378
|
body?: never;
|
|
17106
17379
|
path: {
|
|
@@ -23775,6 +24048,25 @@ export type FormDataCreateFormDataResponses = {
|
|
|
23775
24048
|
export type FormDataCreateFormDataResponse =
|
|
23776
24049
|
FormDataCreateFormDataResponses[keyof FormDataCreateFormDataResponses];
|
|
23777
24050
|
|
|
24051
|
+
export type FormDataUpdateFormDataData = {
|
|
24052
|
+
body: FormData;
|
|
24053
|
+
path: {
|
|
24054
|
+
formDataId: string;
|
|
24055
|
+
};
|
|
24056
|
+
query?: never;
|
|
24057
|
+
url: '/FormData/updateFormData/{formDataId}';
|
|
24058
|
+
};
|
|
24059
|
+
|
|
24060
|
+
export type FormDataUpdateFormDataResponses = {
|
|
24061
|
+
/**
|
|
24062
|
+
* Request was successful
|
|
24063
|
+
*/
|
|
24064
|
+
200: XAny;
|
|
24065
|
+
};
|
|
24066
|
+
|
|
24067
|
+
export type FormDataUpdateFormDataResponse =
|
|
24068
|
+
FormDataUpdateFormDataResponses[keyof FormDataUpdateFormDataResponses];
|
|
24069
|
+
|
|
23778
24070
|
export type FolderFindData = {
|
|
23779
24071
|
body?: never;
|
|
23780
24072
|
path?: never;
|
|
@@ -28671,41 +28963,6 @@ export type WorkorderStatusBulkSaveResponses = {
|
|
|
28671
28963
|
export type WorkorderStatusBulkSaveResponse =
|
|
28672
28964
|
WorkorderStatusBulkSaveResponses[keyof WorkorderStatusBulkSaveResponses];
|
|
28673
28965
|
|
|
28674
|
-
export type WorkorderStatusGetFieldsByFieldIdsData = {
|
|
28675
|
-
body?: never;
|
|
28676
|
-
path?: never;
|
|
28677
|
-
query: {
|
|
28678
|
-
fieldIds: string;
|
|
28679
|
-
};
|
|
28680
|
-
url: '/WorkorderStatuses/getFieldsByFieldIds';
|
|
28681
|
-
};
|
|
28682
|
-
|
|
28683
|
-
export type WorkorderStatusGetFieldsByFieldIdsResponses = {
|
|
28684
|
-
/**
|
|
28685
|
-
* Request was successful
|
|
28686
|
-
*/
|
|
28687
|
-
200: Array<XAny>;
|
|
28688
|
-
};
|
|
28689
|
-
|
|
28690
|
-
export type WorkorderStatusGetFieldsByFieldIdsResponse =
|
|
28691
|
-
WorkorderStatusGetFieldsByFieldIdsResponses[keyof WorkorderStatusGetFieldsByFieldIdsResponses];
|
|
28692
|
-
|
|
28693
|
-
export type WorkorderStatusCheckPermissionData = {
|
|
28694
|
-
body?: never;
|
|
28695
|
-
path?: never;
|
|
28696
|
-
query: {
|
|
28697
|
-
statusId: string;
|
|
28698
|
-
};
|
|
28699
|
-
url: '/WorkorderStatuses/checkPermission';
|
|
28700
|
-
};
|
|
28701
|
-
|
|
28702
|
-
export type WorkorderStatusCheckPermissionResponses = {
|
|
28703
|
-
/**
|
|
28704
|
-
* Request was successful
|
|
28705
|
-
*/
|
|
28706
|
-
204: unknown;
|
|
28707
|
-
};
|
|
28708
|
-
|
|
28709
28966
|
export type WorkorderStatusChangeStatusData = {
|
|
28710
28967
|
body: {
|
|
28711
28968
|
workorderId: string;
|
|
@@ -28721,9 +28978,14 @@ export type WorkorderStatusChangeStatusResponses = {
|
|
|
28721
28978
|
/**
|
|
28722
28979
|
* Request was successful
|
|
28723
28980
|
*/
|
|
28724
|
-
|
|
28981
|
+
200: {
|
|
28982
|
+
[key: string]: unknown;
|
|
28983
|
+
};
|
|
28725
28984
|
};
|
|
28726
28985
|
|
|
28986
|
+
export type WorkorderStatusChangeStatusResponse =
|
|
28987
|
+
WorkorderStatusChangeStatusResponses[keyof WorkorderStatusChangeStatusResponses];
|
|
28988
|
+
|
|
28727
28989
|
export type WorkorderStatusCheckIfStatusIsUsedData = {
|
|
28728
28990
|
body: {
|
|
28729
28991
|
statusId: string;
|
|
@@ -28745,23 +29007,224 @@ export type WorkorderStatusCheckIfStatusIsUsedResponses = {
|
|
|
28745
29007
|
export type WorkorderStatusCheckIfStatusIsUsedResponse =
|
|
28746
29008
|
WorkorderStatusCheckIfStatusIsUsedResponses[keyof WorkorderStatusCheckIfStatusIsUsedResponses];
|
|
28747
29009
|
|
|
28748
|
-
export type
|
|
29010
|
+
export type WorkorderStatusDeleteWorkorderStatusData = {
|
|
28749
29011
|
body: {
|
|
28750
|
-
|
|
28751
|
-
|
|
29012
|
+
workorderStatusId: string;
|
|
29013
|
+
moveToStatusId?: string;
|
|
28752
29014
|
};
|
|
28753
29015
|
path?: never;
|
|
28754
29016
|
query?: never;
|
|
28755
|
-
url: '/WorkorderStatuses/
|
|
29017
|
+
url: '/WorkorderStatuses/deleteWorkorderStatus';
|
|
28756
29018
|
};
|
|
28757
29019
|
|
|
28758
|
-
export type
|
|
29020
|
+
export type WorkorderStatusDeleteWorkorderStatusResponses = {
|
|
28759
29021
|
/**
|
|
28760
29022
|
* Request was successful
|
|
28761
29023
|
*/
|
|
28762
29024
|
204: unknown;
|
|
28763
29025
|
};
|
|
28764
29026
|
|
|
29027
|
+
export type WorkorderStatusTransitionFindData = {
|
|
29028
|
+
body?: never;
|
|
29029
|
+
path?: never;
|
|
29030
|
+
query?: {
|
|
29031
|
+
/**
|
|
29032
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
29033
|
+
*/
|
|
29034
|
+
filter?: string;
|
|
29035
|
+
};
|
|
29036
|
+
url: '/WorkorderStatusTransitions';
|
|
29037
|
+
};
|
|
29038
|
+
|
|
29039
|
+
export type WorkorderStatusTransitionFindResponses = {
|
|
29040
|
+
/**
|
|
29041
|
+
* Request was successful
|
|
29042
|
+
*/
|
|
29043
|
+
200: Array<WorkorderStatusTransition>;
|
|
29044
|
+
};
|
|
29045
|
+
|
|
29046
|
+
export type WorkorderStatusTransitionFindResponse =
|
|
29047
|
+
WorkorderStatusTransitionFindResponses[keyof WorkorderStatusTransitionFindResponses];
|
|
29048
|
+
|
|
29049
|
+
export type WorkorderStatusTransitionCreateData = {
|
|
29050
|
+
/**
|
|
29051
|
+
* Model instance data
|
|
29052
|
+
*/
|
|
29053
|
+
body?: WorkorderStatusTransition;
|
|
29054
|
+
path?: never;
|
|
29055
|
+
query?: never;
|
|
29056
|
+
url: '/WorkorderStatusTransitions';
|
|
29057
|
+
};
|
|
29058
|
+
|
|
29059
|
+
export type WorkorderStatusTransitionCreateResponses = {
|
|
29060
|
+
/**
|
|
29061
|
+
* Request was successful
|
|
29062
|
+
*/
|
|
29063
|
+
200: WorkorderStatusTransition;
|
|
29064
|
+
};
|
|
29065
|
+
|
|
29066
|
+
export type WorkorderStatusTransitionCreateResponse =
|
|
29067
|
+
WorkorderStatusTransitionCreateResponses[keyof WorkorderStatusTransitionCreateResponses];
|
|
29068
|
+
|
|
29069
|
+
export type WorkorderStatusTransitionFindOneData = {
|
|
29070
|
+
body?: never;
|
|
29071
|
+
path?: never;
|
|
29072
|
+
query?: {
|
|
29073
|
+
/**
|
|
29074
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
29075
|
+
*/
|
|
29076
|
+
filter?: string;
|
|
29077
|
+
};
|
|
29078
|
+
url: '/WorkorderStatusTransitions/findOne';
|
|
29079
|
+
};
|
|
29080
|
+
|
|
29081
|
+
export type WorkorderStatusTransitionFindOneResponses = {
|
|
29082
|
+
/**
|
|
29083
|
+
* Request was successful
|
|
29084
|
+
*/
|
|
29085
|
+
200: WorkorderStatusTransition;
|
|
29086
|
+
};
|
|
29087
|
+
|
|
29088
|
+
export type WorkorderStatusTransitionFindOneResponse =
|
|
29089
|
+
WorkorderStatusTransitionFindOneResponses[keyof WorkorderStatusTransitionFindOneResponses];
|
|
29090
|
+
|
|
29091
|
+
export type WorkorderStatusTransitionDeleteByIdData = {
|
|
29092
|
+
body?: never;
|
|
29093
|
+
path: {
|
|
29094
|
+
/**
|
|
29095
|
+
* Model id
|
|
29096
|
+
*/
|
|
29097
|
+
id: string;
|
|
29098
|
+
};
|
|
29099
|
+
query?: never;
|
|
29100
|
+
url: '/WorkorderStatusTransitions/{id}';
|
|
29101
|
+
};
|
|
29102
|
+
|
|
29103
|
+
export type WorkorderStatusTransitionDeleteByIdResponses = {
|
|
29104
|
+
/**
|
|
29105
|
+
* Request was successful
|
|
29106
|
+
*/
|
|
29107
|
+
200: {
|
|
29108
|
+
[key: string]: unknown;
|
|
29109
|
+
};
|
|
29110
|
+
};
|
|
29111
|
+
|
|
29112
|
+
export type WorkorderStatusTransitionDeleteByIdResponse =
|
|
29113
|
+
WorkorderStatusTransitionDeleteByIdResponses[keyof WorkorderStatusTransitionDeleteByIdResponses];
|
|
29114
|
+
|
|
29115
|
+
export type WorkorderStatusTransitionPrototypePatchAttributesData = {
|
|
29116
|
+
/**
|
|
29117
|
+
* An object of model property name/value pairs
|
|
29118
|
+
*/
|
|
29119
|
+
body?: WorkorderStatusTransition;
|
|
29120
|
+
path: {
|
|
29121
|
+
/**
|
|
29122
|
+
* WorkorderStatusTransition id
|
|
29123
|
+
*/
|
|
29124
|
+
id: string;
|
|
29125
|
+
};
|
|
29126
|
+
query?: never;
|
|
29127
|
+
url: '/WorkorderStatusTransitions/{id}';
|
|
29128
|
+
};
|
|
29129
|
+
|
|
29130
|
+
export type WorkorderStatusTransitionPrototypePatchAttributesResponses = {
|
|
29131
|
+
/**
|
|
29132
|
+
* Request was successful
|
|
29133
|
+
*/
|
|
29134
|
+
200: WorkorderStatusTransition;
|
|
29135
|
+
};
|
|
29136
|
+
|
|
29137
|
+
export type WorkorderStatusTransitionPrototypePatchAttributesResponse =
|
|
29138
|
+
WorkorderStatusTransitionPrototypePatchAttributesResponses[keyof WorkorderStatusTransitionPrototypePatchAttributesResponses];
|
|
29139
|
+
|
|
29140
|
+
export type WorkorderStatusTransitionCountData = {
|
|
29141
|
+
body?: never;
|
|
29142
|
+
path?: never;
|
|
29143
|
+
query?: {
|
|
29144
|
+
/**
|
|
29145
|
+
* Criteria to match model instances
|
|
29146
|
+
*/
|
|
29147
|
+
where?: string;
|
|
29148
|
+
};
|
|
29149
|
+
url: '/WorkorderStatusTransitions/count';
|
|
29150
|
+
};
|
|
29151
|
+
|
|
29152
|
+
export type WorkorderStatusTransitionCountResponses = {
|
|
29153
|
+
/**
|
|
29154
|
+
* Request was successful
|
|
29155
|
+
*/
|
|
29156
|
+
200: {
|
|
29157
|
+
count?: number;
|
|
29158
|
+
};
|
|
29159
|
+
};
|
|
29160
|
+
|
|
29161
|
+
export type WorkorderStatusTransitionCountResponse =
|
|
29162
|
+
WorkorderStatusTransitionCountResponses[keyof WorkorderStatusTransitionCountResponses];
|
|
29163
|
+
|
|
29164
|
+
export type WorkorderStatusTransitionGetFieldsByFieldIdsData = {
|
|
29165
|
+
body?: never;
|
|
29166
|
+
path?: never;
|
|
29167
|
+
query: {
|
|
29168
|
+
fieldIds: string;
|
|
29169
|
+
};
|
|
29170
|
+
url: '/WorkorderStatusTransitions/getFieldsByFieldIds';
|
|
29171
|
+
};
|
|
29172
|
+
|
|
29173
|
+
export type WorkorderStatusTransitionGetFieldsByFieldIdsResponses = {
|
|
29174
|
+
/**
|
|
29175
|
+
* Request was successful
|
|
29176
|
+
*/
|
|
29177
|
+
200: Array<XAny>;
|
|
29178
|
+
};
|
|
29179
|
+
|
|
29180
|
+
export type WorkorderStatusTransitionGetFieldsByFieldIdsResponse =
|
|
29181
|
+
WorkorderStatusTransitionGetFieldsByFieldIdsResponses[keyof WorkorderStatusTransitionGetFieldsByFieldIdsResponses];
|
|
29182
|
+
|
|
29183
|
+
export type WorkorderStatusTransitionGetTransitionWithFieldsData = {
|
|
29184
|
+
body?: never;
|
|
29185
|
+
path?: never;
|
|
29186
|
+
query: {
|
|
29187
|
+
transitionId: string;
|
|
29188
|
+
};
|
|
29189
|
+
url: '/WorkorderStatusTransitions/getTransitionWithFields';
|
|
29190
|
+
};
|
|
29191
|
+
|
|
29192
|
+
export type WorkorderStatusTransitionGetTransitionWithFieldsResponses = {
|
|
29193
|
+
/**
|
|
29194
|
+
* Request was successful
|
|
29195
|
+
*/
|
|
29196
|
+
200: {
|
|
29197
|
+
[key: string]: unknown;
|
|
29198
|
+
};
|
|
29199
|
+
};
|
|
29200
|
+
|
|
29201
|
+
export type WorkorderStatusTransitionGetTransitionWithFieldsResponse =
|
|
29202
|
+
WorkorderStatusTransitionGetTransitionWithFieldsResponses[keyof WorkorderStatusTransitionGetTransitionWithFieldsResponses];
|
|
29203
|
+
|
|
29204
|
+
export type WorkorderStatusTransitionGetTransitionBySourceAndTargetStatusData =
|
|
29205
|
+
{
|
|
29206
|
+
body?: never;
|
|
29207
|
+
path?: never;
|
|
29208
|
+
query: {
|
|
29209
|
+
sourceStatusId: string;
|
|
29210
|
+
targetStatusId: string;
|
|
29211
|
+
};
|
|
29212
|
+
url: '/WorkorderStatusTransitions/getTransitionBySourceAndTargetStatus';
|
|
29213
|
+
};
|
|
29214
|
+
|
|
29215
|
+
export type WorkorderStatusTransitionGetTransitionBySourceAndTargetStatusResponses =
|
|
29216
|
+
{
|
|
29217
|
+
/**
|
|
29218
|
+
* Request was successful
|
|
29219
|
+
*/
|
|
29220
|
+
200: {
|
|
29221
|
+
[key: string]: unknown;
|
|
29222
|
+
};
|
|
29223
|
+
};
|
|
29224
|
+
|
|
29225
|
+
export type WorkorderStatusTransitionGetTransitionBySourceAndTargetStatusResponse =
|
|
29226
|
+
WorkorderStatusTransitionGetTransitionBySourceAndTargetStatusResponses[keyof WorkorderStatusTransitionGetTransitionBySourceAndTargetStatusResponses];
|
|
29227
|
+
|
|
28765
29228
|
export type TimeLogReportFindData = {
|
|
28766
29229
|
body?: never;
|
|
28767
29230
|
path?: never;
|
|
@@ -34995,6 +35458,1163 @@ export type IntegrationBuilderTestIntegrationUrlResponses = {
|
|
|
34995
35458
|
export type IntegrationBuilderTestIntegrationUrlResponse =
|
|
34996
35459
|
IntegrationBuilderTestIntegrationUrlResponses[keyof IntegrationBuilderTestIntegrationUrlResponses];
|
|
34997
35460
|
|
|
35461
|
+
export type SqlServerPrototypeGetUserData = {
|
|
35462
|
+
body?: never;
|
|
35463
|
+
path: {
|
|
35464
|
+
/**
|
|
35465
|
+
* SqlServer id
|
|
35466
|
+
*/
|
|
35467
|
+
id: string;
|
|
35468
|
+
};
|
|
35469
|
+
query?: {
|
|
35470
|
+
refresh?: boolean;
|
|
35471
|
+
};
|
|
35472
|
+
url: '/SqlServers/{id}/user';
|
|
35473
|
+
};
|
|
35474
|
+
|
|
35475
|
+
export type SqlServerPrototypeGetUserResponses = {
|
|
35476
|
+
/**
|
|
35477
|
+
* Request was successful
|
|
35478
|
+
*/
|
|
35479
|
+
200: UserModel;
|
|
35480
|
+
};
|
|
35481
|
+
|
|
35482
|
+
export type SqlServerPrototypeGetUserResponse =
|
|
35483
|
+
SqlServerPrototypeGetUserResponses[keyof SqlServerPrototypeGetUserResponses];
|
|
35484
|
+
|
|
35485
|
+
export type SqlServerFindData = {
|
|
35486
|
+
body?: never;
|
|
35487
|
+
path?: never;
|
|
35488
|
+
query?: {
|
|
35489
|
+
/**
|
|
35490
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
35491
|
+
*/
|
|
35492
|
+
filter?: string;
|
|
35493
|
+
};
|
|
35494
|
+
url: '/SqlServers';
|
|
35495
|
+
};
|
|
35496
|
+
|
|
35497
|
+
export type SqlServerFindResponses = {
|
|
35498
|
+
/**
|
|
35499
|
+
* Request was successful
|
|
35500
|
+
*/
|
|
35501
|
+
200: Array<SqlServer>;
|
|
35502
|
+
};
|
|
35503
|
+
|
|
35504
|
+
export type SqlServerFindResponse =
|
|
35505
|
+
SqlServerFindResponses[keyof SqlServerFindResponses];
|
|
35506
|
+
|
|
35507
|
+
export type SqlServerPatchOrCreateData = {
|
|
35508
|
+
/**
|
|
35509
|
+
* Model instance data
|
|
35510
|
+
*/
|
|
35511
|
+
body?: SqlServer;
|
|
35512
|
+
path?: never;
|
|
35513
|
+
query?: never;
|
|
35514
|
+
url: '/SqlServers';
|
|
35515
|
+
};
|
|
35516
|
+
|
|
35517
|
+
export type SqlServerPatchOrCreateResponses = {
|
|
35518
|
+
/**
|
|
35519
|
+
* Request was successful
|
|
35520
|
+
*/
|
|
35521
|
+
200: SqlServer;
|
|
35522
|
+
};
|
|
35523
|
+
|
|
35524
|
+
export type SqlServerPatchOrCreateResponse =
|
|
35525
|
+
SqlServerPatchOrCreateResponses[keyof SqlServerPatchOrCreateResponses];
|
|
35526
|
+
|
|
35527
|
+
export type SqlServerCreateData = {
|
|
35528
|
+
/**
|
|
35529
|
+
* Model instance data
|
|
35530
|
+
*/
|
|
35531
|
+
body?: SqlServer;
|
|
35532
|
+
path?: never;
|
|
35533
|
+
query?: never;
|
|
35534
|
+
url: '/SqlServers';
|
|
35535
|
+
};
|
|
35536
|
+
|
|
35537
|
+
export type SqlServerCreateResponses = {
|
|
35538
|
+
/**
|
|
35539
|
+
* Request was successful
|
|
35540
|
+
*/
|
|
35541
|
+
200: SqlServer;
|
|
35542
|
+
};
|
|
35543
|
+
|
|
35544
|
+
export type SqlServerCreateResponse =
|
|
35545
|
+
SqlServerCreateResponses[keyof SqlServerCreateResponses];
|
|
35546
|
+
|
|
35547
|
+
export type SqlServerReplaceOrCreatePutSqlServersData = {
|
|
35548
|
+
/**
|
|
35549
|
+
* Model instance data
|
|
35550
|
+
*/
|
|
35551
|
+
body?: SqlServer;
|
|
35552
|
+
path?: never;
|
|
35553
|
+
query?: never;
|
|
35554
|
+
url: '/SqlServers';
|
|
35555
|
+
};
|
|
35556
|
+
|
|
35557
|
+
export type SqlServerReplaceOrCreatePutSqlServersResponses = {
|
|
35558
|
+
/**
|
|
35559
|
+
* Request was successful
|
|
35560
|
+
*/
|
|
35561
|
+
200: SqlServer;
|
|
35562
|
+
};
|
|
35563
|
+
|
|
35564
|
+
export type SqlServerReplaceOrCreatePutSqlServersResponse =
|
|
35565
|
+
SqlServerReplaceOrCreatePutSqlServersResponses[keyof SqlServerReplaceOrCreatePutSqlServersResponses];
|
|
35566
|
+
|
|
35567
|
+
export type SqlServerReplaceOrCreatePostSqlServersReplaceOrCreateData = {
|
|
35568
|
+
/**
|
|
35569
|
+
* Model instance data
|
|
35570
|
+
*/
|
|
35571
|
+
body?: SqlServer;
|
|
35572
|
+
path?: never;
|
|
35573
|
+
query?: never;
|
|
35574
|
+
url: '/SqlServers/replaceOrCreate';
|
|
35575
|
+
};
|
|
35576
|
+
|
|
35577
|
+
export type SqlServerReplaceOrCreatePostSqlServersReplaceOrCreateResponses = {
|
|
35578
|
+
/**
|
|
35579
|
+
* Request was successful
|
|
35580
|
+
*/
|
|
35581
|
+
200: SqlServer;
|
|
35582
|
+
};
|
|
35583
|
+
|
|
35584
|
+
export type SqlServerReplaceOrCreatePostSqlServersReplaceOrCreateResponse =
|
|
35585
|
+
SqlServerReplaceOrCreatePostSqlServersReplaceOrCreateResponses[keyof SqlServerReplaceOrCreatePostSqlServersReplaceOrCreateResponses];
|
|
35586
|
+
|
|
35587
|
+
export type SqlServerUpsertWithWhereData = {
|
|
35588
|
+
/**
|
|
35589
|
+
* An object of model property name/value pairs
|
|
35590
|
+
*/
|
|
35591
|
+
body?: SqlServer;
|
|
35592
|
+
path?: never;
|
|
35593
|
+
query?: {
|
|
35594
|
+
/**
|
|
35595
|
+
* Criteria to match model instances
|
|
35596
|
+
*/
|
|
35597
|
+
where?: string;
|
|
35598
|
+
};
|
|
35599
|
+
url: '/SqlServers/upsertWithWhere';
|
|
35600
|
+
};
|
|
35601
|
+
|
|
35602
|
+
export type SqlServerUpsertWithWhereResponses = {
|
|
35603
|
+
/**
|
|
35604
|
+
* Request was successful
|
|
35605
|
+
*/
|
|
35606
|
+
200: SqlServer;
|
|
35607
|
+
};
|
|
35608
|
+
|
|
35609
|
+
export type SqlServerUpsertWithWhereResponse =
|
|
35610
|
+
SqlServerUpsertWithWhereResponses[keyof SqlServerUpsertWithWhereResponses];
|
|
35611
|
+
|
|
35612
|
+
export type SqlServerExistsGetSqlServersIdExistsData = {
|
|
35613
|
+
body?: never;
|
|
35614
|
+
path: {
|
|
35615
|
+
/**
|
|
35616
|
+
* Model id
|
|
35617
|
+
*/
|
|
35618
|
+
id: string;
|
|
35619
|
+
};
|
|
35620
|
+
query?: never;
|
|
35621
|
+
url: '/SqlServers/{id}/exists';
|
|
35622
|
+
};
|
|
35623
|
+
|
|
35624
|
+
export type SqlServerExistsGetSqlServersIdExistsResponses = {
|
|
35625
|
+
/**
|
|
35626
|
+
* Request was successful
|
|
35627
|
+
*/
|
|
35628
|
+
200: {
|
|
35629
|
+
exists?: boolean;
|
|
35630
|
+
};
|
|
35631
|
+
};
|
|
35632
|
+
|
|
35633
|
+
export type SqlServerExistsGetSqlServersIdExistsResponse =
|
|
35634
|
+
SqlServerExistsGetSqlServersIdExistsResponses[keyof SqlServerExistsGetSqlServersIdExistsResponses];
|
|
35635
|
+
|
|
35636
|
+
export type SqlServerDeleteByIdData = {
|
|
35637
|
+
body?: never;
|
|
35638
|
+
path: {
|
|
35639
|
+
/**
|
|
35640
|
+
* Model id
|
|
35641
|
+
*/
|
|
35642
|
+
id: string;
|
|
35643
|
+
};
|
|
35644
|
+
query?: never;
|
|
35645
|
+
url: '/SqlServers/{id}';
|
|
35646
|
+
};
|
|
35647
|
+
|
|
35648
|
+
export type SqlServerDeleteByIdResponses = {
|
|
35649
|
+
/**
|
|
35650
|
+
* Request was successful
|
|
35651
|
+
*/
|
|
35652
|
+
200: {
|
|
35653
|
+
[key: string]: unknown;
|
|
35654
|
+
};
|
|
35655
|
+
};
|
|
35656
|
+
|
|
35657
|
+
export type SqlServerDeleteByIdResponse =
|
|
35658
|
+
SqlServerDeleteByIdResponses[keyof SqlServerDeleteByIdResponses];
|
|
35659
|
+
|
|
35660
|
+
export type SqlServerFindByIdData = {
|
|
35661
|
+
body?: never;
|
|
35662
|
+
path: {
|
|
35663
|
+
/**
|
|
35664
|
+
* Model id
|
|
35665
|
+
*/
|
|
35666
|
+
id: string;
|
|
35667
|
+
};
|
|
35668
|
+
query?: {
|
|
35669
|
+
/**
|
|
35670
|
+
* Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
35671
|
+
*/
|
|
35672
|
+
filter?: string;
|
|
35673
|
+
};
|
|
35674
|
+
url: '/SqlServers/{id}';
|
|
35675
|
+
};
|
|
35676
|
+
|
|
35677
|
+
export type SqlServerFindByIdResponses = {
|
|
35678
|
+
/**
|
|
35679
|
+
* Request was successful
|
|
35680
|
+
*/
|
|
35681
|
+
200: SqlServer;
|
|
35682
|
+
};
|
|
35683
|
+
|
|
35684
|
+
export type SqlServerFindByIdResponse =
|
|
35685
|
+
SqlServerFindByIdResponses[keyof SqlServerFindByIdResponses];
|
|
35686
|
+
|
|
35687
|
+
export type SqlServerExistsHeadSqlServersIdData = {
|
|
35688
|
+
body?: never;
|
|
35689
|
+
path: {
|
|
35690
|
+
/**
|
|
35691
|
+
* Model id
|
|
35692
|
+
*/
|
|
35693
|
+
id: string;
|
|
35694
|
+
};
|
|
35695
|
+
query?: never;
|
|
35696
|
+
url: '/SqlServers/{id}';
|
|
35697
|
+
};
|
|
35698
|
+
|
|
35699
|
+
export type SqlServerExistsHeadSqlServersIdResponses = {
|
|
35700
|
+
/**
|
|
35701
|
+
* Request was successful
|
|
35702
|
+
*/
|
|
35703
|
+
200: {
|
|
35704
|
+
exists?: boolean;
|
|
35705
|
+
};
|
|
35706
|
+
};
|
|
35707
|
+
|
|
35708
|
+
export type SqlServerExistsHeadSqlServersIdResponse =
|
|
35709
|
+
SqlServerExistsHeadSqlServersIdResponses[keyof SqlServerExistsHeadSqlServersIdResponses];
|
|
35710
|
+
|
|
35711
|
+
export type SqlServerPrototypePatchAttributesData = {
|
|
35712
|
+
/**
|
|
35713
|
+
* An object of model property name/value pairs
|
|
35714
|
+
*/
|
|
35715
|
+
body?: SqlServer;
|
|
35716
|
+
path: {
|
|
35717
|
+
/**
|
|
35718
|
+
* SqlServer id
|
|
35719
|
+
*/
|
|
35720
|
+
id: string;
|
|
35721
|
+
};
|
|
35722
|
+
query?: never;
|
|
35723
|
+
url: '/SqlServers/{id}';
|
|
35724
|
+
};
|
|
35725
|
+
|
|
35726
|
+
export type SqlServerPrototypePatchAttributesResponses = {
|
|
35727
|
+
/**
|
|
35728
|
+
* Request was successful
|
|
35729
|
+
*/
|
|
35730
|
+
200: SqlServer;
|
|
35731
|
+
};
|
|
35732
|
+
|
|
35733
|
+
export type SqlServerPrototypePatchAttributesResponse =
|
|
35734
|
+
SqlServerPrototypePatchAttributesResponses[keyof SqlServerPrototypePatchAttributesResponses];
|
|
35735
|
+
|
|
35736
|
+
export type SqlServerReplaceByIdPutSqlServersIdData = {
|
|
35737
|
+
/**
|
|
35738
|
+
* Model instance data
|
|
35739
|
+
*/
|
|
35740
|
+
body?: SqlServer;
|
|
35741
|
+
path: {
|
|
35742
|
+
/**
|
|
35743
|
+
* Model id
|
|
35744
|
+
*/
|
|
35745
|
+
id: string;
|
|
35746
|
+
};
|
|
35747
|
+
query?: never;
|
|
35748
|
+
url: '/SqlServers/{id}';
|
|
35749
|
+
};
|
|
35750
|
+
|
|
35751
|
+
export type SqlServerReplaceByIdPutSqlServersIdResponses = {
|
|
35752
|
+
/**
|
|
35753
|
+
* Request was successful
|
|
35754
|
+
*/
|
|
35755
|
+
200: SqlServer;
|
|
35756
|
+
};
|
|
35757
|
+
|
|
35758
|
+
export type SqlServerReplaceByIdPutSqlServersIdResponse =
|
|
35759
|
+
SqlServerReplaceByIdPutSqlServersIdResponses[keyof SqlServerReplaceByIdPutSqlServersIdResponses];
|
|
35760
|
+
|
|
35761
|
+
export type SqlServerReplaceByIdPostSqlServersIdReplaceData = {
|
|
35762
|
+
/**
|
|
35763
|
+
* Model instance data
|
|
35764
|
+
*/
|
|
35765
|
+
body?: SqlServer;
|
|
35766
|
+
path: {
|
|
35767
|
+
/**
|
|
35768
|
+
* Model id
|
|
35769
|
+
*/
|
|
35770
|
+
id: string;
|
|
35771
|
+
};
|
|
35772
|
+
query?: never;
|
|
35773
|
+
url: '/SqlServers/{id}/replace';
|
|
35774
|
+
};
|
|
35775
|
+
|
|
35776
|
+
export type SqlServerReplaceByIdPostSqlServersIdReplaceResponses = {
|
|
35777
|
+
/**
|
|
35778
|
+
* Request was successful
|
|
35779
|
+
*/
|
|
35780
|
+
200: SqlServer;
|
|
35781
|
+
};
|
|
35782
|
+
|
|
35783
|
+
export type SqlServerReplaceByIdPostSqlServersIdReplaceResponse =
|
|
35784
|
+
SqlServerReplaceByIdPostSqlServersIdReplaceResponses[keyof SqlServerReplaceByIdPostSqlServersIdReplaceResponses];
|
|
35785
|
+
|
|
35786
|
+
export type SqlServerFindOneData = {
|
|
35787
|
+
body?: never;
|
|
35788
|
+
path?: never;
|
|
35789
|
+
query?: {
|
|
35790
|
+
/**
|
|
35791
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
35792
|
+
*/
|
|
35793
|
+
filter?: string;
|
|
35794
|
+
};
|
|
35795
|
+
url: '/SqlServers/findOne';
|
|
35796
|
+
};
|
|
35797
|
+
|
|
35798
|
+
export type SqlServerFindOneResponses = {
|
|
35799
|
+
/**
|
|
35800
|
+
* Request was successful
|
|
35801
|
+
*/
|
|
35802
|
+
200: SqlServer;
|
|
35803
|
+
};
|
|
35804
|
+
|
|
35805
|
+
export type SqlServerFindOneResponse =
|
|
35806
|
+
SqlServerFindOneResponses[keyof SqlServerFindOneResponses];
|
|
35807
|
+
|
|
35808
|
+
export type SqlServerUpdateAllData = {
|
|
35809
|
+
/**
|
|
35810
|
+
* An object of model property name/value pairs
|
|
35811
|
+
*/
|
|
35812
|
+
body?: SqlServer;
|
|
35813
|
+
path?: never;
|
|
35814
|
+
query?: {
|
|
35815
|
+
/**
|
|
35816
|
+
* Criteria to match model instances
|
|
35817
|
+
*/
|
|
35818
|
+
where?: string;
|
|
35819
|
+
};
|
|
35820
|
+
url: '/SqlServers/update';
|
|
35821
|
+
};
|
|
35822
|
+
|
|
35823
|
+
export type SqlServerUpdateAllResponses = {
|
|
35824
|
+
/**
|
|
35825
|
+
* Information related to the outcome of the operation
|
|
35826
|
+
*/
|
|
35827
|
+
200: {
|
|
35828
|
+
/**
|
|
35829
|
+
* The number of instances updated
|
|
35830
|
+
*/
|
|
35831
|
+
count?: number;
|
|
35832
|
+
};
|
|
35833
|
+
};
|
|
35834
|
+
|
|
35835
|
+
export type SqlServerUpdateAllResponse =
|
|
35836
|
+
SqlServerUpdateAllResponses[keyof SqlServerUpdateAllResponses];
|
|
35837
|
+
|
|
35838
|
+
export type SqlServerCountData = {
|
|
35839
|
+
body?: never;
|
|
35840
|
+
path?: never;
|
|
35841
|
+
query?: {
|
|
35842
|
+
/**
|
|
35843
|
+
* Criteria to match model instances
|
|
35844
|
+
*/
|
|
35845
|
+
where?: string;
|
|
35846
|
+
};
|
|
35847
|
+
url: '/SqlServers/count';
|
|
35848
|
+
};
|
|
35849
|
+
|
|
35850
|
+
export type SqlServerCountResponses = {
|
|
35851
|
+
/**
|
|
35852
|
+
* Request was successful
|
|
35853
|
+
*/
|
|
35854
|
+
200: {
|
|
35855
|
+
count?: number;
|
|
35856
|
+
};
|
|
35857
|
+
};
|
|
35858
|
+
|
|
35859
|
+
export type SqlServerCountResponse =
|
|
35860
|
+
SqlServerCountResponses[keyof SqlServerCountResponses];
|
|
35861
|
+
|
|
35862
|
+
export type SqlServerAddParameterData = {
|
|
35863
|
+
body: {
|
|
35864
|
+
sqlServerId: string;
|
|
35865
|
+
parameter: string;
|
|
35866
|
+
saveAnyway?: boolean;
|
|
35867
|
+
};
|
|
35868
|
+
path?: never;
|
|
35869
|
+
query?: never;
|
|
35870
|
+
url: '/SqlServers/addParameter';
|
|
35871
|
+
};
|
|
35872
|
+
|
|
35873
|
+
export type SqlServerAddParameterResponses = {
|
|
35874
|
+
/**
|
|
35875
|
+
* Request was successful
|
|
35876
|
+
*/
|
|
35877
|
+
200: {
|
|
35878
|
+
[key: string]: unknown;
|
|
35879
|
+
};
|
|
35880
|
+
};
|
|
35881
|
+
|
|
35882
|
+
export type SqlServerAddParameterResponse =
|
|
35883
|
+
SqlServerAddParameterResponses[keyof SqlServerAddParameterResponses];
|
|
35884
|
+
|
|
35885
|
+
export type SqlServerUpdateParameterData = {
|
|
35886
|
+
body: {
|
|
35887
|
+
sqlServerId: string;
|
|
35888
|
+
parameterId: string;
|
|
35889
|
+
parameter: string;
|
|
35890
|
+
saveAnyway?: boolean;
|
|
35891
|
+
};
|
|
35892
|
+
path?: never;
|
|
35893
|
+
query?: never;
|
|
35894
|
+
url: '/SqlServers/updateParameter';
|
|
35895
|
+
};
|
|
35896
|
+
|
|
35897
|
+
export type SqlServerUpdateParameterResponses = {
|
|
35898
|
+
/**
|
|
35899
|
+
* Request was successful
|
|
35900
|
+
*/
|
|
35901
|
+
200: {
|
|
35902
|
+
[key: string]: unknown;
|
|
35903
|
+
};
|
|
35904
|
+
};
|
|
35905
|
+
|
|
35906
|
+
export type SqlServerUpdateParameterResponse =
|
|
35907
|
+
SqlServerUpdateParameterResponses[keyof SqlServerUpdateParameterResponses];
|
|
35908
|
+
|
|
35909
|
+
export type SqlServerDeleteParameterData = {
|
|
35910
|
+
body: {
|
|
35911
|
+
sqlServerId: string;
|
|
35912
|
+
parameterId: string;
|
|
35913
|
+
};
|
|
35914
|
+
path?: never;
|
|
35915
|
+
query?: never;
|
|
35916
|
+
url: '/SqlServers/deleteParameter';
|
|
35917
|
+
};
|
|
35918
|
+
|
|
35919
|
+
export type SqlServerDeleteParameterResponses = {
|
|
35920
|
+
/**
|
|
35921
|
+
* Request was successful
|
|
35922
|
+
*/
|
|
35923
|
+
200: {
|
|
35924
|
+
[key: string]: unknown;
|
|
35925
|
+
};
|
|
35926
|
+
};
|
|
35927
|
+
|
|
35928
|
+
export type SqlServerDeleteParameterResponse =
|
|
35929
|
+
SqlServerDeleteParameterResponses[keyof SqlServerDeleteParameterResponses];
|
|
35930
|
+
|
|
35931
|
+
export type SqlServerTestConnectionData = {
|
|
35932
|
+
body: {
|
|
35933
|
+
sqlServer: string;
|
|
35934
|
+
};
|
|
35935
|
+
path?: never;
|
|
35936
|
+
query?: never;
|
|
35937
|
+
url: '/SqlServers/testConnection';
|
|
35938
|
+
};
|
|
35939
|
+
|
|
35940
|
+
export type SqlServerTestConnectionResponses = {
|
|
35941
|
+
/**
|
|
35942
|
+
* Request was successful
|
|
35943
|
+
*/
|
|
35944
|
+
200: boolean;
|
|
35945
|
+
};
|
|
35946
|
+
|
|
35947
|
+
export type SqlServerTestConnectionResponse =
|
|
35948
|
+
SqlServerTestConnectionResponses[keyof SqlServerTestConnectionResponses];
|
|
35949
|
+
|
|
35950
|
+
export type SqlServerTestQueryData = {
|
|
35951
|
+
body: {
|
|
35952
|
+
sqlServer: string;
|
|
35953
|
+
query: string;
|
|
35954
|
+
};
|
|
35955
|
+
path?: never;
|
|
35956
|
+
query?: never;
|
|
35957
|
+
url: '/SqlServers/testQuery';
|
|
35958
|
+
};
|
|
35959
|
+
|
|
35960
|
+
export type SqlServerTestQueryResponses = {
|
|
35961
|
+
/**
|
|
35962
|
+
* Request was successful
|
|
35963
|
+
*/
|
|
35964
|
+
200: {
|
|
35965
|
+
[key: string]: unknown;
|
|
35966
|
+
};
|
|
35967
|
+
};
|
|
35968
|
+
|
|
35969
|
+
export type SqlServerTestQueryResponse =
|
|
35970
|
+
SqlServerTestQueryResponses[keyof SqlServerTestQueryResponses];
|
|
35971
|
+
|
|
35972
|
+
export type SqlServerReadData = {
|
|
35973
|
+
body: {
|
|
35974
|
+
sqlServerId: string;
|
|
35975
|
+
parameterId: string;
|
|
35976
|
+
};
|
|
35977
|
+
path?: never;
|
|
35978
|
+
query?: never;
|
|
35979
|
+
url: '/SqlServers/read';
|
|
35980
|
+
};
|
|
35981
|
+
|
|
35982
|
+
export type SqlServerReadResponses = {
|
|
35983
|
+
/**
|
|
35984
|
+
* Request was successful
|
|
35985
|
+
*/
|
|
35986
|
+
200: Array<XAny>;
|
|
35987
|
+
};
|
|
35988
|
+
|
|
35989
|
+
export type SqlServerReadResponse =
|
|
35990
|
+
SqlServerReadResponses[keyof SqlServerReadResponses];
|
|
35991
|
+
|
|
35992
|
+
export type SqlServerCountWithDeletedData = {
|
|
35993
|
+
body?: never;
|
|
35994
|
+
path?: never;
|
|
35995
|
+
query?: {
|
|
35996
|
+
/**
|
|
35997
|
+
* Criteria to match model instances
|
|
35998
|
+
*/
|
|
35999
|
+
where?: string;
|
|
36000
|
+
};
|
|
36001
|
+
url: '/SqlServers/countWithDeleted';
|
|
36002
|
+
};
|
|
36003
|
+
|
|
36004
|
+
export type SqlServerCountWithDeletedResponses = {
|
|
36005
|
+
/**
|
|
36006
|
+
* Request was successful
|
|
36007
|
+
*/
|
|
36008
|
+
200: {
|
|
36009
|
+
count?: number;
|
|
36010
|
+
};
|
|
36011
|
+
};
|
|
36012
|
+
|
|
36013
|
+
export type SqlServerCountWithDeletedResponse =
|
|
36014
|
+
SqlServerCountWithDeletedResponses[keyof SqlServerCountWithDeletedResponses];
|
|
36015
|
+
|
|
36016
|
+
export type ChatThreadPrototypeGetUserData = {
|
|
36017
|
+
body?: never;
|
|
36018
|
+
path: {
|
|
36019
|
+
/**
|
|
36020
|
+
* ChatThread id
|
|
36021
|
+
*/
|
|
36022
|
+
id: string;
|
|
36023
|
+
};
|
|
36024
|
+
query?: {
|
|
36025
|
+
refresh?: boolean;
|
|
36026
|
+
};
|
|
36027
|
+
url: '/ChatThreads/{id}/user';
|
|
36028
|
+
};
|
|
36029
|
+
|
|
36030
|
+
export type ChatThreadPrototypeGetUserResponses = {
|
|
36031
|
+
/**
|
|
36032
|
+
* Request was successful
|
|
36033
|
+
*/
|
|
36034
|
+
200: UserModel;
|
|
36035
|
+
};
|
|
36036
|
+
|
|
36037
|
+
export type ChatThreadPrototypeGetUserResponse =
|
|
36038
|
+
ChatThreadPrototypeGetUserResponses[keyof ChatThreadPrototypeGetUserResponses];
|
|
36039
|
+
|
|
36040
|
+
export type ChatThreadFindData = {
|
|
36041
|
+
body?: never;
|
|
36042
|
+
path?: never;
|
|
36043
|
+
query?: {
|
|
36044
|
+
/**
|
|
36045
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
36046
|
+
*/
|
|
36047
|
+
filter?: string;
|
|
36048
|
+
};
|
|
36049
|
+
url: '/ChatThreads';
|
|
36050
|
+
};
|
|
36051
|
+
|
|
36052
|
+
export type ChatThreadFindResponses = {
|
|
36053
|
+
/**
|
|
36054
|
+
* Request was successful
|
|
36055
|
+
*/
|
|
36056
|
+
200: Array<ChatThread>;
|
|
36057
|
+
};
|
|
36058
|
+
|
|
36059
|
+
export type ChatThreadFindResponse =
|
|
36060
|
+
ChatThreadFindResponses[keyof ChatThreadFindResponses];
|
|
36061
|
+
|
|
36062
|
+
export type ChatThreadPatchOrCreateData = {
|
|
36063
|
+
/**
|
|
36064
|
+
* Model instance data
|
|
36065
|
+
*/
|
|
36066
|
+
body?: ChatThread;
|
|
36067
|
+
path?: never;
|
|
36068
|
+
query?: never;
|
|
36069
|
+
url: '/ChatThreads';
|
|
36070
|
+
};
|
|
36071
|
+
|
|
36072
|
+
export type ChatThreadPatchOrCreateResponses = {
|
|
36073
|
+
/**
|
|
36074
|
+
* Request was successful
|
|
36075
|
+
*/
|
|
36076
|
+
200: ChatThread;
|
|
36077
|
+
};
|
|
36078
|
+
|
|
36079
|
+
export type ChatThreadPatchOrCreateResponse =
|
|
36080
|
+
ChatThreadPatchOrCreateResponses[keyof ChatThreadPatchOrCreateResponses];
|
|
36081
|
+
|
|
36082
|
+
export type ChatThreadCreateData = {
|
|
36083
|
+
/**
|
|
36084
|
+
* Model instance data
|
|
36085
|
+
*/
|
|
36086
|
+
body?: ChatThread;
|
|
36087
|
+
path?: never;
|
|
36088
|
+
query?: never;
|
|
36089
|
+
url: '/ChatThreads';
|
|
36090
|
+
};
|
|
36091
|
+
|
|
36092
|
+
export type ChatThreadCreateResponses = {
|
|
36093
|
+
/**
|
|
36094
|
+
* Request was successful
|
|
36095
|
+
*/
|
|
36096
|
+
200: ChatThread;
|
|
36097
|
+
};
|
|
36098
|
+
|
|
36099
|
+
export type ChatThreadCreateResponse =
|
|
36100
|
+
ChatThreadCreateResponses[keyof ChatThreadCreateResponses];
|
|
36101
|
+
|
|
36102
|
+
export type ChatThreadReplaceOrCreatePutChatThreadsData = {
|
|
36103
|
+
/**
|
|
36104
|
+
* Model instance data
|
|
36105
|
+
*/
|
|
36106
|
+
body?: ChatThread;
|
|
36107
|
+
path?: never;
|
|
36108
|
+
query?: never;
|
|
36109
|
+
url: '/ChatThreads';
|
|
36110
|
+
};
|
|
36111
|
+
|
|
36112
|
+
export type ChatThreadReplaceOrCreatePutChatThreadsResponses = {
|
|
36113
|
+
/**
|
|
36114
|
+
* Request was successful
|
|
36115
|
+
*/
|
|
36116
|
+
200: ChatThread;
|
|
36117
|
+
};
|
|
36118
|
+
|
|
36119
|
+
export type ChatThreadReplaceOrCreatePutChatThreadsResponse =
|
|
36120
|
+
ChatThreadReplaceOrCreatePutChatThreadsResponses[keyof ChatThreadReplaceOrCreatePutChatThreadsResponses];
|
|
36121
|
+
|
|
36122
|
+
export type ChatThreadReplaceOrCreatePostChatThreadsReplaceOrCreateData = {
|
|
36123
|
+
/**
|
|
36124
|
+
* Model instance data
|
|
36125
|
+
*/
|
|
36126
|
+
body?: ChatThread;
|
|
36127
|
+
path?: never;
|
|
36128
|
+
query?: never;
|
|
36129
|
+
url: '/ChatThreads/replaceOrCreate';
|
|
36130
|
+
};
|
|
36131
|
+
|
|
36132
|
+
export type ChatThreadReplaceOrCreatePostChatThreadsReplaceOrCreateResponses = {
|
|
36133
|
+
/**
|
|
36134
|
+
* Request was successful
|
|
36135
|
+
*/
|
|
36136
|
+
200: ChatThread;
|
|
36137
|
+
};
|
|
36138
|
+
|
|
36139
|
+
export type ChatThreadReplaceOrCreatePostChatThreadsReplaceOrCreateResponse =
|
|
36140
|
+
ChatThreadReplaceOrCreatePostChatThreadsReplaceOrCreateResponses[keyof ChatThreadReplaceOrCreatePostChatThreadsReplaceOrCreateResponses];
|
|
36141
|
+
|
|
36142
|
+
export type ChatThreadUpsertWithWhereData = {
|
|
36143
|
+
/**
|
|
36144
|
+
* An object of model property name/value pairs
|
|
36145
|
+
*/
|
|
36146
|
+
body?: ChatThread;
|
|
36147
|
+
path?: never;
|
|
36148
|
+
query?: {
|
|
36149
|
+
/**
|
|
36150
|
+
* Criteria to match model instances
|
|
36151
|
+
*/
|
|
36152
|
+
where?: string;
|
|
36153
|
+
};
|
|
36154
|
+
url: '/ChatThreads/upsertWithWhere';
|
|
36155
|
+
};
|
|
36156
|
+
|
|
36157
|
+
export type ChatThreadUpsertWithWhereResponses = {
|
|
36158
|
+
/**
|
|
36159
|
+
* Request was successful
|
|
36160
|
+
*/
|
|
36161
|
+
200: ChatThread;
|
|
36162
|
+
};
|
|
36163
|
+
|
|
36164
|
+
export type ChatThreadUpsertWithWhereResponse =
|
|
36165
|
+
ChatThreadUpsertWithWhereResponses[keyof ChatThreadUpsertWithWhereResponses];
|
|
36166
|
+
|
|
36167
|
+
export type ChatThreadExistsGetChatThreadsIdExistsData = {
|
|
36168
|
+
body?: never;
|
|
36169
|
+
path: {
|
|
36170
|
+
/**
|
|
36171
|
+
* Model id
|
|
36172
|
+
*/
|
|
36173
|
+
id: string;
|
|
36174
|
+
};
|
|
36175
|
+
query?: never;
|
|
36176
|
+
url: '/ChatThreads/{id}/exists';
|
|
36177
|
+
};
|
|
36178
|
+
|
|
36179
|
+
export type ChatThreadExistsGetChatThreadsIdExistsResponses = {
|
|
36180
|
+
/**
|
|
36181
|
+
* Request was successful
|
|
36182
|
+
*/
|
|
36183
|
+
200: {
|
|
36184
|
+
exists?: boolean;
|
|
36185
|
+
};
|
|
36186
|
+
};
|
|
36187
|
+
|
|
36188
|
+
export type ChatThreadExistsGetChatThreadsIdExistsResponse =
|
|
36189
|
+
ChatThreadExistsGetChatThreadsIdExistsResponses[keyof ChatThreadExistsGetChatThreadsIdExistsResponses];
|
|
36190
|
+
|
|
36191
|
+
export type ChatThreadDeleteByIdData = {
|
|
36192
|
+
body?: never;
|
|
36193
|
+
path: {
|
|
36194
|
+
/**
|
|
36195
|
+
* Model id
|
|
36196
|
+
*/
|
|
36197
|
+
id: string;
|
|
36198
|
+
};
|
|
36199
|
+
query?: never;
|
|
36200
|
+
url: '/ChatThreads/{id}';
|
|
36201
|
+
};
|
|
36202
|
+
|
|
36203
|
+
export type ChatThreadDeleteByIdResponses = {
|
|
36204
|
+
/**
|
|
36205
|
+
* Request was successful
|
|
36206
|
+
*/
|
|
36207
|
+
200: {
|
|
36208
|
+
[key: string]: unknown;
|
|
36209
|
+
};
|
|
36210
|
+
};
|
|
36211
|
+
|
|
36212
|
+
export type ChatThreadDeleteByIdResponse =
|
|
36213
|
+
ChatThreadDeleteByIdResponses[keyof ChatThreadDeleteByIdResponses];
|
|
36214
|
+
|
|
36215
|
+
export type ChatThreadFindByIdData = {
|
|
36216
|
+
body?: never;
|
|
36217
|
+
path: {
|
|
36218
|
+
/**
|
|
36219
|
+
* Model id
|
|
36220
|
+
*/
|
|
36221
|
+
id: string;
|
|
36222
|
+
};
|
|
36223
|
+
query?: {
|
|
36224
|
+
/**
|
|
36225
|
+
* Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
36226
|
+
*/
|
|
36227
|
+
filter?: string;
|
|
36228
|
+
};
|
|
36229
|
+
url: '/ChatThreads/{id}';
|
|
36230
|
+
};
|
|
36231
|
+
|
|
36232
|
+
export type ChatThreadFindByIdResponses = {
|
|
36233
|
+
/**
|
|
36234
|
+
* Request was successful
|
|
36235
|
+
*/
|
|
36236
|
+
200: ChatThread;
|
|
36237
|
+
};
|
|
36238
|
+
|
|
36239
|
+
export type ChatThreadFindByIdResponse =
|
|
36240
|
+
ChatThreadFindByIdResponses[keyof ChatThreadFindByIdResponses];
|
|
36241
|
+
|
|
36242
|
+
export type ChatThreadExistsHeadChatThreadsIdData = {
|
|
36243
|
+
body?: never;
|
|
36244
|
+
path: {
|
|
36245
|
+
/**
|
|
36246
|
+
* Model id
|
|
36247
|
+
*/
|
|
36248
|
+
id: string;
|
|
36249
|
+
};
|
|
36250
|
+
query?: never;
|
|
36251
|
+
url: '/ChatThreads/{id}';
|
|
36252
|
+
};
|
|
36253
|
+
|
|
36254
|
+
export type ChatThreadExistsHeadChatThreadsIdResponses = {
|
|
36255
|
+
/**
|
|
36256
|
+
* Request was successful
|
|
36257
|
+
*/
|
|
36258
|
+
200: {
|
|
36259
|
+
exists?: boolean;
|
|
36260
|
+
};
|
|
36261
|
+
};
|
|
36262
|
+
|
|
36263
|
+
export type ChatThreadExistsHeadChatThreadsIdResponse =
|
|
36264
|
+
ChatThreadExistsHeadChatThreadsIdResponses[keyof ChatThreadExistsHeadChatThreadsIdResponses];
|
|
36265
|
+
|
|
36266
|
+
export type ChatThreadPrototypePatchAttributesData = {
|
|
36267
|
+
/**
|
|
36268
|
+
* An object of model property name/value pairs
|
|
36269
|
+
*/
|
|
36270
|
+
body?: ChatThread;
|
|
36271
|
+
path: {
|
|
36272
|
+
/**
|
|
36273
|
+
* ChatThread id
|
|
36274
|
+
*/
|
|
36275
|
+
id: string;
|
|
36276
|
+
};
|
|
36277
|
+
query?: never;
|
|
36278
|
+
url: '/ChatThreads/{id}';
|
|
36279
|
+
};
|
|
36280
|
+
|
|
36281
|
+
export type ChatThreadPrototypePatchAttributesResponses = {
|
|
36282
|
+
/**
|
|
36283
|
+
* Request was successful
|
|
36284
|
+
*/
|
|
36285
|
+
200: ChatThread;
|
|
36286
|
+
};
|
|
36287
|
+
|
|
36288
|
+
export type ChatThreadPrototypePatchAttributesResponse =
|
|
36289
|
+
ChatThreadPrototypePatchAttributesResponses[keyof ChatThreadPrototypePatchAttributesResponses];
|
|
36290
|
+
|
|
36291
|
+
export type ChatThreadReplaceByIdPutChatThreadsIdData = {
|
|
36292
|
+
/**
|
|
36293
|
+
* Model instance data
|
|
36294
|
+
*/
|
|
36295
|
+
body?: ChatThread;
|
|
36296
|
+
path: {
|
|
36297
|
+
/**
|
|
36298
|
+
* Model id
|
|
36299
|
+
*/
|
|
36300
|
+
id: string;
|
|
36301
|
+
};
|
|
36302
|
+
query?: never;
|
|
36303
|
+
url: '/ChatThreads/{id}';
|
|
36304
|
+
};
|
|
36305
|
+
|
|
36306
|
+
export type ChatThreadReplaceByIdPutChatThreadsIdResponses = {
|
|
36307
|
+
/**
|
|
36308
|
+
* Request was successful
|
|
36309
|
+
*/
|
|
36310
|
+
200: ChatThread;
|
|
36311
|
+
};
|
|
36312
|
+
|
|
36313
|
+
export type ChatThreadReplaceByIdPutChatThreadsIdResponse =
|
|
36314
|
+
ChatThreadReplaceByIdPutChatThreadsIdResponses[keyof ChatThreadReplaceByIdPutChatThreadsIdResponses];
|
|
36315
|
+
|
|
36316
|
+
export type ChatThreadReplaceByIdPostChatThreadsIdReplaceData = {
|
|
36317
|
+
/**
|
|
36318
|
+
* Model instance data
|
|
36319
|
+
*/
|
|
36320
|
+
body?: ChatThread;
|
|
36321
|
+
path: {
|
|
36322
|
+
/**
|
|
36323
|
+
* Model id
|
|
36324
|
+
*/
|
|
36325
|
+
id: string;
|
|
36326
|
+
};
|
|
36327
|
+
query?: never;
|
|
36328
|
+
url: '/ChatThreads/{id}/replace';
|
|
36329
|
+
};
|
|
36330
|
+
|
|
36331
|
+
export type ChatThreadReplaceByIdPostChatThreadsIdReplaceResponses = {
|
|
36332
|
+
/**
|
|
36333
|
+
* Request was successful
|
|
36334
|
+
*/
|
|
36335
|
+
200: ChatThread;
|
|
36336
|
+
};
|
|
36337
|
+
|
|
36338
|
+
export type ChatThreadReplaceByIdPostChatThreadsIdReplaceResponse =
|
|
36339
|
+
ChatThreadReplaceByIdPostChatThreadsIdReplaceResponses[keyof ChatThreadReplaceByIdPostChatThreadsIdReplaceResponses];
|
|
36340
|
+
|
|
36341
|
+
export type ChatThreadFindOneData = {
|
|
36342
|
+
body?: never;
|
|
36343
|
+
path?: never;
|
|
36344
|
+
query?: {
|
|
36345
|
+
/**
|
|
36346
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
36347
|
+
*/
|
|
36348
|
+
filter?: string;
|
|
36349
|
+
};
|
|
36350
|
+
url: '/ChatThreads/findOne';
|
|
36351
|
+
};
|
|
36352
|
+
|
|
36353
|
+
export type ChatThreadFindOneResponses = {
|
|
36354
|
+
/**
|
|
36355
|
+
* Request was successful
|
|
36356
|
+
*/
|
|
36357
|
+
200: ChatThread;
|
|
36358
|
+
};
|
|
36359
|
+
|
|
36360
|
+
export type ChatThreadFindOneResponse =
|
|
36361
|
+
ChatThreadFindOneResponses[keyof ChatThreadFindOneResponses];
|
|
36362
|
+
|
|
36363
|
+
export type ChatThreadUpdateAllData = {
|
|
36364
|
+
/**
|
|
36365
|
+
* An object of model property name/value pairs
|
|
36366
|
+
*/
|
|
36367
|
+
body?: ChatThread;
|
|
36368
|
+
path?: never;
|
|
36369
|
+
query?: {
|
|
36370
|
+
/**
|
|
36371
|
+
* Criteria to match model instances
|
|
36372
|
+
*/
|
|
36373
|
+
where?: string;
|
|
36374
|
+
};
|
|
36375
|
+
url: '/ChatThreads/update';
|
|
36376
|
+
};
|
|
36377
|
+
|
|
36378
|
+
export type ChatThreadUpdateAllResponses = {
|
|
36379
|
+
/**
|
|
36380
|
+
* Information related to the outcome of the operation
|
|
36381
|
+
*/
|
|
36382
|
+
200: {
|
|
36383
|
+
/**
|
|
36384
|
+
* The number of instances updated
|
|
36385
|
+
*/
|
|
36386
|
+
count?: number;
|
|
36387
|
+
};
|
|
36388
|
+
};
|
|
36389
|
+
|
|
36390
|
+
export type ChatThreadUpdateAllResponse =
|
|
36391
|
+
ChatThreadUpdateAllResponses[keyof ChatThreadUpdateAllResponses];
|
|
36392
|
+
|
|
36393
|
+
export type ChatThreadCountData = {
|
|
36394
|
+
body?: never;
|
|
36395
|
+
path?: never;
|
|
36396
|
+
query?: {
|
|
36397
|
+
/**
|
|
36398
|
+
* Criteria to match model instances
|
|
36399
|
+
*/
|
|
36400
|
+
where?: string;
|
|
36401
|
+
};
|
|
36402
|
+
url: '/ChatThreads/count';
|
|
36403
|
+
};
|
|
36404
|
+
|
|
36405
|
+
export type ChatThreadCountResponses = {
|
|
36406
|
+
/**
|
|
36407
|
+
* Request was successful
|
|
36408
|
+
*/
|
|
36409
|
+
200: {
|
|
36410
|
+
count?: number;
|
|
36411
|
+
};
|
|
36412
|
+
};
|
|
36413
|
+
|
|
36414
|
+
export type ChatThreadCountResponse =
|
|
36415
|
+
ChatThreadCountResponses[keyof ChatThreadCountResponses];
|
|
36416
|
+
|
|
36417
|
+
export type ChatThreadGetThreadsData = {
|
|
36418
|
+
body?: never;
|
|
36419
|
+
path?: never;
|
|
36420
|
+
query?: {
|
|
36421
|
+
state?: string;
|
|
36422
|
+
limit?: number;
|
|
36423
|
+
skip?: number;
|
|
36424
|
+
search?: string;
|
|
36425
|
+
};
|
|
36426
|
+
url: '/ChatThreads/getThreads';
|
|
36427
|
+
};
|
|
36428
|
+
|
|
36429
|
+
export type ChatThreadGetThreadsResponses = {
|
|
36430
|
+
/**
|
|
36431
|
+
* Request was successful
|
|
36432
|
+
*/
|
|
36433
|
+
200: Array<XAny>;
|
|
36434
|
+
};
|
|
36435
|
+
|
|
36436
|
+
export type ChatThreadGetThreadsResponse =
|
|
36437
|
+
ChatThreadGetThreadsResponses[keyof ChatThreadGetThreadsResponses];
|
|
36438
|
+
|
|
36439
|
+
export type ChatThreadCreateThreadData = {
|
|
36440
|
+
body: {
|
|
36441
|
+
threadData: string;
|
|
36442
|
+
};
|
|
36443
|
+
path?: never;
|
|
36444
|
+
query?: never;
|
|
36445
|
+
url: '/ChatThreads/createThread';
|
|
36446
|
+
};
|
|
36447
|
+
|
|
36448
|
+
export type ChatThreadCreateThreadResponses = {
|
|
36449
|
+
/**
|
|
36450
|
+
* Request was successful
|
|
36451
|
+
*/
|
|
36452
|
+
200: {
|
|
36453
|
+
[key: string]: unknown;
|
|
36454
|
+
};
|
|
36455
|
+
};
|
|
36456
|
+
|
|
36457
|
+
export type ChatThreadCreateThreadResponse =
|
|
36458
|
+
ChatThreadCreateThreadResponses[keyof ChatThreadCreateThreadResponses];
|
|
36459
|
+
|
|
36460
|
+
export type ChatThreadUpdateThreadData = {
|
|
36461
|
+
body: {
|
|
36462
|
+
threadId: string;
|
|
36463
|
+
updateData: string;
|
|
36464
|
+
};
|
|
36465
|
+
path?: never;
|
|
36466
|
+
query?: never;
|
|
36467
|
+
url: '/ChatThreads/updateThread';
|
|
36468
|
+
};
|
|
36469
|
+
|
|
36470
|
+
export type ChatThreadUpdateThreadResponses = {
|
|
36471
|
+
/**
|
|
36472
|
+
* Request was successful
|
|
36473
|
+
*/
|
|
36474
|
+
200: {
|
|
36475
|
+
[key: string]: unknown;
|
|
36476
|
+
};
|
|
36477
|
+
};
|
|
36478
|
+
|
|
36479
|
+
export type ChatThreadUpdateThreadResponse =
|
|
36480
|
+
ChatThreadUpdateThreadResponses[keyof ChatThreadUpdateThreadResponses];
|
|
36481
|
+
|
|
36482
|
+
export type ChatThreadLoadThreadData = {
|
|
36483
|
+
body?: never;
|
|
36484
|
+
path?: never;
|
|
36485
|
+
query: {
|
|
36486
|
+
threadId: string;
|
|
36487
|
+
};
|
|
36488
|
+
url: '/ChatThreads/loadThread';
|
|
36489
|
+
};
|
|
36490
|
+
|
|
36491
|
+
export type ChatThreadLoadThreadResponses = {
|
|
36492
|
+
/**
|
|
36493
|
+
* Request was successful
|
|
36494
|
+
*/
|
|
36495
|
+
200: {
|
|
36496
|
+
[key: string]: unknown;
|
|
36497
|
+
};
|
|
36498
|
+
};
|
|
36499
|
+
|
|
36500
|
+
export type ChatThreadLoadThreadResponse =
|
|
36501
|
+
ChatThreadLoadThreadResponses[keyof ChatThreadLoadThreadResponses];
|
|
36502
|
+
|
|
36503
|
+
export type CommandPaletteHistoryFindData = {
|
|
36504
|
+
body?: never;
|
|
36505
|
+
path?: never;
|
|
36506
|
+
query?: {
|
|
36507
|
+
/**
|
|
36508
|
+
* Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
36509
|
+
*/
|
|
36510
|
+
filter?: string;
|
|
36511
|
+
};
|
|
36512
|
+
url: '/CommandPaletteHistories';
|
|
36513
|
+
};
|
|
36514
|
+
|
|
36515
|
+
export type CommandPaletteHistoryFindResponses = {
|
|
36516
|
+
/**
|
|
36517
|
+
* Request was successful
|
|
36518
|
+
*/
|
|
36519
|
+
200: Array<CommandPaletteHistory>;
|
|
36520
|
+
};
|
|
36521
|
+
|
|
36522
|
+
export type CommandPaletteHistoryFindResponse =
|
|
36523
|
+
CommandPaletteHistoryFindResponses[keyof CommandPaletteHistoryFindResponses];
|
|
36524
|
+
|
|
36525
|
+
export type CommandPaletteHistoryCreateData = {
|
|
36526
|
+
/**
|
|
36527
|
+
* Model instance data
|
|
36528
|
+
*/
|
|
36529
|
+
body?: CommandPaletteHistory;
|
|
36530
|
+
path?: never;
|
|
36531
|
+
query?: never;
|
|
36532
|
+
url: '/CommandPaletteHistories';
|
|
36533
|
+
};
|
|
36534
|
+
|
|
36535
|
+
export type CommandPaletteHistoryCreateResponses = {
|
|
36536
|
+
/**
|
|
36537
|
+
* Request was successful
|
|
36538
|
+
*/
|
|
36539
|
+
200: CommandPaletteHistory;
|
|
36540
|
+
};
|
|
36541
|
+
|
|
36542
|
+
export type CommandPaletteHistoryCreateResponse =
|
|
36543
|
+
CommandPaletteHistoryCreateResponses[keyof CommandPaletteHistoryCreateResponses];
|
|
36544
|
+
|
|
36545
|
+
export type CommandPaletteHistoryDeleteByIdData = {
|
|
36546
|
+
body?: never;
|
|
36547
|
+
path: {
|
|
36548
|
+
/**
|
|
36549
|
+
* Model id
|
|
36550
|
+
*/
|
|
36551
|
+
id: string;
|
|
36552
|
+
};
|
|
36553
|
+
query?: never;
|
|
36554
|
+
url: '/CommandPaletteHistories/{id}';
|
|
36555
|
+
};
|
|
36556
|
+
|
|
36557
|
+
export type CommandPaletteHistoryDeleteByIdResponses = {
|
|
36558
|
+
/**
|
|
36559
|
+
* Request was successful
|
|
36560
|
+
*/
|
|
36561
|
+
200: {
|
|
36562
|
+
[key: string]: unknown;
|
|
36563
|
+
};
|
|
36564
|
+
};
|
|
36565
|
+
|
|
36566
|
+
export type CommandPaletteHistoryDeleteByIdResponse =
|
|
36567
|
+
CommandPaletteHistoryDeleteByIdResponses[keyof CommandPaletteHistoryDeleteByIdResponses];
|
|
36568
|
+
|
|
36569
|
+
export type CommandPaletteHistoryPrototypePatchAttributesData = {
|
|
36570
|
+
/**
|
|
36571
|
+
* An object of model property name/value pairs
|
|
36572
|
+
*/
|
|
36573
|
+
body?: CommandPaletteHistory;
|
|
36574
|
+
path: {
|
|
36575
|
+
/**
|
|
36576
|
+
* CommandPaletteHistory id
|
|
36577
|
+
*/
|
|
36578
|
+
id: string;
|
|
36579
|
+
};
|
|
36580
|
+
query?: never;
|
|
36581
|
+
url: '/CommandPaletteHistories/{id}';
|
|
36582
|
+
};
|
|
36583
|
+
|
|
36584
|
+
export type CommandPaletteHistoryPrototypePatchAttributesResponses = {
|
|
36585
|
+
/**
|
|
36586
|
+
* Request was successful
|
|
36587
|
+
*/
|
|
36588
|
+
200: CommandPaletteHistory;
|
|
36589
|
+
};
|
|
36590
|
+
|
|
36591
|
+
export type CommandPaletteHistoryPrototypePatchAttributesResponse =
|
|
36592
|
+
CommandPaletteHistoryPrototypePatchAttributesResponses[keyof CommandPaletteHistoryPrototypePatchAttributesResponses];
|
|
36593
|
+
|
|
36594
|
+
export type CommandPaletteHistoryCountData = {
|
|
36595
|
+
body?: never;
|
|
36596
|
+
path?: never;
|
|
36597
|
+
query?: {
|
|
36598
|
+
/**
|
|
36599
|
+
* Criteria to match model instances
|
|
36600
|
+
*/
|
|
36601
|
+
where?: string;
|
|
36602
|
+
};
|
|
36603
|
+
url: '/CommandPaletteHistories/count';
|
|
36604
|
+
};
|
|
36605
|
+
|
|
36606
|
+
export type CommandPaletteHistoryCountResponses = {
|
|
36607
|
+
/**
|
|
36608
|
+
* Request was successful
|
|
36609
|
+
*/
|
|
36610
|
+
200: {
|
|
36611
|
+
count?: number;
|
|
36612
|
+
};
|
|
36613
|
+
};
|
|
36614
|
+
|
|
36615
|
+
export type CommandPaletteHistoryCountResponse =
|
|
36616
|
+
CommandPaletteHistoryCountResponses[keyof CommandPaletteHistoryCountResponses];
|
|
36617
|
+
|
|
34998
36618
|
export type ClientOptions = {
|
|
34999
36619
|
baseUrl: `${string}://${string}/api` | (string & {});
|
|
35000
36620
|
};
|