spitfirepm 23.9600.4 → 23.9600.6
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/README.md +1 -0
- package/dist/SwaggerClients.d.ts +25 -7
- package/dist/SwaggerClients.js +98 -29
- package/dist/SwaggerClients.js.map +1 -1
- package/dist/sfRESTClient.d.ts +1 -0
- package/dist/sfRESTClient.js +15 -1
- package/dist/sfRESTClient.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,7 @@ apiResult.then( (a) => {
|
|
|
25
25
|
### Change Log
|
|
26
26
|
|
|
27
27
|
```
|
|
28
|
+
23.9600.5 - SignalR monkey unload to pagehide
|
|
28
29
|
23.9600.3 - Adds PresetSearch ShowTree
|
|
29
30
|
23.9600.1 - Constructing a view model of 3000 records and many fields improved
|
|
30
31
|
23.9500.12 - DataModels are now interfaces instead of classes (increases ES2022 compatability)
|
package/dist/SwaggerClients.d.ts
CHANGED
|
@@ -135,8 +135,8 @@ export declare class AlertsClient extends APIClientBase {
|
|
|
135
135
|
private processGetUserAlertListWithCallbacks;
|
|
136
136
|
protected processGetUserAlertList(xhr: any): UserAlert[] | null | null;
|
|
137
137
|
/**
|
|
138
|
-
* Creates
|
|
139
|
-
* @param theAlert Model
|
|
138
|
+
* Creates And stores an alert
|
|
139
|
+
* @param theAlert Model With New alert. Specify AlertText, Description. UserKey, DocMasterKey, Project, Source, SourceKey And Info1 are Optional;
|
|
140
140
|
*/
|
|
141
141
|
createAlert(theAlert: UserAlert): Promise<HttpStatusCode>;
|
|
142
142
|
private createAlertWithCallbacks;
|
|
@@ -152,17 +152,17 @@ export declare class AlertsClient extends APIClientBase {
|
|
|
152
152
|
private processGetUserAlertChangeListWithCallbacks;
|
|
153
153
|
protected processGetUserAlertChangeList(xhr: any): DataDifferential | null | null;
|
|
154
154
|
/**
|
|
155
|
-
* Removes a specific alert item
|
|
155
|
+
* Removes a specific alert item For the specified user
|
|
156
156
|
* @param id Alert Key
|
|
157
|
-
* @param forUserKey (optional) User Key (
|
|
157
|
+
* @param forUserKey (optional) User Key (For proxy) Or 00000000-0000-0000-0000-000000000000 For self
|
|
158
158
|
*/
|
|
159
159
|
deleteAlert(id: string | null, forUserKey?: string | undefined): Promise<HttpStatusCode>;
|
|
160
160
|
private deleteAlertWithCallbacks;
|
|
161
161
|
private processDeleteAlertWithCallbacks;
|
|
162
162
|
protected processDeleteAlert(xhr: any): HttpStatusCode | null;
|
|
163
163
|
/**
|
|
164
|
-
* Removes all alert item
|
|
165
|
-
* @param forUserKey (optional) User Key (
|
|
164
|
+
* Removes all alert item For the specified user
|
|
165
|
+
* @param forUserKey (optional) User Key (For proxy) Or 00000000-0000-0000-0000-000000000000 For self
|
|
166
166
|
*/
|
|
167
167
|
deleteAllAlerts(forUserKey?: string | undefined): Promise<HttpStatusCode>;
|
|
168
168
|
private deleteAllAlertsWithCallbacks;
|
|
@@ -2587,6 +2587,17 @@ export declare class SystemClient extends APIClientBase {
|
|
|
2587
2587
|
private getBrandingWithCallbacks;
|
|
2588
2588
|
private processGetBrandingWithCallbacks;
|
|
2589
2589
|
protected processGetBranding(xhr: any): string | null | null;
|
|
2590
|
+
/**
|
|
2591
|
+
* Returns summary branding data
|
|
2592
|
+
*/
|
|
2593
|
+
getSystemBrandingInfo(): Promise<{
|
|
2594
|
+
[key: string]: any;
|
|
2595
|
+
} | null>;
|
|
2596
|
+
private getSystemBrandingInfoWithCallbacks;
|
|
2597
|
+
private processGetSystemBrandingInfoWithCallbacks;
|
|
2598
|
+
protected processGetSystemBrandingInfo(xhr: any): {
|
|
2599
|
+
[key: string]: any;
|
|
2600
|
+
} | null | null;
|
|
2590
2601
|
/**
|
|
2591
2602
|
* Reloads site configuration and settings
|
|
2592
2603
|
*/
|
|
@@ -5307,7 +5318,7 @@ export interface PasswordConfiguredOptions {
|
|
|
5307
5318
|
export interface PDSData extends APIData {
|
|
5308
5319
|
/** ID of data set */
|
|
5309
5320
|
PDSKey?: string | undefined;
|
|
5310
|
-
/** Type of change (put, set) */
|
|
5321
|
+
/** Type of change (put to persist, set for memory only) */
|
|
5311
5322
|
Mode?: string | undefined;
|
|
5312
5323
|
/** key or AK source (eg: AK/tdkeymapkey/TK/@xtsKeyMap.BlockOut/9c337885-0fb1-460c-960a-3bacc1d8e0)
|
|
5313
5324
|
*/
|
|
@@ -6791,6 +6802,11 @@ export interface RouteActionInfo2 {
|
|
|
6791
6802
|
}
|
|
6792
6803
|
export interface RouteActionInfo extends RouteActionInfo2 {
|
|
6793
6804
|
}
|
|
6805
|
+
/** Concurrent-seat category. Web (named/concurrent browser + REST) seats and Spitfire Mobile Field seats are tracked as fully separate pools. */
|
|
6806
|
+
export declare enum SeatType {
|
|
6807
|
+
Web = 0,
|
|
6808
|
+
Mobile = 1
|
|
6809
|
+
}
|
|
6794
6810
|
/** Key value pair */
|
|
6795
6811
|
export interface SelectCodeNode {
|
|
6796
6812
|
/** the key */
|
|
@@ -7424,6 +7440,8 @@ export interface UserSessionInfo {
|
|
|
7424
7440
|
AgentSummary?: string | undefined;
|
|
7425
7441
|
/** Key of user */
|
|
7426
7442
|
UserKey?: string;
|
|
7443
|
+
/** Seat category consumed by this session (Web or Mobile Field) */
|
|
7444
|
+
SeatType?: SeatType;
|
|
7427
7445
|
}
|
|
7428
7446
|
export interface Version {
|
|
7429
7447
|
Major?: number;
|
package/dist/SwaggerClients.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// </auto-generated>
|
|
6
6
|
//----------------------
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ApiException = exports.PermissionFlags = exports.HttpStatusCode = exports.XTSClient = exports.UICFGClient = exports.SystemClient = exports.SessionClient = exports.ProjectsClient = exports.ProjectTeamClient = exports.ProjectKPIClient = exports.ProjectDocListClient = exports.ProjectToolsClient = exports.ExcelToolsClient = exports.DocumentToolsClient = exports.ContactClient = exports.ConfigClient = exports.CatalogClient = exports.LookupClient = exports.AlertsClient = exports.ActionItemsClient = exports.AccountClient = void 0;
|
|
8
|
+
exports.ApiException = exports.SeatType = exports.PermissionFlags = exports.HttpStatusCode = exports.XTSClient = exports.UICFGClient = exports.SystemClient = exports.SessionClient = exports.ProjectsClient = exports.ProjectTeamClient = exports.ProjectKPIClient = exports.ProjectDocListClient = exports.ProjectToolsClient = exports.ExcelToolsClient = exports.DocumentToolsClient = exports.ContactClient = exports.ConfigClient = exports.CatalogClient = exports.LookupClient = exports.AlertsClient = exports.ActionItemsClient = exports.AccountClient = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
// ReSharper disable InconsistentNaming
|
|
11
11
|
const APIClientBase_1 = require("./APIClientBase");
|
|
@@ -16,7 +16,7 @@ class AccountClient extends APIClientBase_1.APIClientBase {
|
|
|
16
16
|
jsonParseReviver = undefined;
|
|
17
17
|
constructor(baseUrl) {
|
|
18
18
|
super();
|
|
19
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
19
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Authenticates a session and generates a FormsAuthenticationTicket and cookie
|
|
@@ -593,7 +593,7 @@ class ActionItemsClient extends APIClientBase_1.APIClientBase {
|
|
|
593
593
|
jsonParseReviver = undefined;
|
|
594
594
|
constructor(baseUrl) {
|
|
595
595
|
super();
|
|
596
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
596
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
599
|
* Returns action items for specified User
|
|
@@ -1042,7 +1042,7 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1042
1042
|
jsonParseReviver = undefined;
|
|
1043
1043
|
constructor(baseUrl) {
|
|
1044
1044
|
super();
|
|
1045
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
1045
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
1046
1046
|
}
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Returns alert items for a specified user
|
|
@@ -1125,8 +1125,8 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1125
1125
|
return null;
|
|
1126
1126
|
}
|
|
1127
1127
|
/**
|
|
1128
|
-
* Creates
|
|
1129
|
-
* @param theAlert Model
|
|
1128
|
+
* Creates And stores an alert
|
|
1129
|
+
* @param theAlert Model With New alert. Specify AlertText, Description. UserKey, DocMasterKey, Project, Source, SourceKey And Info1 are Optional;
|
|
1130
1130
|
*/
|
|
1131
1131
|
createAlert(theAlert) {
|
|
1132
1132
|
return new Promise((resolve, reject) => {
|
|
@@ -1177,7 +1177,7 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1177
1177
|
const _responseText = xhr.responseText;
|
|
1178
1178
|
let result400 = null;
|
|
1179
1179
|
result400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1180
|
-
return throwException("
|
|
1180
|
+
return throwException("Not allowed now", status, _responseText, _headers, result400);
|
|
1181
1181
|
}
|
|
1182
1182
|
else if (status === 401) {
|
|
1183
1183
|
const _responseText = xhr.responseText;
|
|
@@ -1281,9 +1281,9 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1281
1281
|
return null;
|
|
1282
1282
|
}
|
|
1283
1283
|
/**
|
|
1284
|
-
* Removes a specific alert item
|
|
1284
|
+
* Removes a specific alert item For the specified user
|
|
1285
1285
|
* @param id Alert Key
|
|
1286
|
-
* @param forUserKey (optional) User Key (
|
|
1286
|
+
* @param forUserKey (optional) User Key (For proxy) Or 00000000-0000-0000-0000-000000000000 For self
|
|
1287
1287
|
*/
|
|
1288
1288
|
deleteAlert(id, forUserKey) {
|
|
1289
1289
|
return new Promise((resolve, reject) => {
|
|
@@ -1338,7 +1338,7 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1338
1338
|
const _responseText = xhr.responseText;
|
|
1339
1339
|
let result400 = null;
|
|
1340
1340
|
result400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1341
|
-
return throwException("
|
|
1341
|
+
return throwException("Not allowed now", status, _responseText, _headers, result400);
|
|
1342
1342
|
}
|
|
1343
1343
|
else if (status === 401) {
|
|
1344
1344
|
const _responseText = xhr.responseText;
|
|
@@ -1350,7 +1350,7 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1350
1350
|
const _responseText = xhr.responseText;
|
|
1351
1351
|
let result404 = null;
|
|
1352
1352
|
result404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1353
|
-
return throwException("key
|
|
1353
|
+
return throwException("key Not found", status, _responseText, _headers, result404);
|
|
1354
1354
|
}
|
|
1355
1355
|
else if (status === 406) {
|
|
1356
1356
|
const _responseText = xhr.responseText;
|
|
@@ -1371,8 +1371,8 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1371
1371
|
return null;
|
|
1372
1372
|
}
|
|
1373
1373
|
/**
|
|
1374
|
-
* Removes all alert item
|
|
1375
|
-
* @param forUserKey (optional) User Key (
|
|
1374
|
+
* Removes all alert item For the specified user
|
|
1375
|
+
* @param forUserKey (optional) User Key (For proxy) Or 00000000-0000-0000-0000-000000000000 For self
|
|
1376
1376
|
*/
|
|
1377
1377
|
deleteAllAlerts(forUserKey) {
|
|
1378
1378
|
return new Promise((resolve, reject) => {
|
|
@@ -1424,7 +1424,7 @@ class AlertsClient extends APIClientBase_1.APIClientBase {
|
|
|
1424
1424
|
const _responseText = xhr.responseText;
|
|
1425
1425
|
let result400 = null;
|
|
1426
1426
|
result400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1427
|
-
return throwException("
|
|
1427
|
+
return throwException("Not allowed now", status, _responseText, _headers, result400);
|
|
1428
1428
|
}
|
|
1429
1429
|
else if (status === 401) {
|
|
1430
1430
|
const _responseText = xhr.responseText;
|
|
@@ -1452,7 +1452,7 @@ class LookupClient extends APIClientBase_1.APIClientBase {
|
|
|
1452
1452
|
jsonParseReviver = undefined;
|
|
1453
1453
|
constructor(baseUrl) {
|
|
1454
1454
|
super();
|
|
1455
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
1455
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
1456
1456
|
}
|
|
1457
1457
|
/**
|
|
1458
1458
|
* Returns list of alerts that are recorded about the specified source key
|
|
@@ -2864,7 +2864,7 @@ class CatalogClient extends APIClientBase_1.APIClientBase {
|
|
|
2864
2864
|
jsonParseReviver = undefined;
|
|
2865
2865
|
constructor(baseUrl) {
|
|
2866
2866
|
super();
|
|
2867
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
2867
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
2868
2868
|
}
|
|
2869
2869
|
/**
|
|
2870
2870
|
* Releases a resource, usually a PDF of a report or export
|
|
@@ -6247,7 +6247,7 @@ class ConfigClient extends APIClientBase_1.APIClientBase {
|
|
|
6247
6247
|
jsonParseReviver = undefined;
|
|
6248
6248
|
constructor(baseUrl) {
|
|
6249
6249
|
super();
|
|
6250
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
6250
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
6251
6251
|
}
|
|
6252
6252
|
/**
|
|
6253
6253
|
* Updates a flex key by name and segment number. Returns the new definition.
|
|
@@ -6711,7 +6711,7 @@ class ContactClient extends APIClientBase_1.APIClientBase {
|
|
|
6711
6711
|
jsonParseReviver = undefined;
|
|
6712
6712
|
constructor(baseUrl) {
|
|
6713
6713
|
super();
|
|
6714
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
6714
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
6715
6715
|
}
|
|
6716
6716
|
/**
|
|
6717
6717
|
* Adds the contact
|
|
@@ -7022,7 +7022,7 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
|
|
|
7022
7022
|
jsonParseReviver = undefined;
|
|
7023
7023
|
constructor(baseUrl) {
|
|
7024
7024
|
super();
|
|
7025
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
7025
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
7026
7026
|
}
|
|
7027
7027
|
/**
|
|
7028
7028
|
* Returns the header Of the specified document, including a Document Session Key
|
|
@@ -15747,7 +15747,7 @@ class ExcelToolsClient extends APIClientBase_1.APIClientBase {
|
|
|
15747
15747
|
jsonParseReviver = undefined;
|
|
15748
15748
|
constructor(baseUrl) {
|
|
15749
15749
|
super();
|
|
15750
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
15750
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
15751
15751
|
}
|
|
15752
15752
|
/**
|
|
15753
15753
|
* Returns a financial snapshot
|
|
@@ -16538,7 +16538,7 @@ class ProjectToolsClient extends APIClientBase_1.APIClientBase {
|
|
|
16538
16538
|
jsonParseReviver = undefined;
|
|
16539
16539
|
constructor(baseUrl) {
|
|
16540
16540
|
super();
|
|
16541
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
16541
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
16542
16542
|
}
|
|
16543
16543
|
/**
|
|
16544
16544
|
* Removes/clears a Project Budget and optionally the entire Project (if uncommitted)
|
|
@@ -18739,7 +18739,7 @@ class ProjectDocListClient extends APIClientBase_1.APIClientBase {
|
|
|
18739
18739
|
jsonParseReviver = undefined;
|
|
18740
18740
|
constructor(baseUrl) {
|
|
18741
18741
|
super();
|
|
18742
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
18742
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
18743
18743
|
}
|
|
18744
18744
|
/**
|
|
18745
18745
|
* Returns full list of documents on a project that match the requested document type
|
|
@@ -19063,7 +19063,7 @@ class ProjectKPIClient extends APIClientBase_1.APIClientBase {
|
|
|
19063
19063
|
jsonParseReviver = undefined;
|
|
19064
19064
|
constructor(baseUrl) {
|
|
19065
19065
|
super();
|
|
19066
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
19066
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
19067
19067
|
}
|
|
19068
19068
|
/**
|
|
19069
19069
|
* Returns list of KPI facts for the specified project
|
|
@@ -19146,7 +19146,7 @@ class ProjectTeamClient extends APIClientBase_1.APIClientBase {
|
|
|
19146
19146
|
jsonParseReviver = undefined;
|
|
19147
19147
|
constructor(baseUrl) {
|
|
19148
19148
|
super();
|
|
19149
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
19149
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
19150
19150
|
}
|
|
19151
19151
|
/**
|
|
19152
19152
|
* Returns members of the specified project team
|
|
@@ -19676,7 +19676,7 @@ class ProjectsClient extends APIClientBase_1.APIClientBase {
|
|
|
19676
19676
|
jsonParseReviver = undefined;
|
|
19677
19677
|
constructor(baseUrl) {
|
|
19678
19678
|
super();
|
|
19679
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
19679
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
19680
19680
|
}
|
|
19681
19681
|
/**
|
|
19682
19682
|
* Returns projects that match User and hidden filter
|
|
@@ -20202,7 +20202,7 @@ class SessionClient extends APIClientBase_1.APIClientBase {
|
|
|
20202
20202
|
jsonParseReviver = undefined;
|
|
20203
20203
|
constructor(baseUrl) {
|
|
20204
20204
|
super();
|
|
20205
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
20205
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
20206
20206
|
}
|
|
20207
20207
|
/**
|
|
20208
20208
|
* Removes a specific users session; see also api/system/users/idle to auto-prune
|
|
@@ -22324,7 +22324,7 @@ class SystemClient extends APIClientBase_1.APIClientBase {
|
|
|
22324
22324
|
jsonParseReviver = undefined;
|
|
22325
22325
|
constructor(baseUrl) {
|
|
22326
22326
|
super();
|
|
22327
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
22327
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
22328
22328
|
}
|
|
22329
22329
|
/**
|
|
22330
22330
|
* Returns site branding label
|
|
@@ -22377,6 +22377,69 @@ class SystemClient extends APIClientBase_1.APIClientBase {
|
|
|
22377
22377
|
}
|
|
22378
22378
|
return null;
|
|
22379
22379
|
}
|
|
22380
|
+
/**
|
|
22381
|
+
* Returns summary branding data
|
|
22382
|
+
*/
|
|
22383
|
+
getSystemBrandingInfo() {
|
|
22384
|
+
return new Promise((resolve, reject) => {
|
|
22385
|
+
this.getSystemBrandingInfoWithCallbacks((result) => resolve(result), (exception, _reason) => reject(exception));
|
|
22386
|
+
});
|
|
22387
|
+
}
|
|
22388
|
+
getSystemBrandingInfoWithCallbacks(onSuccess, onFail) {
|
|
22389
|
+
let url_ = this.baseUrl + "/api/system/branding/summary";
|
|
22390
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22391
|
+
jQuery.ajax({
|
|
22392
|
+
url: url_,
|
|
22393
|
+
beforeSend: this.beforeSend,
|
|
22394
|
+
type: "get",
|
|
22395
|
+
dataType: "text",
|
|
22396
|
+
headers: {
|
|
22397
|
+
"Accept": "application/json"
|
|
22398
|
+
}
|
|
22399
|
+
}).done((_data, _textStatus, xhr) => {
|
|
22400
|
+
this.processGetSystemBrandingInfoWithCallbacks(url_, xhr, onSuccess, onFail);
|
|
22401
|
+
}).fail((xhr) => {
|
|
22402
|
+
this.processGetSystemBrandingInfoWithCallbacks(url_, xhr, onSuccess, onFail);
|
|
22403
|
+
});
|
|
22404
|
+
}
|
|
22405
|
+
processGetSystemBrandingInfoWithCallbacks(_url, xhr, onSuccess, onFail) {
|
|
22406
|
+
try {
|
|
22407
|
+
let result = this.transformResult(_url, xhr, (xhr) => this.processGetSystemBrandingInfo(xhr));
|
|
22408
|
+
if (onSuccess !== undefined)
|
|
22409
|
+
onSuccess(result);
|
|
22410
|
+
}
|
|
22411
|
+
catch (e) {
|
|
22412
|
+
if (onFail !== undefined)
|
|
22413
|
+
onFail(e, "http_service_exception");
|
|
22414
|
+
}
|
|
22415
|
+
}
|
|
22416
|
+
processGetSystemBrandingInfo(xhr) {
|
|
22417
|
+
const status = xhr.status;
|
|
22418
|
+
let _headers = {};
|
|
22419
|
+
if (status === 200) {
|
|
22420
|
+
const _responseText = xhr.responseText;
|
|
22421
|
+
let result200 = null;
|
|
22422
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22423
|
+
return result200;
|
|
22424
|
+
}
|
|
22425
|
+
else if (status === 401) {
|
|
22426
|
+
const _responseText = xhr.responseText;
|
|
22427
|
+
let result401 = null;
|
|
22428
|
+
result401 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22429
|
+
return throwException("Not currently authenticated", status, _responseText, _headers, result401);
|
|
22430
|
+
}
|
|
22431
|
+
else if (status === 500) {
|
|
22432
|
+
const _responseText = xhr.responseText;
|
|
22433
|
+
let result500 = null;
|
|
22434
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22435
|
+
return throwException("Internal failure; see response", status, _responseText, _headers, result500);
|
|
22436
|
+
}
|
|
22437
|
+
else if (status !== 200 && status !== 204) {
|
|
22438
|
+
const _responseText = xhr.responseText;
|
|
22439
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22440
|
+
}
|
|
22441
|
+
return null;
|
|
22442
|
+
}
|
|
22380
22443
|
/**
|
|
22381
22444
|
* Reloads site configuration and settings
|
|
22382
22445
|
*/
|
|
@@ -23875,7 +23938,7 @@ class UICFGClient extends APIClientBase_1.APIClientBase {
|
|
|
23875
23938
|
jsonParseReviver = undefined;
|
|
23876
23939
|
constructor(baseUrl) {
|
|
23877
23940
|
super();
|
|
23878
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
23941
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
23879
23942
|
}
|
|
23880
23943
|
/**
|
|
23881
23944
|
* Returns Live UI CFG data for this user for the requested part
|
|
@@ -24344,7 +24407,7 @@ class XTSClient extends APIClientBase_1.APIClientBase {
|
|
|
24344
24407
|
jsonParseReviver = undefined;
|
|
24345
24408
|
constructor(baseUrl) {
|
|
24346
24409
|
super();
|
|
24347
|
-
this.baseUrl = baseUrl ?? this.getBaseUrl("
|
|
24410
|
+
this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
|
|
24348
24411
|
}
|
|
24349
24412
|
/**
|
|
24350
24413
|
* Requests the document be requeued for cloud sync
|
|
@@ -25964,6 +26027,12 @@ var PermissionFlags;
|
|
|
25964
26027
|
PermissionFlags[PermissionFlags["Delete"] = 8] = "Delete";
|
|
25965
26028
|
PermissionFlags[PermissionFlags["Blanket"] = 16] = "Blanket";
|
|
25966
26029
|
})(PermissionFlags = exports.PermissionFlags || (exports.PermissionFlags = {}));
|
|
26030
|
+
/** Concurrent-seat category. Web (named/concurrent browser + REST) seats and Spitfire Mobile Field seats are tracked as fully separate pools. */
|
|
26031
|
+
var SeatType;
|
|
26032
|
+
(function (SeatType) {
|
|
26033
|
+
SeatType[SeatType["Web"] = 0] = "Web";
|
|
26034
|
+
SeatType[SeatType["Mobile"] = 1] = "Mobile";
|
|
26035
|
+
})(SeatType = exports.SeatType || (exports.SeatType = {}));
|
|
25967
26036
|
class ApiException extends Error {
|
|
25968
26037
|
message;
|
|
25969
26038
|
status;
|