spitfirepm 23.9700.4 → 23.9700.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 CHANGED
@@ -25,7 +25,8 @@ apiResult.then( (a) => {
25
25
  ### Change Log
26
26
 
27
27
  ```
28
- 23.9700.4 - Lookup Editor Endpoints
28
+ 23.9700.6 - Audit History Model enhanced
29
+ 23.9700.5 - Lookup Editor Endpoints
29
30
  23.9700.2 - ProcessDocumentType DataModel enriched
30
31
  23.9700.1 - GatherDependsOnValues() improved
31
32
  23.9600.18 - Project Program
@@ -240,7 +240,7 @@ export declare class LookupClient extends APIClientBase {
240
240
  /**
241
241
  * Returns list of prior values for this field
242
242
  * @param dataMember Name of table
243
- * @param dataField Name of field
243
+ * @param dataField Name of field; use zero for all fields
244
244
  * @param rowKey PK identifier of specific record
245
245
  * @param sinceWhen (optional) Optional date since when data should be returned
246
246
  */
@@ -560,6 +560,14 @@ export declare class CatalogClient extends APIClientBase {
560
560
  private deleteFileWithCallbacks;
561
561
  private processDeleteFileWithCallbacks;
562
562
  protected processDeleteFile(xhr: any): any | null;
563
+ /**
564
+ * Returns a site helper script, stylesheet or image held in the catalog
565
+ * @param assetPath Path below /zPublicHTML, eg js/XTSDocHelper.js
566
+ */
567
+ getPublicAsset(assetPath: string | null): Promise<any>;
568
+ private getPublicAssetWithCallbacks;
569
+ private processGetPublicAssetWithCallbacks;
570
+ protected processGetPublicAsset(xhr: any): any | null;
563
571
  /**
564
572
  * Returns a background task ID and initiates a task to build a PDF of all documents enumerated in the exportRequest
565
573
  * @param exportRequest Specifics for export requested
@@ -1245,7 +1253,7 @@ export declare class ConfigClient extends APIClientBase {
1245
1253
  private processGetToolsMenuWithCallbacks;
1246
1254
  protected processGetToolsMenu(xhr: any): MenuAction[] | null | null;
1247
1255
  /**
1248
- * Returns the Lookup Results (DVs)
1256
+ * Returns the Lookup Results (DVs), each with its parameter slots
1249
1257
  */
1250
1258
  getLookupResults(): Promise<LookupResult[] | null>;
1251
1259
  private getLookupResultsWithCallbacks;
@@ -1259,6 +1267,23 @@ export declare class ConfigClient extends APIClientBase {
1259
1267
  private patchLookupResultWithCallbacks;
1260
1268
  private processPatchLookupResultWithCallbacks;
1261
1269
  protected processPatchLookupResult(xhr: any): LookupResult | null | null;
1270
+ /**
1271
+ * Deactivates one Lookup Result and its parameter slots
1272
+ * @param lookupResultKey Lookup Result key
1273
+ */
1274
+ deleteLookupResult(lookupResultKey: string): Promise<number>;
1275
+ private deleteLookupResultWithCallbacks;
1276
+ private processDeleteLookupResultWithCallbacks;
1277
+ protected processDeleteLookupResult(xhr: any): number | null;
1278
+ /**
1279
+ * Copies one Lookup Result and all of its parameter slots
1280
+ * @param lookupResultKey Lookup Result to copy
1281
+ * @param newName (optional) Name for the copy. Omit to have one generated
1282
+ */
1283
+ copyLookupResult(lookupResultKey: string, newName?: string | null | undefined): Promise<LookupResult | null>;
1284
+ private copyLookupResultWithCallbacks;
1285
+ private processCopyLookupResultWithCallbacks;
1286
+ protected processCopyLookupResult(xhr: any): LookupResult | null | null;
1262
1287
  /**
1263
1288
  * Returns the parameter slots of one Lookup Result
1264
1289
  * @param lookupResultKey Lookup Result key
@@ -1299,6 +1324,23 @@ export declare class ConfigClient extends APIClientBase {
1299
1324
  private patchLookupWithCallbacks;
1300
1325
  private processPatchLookupWithCallbacks;
1301
1326
  protected processPatchLookup(xhr: any): Lookup | null | null;
1327
+ /**
1328
+ * Deactivates one Lookup and its fields
1329
+ * @param lookupKey Lookup key
1330
+ */
1331
+ deleteLookup(lookupKey: string): Promise<number>;
1332
+ private deleteLookupWithCallbacks;
1333
+ private processDeleteLookupWithCallbacks;
1334
+ protected processDeleteLookup(xhr: any): number | null;
1335
+ /**
1336
+ * Copies one Lookup and all of its field rows
1337
+ * @param lookupKey Lookup to copy
1338
+ * @param newName (optional) Name for the copy. Omit to have one generated
1339
+ */
1340
+ copyLookup(lookupKey: string, newName?: string | null | undefined): Promise<Lookup | null>;
1341
+ private copyLookupWithCallbacks;
1342
+ private processCopyLookupWithCallbacks;
1343
+ protected processCopyLookup(xhr: any): Lookup | null | null;
1302
1344
  /**
1303
1345
  * Returns the fields of one Lookup
1304
1346
  * @param lookupKey Lookup key
@@ -1316,6 +1358,14 @@ export declare class ConfigClient extends APIClientBase {
1316
1358
  private putLookupFieldsWithCallbacks;
1317
1359
  private processPutLookupFieldsWithCallbacks;
1318
1360
  protected processPutLookupFields(xhr: any): LookupField[] | null | null;
1361
+ /**
1362
+ * Runs a Lookup's Data Query against supplied values, returning the row count AND the SQL
1363
+ * @param valueFor Type-ahead text, plus any depends-on values
1364
+ */
1365
+ testLookup(valueFor: DVRequest): Promise<LookupTestResult | null>;
1366
+ private testLookupWithCallbacks;
1367
+ private processTestLookupWithCallbacks;
1368
+ protected processTestLookup(xhr: any): LookupTestResult | null | null;
1319
1369
  /**
1320
1370
  * Returns the Manage dashboard tool menu
1321
1371
  */
@@ -1631,11 +1681,11 @@ export declare class DocumentToolsClient extends APIClientBase {
1631
1681
  private processGetDocHeaderRevisionWithCallbacks;
1632
1682
  protected processGetDocHeaderRevision(xhr: any): DocMasterDetail | null | null;
1633
1683
  /**
1634
- * Creates a New document
1684
+ * Creates a New document. ,
1635
1685
  * @param id Document Key (use empty for auto assign)
1636
1686
  * @param typeKey Type
1637
1687
  * @param forProject (optional) Project
1638
- * @param forParent (optional) Parent Doc Key
1688
+ * @param forParent (optional) Parent Doc Key (NextDocFlow rules apply; See https://support.spitfirepm.com/kba-01517/)
1639
1689
  * @param forBatch (optional) Batch/Subcontract
1640
1690
  * @param forSourceContact (optional) Source Contact
1641
1691
  */
@@ -2326,6 +2376,15 @@ export declare class DocumentToolsClient extends APIClientBase {
2326
2376
  private createNextRevisionWithCallbacks;
2327
2377
  private processCreateNextRevisionWithCallbacks;
2328
2378
  protected processCreateNextRevision(xhr: any): boolean | null;
2379
+ /**
2380
+ * Inserts a single route on the specified document
2381
+ * @param id Document Key
2382
+ * @param newRoute Route (DocRoute object)
2383
+ */
2384
+ addDocRoute(id: string, newRoute: DocRoute): Promise<DocRoute | null>;
2385
+ private addDocRouteWithCallbacks;
2386
+ private processAddDocRouteWithCallbacks;
2387
+ protected processAddDocRoute(xhr: any): DocRoute | null | null;
2329
2388
  /**
2330
2389
  * Returns the route on the specified document
2331
2390
  * @param id Document Key
@@ -2354,15 +2413,6 @@ export declare class DocumentToolsClient extends APIClientBase {
2354
2413
  private updateDocRouteWithCallbacks;
2355
2414
  private processUpdateDocRouteWithCallbacks;
2356
2415
  protected processUpdateDocRoute(xhr: any): string | null;
2357
- /**
2358
- * Inserts a single route on the specified document
2359
- * @param id Document Key
2360
- * @param newRoute Route (DocRoute object)
2361
- */
2362
- addDocRoute(id: string, newRoute: DocRoute): Promise<DocRoute | null>;
2363
- private addDocRouteWithCallbacks;
2364
- private processAddDocRouteWithCallbacks;
2365
- protected processAddDocRoute(xhr: any): DocRoute | null | null;
2366
2416
  /**
2367
2417
  * Updates the specified field on the specified route on the specified document. See also PatchDoc
2368
2418
  * @param id Document Key
@@ -2530,7 +2580,7 @@ export declare class DocumentToolsClient extends APIClientBase {
2530
2580
  private processDeleteDocItemByKeyWithCallbacks;
2531
2581
  protected processDeleteDocItemByKey(xhr: any): string | null;
2532
2582
  /**
2533
- * Copies the specified document; returns a list of GUIDs for the created documents
2583
+ * Copies the specified document, applying DocCopyConfig rules; returns a list of GUIDs for the created documents
2534
2584
  * @param id Document Key
2535
2585
  * @param destinationProject (optional) optional - target project; if Not specified, same project
2536
2586
  * @param withItems (optional) optional - should items be copied
@@ -3346,7 +3396,7 @@ export declare class SystemClient extends APIClientBase {
3346
3396
  [key: string]: any;
3347
3397
  } | null | null;
3348
3398
  /**
3349
- * Reloads site configuration and settings
3399
+ * Reloads site configuration and settings on all peers in a farm
3350
3400
  */
3351
3401
  reloadSiteConfiguration(): Promise<string | null>;
3352
3402
  private reloadSiteConfigurationWithCallbacks;
@@ -3640,25 +3690,21 @@ export declare class XTSClient extends APIClientBase {
3640
3690
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
3641
3691
  constructor(baseUrl?: string);
3642
3692
  /**
3643
- * Requests the document be requeued for cloud sync
3693
+ * Requests the document's cloud folder be requeued for an inbound scan
3644
3694
  * @param fileKey (optional)
3645
- * @return Request enqueued
3695
+ * @return Scan queued - XTSCloudRequeue reported Updated
3646
3696
  */
3647
3697
  cloudSyncDocPUT(id: string, fileKey?: string | null | undefined): Promise<string>;
3648
3698
  private cloudSyncDocPUTWithCallbacks;
3649
3699
  private processCloudSyncDocPUTWithCallbacks;
3650
3700
  protected processCloudSyncDocPUT(xhr: any): string | null;
3651
3701
  /**
3652
- * Requests information about the document related to cloud storage
3702
+ * Returns cloud storage information for a document's published folder
3653
3703
  */
3654
- cloudSyncDocGET(id: string): Promise<{
3655
- [key: string]: any;
3656
- } | null>;
3704
+ cloudSyncDocGET(id: string): Promise<CloudFolderInfo | null>;
3657
3705
  private cloudSyncDocGETWithCallbacks;
3658
3706
  private processCloudSyncDocGETWithCallbacks;
3659
- protected processCloudSyncDocGET(xhr: any): {
3660
- [key: string]: any;
3661
- } | null | null;
3707
+ protected processCloudSyncDocGET(xhr: any): CloudFolderInfo | null | null;
3662
3708
  /**
3663
3709
  * Requests all compliance items that have changed since the last key map update
3664
3710
  */
@@ -4171,6 +4217,14 @@ export interface CloudChange {
4171
4217
  removed?: boolean;
4172
4218
  WhenModified?: Date;
4173
4219
  }
4220
+ export interface CloudFolderInfo {
4221
+ KMK?: string;
4222
+ path?: string | undefined;
4223
+ id?: string | undefined;
4224
+ scanned?: string | undefined;
4225
+ url?: string | undefined;
4226
+ error?: string | undefined;
4227
+ }
4174
4228
  /** A single cloud-storage definition. Mirrors the CloudStore table in LVData.xsd; consumed by the System Admin Dashboard Cloud Storage tool. The Have*Secret flags report whether a secret is on file without exposing it. */
4175
4229
  export interface CloudStore {
4176
4230
  /** Row key (xsfCldStore) */
@@ -6095,11 +6149,17 @@ export interface FieldAudit {
6095
6149
  /** when the change was persisted */
6096
6150
  ChangeWhen?: Date;
6097
6151
  /** string representation of the prior field value */
6098
- PriorValue?: any | undefined;
6152
+ PriorValue?: string | undefined;
6099
6153
  /** string representation of the new field value */
6100
6154
  NewValue?: string | undefined;
6101
6155
  /** user that made the change */
6102
6156
  ByUser?: string | undefined;
6157
+ /** The column that was changed in table.field format */
6158
+ ColName?: string | undefined;
6159
+ /** When true, this entry was inferred by a gap */
6160
+ IsInferred?: boolean;
6161
+ /** When true, this value is a guid */
6162
+ IsGuid?: boolean;
6103
6163
  /** eTag */
6104
6164
  ETag?: string | undefined;
6105
6165
  }