spitfirepm 23.9700.6 → 23.9700.8

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,6 +25,8 @@ apiResult.then( (a) => {
25
25
  ### Change Log
26
26
 
27
27
  ```
28
+ 23.9700.8 - Improved ContactClient endpoints
29
+ 23.9700.7 - GetDV method clarifications
28
30
  23.9700.6 - Audit History Model enhanced
29
31
  23.9700.5 - Lookup Editor Endpoints
30
32
  23.9700.2 - ProcessDocumentType DataModel enriched
@@ -1310,7 +1310,7 @@ export declare class ConfigClient extends APIClientBase {
1310
1310
  private processTestLookupResultWithCallbacks;
1311
1311
  protected processTestLookupResult(xhr: any): LookupTestResult | null | null;
1312
1312
  /**
1313
- * Returns the Lookups (pickers)
1313
+ * Returns the Lookups (pickers). Users without LookupEditor permission only see 'Agent' lookups.
1314
1314
  */
1315
1315
  getLookups(): Promise<Lookup[] | null>;
1316
1316
  private getLookupsWithCallbacks;
@@ -1342,7 +1342,7 @@ export declare class ConfigClient extends APIClientBase {
1342
1342
  private processCopyLookupWithCallbacks;
1343
1343
  protected processCopyLookup(xhr: any): Lookup | null | null;
1344
1344
  /**
1345
- * Returns the fields of one Lookup
1345
+ * Returns the fields of one Lookup. Non LookupEditor users only see PredicateMode=I.
1346
1346
  * @param lookupKey Lookup key
1347
1347
  */
1348
1348
  getLookupFields(lookupKey: string): Promise<LookupField[] | null>;
@@ -1685,8 +1685,8 @@ export declare class DocumentToolsClient extends APIClientBase {
1685
1685
  * @param id Document Key (use empty for auto assign)
1686
1686
  * @param typeKey Type
1687
1687
  * @param forProject (optional) Project
1688
- * @param forParent (optional) Parent Doc Key (NextDocFlow rules apply; See https://support.spitfirepm.com/kba-01517/)
1689
- * @param forBatch (optional) Batch/Subcontract
1688
+ * @param forParent (optional) Parent Doc Key (NextDocFlow rules apply; See https://support.spitfirepm.com/kba-01517/). When the parent is a commitment, its subcontract number is used and its lines are brought in
1689
+ * @param forBatch (optional) Batch/Subcontract. Naming a commitment here brings in its lines, same as forParent
1690
1690
  * @param forSourceContact (optional) Source Contact
1691
1691
  */
1692
1692
  createDocument(id: string, typeKey: string, forProject?: string | null | undefined, forParent?: string | null | undefined, forBatch?: string | null | undefined, forSourceContact?: string | null | undefined): Promise<string>;
@@ -1751,6 +1751,15 @@ export declare class DocumentToolsClient extends APIClientBase {
1751
1751
  private patchDocAddressWithCallbacks;
1752
1752
  private processPatchDocAddressWithCallbacks;
1753
1753
  protected processPatchDocAddress(xhr: any): string | null;
1754
+ /**
1755
+ * Inserts an attachment on the specified document, optionally from a template
1756
+ * @param id Document Key
1757
+ * @param newData New attachment data. To copy a template use DocKey:TemplateKey
1758
+ */
1759
+ addDocAttachments(id: string, newData: DocAttachment[]): Promise<DocAttachment | null>;
1760
+ private addDocAttachmentsWithCallbacks;
1761
+ private processAddDocAttachmentsWithCallbacks;
1762
+ protected processAddDocAttachments(xhr: any): DocAttachment | null | null;
1754
1763
  /**
1755
1764
  * Returns the attachments for the specified document
1756
1765
  * @param id Document Key
@@ -1780,15 +1789,6 @@ export declare class DocumentToolsClient extends APIClientBase {
1780
1789
  private updateDocAttachmentsWithCallbacks;
1781
1790
  private processUpdateDocAttachmentsWithCallbacks;
1782
1791
  protected processUpdateDocAttachments(xhr: any): string | null;
1783
- /**
1784
- * Inserts an attachment on the specified document, optionally from a template
1785
- * @param id Document Key
1786
- * @param newData New attachment data. To copy a template use DocKey:TemplateKey
1787
- */
1788
- addDocAttachments(id: string, newData: DocAttachment[]): Promise<DocAttachment | null>;
1789
- private addDocAttachmentsWithCallbacks;
1790
- private processAddDocAttachmentsWithCallbacks;
1791
- protected processAddDocAttachments(xhr: any): DocAttachment | null | null;
1792
1792
  /**
1793
1793
  * Creates a PDF from the Assembled Attachments specified on this document; returns a task key
1794
1794
  * @param id Document Key
@@ -1948,7 +1948,7 @@ export declare class DocumentToolsClient extends APIClientBase {
1948
1948
  private processGetChangedItemsWithCallbacks;
1949
1949
  protected processGetChangedItems(xhr: any): DataDifferential | null;
1950
1950
  /**
1951
- * Returns the comments for the specified document
1951
+ * Returns the comments for the specified document, most recent first.
1952
1952
  * @param id Document Key
1953
1953
  */
1954
1954
  getDocComments(id: string): Promise<Comment[] | null>;
@@ -1976,7 +1976,7 @@ export declare class DocumentToolsClient extends APIClientBase {
1976
1976
  private processUpdateDocCommentsWithCallbacks;
1977
1977
  protected processUpdateDocComments(xhr: any): string | null;
1978
1978
  /**
1979
- * Inserts Comments on the specified document
1979
+ * Inserts Comments on the specified document. Typically TopicKey=DocRevKey because comments are associated with the Doc Revision. You can specify the empty GUID for TopicKey and/or FromUser, the correct defaults will be supplied (the current Revision and the current user). Other values for TopicKey must resolve to this document (for example, a prior revision comment). Any value for created more than 5 days ago stamps the comment with the server time. FromUser is set automatically.
1980
1980
  * @param id Document Key
1981
1981
  * @param newData New comment data
1982
1982
  */
@@ -2376,15 +2376,6 @@ export declare class DocumentToolsClient extends APIClientBase {
2376
2376
  private createNextRevisionWithCallbacks;
2377
2377
  private processCreateNextRevisionWithCallbacks;
2378
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;
2388
2379
  /**
2389
2380
  * Returns the route on the specified document
2390
2381
  * @param id Document Key
@@ -2413,6 +2404,15 @@ export declare class DocumentToolsClient extends APIClientBase {
2413
2404
  private updateDocRouteWithCallbacks;
2414
2405
  private processUpdateDocRouteWithCallbacks;
2415
2406
  protected processUpdateDocRoute(xhr: any): string | null;
2407
+ /**
2408
+ * Inserts a single route on the specified document
2409
+ * @param id Document Key
2410
+ * @param newRoute Route (DocRoute object)
2411
+ */
2412
+ addDocRoute(id: string, newRoute: DocRoute): Promise<DocRoute | null>;
2413
+ private addDocRouteWithCallbacks;
2414
+ private processAddDocRouteWithCallbacks;
2415
+ protected processAddDocRoute(xhr: any): DocRoute | null | null;
2416
2416
  /**
2417
2417
  * Updates the specified field on the specified route on the specified document. See also PatchDoc
2418
2418
  * @param id Document Key
@@ -4710,6 +4710,8 @@ export interface ContactSummary {
4710
4710
  Company?: string | undefined;
4711
4711
  /** For Vendors, indicate related CSI */
4712
4712
  CSIList?: string | undefined;
4713
+ /** Readonly. Specifies when this user last logged in. Kept for inactive and former users. */
4714
+ LastLogin?: Date;
4713
4715
  /** When false, this row is ignored and ineffective */
4714
4716
  Active?: boolean;
4715
4717
  /** When true, there are no references to this contact */