spitfirepm 23.9600.6 → 23.9600.7

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.
@@ -1196,24 +1196,6 @@ export declare class DocumentToolsClient extends APIClientBase {
1196
1196
  private addDocCommentsWithCallbacks;
1197
1197
  private processAddDocCommentsWithCallbacks;
1198
1198
  protected processAddDocComments(xhr: any): Comment | null | null;
1199
- /**
1200
- * Returns the compliance for the specified document
1201
- * @param id Document Key
1202
- */
1203
- getDocCompliance(id: string): Promise<DocCompliance[] | null>;
1204
- private getDocComplianceWithCallbacks;
1205
- private processGetDocComplianceWithCallbacks;
1206
- protected processGetDocCompliance(xhr: any): DocCompliance[] | null | null;
1207
- /**
1208
- * Deletes the compliance on the specified document
1209
- * @param id Document Key
1210
- * @param complianceKeys Compliance Item Keys
1211
- * @return Specified addresses not found
1212
- */
1213
- deleteDocCompliance(id: string, complianceKeys: string[]): Promise<string>;
1214
- private deleteDocComplianceWithCallbacks;
1215
- private processDeleteDocComplianceWithCallbacks;
1216
- protected processDeleteDocCompliance(xhr: any): string | null;
1217
1199
  /**
1218
1200
  * Updates the compliance on the specified document
1219
1201
  * @param id Document Key
@@ -1233,6 +1215,24 @@ export declare class DocumentToolsClient extends APIClientBase {
1233
1215
  private addDocComplianceWithCallbacks;
1234
1216
  private processAddDocComplianceWithCallbacks;
1235
1217
  protected processAddDocCompliance(xhr: any): DocCompliance | null | null;
1218
+ /**
1219
+ * Returns the compliance for the specified document
1220
+ * @param id Document Key
1221
+ */
1222
+ getDocCompliance(id: string): Promise<DocCompliance[] | null>;
1223
+ private getDocComplianceWithCallbacks;
1224
+ private processGetDocComplianceWithCallbacks;
1225
+ protected processGetDocCompliance(xhr: any): DocCompliance[] | null | null;
1226
+ /**
1227
+ * Deletes the compliance on the specified document
1228
+ * @param id Document Key
1229
+ * @param complianceKeys Compliance Item Keys
1230
+ * @return Specified addresses not found
1231
+ */
1232
+ deleteDocCompliance(id: string, complianceKeys: string[]): Promise<string>;
1233
+ private deleteDocComplianceWithCallbacks;
1234
+ private processDeleteDocComplianceWithCallbacks;
1235
+ protected processDeleteDocCompliance(xhr: any): string | null;
1236
1236
  /**
1237
1237
  * Returns the Project Details based on the specified document. Update using PatchDocData
1238
1238
  * @param id Document Key
@@ -5549,7 +5549,9 @@ export interface ProjectAbstract {
5549
5549
  actionsMenu?: MenuAction[] | undefined;
5550
5550
  /** list of registers (includes link to project setup) */
5551
5551
  registerMenu?: MenuAction[] | undefined;
5552
- /** When true, Always Show Links */
5552
+ /** SOP Links by tool part */
5553
+ SOPMenu?: MenuAction[] | undefined;
5554
+ /** When true, Always Show Links Part and ignore ProjectConfig | ExcludedPart. Set from (undocumented) rule ProjectTypeConfig | LinksPart */
5553
5555
  AlwaysShowLinks?: boolean;
5554
5556
  /** When true, disable Note */
5555
5557
  ExcludeNoteUI?: boolean;
@@ -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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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
@@ -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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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
@@ -10149,37 +10149,42 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10149
10149
  return null;
10150
10150
  }
10151
10151
  /**
10152
- * Returns the compliance for the specified document
10152
+ * Updates the compliance on the specified document
10153
10153
  * @param id Document Key
10154
+ * @param updatedData Replacement compliance data
10155
+ * @return Specified compliance not found
10154
10156
  */
10155
- getDocCompliance(id) {
10157
+ updateDocCompliance(id, updatedData) {
10156
10158
  return new Promise((resolve, reject) => {
10157
- this.getDocComplianceWithCallbacks(id, (result) => resolve(result), (exception, _reason) => reject(exception));
10159
+ this.updateDocComplianceWithCallbacks(id, updatedData, (result) => resolve(result), (exception, _reason) => reject(exception));
10158
10160
  });
10159
10161
  }
10160
- getDocComplianceWithCallbacks(id, onSuccess, onFail) {
10162
+ updateDocComplianceWithCallbacks(id, updatedData, onSuccess, onFail) {
10161
10163
  let url_ = this.baseUrl + "/api/document/{id}/compliance";
10162
10164
  if (id === undefined || id === null)
10163
10165
  throw new globalThis.Error("The parameter 'id' must be defined.");
10164
10166
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
10165
10167
  url_ = url_.replace(/[?&]$/, "");
10168
+ const content_ = JSON.stringify(updatedData);
10166
10169
  jQuery.ajax({
10167
10170
  url: url_,
10168
10171
  beforeSend: this.beforeSend,
10169
- type: "get",
10172
+ type: "put",
10173
+ data: content_,
10170
10174
  dataType: "text",
10171
10175
  headers: {
10176
+ "Content-Type": "application/json",
10172
10177
  "Accept": "application/json"
10173
10178
  }
10174
10179
  }).done((_data, _textStatus, xhr) => {
10175
- this.processGetDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10180
+ this.processUpdateDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10176
10181
  }).fail((xhr) => {
10177
- this.processGetDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10182
+ this.processUpdateDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10178
10183
  });
10179
10184
  }
10180
- processGetDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10185
+ processUpdateDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10181
10186
  try {
10182
- let result = this.transformResult(_url, xhr, (xhr) => this.processGetDocCompliance(xhr));
10187
+ let result = this.transformResult(_url, xhr, (xhr) => this.processUpdateDocCompliance(xhr));
10183
10188
  if (onSuccess !== undefined)
10184
10189
  onSuccess(result);
10185
10190
  }
@@ -10188,14 +10193,38 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10188
10193
  onFail(e, "http_service_exception");
10189
10194
  }
10190
10195
  }
10191
- processGetDocCompliance(xhr) {
10196
+ processUpdateDocCompliance(xhr) {
10192
10197
  const status = xhr.status;
10193
10198
  let _headers = {};
10194
- if (status === 200) {
10199
+ if (status === 204) {
10195
10200
  const _responseText = xhr.responseText;
10196
- let result200 = null;
10197
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10198
- return result200;
10201
+ let result204 = null;
10202
+ result204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10203
+ return result204;
10204
+ }
10205
+ else if (status === 403) {
10206
+ const _responseText = xhr.responseText;
10207
+ let result403 = null;
10208
+ result403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10209
+ return throwException("Not currently authenticated or lacks authorization", status, _responseText, _headers, result403);
10210
+ }
10211
+ else if (status === 404) {
10212
+ const _responseText = xhr.responseText;
10213
+ let result404 = null;
10214
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10215
+ return throwException("Document not found, or not accessible", status, _responseText, _headers, result404);
10216
+ }
10217
+ else if (status === 409) {
10218
+ const _responseText = xhr.responseText;
10219
+ let result409 = null;
10220
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10221
+ return throwException("Could not persist the update", status, _responseText, _headers, result409);
10222
+ }
10223
+ else if (status === 500) {
10224
+ const _responseText = xhr.responseText;
10225
+ let result500 = null;
10226
+ result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10227
+ return throwException("Unexpected failure", status, _responseText, _headers, result500);
10199
10228
  }
10200
10229
  else if (status !== 200 && status !== 204) {
10201
10230
  const _responseText = xhr.responseText;
@@ -10204,27 +10233,26 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10204
10233
  return null;
10205
10234
  }
10206
10235
  /**
10207
- * Deletes the compliance on the specified document
10236
+ * Inserts compliance on the specified document
10208
10237
  * @param id Document Key
10209
- * @param complianceKeys Compliance Item Keys
10210
- * @return Specified addresses not found
10238
+ * @param newData New compliance data
10211
10239
  */
10212
- deleteDocCompliance(id, complianceKeys) {
10240
+ addDocCompliance(id, newData) {
10213
10241
  return new Promise((resolve, reject) => {
10214
- this.deleteDocComplianceWithCallbacks(id, complianceKeys, (result) => resolve(result), (exception, _reason) => reject(exception));
10242
+ this.addDocComplianceWithCallbacks(id, newData, (result) => resolve(result), (exception, _reason) => reject(exception));
10215
10243
  });
10216
10244
  }
10217
- deleteDocComplianceWithCallbacks(id, complianceKeys, onSuccess, onFail) {
10245
+ addDocComplianceWithCallbacks(id, newData, onSuccess, onFail) {
10218
10246
  let url_ = this.baseUrl + "/api/document/{id}/compliance";
10219
10247
  if (id === undefined || id === null)
10220
10248
  throw new globalThis.Error("The parameter 'id' must be defined.");
10221
10249
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
10222
10250
  url_ = url_.replace(/[?&]$/, "");
10223
- const content_ = JSON.stringify(complianceKeys);
10251
+ const content_ = JSON.stringify(newData);
10224
10252
  jQuery.ajax({
10225
10253
  url: url_,
10226
10254
  beforeSend: this.beforeSend,
10227
- type: "delete",
10255
+ type: "post",
10228
10256
  data: content_,
10229
10257
  dataType: "text",
10230
10258
  headers: {
@@ -10232,14 +10260,14 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10232
10260
  "Accept": "application/json"
10233
10261
  }
10234
10262
  }).done((_data, _textStatus, xhr) => {
10235
- this.processDeleteDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10263
+ this.processAddDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10236
10264
  }).fail((xhr) => {
10237
- this.processDeleteDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10265
+ this.processAddDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10238
10266
  });
10239
10267
  }
10240
- processDeleteDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10268
+ processAddDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10241
10269
  try {
10242
- let result = this.transformResult(_url, xhr, (xhr) => this.processDeleteDocCompliance(xhr));
10270
+ let result = this.transformResult(_url, xhr, (xhr) => this.processAddDocCompliance(xhr));
10243
10271
  if (onSuccess !== undefined)
10244
10272
  onSuccess(result);
10245
10273
  }
@@ -10248,14 +10276,14 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10248
10276
  onFail(e, "http_service_exception");
10249
10277
  }
10250
10278
  }
10251
- processDeleteDocCompliance(xhr) {
10279
+ processAddDocCompliance(xhr) {
10252
10280
  const status = xhr.status;
10253
10281
  let _headers = {};
10254
- if (status === 204) {
10282
+ if (status === 200) {
10255
10283
  const _responseText = xhr.responseText;
10256
- let result204 = null;
10257
- result204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10258
- return result204;
10284
+ let result200 = null;
10285
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10286
+ return result200;
10259
10287
  }
10260
10288
  else if (status === 403) {
10261
10289
  const _responseText = xhr.responseText;
@@ -10279,7 +10307,7 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10279
10307
  const _responseText = xhr.responseText;
10280
10308
  let result409 = null;
10281
10309
  result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10282
- return throwException("Could not persist the delete", status, _responseText, _headers, result409);
10310
+ return throwException("Could not persist the insert", status, _responseText, _headers, result409);
10283
10311
  }
10284
10312
  else if (status === 500) {
10285
10313
  const _responseText = xhr.responseText;
@@ -10294,42 +10322,37 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10294
10322
  return null;
10295
10323
  }
10296
10324
  /**
10297
- * Updates the compliance on the specified document
10325
+ * Returns the compliance for the specified document
10298
10326
  * @param id Document Key
10299
- * @param updatedData Replacement compliance data
10300
- * @return Specified compliance not found
10301
10327
  */
10302
- updateDocCompliance(id, updatedData) {
10328
+ getDocCompliance(id) {
10303
10329
  return new Promise((resolve, reject) => {
10304
- this.updateDocComplianceWithCallbacks(id, updatedData, (result) => resolve(result), (exception, _reason) => reject(exception));
10330
+ this.getDocComplianceWithCallbacks(id, (result) => resolve(result), (exception, _reason) => reject(exception));
10305
10331
  });
10306
10332
  }
10307
- updateDocComplianceWithCallbacks(id, updatedData, onSuccess, onFail) {
10333
+ getDocComplianceWithCallbacks(id, onSuccess, onFail) {
10308
10334
  let url_ = this.baseUrl + "/api/document/{id}/compliance";
10309
10335
  if (id === undefined || id === null)
10310
10336
  throw new globalThis.Error("The parameter 'id' must be defined.");
10311
10337
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
10312
10338
  url_ = url_.replace(/[?&]$/, "");
10313
- const content_ = JSON.stringify(updatedData);
10314
10339
  jQuery.ajax({
10315
10340
  url: url_,
10316
10341
  beforeSend: this.beforeSend,
10317
- type: "put",
10318
- data: content_,
10342
+ type: "get",
10319
10343
  dataType: "text",
10320
10344
  headers: {
10321
- "Content-Type": "application/json",
10322
10345
  "Accept": "application/json"
10323
10346
  }
10324
10347
  }).done((_data, _textStatus, xhr) => {
10325
- this.processUpdateDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10348
+ this.processGetDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10326
10349
  }).fail((xhr) => {
10327
- this.processUpdateDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10350
+ this.processGetDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10328
10351
  });
10329
10352
  }
10330
- processUpdateDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10353
+ processGetDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10331
10354
  try {
10332
- let result = this.transformResult(_url, xhr, (xhr) => this.processUpdateDocCompliance(xhr));
10355
+ let result = this.transformResult(_url, xhr, (xhr) => this.processGetDocCompliance(xhr));
10333
10356
  if (onSuccess !== undefined)
10334
10357
  onSuccess(result);
10335
10358
  }
@@ -10338,38 +10361,14 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10338
10361
  onFail(e, "http_service_exception");
10339
10362
  }
10340
10363
  }
10341
- processUpdateDocCompliance(xhr) {
10364
+ processGetDocCompliance(xhr) {
10342
10365
  const status = xhr.status;
10343
10366
  let _headers = {};
10344
- if (status === 204) {
10345
- const _responseText = xhr.responseText;
10346
- let result204 = null;
10347
- result204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10348
- return result204;
10349
- }
10350
- else if (status === 403) {
10351
- const _responseText = xhr.responseText;
10352
- let result403 = null;
10353
- result403 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10354
- return throwException("Not currently authenticated or lacks authorization", status, _responseText, _headers, result403);
10355
- }
10356
- else if (status === 404) {
10357
- const _responseText = xhr.responseText;
10358
- let result404 = null;
10359
- result404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10360
- return throwException("Document not found, or not accessible", status, _responseText, _headers, result404);
10361
- }
10362
- else if (status === 409) {
10363
- const _responseText = xhr.responseText;
10364
- let result409 = null;
10365
- result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10366
- return throwException("Could not persist the update", status, _responseText, _headers, result409);
10367
- }
10368
- else if (status === 500) {
10367
+ if (status === 200) {
10369
10368
  const _responseText = xhr.responseText;
10370
- let result500 = null;
10371
- result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10372
- return throwException("Unexpected failure", status, _responseText, _headers, result500);
10369
+ let result200 = null;
10370
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10371
+ return result200;
10373
10372
  }
10374
10373
  else if (status !== 200 && status !== 204) {
10375
10374
  const _responseText = xhr.responseText;
@@ -10378,26 +10377,27 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10378
10377
  return null;
10379
10378
  }
10380
10379
  /**
10381
- * Inserts compliance on the specified document
10380
+ * Deletes the compliance on the specified document
10382
10381
  * @param id Document Key
10383
- * @param newData New compliance data
10382
+ * @param complianceKeys Compliance Item Keys
10383
+ * @return Specified addresses not found
10384
10384
  */
10385
- addDocCompliance(id, newData) {
10385
+ deleteDocCompliance(id, complianceKeys) {
10386
10386
  return new Promise((resolve, reject) => {
10387
- this.addDocComplianceWithCallbacks(id, newData, (result) => resolve(result), (exception, _reason) => reject(exception));
10387
+ this.deleteDocComplianceWithCallbacks(id, complianceKeys, (result) => resolve(result), (exception, _reason) => reject(exception));
10388
10388
  });
10389
10389
  }
10390
- addDocComplianceWithCallbacks(id, newData, onSuccess, onFail) {
10390
+ deleteDocComplianceWithCallbacks(id, complianceKeys, onSuccess, onFail) {
10391
10391
  let url_ = this.baseUrl + "/api/document/{id}/compliance";
10392
10392
  if (id === undefined || id === null)
10393
10393
  throw new globalThis.Error("The parameter 'id' must be defined.");
10394
10394
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
10395
10395
  url_ = url_.replace(/[?&]$/, "");
10396
- const content_ = JSON.stringify(newData);
10396
+ const content_ = JSON.stringify(complianceKeys);
10397
10397
  jQuery.ajax({
10398
10398
  url: url_,
10399
10399
  beforeSend: this.beforeSend,
10400
- type: "post",
10400
+ type: "delete",
10401
10401
  data: content_,
10402
10402
  dataType: "text",
10403
10403
  headers: {
@@ -10405,14 +10405,14 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10405
10405
  "Accept": "application/json"
10406
10406
  }
10407
10407
  }).done((_data, _textStatus, xhr) => {
10408
- this.processAddDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10408
+ this.processDeleteDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10409
10409
  }).fail((xhr) => {
10410
- this.processAddDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10410
+ this.processDeleteDocComplianceWithCallbacks(url_, xhr, onSuccess, onFail);
10411
10411
  });
10412
10412
  }
10413
- processAddDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10413
+ processDeleteDocComplianceWithCallbacks(_url, xhr, onSuccess, onFail) {
10414
10414
  try {
10415
- let result = this.transformResult(_url, xhr, (xhr) => this.processAddDocCompliance(xhr));
10415
+ let result = this.transformResult(_url, xhr, (xhr) => this.processDeleteDocCompliance(xhr));
10416
10416
  if (onSuccess !== undefined)
10417
10417
  onSuccess(result);
10418
10418
  }
@@ -10421,14 +10421,14 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10421
10421
  onFail(e, "http_service_exception");
10422
10422
  }
10423
10423
  }
10424
- processAddDocCompliance(xhr) {
10424
+ processDeleteDocCompliance(xhr) {
10425
10425
  const status = xhr.status;
10426
10426
  let _headers = {};
10427
- if (status === 200) {
10427
+ if (status === 204) {
10428
10428
  const _responseText = xhr.responseText;
10429
- let result200 = null;
10430
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10431
- return result200;
10429
+ let result204 = null;
10430
+ result204 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10431
+ return result204;
10432
10432
  }
10433
10433
  else if (status === 403) {
10434
10434
  const _responseText = xhr.responseText;
@@ -10452,7 +10452,7 @@ class DocumentToolsClient extends APIClientBase_1.APIClientBase {
10452
10452
  const _responseText = xhr.responseText;
10453
10453
  let result409 = null;
10454
10454
  result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
10455
- return throwException("Could not persist the insert", status, _responseText, _headers, result409);
10455
+ return throwException("Could not persist the delete", status, _responseText, _headers, result409);
10456
10456
  }
10457
10457
  else if (status === 500) {
10458
10458
  const _responseText = xhr.responseText;
@@ -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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
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("https://dev.spitfirepm.com:8443/sfPMS");
22327
+ this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/SFPMS");
22328
22328
  }
22329
22329
  /**
22330
22330
  * Returns site branding label
@@ -23938,7 +23938,7 @@ class UICFGClient extends APIClientBase_1.APIClientBase {
23938
23938
  jsonParseReviver = undefined;
23939
23939
  constructor(baseUrl) {
23940
23940
  super();
23941
- this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
23941
+ this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/SFPMS");
23942
23942
  }
23943
23943
  /**
23944
23944
  * Returns Live UI CFG data for this user for the requested part
@@ -24407,7 +24407,7 @@ class XTSClient extends APIClientBase_1.APIClientBase {
24407
24407
  jsonParseReviver = undefined;
24408
24408
  constructor(baseUrl) {
24409
24409
  super();
24410
- this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/sfPMS");
24410
+ this.baseUrl = baseUrl ?? this.getBaseUrl("https://dev.spitfirepm.com:8443/SFPMS");
24411
24411
  }
24412
24412
  /**
24413
24413
  * Requests the document be requeued for cloud sync