@chargebee/code-sample-generator 1.1.1 → 1.1.2
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/dist/{TryInApiExplorer-CWy0RGj-.js → TryInApiExplorer-C5Ck0NSs.js} +2 -2
- package/dist/browser.js +3 -3
- package/dist/{generate-code-sample-Bm9CxTcV.js → generate-code-sample-BflVGqCu.js} +1 -1
- package/dist/{generate-from-sample-C3k_DgbX.js → generate-from-sample-JTpAphXl.js} +9314 -6157
- package/dist/generated/ops/operation-ids.d.ts +2 -2
- package/dist/generated/ops/operation-params.d.ts +437 -28
- package/dist/generated/ops/v2-pcv1/list_gateway_request_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_gateway_webhook_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_invoice_retry_contexts.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/list_retry_segments.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_request_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_a_gateway_webhook_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/retrieve_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv1/update_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/create_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/export_entitlements.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/export_features.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_credit_rate_versions.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_credit_rates_for_a_subscription.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_gateway_request_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_gateway_webhook_logs.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_invoice_retry_contexts.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_preference_definitions.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_preferences.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/list_retry_segments.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/remove_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_request_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_a_gateway_webhook_log.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/retrieve_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/set_a_credit_rate_override.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_a_credit_rate.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_organization_details.d.ts +3 -0
- package/dist/generated/ops/v2-pcv2/update_preferences.d.ts +3 -0
- package/dist/{highlight-code-CQjob1R6.js → highlight-code-DcisCNXB.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/node.js +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getSingletonHighlighter } from "shiki";
|
|
2
|
-
import { y as highlightCurlCode, j as fallbackPlainHtml, g as escapeHtml } from "./generate-from-sample-
|
|
2
|
+
import { y as highlightCurlCode, j as fallbackPlainHtml, g as escapeHtml } from "./generate-from-sample-JTpAphXl.js";
|
|
3
3
|
function hideImports() {
|
|
4
4
|
return {
|
|
5
5
|
name: "hide-imports",
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C, a, b, c, G, L, T, u, d } from "./TryInApiExplorer-
|
|
2
|
-
import { A, a as a2, C as C2, D, b as b2, L as L2, c as c2, x, O, V, d as d2, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u as u2, v, w } from "./generate-from-sample-
|
|
1
|
+
import { C, a, b, c, G, L, T, u, d } from "./TryInApiExplorer-C5Ck0NSs.js";
|
|
2
|
+
import { A, a as a2, C as C2, D, b as b2, L as L2, c as c2, x, O, V, d as d2, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u as u2, v, w } from "./generate-from-sample-JTpAphXl.js";
|
|
3
3
|
import "change-case";
|
|
4
4
|
import pluralize from "pluralize";
|
|
5
|
-
import { D as D2, S, h as h2, i as i2, r as r2 } from "./highlight-code-
|
|
6
|
-
import { L as L3, e as e2, a as a3, b as b3, c as c3, f as f2, g as g2, d as d3, h as h3 } from "./generate-code-sample-
|
|
5
|
+
import { D as D2, S, h as h2, i as i2, r as r2 } from "./highlight-code-DcisCNXB.js";
|
|
6
|
+
import { L as L3, e as e2, a as a3, b as b3, c as c3, f as f2, g as g2, d as d3, h as h3 } from "./generate-code-sample-BflVGqCu.js";
|
|
7
7
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
function addCopyButton(options = {}) {
|
package/dist/node.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A, a, C, D, b, L, c, O, V, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w } from "./generate-from-sample-
|
|
2
|
-
import { D as D2, S, h as h2, i as i2, r as r2 } from "./highlight-code-
|
|
3
|
-
import { L as L2, e as e2, a as a2, b as b2, c as c2, f as f2, g as g2, d as d2, h as h3 } from "./generate-code-sample-
|
|
1
|
+
import { A, a, C, D, b, L, c, O, V, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w } from "./generate-from-sample-JTpAphXl.js";
|
|
2
|
+
import { D as D2, S, h as h2, i as i2, r as r2 } from "./highlight-code-DcisCNXB.js";
|
|
3
|
+
import { L as L2, e as e2, a as a2, b as b2, c as c2, f as f2, g as g2, d as d2, h as h3 } from "./generate-code-sample-BflVGqCu.js";
|
|
4
4
|
export {
|
|
5
5
|
A as AVAILABLE_LANGUAGES,
|
|
6
6
|
a as AVAILABLE_LANGUAGE_IDS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chargebee/code-sample-generator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A self-contained, reusable React component for generating and displaying API code samples from OpenAPI specifications",
|
|
6
6
|
"main": "./dist/index.js",
|