spitfirepm 23.9700.9 → 23.9700.11

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.11 - ContactClient Delete Photo
29
+ 23.9700.10 - QueryCatalog and improve Attachment and Contact endpoints
28
30
  23.9700.9 - QueryCatalog and improve Attachment and Contact endpoints
29
31
  23.9700.8 - Improved ContactClient endpoints
30
32
  23.9700.7 - GetDV method clarifications
@@ -1633,6 +1633,58 @@ export declare class ContactClient extends APIClientBase {
1633
1633
  private updateContactWithCallbacks;
1634
1634
  private processUpdateContactWithCallbacks;
1635
1635
  protected processUpdateContact(xhr: any): any | null;
1636
+ /**
1637
+ * Deletes a contact that nothing references
1638
+ * @param id Contact Key
1639
+ */
1640
+ deleteContact(id: string): Promise<any>;
1641
+ private deleteContactWithCallbacks;
1642
+ private processDeleteContactWithCallbacks;
1643
+ protected processDeleteContact(xhr: any): any | null;
1644
+ /**
1645
+ * Turns inbound peer-system sync for a mapped contact on or off
1646
+ * @param id Contact Key
1647
+ * @param enabled True to accept inbound updates
1648
+ */
1649
+ setInboundSync(id: string, enabled: boolean): Promise<boolean>;
1650
+ private setInboundSyncWithCallbacks;
1651
+ private processSetInboundSyncWithCallbacks;
1652
+ protected processSetInboundSync(xhr: any): boolean | null;
1653
+ /**
1654
+ * Merges one contact into another and removes the merged (junk) contact
1655
+ * @param id Contact to keep
1656
+ * @param junkId Contact to merge away
1657
+ */
1658
+ mergeContacts(id: string, junkId: string): Promise<any>;
1659
+ private mergeContactsWithCallbacks;
1660
+ private processMergeContactsWithCallbacks;
1661
+ protected processMergeContacts(xhr: any): any | null;
1662
+ /**
1663
+ * Moves a contact (junkId) into the company of contact id
1664
+ * @param id Contact whose company is the destination
1665
+ * @param junkId Contact to move
1666
+ */
1667
+ moveContact(id: string, junkId: string): Promise<any>;
1668
+ private moveContactWithCallbacks;
1669
+ private processMoveContactWithCallbacks;
1670
+ protected processMoveContact(xhr: any): any | null;
1671
+ /**
1672
+ * Discards a contact's uploaded photo
1673
+ * @param id Contact Key
1674
+ */
1675
+ discardContactPhoto(id: string): Promise<any>;
1676
+ private discardContactPhotoWithCallbacks;
1677
+ private processDiscardContactPhotoWithCallbacks;
1678
+ protected processDiscardContactPhoto(xhr: any): any | null;
1679
+ /**
1680
+ * Copies role memberships the target does not already have from another contact
1681
+ * @param id Contact receiving the memberships
1682
+ * @param sourceId Contact to copy them from
1683
+ */
1684
+ copyRoles(id: string, sourceId: string): Promise<ContactRolesCopyResult | null>;
1685
+ private copyRolesWithCallbacks;
1686
+ private processCopyRolesWithCallbacks;
1687
+ protected processCopyRoles(xhr: any): ContactRolesCopyResult | null | null;
1636
1688
  /**
1637
1689
  * Returns contacts that match filters
1638
1690
  * @param usingFilters Search Criteria
@@ -2391,6 +2443,15 @@ export declare class DocumentToolsClient extends APIClientBase {
2391
2443
  private createNextRevisionWithCallbacks;
2392
2444
  private processCreateNextRevisionWithCallbacks;
2393
2445
  protected processCreateNextRevision(xhr: any): boolean | null;
2446
+ /**
2447
+ * Inserts a single route on the specified document
2448
+ * @param id Document Key
2449
+ * @param newRoute Route (DocRoute object)
2450
+ */
2451
+ addDocRoute(id: string, newRoute: DocRoute): Promise<DocRoute | null>;
2452
+ private addDocRouteWithCallbacks;
2453
+ private processAddDocRouteWithCallbacks;
2454
+ protected processAddDocRoute(xhr: any): DocRoute | null | null;
2394
2455
  /**
2395
2456
  * Returns the route on the specified document
2396
2457
  * @param id Document Key
@@ -2419,15 +2480,6 @@ export declare class DocumentToolsClient extends APIClientBase {
2419
2480
  private updateDocRouteWithCallbacks;
2420
2481
  private processUpdateDocRouteWithCallbacks;
2421
2482
  protected processUpdateDocRoute(xhr: any): string | null;
2422
- /**
2423
- * Inserts a single route on the specified document
2424
- * @param id Document Key
2425
- * @param newRoute Route (DocRoute object)
2426
- */
2427
- addDocRoute(id: string, newRoute: DocRoute): Promise<DocRoute | null>;
2428
- private addDocRouteWithCallbacks;
2429
- private processAddDocRouteWithCallbacks;
2430
- protected processAddDocRoute(xhr: any): DocRoute | null | null;
2431
2483
  /**
2432
2484
  * Updates the specified field on the specified route on the specified document. See also PatchDoc
2433
2485
  * @param id Document Key
@@ -4714,6 +4766,11 @@ ThruDate 2026-02-04 includes a login at 2026-02-04 16:20. See FromDate
4714
4766
  for what a login-date bound does to the result set. */
4715
4767
  ThruDate?: Date | undefined;
4716
4768
  }
4769
+ export interface ContactRolesCopyResult {
4770
+ Found?: number;
4771
+ Copied?: number;
4772
+ SourceName?: string | undefined;
4773
+ }
4717
4774
  /** Summary information about a contact */
4718
4775
  export interface ContactSummary {
4719
4776
  /** Link to user/contact */
@@ -9148,6 +9205,10 @@ export interface UserActionItem {
9148
9205
  PrimaryContact?: string;
9149
9206
  /** Display value for Primary Contact */
9150
9207
  PrimaryContact_dv?: string | undefined;
9208
+ /** Key for the project's Source Contact (customer), from its Project Setup document; null when the document has no project */
9209
+ ProjectSourceContact?: string | undefined;
9210
+ /** Display value for Project Source Contact */
9211
+ ProjectSourceContact_dv?: string | undefined;
9151
9212
  /** Priority (1=high) */
9152
9213
  Priority?: number;
9153
9214
  /** Date this route was viewed */