@checkbox-site/node 0.1.0 → 0.2.0
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 +3 -1
- package/dist/client.d.ts +104 -2
- package/dist/client.js +3 -2
- package/dist/generated/operations.d.ts +240 -31
- package/dist/generated/operations.js +215 -27
- package/dist/generated/types.d.ts +1353 -156
- package/dist/generated/types.js +8 -3
- package/dist/index.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -342,6 +342,23 @@ export declare const OPERATIONS: {
|
|
|
342
342
|
readonly paginated: false;
|
|
343
343
|
readonly summary: "Check domain verification now";
|
|
344
344
|
};
|
|
345
|
+
readonly resyncBilling: {
|
|
346
|
+
readonly operationId: "resyncBilling";
|
|
347
|
+
readonly namespace: "billings";
|
|
348
|
+
readonly method: "resync";
|
|
349
|
+
readonly httpMethod: "POST";
|
|
350
|
+
readonly path: "/v1/sites/{site}/billing/resync";
|
|
351
|
+
readonly pathParams: readonly ["site"];
|
|
352
|
+
readonly queryParams: readonly [];
|
|
353
|
+
readonly body: false;
|
|
354
|
+
readonly idempotent: true;
|
|
355
|
+
readonly auth: true;
|
|
356
|
+
readonly scope: "sites:write";
|
|
357
|
+
readonly response: "json";
|
|
358
|
+
readonly list: false;
|
|
359
|
+
readonly paginated: false;
|
|
360
|
+
readonly summary: "Re-sync Stripe settings";
|
|
361
|
+
};
|
|
345
362
|
readonly createScan: {
|
|
346
363
|
readonly operationId: "createScan";
|
|
347
364
|
readonly namespace: "scans";
|
|
@@ -682,6 +699,23 @@ export declare const OPERATIONS: {
|
|
|
682
699
|
readonly paginated: false;
|
|
683
700
|
readonly summary: "List fix plans for a site";
|
|
684
701
|
};
|
|
702
|
+
readonly publishShopifyTerms: {
|
|
703
|
+
readonly operationId: "publishShopifyTerms";
|
|
704
|
+
readonly namespace: "fixes";
|
|
705
|
+
readonly method: "publishShopifyTerms";
|
|
706
|
+
readonly httpMethod: "POST";
|
|
707
|
+
readonly path: "/v1/sites/{site}/fixes/shopify/publish";
|
|
708
|
+
readonly pathParams: readonly ["site"];
|
|
709
|
+
readonly queryParams: readonly [];
|
|
710
|
+
readonly body: true;
|
|
711
|
+
readonly idempotent: true;
|
|
712
|
+
readonly auth: true;
|
|
713
|
+
readonly scope: "fixes:write";
|
|
714
|
+
readonly response: "json";
|
|
715
|
+
readonly list: false;
|
|
716
|
+
readonly paginated: false;
|
|
717
|
+
readonly summary: "Publish the renewal terms to the Shopify app block";
|
|
718
|
+
};
|
|
685
719
|
readonly listEvidence: {
|
|
686
720
|
readonly operationId: "listEvidence";
|
|
687
721
|
readonly namespace: "evidence";
|
|
@@ -1090,6 +1124,40 @@ export declare const OPERATIONS: {
|
|
|
1090
1124
|
readonly paginated: false;
|
|
1091
1125
|
readonly summary: "Get the dates each required notice must be sent";
|
|
1092
1126
|
};
|
|
1127
|
+
readonly listSiteSuggestions: {
|
|
1128
|
+
readonly operationId: "listSiteSuggestions";
|
|
1129
|
+
readonly namespace: "suggestions";
|
|
1130
|
+
readonly method: "forSite";
|
|
1131
|
+
readonly httpMethod: "GET";
|
|
1132
|
+
readonly path: "/v1/sites/{site}/suggestions";
|
|
1133
|
+
readonly pathParams: readonly ["site"];
|
|
1134
|
+
readonly queryParams: readonly ["surfaces"];
|
|
1135
|
+
readonly body: false;
|
|
1136
|
+
readonly idempotent: false;
|
|
1137
|
+
readonly auth: true;
|
|
1138
|
+
readonly scope: "checks:read";
|
|
1139
|
+
readonly response: "json";
|
|
1140
|
+
readonly list: false;
|
|
1141
|
+
readonly paginated: false;
|
|
1142
|
+
readonly summary: "Get conversion suggestions for a site";
|
|
1143
|
+
};
|
|
1144
|
+
readonly suggestImprovements: {
|
|
1145
|
+
readonly operationId: "suggestImprovements";
|
|
1146
|
+
readonly namespace: "suggestions";
|
|
1147
|
+
readonly method: "generate";
|
|
1148
|
+
readonly httpMethod: "POST";
|
|
1149
|
+
readonly path: "/v1/suggestions";
|
|
1150
|
+
readonly pathParams: readonly [];
|
|
1151
|
+
readonly queryParams: readonly [];
|
|
1152
|
+
readonly body: true;
|
|
1153
|
+
readonly idempotent: false;
|
|
1154
|
+
readonly auth: true;
|
|
1155
|
+
readonly scope: "checks:read";
|
|
1156
|
+
readonly response: "json";
|
|
1157
|
+
readonly list: false;
|
|
1158
|
+
readonly paginated: false;
|
|
1159
|
+
readonly summary: "Get conversion suggestions for copy you send";
|
|
1160
|
+
};
|
|
1093
1161
|
readonly getElementsBundle: {
|
|
1094
1162
|
readonly operationId: "getElementsBundle";
|
|
1095
1163
|
readonly namespace: "elements";
|
|
@@ -1532,6 +1600,23 @@ export declare const OPERATIONS: {
|
|
|
1532
1600
|
readonly paginated: false;
|
|
1533
1601
|
readonly summary: "Delete a registered checkout config";
|
|
1534
1602
|
};
|
|
1603
|
+
readonly deleteSiteStripeCheckoutConfig: {
|
|
1604
|
+
readonly operationId: "deleteSiteStripeCheckoutConfig";
|
|
1605
|
+
readonly namespace: "siteStripeCheckoutConfigs";
|
|
1606
|
+
readonly method: "del";
|
|
1607
|
+
readonly httpMethod: "DELETE";
|
|
1608
|
+
readonly path: "/v1/sites/{site}/stripe_checkout_configs/{stripe_checkout_config}";
|
|
1609
|
+
readonly pathParams: readonly ["site", "stripe_checkout_config"];
|
|
1610
|
+
readonly queryParams: readonly [];
|
|
1611
|
+
readonly body: false;
|
|
1612
|
+
readonly idempotent: false;
|
|
1613
|
+
readonly auth: true;
|
|
1614
|
+
readonly scope: "test_runs:write";
|
|
1615
|
+
readonly response: "json";
|
|
1616
|
+
readonly list: false;
|
|
1617
|
+
readonly paginated: false;
|
|
1618
|
+
readonly summary: "Delete a registered checkout config (site path)";
|
|
1619
|
+
};
|
|
1535
1620
|
readonly createTestRun: {
|
|
1536
1621
|
readonly operationId: "createTestRun";
|
|
1537
1622
|
readonly namespace: "testRuns";
|
|
@@ -1573,7 +1658,7 @@ export declare const OPERATIONS: {
|
|
|
1573
1658
|
readonly httpMethod: "GET";
|
|
1574
1659
|
readonly path: "/v1/test_runs/{test_run}";
|
|
1575
1660
|
readonly pathParams: readonly ["test_run"];
|
|
1576
|
-
readonly queryParams: readonly [];
|
|
1661
|
+
readonly queryParams: readonly ["wait"];
|
|
1577
1662
|
readonly body: false;
|
|
1578
1663
|
readonly idempotent: false;
|
|
1579
1664
|
readonly auth: true;
|
|
@@ -1753,6 +1838,23 @@ export declare const OPERATIONS: {
|
|
|
1753
1838
|
readonly paginated: false;
|
|
1754
1839
|
readonly summary: "Send feedback";
|
|
1755
1840
|
};
|
|
1841
|
+
readonly claimReviewPrompt: {
|
|
1842
|
+
readonly operationId: "claimReviewPrompt";
|
|
1843
|
+
readonly namespace: "reviewPrompts";
|
|
1844
|
+
readonly method: "claim";
|
|
1845
|
+
readonly httpMethod: "POST";
|
|
1846
|
+
readonly path: "/v1/sites/{site}/review_prompt";
|
|
1847
|
+
readonly pathParams: readonly ["site"];
|
|
1848
|
+
readonly queryParams: readonly [];
|
|
1849
|
+
readonly body: true;
|
|
1850
|
+
readonly idempotent: false;
|
|
1851
|
+
readonly auth: true;
|
|
1852
|
+
readonly scope: "compliance_plans:read";
|
|
1853
|
+
readonly response: "json";
|
|
1854
|
+
readonly list: false;
|
|
1855
|
+
readonly paginated: false;
|
|
1856
|
+
readonly summary: "Claim the one-time review prompt for a site";
|
|
1857
|
+
};
|
|
1756
1858
|
};
|
|
1757
1859
|
export interface OperationSpec {
|
|
1758
1860
|
operationId: string;
|
|
@@ -1878,6 +1980,12 @@ export interface OperationTypes {
|
|
|
1878
1980
|
};
|
|
1879
1981
|
response: T.DomainVerification;
|
|
1880
1982
|
};
|
|
1983
|
+
resyncBilling: {
|
|
1984
|
+
args: {
|
|
1985
|
+
site: string;
|
|
1986
|
+
};
|
|
1987
|
+
response: T.BillingSync;
|
|
1988
|
+
};
|
|
1881
1989
|
createScan: {
|
|
1882
1990
|
args: {
|
|
1883
1991
|
site: string;
|
|
@@ -1954,7 +2062,7 @@ export interface OperationTypes {
|
|
|
1954
2062
|
args: {
|
|
1955
2063
|
task: string;
|
|
1956
2064
|
} & T.AnswerTaskParams;
|
|
1957
|
-
response: T.
|
|
2065
|
+
response: T.AnsweredTask;
|
|
1958
2066
|
};
|
|
1959
2067
|
verifyTask: {
|
|
1960
2068
|
args: {
|
|
@@ -1992,6 +2100,12 @@ export interface OperationTypes {
|
|
|
1992
2100
|
} & T.ListSiteFixesParams;
|
|
1993
2101
|
response: T.FixList;
|
|
1994
2102
|
};
|
|
2103
|
+
publishShopifyTerms: {
|
|
2104
|
+
args: {
|
|
2105
|
+
site: string;
|
|
2106
|
+
} & T.PublishShopifyTermsParams;
|
|
2107
|
+
response: T.ShopifyTermsPublication;
|
|
2108
|
+
};
|
|
1995
2109
|
listEvidence: {
|
|
1996
2110
|
args: T.ListEvidenceParams;
|
|
1997
2111
|
response: T.EvidenceList;
|
|
@@ -2112,6 +2226,16 @@ export interface OperationTypes {
|
|
|
2112
2226
|
args: T.NoticeScheduleParams;
|
|
2113
2227
|
response: T.NoticeScheduleResult;
|
|
2114
2228
|
};
|
|
2229
|
+
listSiteSuggestions: {
|
|
2230
|
+
args: {
|
|
2231
|
+
site: string;
|
|
2232
|
+
} & T.ListSiteSuggestionsParams;
|
|
2233
|
+
response: T.SuggestionReport;
|
|
2234
|
+
};
|
|
2235
|
+
suggestImprovements: {
|
|
2236
|
+
args: T.SuggestionsParams;
|
|
2237
|
+
response: T.SuggestionReport;
|
|
2238
|
+
};
|
|
2115
2239
|
getElementsBundle: {
|
|
2116
2240
|
args: Record<string, never>;
|
|
2117
2241
|
response: string;
|
|
@@ -2247,6 +2371,13 @@ export interface OperationTypes {
|
|
|
2247
2371
|
};
|
|
2248
2372
|
response: T.DeletedStripeCheckoutConfig;
|
|
2249
2373
|
};
|
|
2374
|
+
deleteSiteStripeCheckoutConfig: {
|
|
2375
|
+
args: {
|
|
2376
|
+
site: string;
|
|
2377
|
+
stripe_checkout_config: string;
|
|
2378
|
+
};
|
|
2379
|
+
response: T.DeletedStripeCheckoutConfig;
|
|
2380
|
+
};
|
|
2250
2381
|
createTestRun: {
|
|
2251
2382
|
args: {
|
|
2252
2383
|
site: string;
|
|
@@ -2262,7 +2393,7 @@ export interface OperationTypes {
|
|
|
2262
2393
|
retrieveTestRun: {
|
|
2263
2394
|
args: {
|
|
2264
2395
|
test_run: string;
|
|
2265
|
-
};
|
|
2396
|
+
} & T.RetrieveTestRunParams;
|
|
2266
2397
|
response: T.TestRun;
|
|
2267
2398
|
};
|
|
2268
2399
|
cancelTestRun: {
|
|
@@ -2317,6 +2448,12 @@ export interface OperationTypes {
|
|
|
2317
2448
|
args: T.FeedbackParams;
|
|
2318
2449
|
response: T.Feedback;
|
|
2319
2450
|
};
|
|
2451
|
+
claimReviewPrompt: {
|
|
2452
|
+
args: {
|
|
2453
|
+
site: string;
|
|
2454
|
+
} & T.ReviewPromptParams;
|
|
2455
|
+
response: T.ReviewPrompt;
|
|
2456
|
+
};
|
|
2320
2457
|
}
|
|
2321
2458
|
/** `checkbox.device` */
|
|
2322
2459
|
export declare class DeviceResource extends Resource {
|
|
@@ -2376,7 +2513,7 @@ export declare class SetupSessionsResource extends Resource {
|
|
|
2376
2513
|
/**
|
|
2377
2514
|
* Re-check the site now.
|
|
2378
2515
|
*
|
|
2379
|
-
* Loads the site (is the snippet live? which policy links does it have?), re-fetches the Terms and policies, re-evaluates compliance and queues the first synthetic-shopper scan. Call it after every change the agent made (and after deploying). Returns what was seen plus the updated session.
|
|
2516
|
+
* Loads the site (is the snippet live? which policy links does it have?), re-fetches the Terms and policies, re-evaluates compliance and queues the first synthetic-shopper scan. While the domain is not verified: a live snippet (or the checkbox-verify meta tag) on the homepage verifies it now; otherwise a read-only scan of the site's own public pages is queued (unverified: no checkout is submitted). Call it after every change the agent made (and after deploying). Returns what was seen plus the updated session.
|
|
2380
2517
|
*
|
|
2381
2518
|
* @param setupSession Unique identifier of the setup session (setup_…).
|
|
2382
2519
|
* @see POST /v1/setup_sessions/{setup_session}/verify (operation `verifySetupSession`, scope `setup_sessions:write`)
|
|
@@ -2405,7 +2542,7 @@ export declare class AccountResource extends Resource {
|
|
|
2405
2542
|
/**
|
|
2406
2543
|
* Update the account.
|
|
2407
2544
|
*
|
|
2408
|
-
* Pins the account to an API version (requests without a Checkbox-Version header use it
|
|
2545
|
+
* Pins the account to an API version (requests without a Checkbox-Version header use it; known versions: 2026-10-30), sets the default retention, and turns the account-wide legal hold on or off. Retention and legal hold apply to the key's mode (test mode has its own).
|
|
2409
2546
|
*
|
|
2410
2547
|
* @see POST /v1/account (operation `updateAccount`, scope `account:write`)
|
|
2411
2548
|
*/
|
|
@@ -2432,7 +2569,7 @@ export declare class SitesResource extends Resource {
|
|
|
2432
2569
|
/**
|
|
2433
2570
|
* Retrieve a site.
|
|
2434
2571
|
*
|
|
2435
|
-
* Returns a site with its latest compliance
|
|
2572
|
+
* Returns a site with its latest compliance status (label and counts) and install details.
|
|
2436
2573
|
*
|
|
2437
2574
|
* @param site Unique identifier of the site (site_…).
|
|
2438
2575
|
* @see GET /v1/sites/{site} (operation `retrieveSite`, scope `sites:read`)
|
|
@@ -2450,7 +2587,7 @@ export declare class SitesResource extends Resource {
|
|
|
2450
2587
|
/**
|
|
2451
2588
|
* Archive a site.
|
|
2452
2589
|
*
|
|
2453
|
-
* Archives (soft-deletes) the site: monitoring stops and it disappears from lists, but evidence and findings are retained
|
|
2590
|
+
* Archives (soft-deletes) the site: monitoring stops and it disappears from lists, but evidence and findings are retained. Undo with restoreSite.
|
|
2454
2591
|
*
|
|
2455
2592
|
* @param site Unique identifier of the site (site_…).
|
|
2456
2593
|
* @see DELETE /v1/sites/{site} (operation `deleteSite`, scope `sites:write`)
|
|
@@ -2470,7 +2607,7 @@ export declare class SitesResource extends Resource {
|
|
|
2470
2607
|
/**
|
|
2471
2608
|
* Connect a billing platform.
|
|
2472
2609
|
*
|
|
2473
|
-
* Connects the site's billing platform with read-only credentials (a Stripe restricted key, a Recharge token
|
|
2610
|
+
* Connects the site's billing platform with read-only credentials (a Stripe restricted key, a Recharge token, a Shopify Admin API token, a Chargebee read-only API key, a Recurly private API key or a Paddle API key with read permissions), so Checkbox reads the customer-portal and reminder settings. Works for test-mode sites too (use an rk_test_ key). The credentials are validated by reading the settings once and stored encrypted.
|
|
2474
2611
|
*
|
|
2475
2612
|
* @param site Unique identifier of the site (site_…).
|
|
2476
2613
|
* @see POST /v1/sites/{site}/integrations (operation `connectBillingPlatform`, scope `sites:write`)
|
|
@@ -2509,13 +2646,25 @@ export declare class DomainVerificationsResource extends Resource {
|
|
|
2509
2646
|
/**
|
|
2510
2647
|
* Check domain verification now.
|
|
2511
2648
|
*
|
|
2512
|
-
* Looks for the DNS TXT record
|
|
2649
|
+
* Looks for the DNS TXT record, the /.well-known file, and the site's Checkbox snippet or the checkbox-verify meta tag on https://<domain>/ now. On success in live mode, the account is activated and held monitoring starts.
|
|
2513
2650
|
*
|
|
2514
2651
|
* @param site Unique identifier of the site (site_…).
|
|
2515
2652
|
* @see POST /v1/sites/{site}/domain_verification/check (operation `checkDomainVerification`, scope `sites:write`)
|
|
2516
2653
|
*/
|
|
2517
2654
|
check(site: string, options?: RequestOptions): Promise<T.DomainVerification>;
|
|
2518
2655
|
}
|
|
2656
|
+
/** `checkbox.billings` */
|
|
2657
|
+
export declare class BillingsResource extends Resource {
|
|
2658
|
+
/**
|
|
2659
|
+
* Re-sync Stripe settings.
|
|
2660
|
+
*
|
|
2661
|
+
* Re-reads the site's billing-platform settings now (Stripe customer-portal cancellation, trial-ending emails, plans) and re-evaluates the site, so a setting you just changed in Stripe shows up without waiting for the next scan. Every scan also re-reads them. Then poll retrieveLatestEvaluation (or listFindings) after about a minute.
|
|
2662
|
+
*
|
|
2663
|
+
* @param site Unique identifier of the site (site_…).
|
|
2664
|
+
* @see POST /v1/sites/{site}/billing/resync (operation `resyncBilling`, scope `sites:write`)
|
|
2665
|
+
*/
|
|
2666
|
+
resync(site: string, options?: RequestOptions): Promise<T.BillingSync>;
|
|
2667
|
+
}
|
|
2519
2668
|
/** `checkbox.scans` */
|
|
2520
2669
|
export declare class ScansResource extends Resource {
|
|
2521
2670
|
/**
|
|
@@ -2559,7 +2708,7 @@ export declare class EvaluationsResource extends Resource {
|
|
|
2559
2708
|
/**
|
|
2560
2709
|
* List evaluations.
|
|
2561
2710
|
*
|
|
2562
|
-
* Verdicts newest first (
|
|
2711
|
+
* Verdicts newest first (status history), optionally for one site.
|
|
2563
2712
|
*
|
|
2564
2713
|
* @see GET /v1/evaluations (operation `listEvaluations`, scope `evaluations:read`)
|
|
2565
2714
|
*/
|
|
@@ -2567,7 +2716,7 @@ export declare class EvaluationsResource extends Resource {
|
|
|
2567
2716
|
/**
|
|
2568
2717
|
* Retrieve an evaluation.
|
|
2569
2718
|
*
|
|
2570
|
-
* Returns one verdict with all checks and the
|
|
2719
|
+
* Returns one verdict with all checks and the blocking checks.
|
|
2571
2720
|
*
|
|
2572
2721
|
* @param evaluation Unique identifier of the evaluation (eval_…).
|
|
2573
2722
|
* @see GET /v1/evaluations/{evaluation} (operation `retrieveEvaluation`, scope `evaluations:read`)
|
|
@@ -2576,7 +2725,7 @@ export declare class EvaluationsResource extends Resource {
|
|
|
2576
2725
|
/**
|
|
2577
2726
|
* Get the current verdict of a site.
|
|
2578
2727
|
*
|
|
2579
|
-
* The latest evaluation of the site:
|
|
2728
|
+
* The latest evaluation of the site: its compliance status and what blocks it. 404 resource_missing with next_action createScan when the site was never evaluated.
|
|
2580
2729
|
*
|
|
2581
2730
|
* @param site Unique identifier of the site (site_…).
|
|
2582
2731
|
* @see GET /v1/sites/{site}/evaluation (operation `retrieveLatestEvaluation`, scope `evaluations:read`)
|
|
@@ -2588,7 +2737,7 @@ export declare class FindingsResource extends Resource {
|
|
|
2588
2737
|
/**
|
|
2589
2738
|
* List findings.
|
|
2590
2739
|
*
|
|
2591
|
-
* Findings ordered by urgency (failing first, then by severity). Filter by site, status (fail, needs_review, pass, not_applicable) and state (open, acknowledged, resolved, accepted_risk). Fix the open `fail` findings
|
|
2740
|
+
* Findings ordered by urgency (failing first, then by severity). Filter by site, status (fail, needs_review, pass, not_applicable) and state (open, acknowledged, resolved, accepted_risk). Fix the open `fail` findings so the checks pass.
|
|
2592
2741
|
*
|
|
2593
2742
|
* @see GET /v1/findings (operation `listFindings`, scope `findings:read`)
|
|
2594
2743
|
*/
|
|
@@ -2617,7 +2766,7 @@ export declare class PlansResource extends Resource {
|
|
|
2617
2766
|
/**
|
|
2618
2767
|
* Get the compliance plan for a site.
|
|
2619
2768
|
*
|
|
2620
|
-
* Ordered tasks that make the site
|
|
2769
|
+
* Ordered tasks that make the site's checks pass, recomputed from its latest evaluation: each with the requirement and citation, where to change (file / URL / selector / Stripe object), the exact change (unified-diff template with machine-applicable edits, copy, or Stripe params) and how to verify it. Do plan.next_action: apply the first open task, call verifyTask, and repeat until the checks pass (status value compliant; status_label "Checks pass"). Tasks with status manual hold a question for the human (answerTask); they never block the others.
|
|
2621
2770
|
*
|
|
2622
2771
|
* @param site Unique identifier of the site (site_…).
|
|
2623
2772
|
* @see GET /v1/sites/{site}/plan (operation `retrieveCompliancePlan`, scope `compliance_plans:read`)
|
|
@@ -2652,7 +2801,7 @@ export declare class TasksResource extends Resource {
|
|
|
2652
2801
|
* @param task Unique identifier of the task (task_…).
|
|
2653
2802
|
* @see POST /v1/tasks/{task}/answer (operation `answerTask`, scope `compliance_plans:write`)
|
|
2654
2803
|
*/
|
|
2655
|
-
answer(task: string, params: T.AnswerTaskParams, options?: RequestOptions): Promise<T.
|
|
2804
|
+
answer(task: string, params: T.AnswerTaskParams, options?: RequestOptions): Promise<T.AnsweredTask>;
|
|
2656
2805
|
/**
|
|
2657
2806
|
* Verify a task after applying its change.
|
|
2658
2807
|
*
|
|
@@ -2668,7 +2817,7 @@ export declare class VerificationsResource extends Resource {
|
|
|
2668
2817
|
/**
|
|
2669
2818
|
* Get a verification (long-poll with ?wait=30).
|
|
2670
2819
|
*
|
|
2671
|
-
* The verification's status (pending, passed, failed), expected vs observed per check, the diff and next_action. ?wait=N (≤ 30) holds the request until it resolves or N seconds pass.
|
|
2820
|
+
* The verification's status (pending, passed, failed), expected vs observed per check, the diff and next_action. Also takes a task id (task_…): the newest verification of that task. ?wait=N (≤ 30) holds the request until it resolves or N seconds pass.
|
|
2672
2821
|
*
|
|
2673
2822
|
* @param verification Unique identifier of the verification (ver_…).
|
|
2674
2823
|
* @see GET /v1/verifications/{verification} (operation `retrieveVerification`, scope `compliance_plans:read`)
|
|
@@ -2704,6 +2853,15 @@ export declare class FixesResource extends Resource {
|
|
|
2704
2853
|
* @see GET /v1/sites/{site}/fixes (operation `listSiteFixes`, scope `fixes:read`)
|
|
2705
2854
|
*/
|
|
2706
2855
|
list(site: string, params?: T.ListSiteFixesParams, options?: RequestOptions): Promise<T.FixList>;
|
|
2856
|
+
/**
|
|
2857
|
+
* Publish the renewal terms to the Shopify app block.
|
|
2858
|
+
*
|
|
2859
|
+
* For a Shopify store connected through the Checkbox Shopify app (site.shopify.connection = app): generates the renewal disclosure and consent label from the site's real plan, verifies them against the rules engine, and publishes them to the app-owned metafield the Checkbox "Renewal terms + consent" theme block reads. Nothing else in the store changes (no theme, product or checkout edits). The merchant places the block once in the theme editor (theme_editor_url); after that, publishing again updates the text the block shows. Then verify the sign-up task (verifyTask) or the site (verifySite). Errors: shopify_not_connected (only the merchant can install and connect the app; next_action has the step), terms_incomplete (problems lists the missing plan facts; next_action names the call that sets them), fix_verification_failed, platform_error (Shopify refused the write). In test mode it acts on test-mode sites, whose connected store is written the same way.
|
|
2860
|
+
*
|
|
2861
|
+
* @param site Unique identifier of the site (site_…).
|
|
2862
|
+
* @see POST /v1/sites/{site}/fixes/shopify/publish (operation `publishShopifyTerms`, scope `fixes:write`, live mode needs an activated account)
|
|
2863
|
+
*/
|
|
2864
|
+
publishShopifyTerms(site: string, params?: T.PublishShopifyTermsParams, options?: RequestOptions): Promise<T.ShopifyTermsPublication>;
|
|
2707
2865
|
}
|
|
2708
2866
|
/** `checkbox.evidence` */
|
|
2709
2867
|
export declare class EvidenceResource extends Resource {
|
|
@@ -2765,7 +2923,7 @@ export declare class CertificatesResource extends Resource {
|
|
|
2765
2923
|
/**
|
|
2766
2924
|
* Issue a certificate.
|
|
2767
2925
|
*
|
|
2768
|
-
* Issues a signed monitoring certificate once the site has
|
|
2926
|
+
* Issues a signed monitoring certificate once the site has passed every critical and high check for the required streak of days with a verified domain and fresh scans. Otherwise fails with resource_conflict and next_action describing what is missing.
|
|
2769
2927
|
*
|
|
2770
2928
|
* @param site Unique identifier of the site (site_…).
|
|
2771
2929
|
* @see POST /v1/sites/{site}/certificates (operation `createCertificate`, scope `certificates:write`, live mode needs an activated account)
|
|
@@ -2795,7 +2953,7 @@ export declare class NoticeSettingsResource extends Resource {
|
|
|
2795
2953
|
/**
|
|
2796
2954
|
* Update notice settings.
|
|
2797
2955
|
*
|
|
2798
|
-
* Chooses who sends the required emails (mode: merchant = you send them and Checkbox tracks them, the default; checkbox = Checkbox sends them), and sets branding, cancel_url and the confirmed cancellation policy. In checkbox mode, turning a notice on
|
|
2956
|
+
* Chooses who sends the required emails (mode: merchant = you send them and Checkbox tracks them, the default; checkbox = Checkbox sends them), and sets branding, cancel_url and the confirmed cancellation policy. add_kinds / remove_kinds turn single notices on or off and leave the others as they are; enabled_kinds replaces the whole list. In checkbox mode, turning a notice on requires cancel_url, a confirmed policy, a connected Stripe, Recharge, Chargebee, Recurly or Paddle account and a sending address; otherwise resource_conflict explains what is missing.
|
|
2799
2957
|
*
|
|
2800
2958
|
* @param site Unique identifier of the site (site_…).
|
|
2801
2959
|
* @see POST /v1/sites/{site}/notice_settings (operation `updateNoticeSettings`, scope `notices:write`, live mode needs an activated account)
|
|
@@ -2881,7 +3039,7 @@ export declare class ChecksResource extends Resource {
|
|
|
2881
3039
|
/**
|
|
2882
3040
|
* Check checkout disclosure text.
|
|
2883
3041
|
*
|
|
2884
|
-
* Checks the automatic-renewal disclosure you are about to show next to a subscribe button: what it says (renewal until canceled, price, frequency, trial, term, how to cancel), where it sits (above the button, same page) and how it looks (size, contrast, set off), and the consent checkbox (present, not pre-checked). Returns the verdict per check and per legal requirement, plus `replacement`:
|
|
3042
|
+
* Checks the automatic-renewal disclosure you are about to show next to a subscribe button: what it says (renewal until canceled, price, frequency, trial, term, how to cancel), where it sits (above the button, same page) and how it looks (size, contrast, set off), and the consent checkbox (present, not pre-checked). Returns the verdict per check and per legal requirement, plus `replacement`: suggested text that passes the checks and drop-in HTML (and the same markup as JSX for React) generated from your price/interval/trial/cancel_url and verified by the engine. Call it whenever you write or change checkout copy. Stateless and deterministic: nothing is stored, the same input on the same as_of date gives the same verdicts. Every verdict comes from the Checkbox rules engine over the legal catalog (federal ROSCA / EFTA plus the state automatic-renewal laws); the response carries rules_version, catalog_version and a disclaimer (not legal advice). Read `verdict`, then `next_action`: it tells you exactly what to change and to call the check again until verdict is pass.
|
|
2885
3043
|
*
|
|
2886
3044
|
* @see POST /v1/checks/disclosure (operation `checkDisclosure`, scope `checks:read`)
|
|
2887
3045
|
*/
|
|
@@ -2905,7 +3063,7 @@ export declare class ChecksResource extends Resource {
|
|
|
2905
3063
|
/**
|
|
2906
3064
|
* Check a subscription lifecycle email.
|
|
2907
3065
|
*
|
|
2908
|
-
* Checks the content of an acknowledgment (welcome) email, trial-ending reminder, renewal reminder, price-change notice, yearly terms reminder or cancellation confirmation against the requirements for that notice (renewal terms, amount, frequency, how to cancel, trial cancellation). The email is modelled as sent on time, so the verdict is about content; get send dates from checkNoticeSchedule. Returns `required_by` (requirements that make the email mandatory for this plan) and a
|
|
3066
|
+
* Checks the content of an acknowledgment (welcome) email, trial-ending reminder, renewal reminder, price-change notice, yearly terms reminder or cancellation confirmation against the requirements for that notice (renewal terms, amount, frequency, how to cancel, trial cancellation). The email is modelled as sent on time, so the verdict is about content; get send dates from checkNoticeSchedule. Prices are judged against what Stripe charges: with `site` (or, without it, the account's one site with Stripe connected) the plan fields come from the site's plans and the email is matched to the plan it names ("Annual") first; a price that contradicts it fails, and `warnings` say which site and plan were used. Returns `required_by` (requirements that make the email mandatory for this plan) and a `template` that passes the checks, with {{merge_tags}}, verified by the engine. Stateless and deterministic: nothing is stored, the same input on the same as_of date gives the same verdicts. Every verdict comes from the Checkbox rules engine over the legal catalog (federal ROSCA / EFTA plus the state automatic-renewal laws); the response carries rules_version, catalog_version and a disclaimer (not legal advice). Read `verdict`, then `next_action`: it tells you exactly what to change and to call the check again until verdict is pass.
|
|
2909
3067
|
*
|
|
2910
3068
|
* @see POST /v1/checks/email (operation `checkEmail`, scope `checks:read`)
|
|
2911
3069
|
*/
|
|
@@ -2921,11 +3079,31 @@ export declare class ChecksResource extends Resource {
|
|
|
2921
3079
|
/**
|
|
2922
3080
|
* Get the dates each required notice must be sent.
|
|
2923
3081
|
*
|
|
2924
|
-
* For a subscription plan (price, interval, trial) and where you sell, returns every legally required notice — acknowledgment, trial-ending reminder, renewal reminders, yearly terms reminder, price-change notice — with the recommended send time and the
|
|
3082
|
+
* For a subscription plan (price, interval, trial) and where you sell, returns every legally required notice — acknowledgment, trial-ending reminder, renewal reminders, yearly terms reminder, price-change notice — with the recommended send time and the allowed send window (opens / closes), the jurisdictions each send satisfies and the citations. Uses the same timing as Checkbox Notices: per-state windows intersected, or the fewest sends that cover conflicting windows. Stateless. Check each email's content with checkEmail, or let Checkbox Notices send them.
|
|
2925
3083
|
*
|
|
2926
3084
|
* @see POST /v1/checks/notice_schedule (operation `checkNoticeSchedule`, scope `checks:read`)
|
|
2927
3085
|
*/
|
|
2928
|
-
noticeSchedule(params
|
|
3086
|
+
noticeSchedule(params?: T.NoticeScheduleParams, options?: RequestOptions): Promise<T.NoticeScheduleResult>;
|
|
3087
|
+
}
|
|
3088
|
+
/** `checkbox.suggestions` */
|
|
3089
|
+
export declare class SuggestionsResource extends Resource {
|
|
3090
|
+
/**
|
|
3091
|
+
* Get conversion suggestions for a site.
|
|
3092
|
+
*
|
|
3093
|
+
* Suggestions for a site, detected from what Checkbox observed (checkout captures, emails, the test cancellation, billing settings, registered Stripe Checkout params) and its latest evaluation. Optional, deterministic suggestions (no LLM) from Checkbox’s curated library: each has the surface, what to change, why it commonly helps (no invented figures), a concrete before/after built from your plan terms, the exact copy / Stripe patch / flow change to apply, the legal guardrails it respects (catalog requirement ids, e.g. California’s and Minnesota’s save-offer rules), and the engine check of the after-example (only verified suggestions are offered). Surfaces whose compliance checks fail are held until fixed. Suggestions never block and never count toward compliance.
|
|
3094
|
+
*
|
|
3095
|
+
* @param site Unique identifier of the site (site_…).
|
|
3096
|
+
* @see GET /v1/sites/{site}/suggestions (operation `listSiteSuggestions`, scope `checks:read`)
|
|
3097
|
+
*/
|
|
3098
|
+
forSite(site: string, params?: T.ListSiteSuggestionsParams, options?: RequestOptions): Promise<T.SuggestionReport>;
|
|
3099
|
+
/**
|
|
3100
|
+
* Get conversion suggestions for copy you send.
|
|
3101
|
+
*
|
|
3102
|
+
* Stateless: send any of the inputs of /v1/checks/* (disclosure, page html, Stripe Checkout params, emails) plus a cancellation flow and your plan terms; get suggestions for them. The current status of what you send comes from the same preflight checks; nothing is stored. Optional, deterministic suggestions (no LLM) from Checkbox’s curated library: each has the surface, what to change, why it commonly helps (no invented figures), a concrete before/after built from your plan terms, the exact copy / Stripe patch / flow change to apply, the legal guardrails it respects (catalog requirement ids, e.g. California’s and Minnesota’s save-offer rules), and the engine check of the after-example (only verified suggestions are offered). Surfaces whose compliance checks fail are held until fixed. Suggestions never block and never count toward compliance.
|
|
3103
|
+
*
|
|
3104
|
+
* @see POST /v1/suggestions (operation `suggestImprovements`, scope `checks:read`)
|
|
3105
|
+
*/
|
|
3106
|
+
generate(params?: T.SuggestionsParams, options?: RequestOptions): Promise<T.SuggestionReport>;
|
|
2929
3107
|
}
|
|
2930
3108
|
/** `checkbox.elements` */
|
|
2931
3109
|
export declare class ElementsResource extends Resource {
|
|
@@ -3044,7 +3222,7 @@ export declare class ReceiptsResource extends Resource {
|
|
|
3044
3222
|
/**
|
|
3045
3223
|
* Erase a subscriber's receipts.
|
|
3046
3224
|
*
|
|
3047
|
-
* For a subscriber's deletion request: deletes every receipt that matches customer_reference, email (hashed before the lookup) or checkout_session (optionally only for one site). The signed copy in the write-once evidence vault is kept but holds only a salted commitment to the subscriber's identifiers; erasing destroys the salt, so it can no longer be tied to the person.
|
|
3225
|
+
* For a subscriber's deletion request: deletes every receipt that matches customer_reference, email (hashed before the lookup) or checkout_session (optionally only for one site). The signed copy in the write-once evidence vault is kept but holds only a salted commitment to the subscriber's identifiers; erasing destroys the salt, so it can no longer be tied to the person. Ask your counsel whether this meets a deletion request in your jurisdiction.
|
|
3048
3226
|
*
|
|
3049
3227
|
* @see POST /v1/receipts/erase (operation `eraseReceipts`, scope `receipts:write`)
|
|
3050
3228
|
*/
|
|
@@ -3079,7 +3257,7 @@ export declare class ReceiptsResource extends Resource {
|
|
|
3079
3257
|
/**
|
|
3080
3258
|
* Download a self-verifying receipt bundle.
|
|
3081
3259
|
*
|
|
3082
|
-
* ZIP for a lawyer
|
|
3260
|
+
* ZIP for a lawyer or court expert: manifest.json (the receipt's evidence record with its chain links) + manifest.sig.json, the canonical receipt JSON under records/, receipt.sig.json (Checkbox's signature over the receipt hash), receipt.png and render.html (the reconstruction), README.md and verify.mjs (zero-dependency offline verifier: node verify.mjs --keys checkbox-keys.json).
|
|
3083
3261
|
*
|
|
3084
3262
|
* @param receipt Unique identifier of the receipt (rcpt_…).
|
|
3085
3263
|
* @see GET /v1/receipts/{receipt}/export (operation `exportReceipt`, scope `receipts:read`)
|
|
@@ -3099,7 +3277,7 @@ export declare class ReceiptSettingsResource extends Resource {
|
|
|
3099
3277
|
/**
|
|
3100
3278
|
* Update receipt settings.
|
|
3101
3279
|
*
|
|
3102
|
-
* Turn receipts on or off and set the retention in days (default 1461 = 4 years
|
|
3280
|
+
* Turn receipts on or off and set the retention in days (default 1461 = 4 years: the California Unfair Competition Law limitation period; adjust to your counsel's advice). A new retention applies to receipts recorded afterwards.
|
|
3103
3281
|
*
|
|
3104
3282
|
* @see POST /v1/receipt_settings (operation `updateReceiptSettings`, scope `receipts:write`)
|
|
3105
3283
|
*/
|
|
@@ -3143,7 +3321,7 @@ export declare class StripeCheckoutConfigsResource extends Resource {
|
|
|
3143
3321
|
/**
|
|
3144
3322
|
* Register the Checkout Session params your code uses.
|
|
3145
3323
|
*
|
|
3146
|
-
* Registers exactly the object your code passes to stripe.checkout.sessions.create (customer, URLs and secrets are not needed and are ignored). Test runs mirror it into Stripe test mode; when it matches your latest live checkout, the scanned test page counts as an observation of your live checkout. Re-register after changing your checkout code, then call createTestRun.
|
|
3324
|
+
* Registers exactly the object your code passes to stripe.checkout.sessions.create (customer, URLs and secrets are not needed and are ignored; `warnings` says what was not stored). It is judged exactly like checkStripeCheckoutSession, discounts included. A config with the same name, or for the same Price ids, replaces the older one (`replaced`). Test runs mirror it into Stripe test mode; when it matches your latest live checkout, the scanned test page counts as an observation of your live checkout. Re-register after changing your checkout code, then call createTestRun.
|
|
3147
3325
|
*
|
|
3148
3326
|
* @param site Unique identifier of the site (site_…).
|
|
3149
3327
|
* @see POST /v1/sites/{site}/stripe_checkout_configs (operation `createStripeCheckoutConfig`, scope `test_runs:write`)
|
|
@@ -3179,12 +3357,27 @@ export declare class StripeCheckoutConfigsResource extends Resource {
|
|
|
3179
3357
|
/** Alias of `del()`. */
|
|
3180
3358
|
delete(stripeCheckoutConfig: string, options?: RequestOptions): Promise<T.DeletedStripeCheckoutConfig>;
|
|
3181
3359
|
}
|
|
3360
|
+
/** `checkbox.siteStripeCheckoutConfigs` */
|
|
3361
|
+
export declare class SiteStripeCheckoutConfigsResource extends Resource {
|
|
3362
|
+
/**
|
|
3363
|
+
* Delete a registered checkout config (site path).
|
|
3364
|
+
*
|
|
3365
|
+
* The same as deleteStripeCheckoutConfig, under the site path where configs are created and listed.
|
|
3366
|
+
*
|
|
3367
|
+
* @param site Unique identifier of the site (site_…).
|
|
3368
|
+
* @param stripeCheckoutConfig Unique identifier of the stripe checkout config (scc_…).
|
|
3369
|
+
* @see DELETE /v1/sites/{site}/stripe_checkout_configs/{stripe_checkout_config} (operation `deleteSiteStripeCheckoutConfig`, scope `test_runs:write`)
|
|
3370
|
+
*/
|
|
3371
|
+
del(site: string, stripeCheckoutConfig: string, options?: RequestOptions): Promise<T.DeletedStripeCheckoutConfig>;
|
|
3372
|
+
/** Alias of `del()`. */
|
|
3373
|
+
delete(site: string, stripeCheckoutConfig: string, options?: RequestOptions): Promise<T.DeletedStripeCheckoutConfig>;
|
|
3374
|
+
}
|
|
3182
3375
|
/** `checkbox.testRuns` */
|
|
3183
3376
|
export declare class TestRunsResource extends Resource {
|
|
3184
3377
|
/**
|
|
3185
3378
|
* Start a lifecycle test run.
|
|
3186
3379
|
*
|
|
3187
|
-
* Starts a synthetic test subscription in TEST mode and returns it queued. Stripe runs mirror your checkout into a test-mode Checkout Session, subscribe a test customer (card 4242) whose email is a Checkbox inbox, wait for your acknowledgment, advance a test clock through every legal notice window before trial end and renewal, cancel online in the customer portal and wait for the confirmation; then delete the test clock.
|
|
3380
|
+
* Starts a synthetic test subscription in TEST mode and returns it queued. Stripe runs mirror your checkout into a test-mode Checkout Session, subscribe a test customer (card 4242) whose email is a Checkbox inbox, wait for your acknowledgment, advance a test clock through every legal notice window before trial end and renewal, cancel online in the customer portal and wait for the confirmation; then delete the test clock. Usually takes 2-4 minutes (longer when your own emails are slow to arrive): poll retrieveTestRun (next_action says when) or listen for test_run.completed. Each step reports observations, check results and agent-readable fixes; apply them and run again to verify.
|
|
3188
3381
|
*
|
|
3189
3382
|
* @param site Unique identifier of the site (site_…).
|
|
3190
3383
|
* @see POST /v1/sites/{site}/test_runs (operation `createTestRun`, scope `test_runs:write`, live mode needs an activated account)
|
|
@@ -3202,12 +3395,12 @@ export declare class TestRunsResource extends Resource {
|
|
|
3202
3395
|
/**
|
|
3203
3396
|
* Retrieve a test run.
|
|
3204
3397
|
*
|
|
3205
|
-
* The run with every step's status, observations, check results and fixes. While it runs, next_action.type is "wait";
|
|
3398
|
+
* The run with every step's status, observations, check results and fixes. While it runs, next_action.type is "wait" and waiting_for says what it waits for; ?wait=30 answers as soon as the run moves on (or after 30 seconds). When it finished, next_action says what to fix (apply_fixes / review_warnings), retrieve_plan when the only warnings have nothing to change, or "none".
|
|
3206
3399
|
*
|
|
3207
3400
|
* @param testRun Unique identifier of the test run (run_…).
|
|
3208
3401
|
* @see GET /v1/test_runs/{test_run} (operation `retrieveTestRun`, scope `test_runs:read`)
|
|
3209
3402
|
*/
|
|
3210
|
-
retrieve(testRun: string, options?: RequestOptions): Promise<T.TestRun>;
|
|
3403
|
+
retrieve(testRun: string, params?: T.RetrieveTestRunParams, options?: RequestOptions): Promise<T.TestRun>;
|
|
3211
3404
|
/**
|
|
3212
3405
|
* Cancel a test run.
|
|
3213
3406
|
*
|
|
@@ -3300,11 +3493,23 @@ export declare class FeedbacksResource extends Resource {
|
|
|
3300
3493
|
/**
|
|
3301
3494
|
* Send feedback.
|
|
3302
3495
|
*
|
|
3303
|
-
* Report a problem or a missing feature in Checkbox. Include what you tried, what happened and what you expected, and the site / request id when there is one. The Checkbox team reads every message. Rate limited to 20 per key per hour.
|
|
3496
|
+
* Report a problem or a missing feature in Checkbox. Include what you tried, what happened and what you expected, and the site / request id when there is one. With type review, send a structured review of Checkbox the product (score 0-10, liked, disliked, wrong_verdicts, would_keep_using, stack) — only after the human said yes and saw the text. A review describes what worked or did not in Checkbox: it never states that the site broke a law or had unfixed problems, and carries no site names, URLs, customer data or quotes of the site's pages or emails (URLs are removed and no site is attached). Never include secrets or customer data: anything that looks like a secret, card number or email address is replaced with [redacted]. The Checkbox team reads every message. Rate limited to 20 per key per hour.
|
|
3304
3497
|
*
|
|
3305
3498
|
* @see POST /v1/feedback (operation `createFeedback`, scope `account:read`)
|
|
3306
3499
|
*/
|
|
3307
|
-
create(params
|
|
3500
|
+
create(params?: T.FeedbackParams, options?: RequestOptions): Promise<T.Feedback>;
|
|
3501
|
+
}
|
|
3502
|
+
/** `checkbox.reviewPrompts` */
|
|
3503
|
+
export declare class ReviewPromptsResource extends Resource {
|
|
3504
|
+
/**
|
|
3505
|
+
* Claim the one-time review prompt for a site.
|
|
3506
|
+
*
|
|
3507
|
+
* The MCP tools call this when a site's compliance plan reaches status compliant, i.e. checks pass (including "Checks pass · N live checks pending"). show is true exactly once per site: the agent then asks the human once whether they want to send a quick review of Checkbox (createFeedback with type review), and sends it only on a yes, after showing the text. Never send a review without the human's yes.
|
|
3508
|
+
*
|
|
3509
|
+
* @param site Unique identifier of the site (site_…).
|
|
3510
|
+
* @see POST /v1/sites/{site}/review_prompt (operation `claimReviewPrompt`, scope `compliance_plans:read`)
|
|
3511
|
+
*/
|
|
3512
|
+
claim(site: string, params?: T.ReviewPromptParams, options?: RequestOptions): Promise<T.ReviewPrompt>;
|
|
3308
3513
|
}
|
|
3309
3514
|
/** Resource namespaces of the client. */
|
|
3310
3515
|
export declare const RESOURCES: {
|
|
@@ -3313,6 +3518,7 @@ export declare const RESOURCES: {
|
|
|
3313
3518
|
readonly account: typeof AccountResource;
|
|
3314
3519
|
readonly sites: typeof SitesResource;
|
|
3315
3520
|
readonly domainVerifications: typeof DomainVerificationsResource;
|
|
3521
|
+
readonly billings: typeof BillingsResource;
|
|
3316
3522
|
readonly scans: typeof ScansResource;
|
|
3317
3523
|
readonly evaluations: typeof EvaluationsResource;
|
|
3318
3524
|
readonly findings: typeof FindingsResource;
|
|
@@ -3326,6 +3532,7 @@ export declare const RESOURCES: {
|
|
|
3326
3532
|
readonly notices: typeof NoticesResource;
|
|
3327
3533
|
readonly lawUpdates: typeof LawUpdatesResource;
|
|
3328
3534
|
readonly checks: typeof ChecksResource;
|
|
3535
|
+
readonly suggestions: typeof SuggestionsResource;
|
|
3329
3536
|
readonly elements: typeof ElementsResource;
|
|
3330
3537
|
readonly disclosures: typeof DisclosuresResource;
|
|
3331
3538
|
readonly consents: typeof ConsentsResource;
|
|
@@ -3334,8 +3541,10 @@ export declare const RESOURCES: {
|
|
|
3334
3541
|
readonly receiptSettings: typeof ReceiptSettingsResource;
|
|
3335
3542
|
readonly testCredentials: typeof TestCredentialsResource;
|
|
3336
3543
|
readonly stripeCheckoutConfigs: typeof StripeCheckoutConfigsResource;
|
|
3544
|
+
readonly siteStripeCheckoutConfigs: typeof SiteStripeCheckoutConfigsResource;
|
|
3337
3545
|
readonly testRuns: typeof TestRunsResource;
|
|
3338
3546
|
readonly webhookEndpoints: typeof WebhookEndpointsResource;
|
|
3339
3547
|
readonly events: typeof EventsResource;
|
|
3340
3548
|
readonly feedbacks: typeof FeedbacksResource;
|
|
3549
|
+
readonly reviewPrompts: typeof ReviewPromptsResource;
|
|
3341
3550
|
};
|