spitfirepm 23.9600.11 → 23.9600.13

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,9 @@ apiResult.then( (a) => {
25
25
  ### Change Log
26
26
 
27
27
  ```
28
- 23.9600.11 - Adds Admin Tool menu
28
+ 23.9600.13 - ARR cleanup
29
+ 23.9600.12 - ARR endpoints
30
+ 23.9600.11 - Adds Admin and Manage Tool Data Models and Endpoints
29
31
  23.9600.10 - Adds csi-maintenance
30
32
  23.9600.9 - Adds BuildWCCInfoTableHTML
31
33
  23.9600.8 - Project SOP links and Send Log Endpoint
@@ -26,6 +26,14 @@ export declare class AccountClient extends APIClientBase {
26
26
  private getAccessAllowsWithCallbacks;
27
27
  private processGetAccessAllowsWithCallbacks;
28
28
  protected processGetAccessAllows(xhr: any): PermissionFlags | null;
29
+ /**
30
+ * Mint a short-lived download-ticket cookie
31
+ * @return Download ticket cookie set
32
+ */
33
+ postDownloadSession(): Promise<string>;
34
+ private postDownloadSessionWithCallbacks;
35
+ private processPostDownloadSessionWithCallbacks;
36
+ protected processPostDownloadSession(xhr: any): string | null;
29
37
  /**
30
38
  * Digest an identity from an Google token
31
39
  * @param subId google nonvolatile id
@@ -370,6 +378,36 @@ export declare class LookupClient extends APIClientBase {
370
378
  private processGetDisplayValueCollectionWithCallbacks;
371
379
  protected processGetDisplayValueCollection(xhr: any): Suggestion[] | null | null;
372
380
  }
381
+ export declare class ARRClient extends APIClientBase {
382
+ baseUrl: string;
383
+ beforeSend: any;
384
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
385
+ constructor(baseUrl?: string);
386
+ /**
387
+ * Build the routed-content download package
388
+ * @param data download request {RouteID}
389
+ */
390
+ getContent(data: ArrResponseData): Promise<string | null>;
391
+ private getContentWithCallbacks;
392
+ private processGetContentWithCallbacks;
393
+ protected processGetContent(xhr: any): string | null | null;
394
+ /**
395
+ * Open a route-response link
396
+ * @param request open request {StepKey, RouteID}
397
+ */
398
+ openRoute(request: ArrOpenRequest): Promise<ArrOpenResult | null>;
399
+ private openRouteWithCallbacks;
400
+ private processOpenRouteWithCallbacks;
401
+ protected processOpenRoute(xhr: any): ArrOpenResult | null | null;
402
+ /**
403
+ * Record a route response
404
+ * @param data response data
405
+ */
406
+ recordResponse(data: ArrResponseData): Promise<ArrResponseResult | null>;
407
+ private recordResponseWithCallbacks;
408
+ private processRecordResponseWithCallbacks;
409
+ protected processRecordResponse(xhr: any): ArrResponseResult | null | null;
410
+ }
373
411
  export declare class CatalogClient extends APIClientBase {
374
412
  baseUrl: string;
375
413
  beforeSend: any;
@@ -3351,6 +3389,17 @@ export declare class SystemClient extends APIClientBase {
3351
3389
  private getPublicResourceWithCallbacks;
3352
3390
  private processGetPublicResourceWithCallbacks;
3353
3391
  protected processGetPublicResource(xhr: any): string | null | null;
3392
+ /**
3393
+ * Returns the reCAPTCHA Enterprise site key
3394
+ */
3395
+ getRecaptchaConfig(): Promise<{
3396
+ [key: string]: string;
3397
+ } | null>;
3398
+ private getRecaptchaConfigWithCallbacks;
3399
+ private processGetRecaptchaConfigWithCallbacks;
3400
+ protected processGetRecaptchaConfig(xhr: any): {
3401
+ [key: string]: string;
3402
+ } | null | null;
3354
3403
  /**
3355
3404
  * Returns statistical data
3356
3405
  * @param withDetails (optional)
@@ -3732,6 +3781,90 @@ export interface APIData {
3732
3781
  /** when true, data has been uri encoded (encodeURIComponent) */
3733
3782
  IsURIEncoded?: boolean;
3734
3783
  }
3784
+ /** Route Response Wizard (ARR / case 36631) data-transfer objects, shared between the sfPMS web app (ARRController) and the OpenAPI/Swagger client. Moved here from ARRController.vb so they live with the rest of the DataSupportModels. */
3785
+ export interface ArrOpenRequest {
3786
+ /** RouteStepKey from the link. */
3787
+ StepKey?: string;
3788
+ /** RouteID from the link. */
3789
+ RouteID?: string;
3790
+ /** reCAPTCHA Enterprise token from the client, assessed before the route is resolved. */
3791
+ RecaptchaToken?: string | undefined;
3792
+ }
3793
+ /** Everything the Webix arr view needs to render, plus the (optional) ARR session token. */
3794
+ export interface ArrOpenResult {
3795
+ /** RouteStepKey echoed back. */
3796
+ StepKey?: string;
3797
+ /** RouteID echoed back. */
3798
+ RouteID?: string;
3799
+ /** Document the route belongs to. */
3800
+ DocMasterKey?: string;
3801
+ /** Document type of the document. */
3802
+ DocTypeKey?: string;
3803
+ /** Document title for display. */
3804
+ DocTitle?: string | undefined;
3805
+ /** Display name of the routee (the "For" person). */
3806
+ RouteeUserName?: string | undefined;
3807
+ /** Routee email (used for the confirmation checkbox; also a phase-2 verification target). */
3808
+ RouteeEmail?: string | undefined;
3809
+ /** Display name of the person the route replies to. */
3810
+ FromUserName?: string | undefined;
3811
+ /** Route instructions/request text. */
3812
+ Instructions?: string | undefined;
3813
+ /** Timestamp the routed content was set/resolved. */
3814
+ ContentAsOf?: Date;
3815
+ /** True when there is routed content available to download. */
3816
+ HasContent?: boolean;
3817
+ /** When the routee first viewed this route, if ever. */
3818
+ FirstViewed?: Date | undefined;
3819
+ /** When the routee last responded to this route, if ever. */
3820
+ Responded?: Date | undefined;
3821
+ /** True when the document is confidential. */
3822
+ IsConfidential?: boolean;
3823
+ /** Phase 1: when true, no AccessToken is issued and the view shows a "verification coming soon" state. */
3824
+ RequiresVerification?: boolean;
3825
+ /** Whether the free-form response area should be shown. */
3826
+ ShowRouteResponseArea?: boolean;
3827
+ /** Whether the response-code dropdown should be shown. */
3828
+ ShowRouteResponseCode?: boolean;
3829
+ /** Whether the response text may still be edited. */
3830
+ CanEditRouteResponse?: boolean;
3831
+ /** Whether the response code may still be changed. */
3832
+ CanEditRouteResponseCode?: boolean;
3833
+ /** Whether the routee is permitted to send the document back. */
3834
+ AllowSendBack?: boolean;
3835
+ /** Whether the routee is permitted to restart the route. */
3836
+ AllowRestart?: boolean;
3837
+ /** Existing response HTML, if any. */
3838
+ ResponseHtml?: string | undefined;
3839
+ /** Existing response code, if any. */
3840
+ ResponseCode?: string | undefined;
3841
+ /** Available response-code choices (Key = code, Value = description). */
3842
+ ResponseCodeChoices?: SelectCodeNode[] | undefined;
3843
+ /** 59-minute MachineKey-protected token; sent back as the X-SF-ARR header on subsequent ARR calls. */
3844
+ AccessToken?: string | undefined;
3845
+ }
3846
+ /** Request body for ARRController.RecordResponse. */
3847
+ export interface ArrResponseData {
3848
+ /** SendOn | SendBack | Restart */
3849
+ Mode?: string | undefined;
3850
+ /** Route being acted on (must match the ARR token's route). */
3851
+ RouteID?: string;
3852
+ /** Response HTML produced by the editor. */
3853
+ ResponseHtml?: string | undefined;
3854
+ /** Selected response code, if any. */
3855
+ ResponseCode?: string | undefined;
3856
+ /** When true, email a confirmation to the routee. */
3857
+ SendConfirmation?: boolean;
3858
+ }
3859
+ /** Result of ARRController.RecordResponse. */
3860
+ export interface ArrResponseResult {
3861
+ /** True when the response was saved. */
3862
+ Saved?: boolean;
3863
+ /** Resulting route status code. */
3864
+ Status?: string | undefined;
3865
+ /** Human-readable result message. */
3866
+ Message?: string | undefined;
3867
+ }
3735
3868
  export interface AuthenticationExchangeData {
3736
3869
  XID?: string | undefined;
3737
3870
  IsValid?: boolean;