@peable.to/contracts 0.4.0 → 1.1.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/dist/cjs/common/address.js +81 -0
- package/dist/cjs/common/envelopes.js +101 -0
- package/dist/cjs/common/objects.js +85 -0
- package/dist/cjs/common/params.js +211 -0
- package/dist/cjs/common/primitives.js +39 -0
- package/dist/cjs/contributions.js +22 -0
- package/dist/cjs/index.js +40 -137
- package/dist/cjs/openapi/document.js +297 -0
- package/dist/cjs/openapi/index.js +7 -0
- package/dist/cjs/openapi/webhooks.js +17 -0
- package/dist/cjs/resources/billingEngine/billingPortal.js +237 -0
- package/dist/cjs/resources/billingEngine/creditNotes.js +189 -0
- package/dist/cjs/resources/billingEngine/customerBalanceTransactions.js +90 -0
- package/dist/cjs/resources/billingEngine/index.js +43 -0
- package/dist/cjs/resources/billingEngine/invoiceItems.js +155 -0
- package/dist/cjs/resources/billingEngine/invoices.js +509 -0
- package/dist/cjs/resources/billingEngine/params.js +43 -0
- package/dist/cjs/resources/billingEngine/public.js +326 -0
- package/dist/cjs/resources/billingEngine/subscriptions.js +476 -0
- package/dist/cjs/resources/catalog/billing.js +755 -0
- package/dist/cjs/resources/catalog/billingSettings.js +131 -0
- package/dist/cjs/resources/catalog/coupons.js +222 -0
- package/dist/cjs/resources/catalog/entitlements.js +257 -0
- package/dist/cjs/resources/catalog/index.js +58 -0
- package/dist/cjs/resources/catalog/meters.js +279 -0
- package/dist/cjs/resources/catalog/prices.js +423 -0
- package/dist/cjs/resources/catalog/products.js +228 -0
- package/dist/cjs/resources/catalog/promotionCodes.js +174 -0
- package/dist/cjs/resources/catalog/shared.js +75 -0
- package/dist/cjs/resources/catalog/testClocks.js +127 -0
- package/dist/cjs/resources/checkout/checkoutSessions.js +582 -0
- package/dist/cjs/resources/checkout/contributions.js +172 -0
- package/dist/cjs/resources/checkout/files.js +133 -0
- package/dist/cjs/resources/checkout/index.js +57 -0
- package/dist/cjs/resources/checkout/merchants.js +290 -0
- package/dist/cjs/resources/checkout/paymentLinks.js +330 -0
- package/dist/cjs/resources/checkout/paymentMethodConfigurations.js +262 -0
- package/dist/cjs/resources/checkout/shared.js +368 -0
- package/dist/cjs/resources/connect/account.js +332 -0
- package/dist/cjs/resources/connect/applicationFees.js +113 -0
- package/dist/cjs/resources/connect/balance.js +212 -0
- package/dist/cjs/resources/connect/connectedAccounts.js +260 -0
- package/dist/cjs/resources/connect/index.js +51 -0
- package/dist/cjs/resources/connect/onboarding.js +82 -0
- package/dist/cjs/resources/connect/payouts.js +196 -0
- package/dist/cjs/resources/connect/reporting.js +235 -0
- package/dist/cjs/resources/connect/requestLogs.js +110 -0
- package/dist/cjs/resources/connect/transfers.js +227 -0
- package/dist/cjs/resources/core/customers.js +194 -0
- package/dist/cjs/resources/core/index.js +23 -0
- package/dist/cjs/resources/core/paymentMethods.js +134 -0
- package/dist/cjs/resources/events/events.js +357 -0
- package/dist/cjs/resources/events/index.js +29 -0
- package/dist/cjs/resources/events/webhookDeliveries.js +93 -0
- package/dist/cjs/resources/events/webhookEndpoints.js +215 -0
- package/dist/cjs/resources/payments/charges.js +157 -0
- package/dist/cjs/resources/payments/disputes.js +204 -0
- package/dist/cjs/resources/payments/index.js +41 -0
- package/dist/cjs/resources/payments/paymentIntents.js +529 -0
- package/dist/cjs/resources/payments/refunds.js +245 -0
- package/dist/cjs/resources/payments/setupIntents.js +158 -0
- package/dist/cjs/resources/payments/social.js +182 -0
- package/dist/cjs/resources/payments/testHelpers.js +39 -0
- package/dist/cjs/resources/tax/assessments.js +217 -0
- package/dist/cjs/resources/tax/businessProfile.js +99 -0
- package/dist/cjs/resources/tax/calculations.js +176 -0
- package/dist/cjs/resources/tax/capabilities.js +42 -0
- package/dist/cjs/resources/tax/codes.js +37 -0
- package/dist/cjs/resources/tax/complianceActions.js +56 -0
- package/dist/cjs/resources/tax/deadlines.js +59 -0
- package/dist/cjs/resources/tax/documents.js +128 -0
- package/dist/cjs/resources/tax/index.js +80 -0
- package/dist/cjs/resources/tax/locationEvidence.js +131 -0
- package/dist/cjs/resources/tax/operatingLocations.js +98 -0
- package/dist/cjs/resources/tax/products.js +67 -0
- package/dist/cjs/resources/tax/registrationDeclarations.js +124 -0
- package/dist/cjs/resources/tax/registrations.js +82 -0
- package/dist/cjs/resources/tax/reports.js +92 -0
- package/dist/cjs/resources/tax/reviewItems.js +116 -0
- package/dist/cjs/resources/tax/ruleSet.js +68 -0
- package/dist/cjs/resources/tax/salesDestinations.js +94 -0
- package/dist/cjs/resources/tax/settings.js +104 -0
- package/dist/cjs/resources/tax/shared.js +62 -0
- package/dist/cjs/resources/tax/transactions.js +102 -0
- package/dist/cjs/route.js +22 -0
- package/dist/cjs/routes.js +31 -0
- package/dist/cjs/vocabulary/billingPortal.js +15 -0
- package/dist/cjs/vocabulary/catalog.js +110 -0
- package/dist/cjs/vocabulary/checkout.js +53 -0
- package/dist/cjs/vocabulary/connect.js +95 -0
- package/dist/cjs/vocabulary/dashboard.js +68 -0
- package/dist/cjs/vocabulary/errors.js +175 -0
- package/dist/cjs/vocabulary/events.js +176 -0
- package/dist/cjs/vocabulary/files.js +44 -0
- package/dist/cjs/vocabulary/identity.js +12 -0
- package/dist/cjs/vocabulary/index.js +39 -0
- package/dist/cjs/vocabulary/invoices.js +52 -0
- package/dist/cjs/vocabulary/lists.js +22 -0
- package/dist/cjs/vocabulary/merchants.js +23 -0
- package/dist/cjs/vocabulary/money.js +104 -0
- package/dist/cjs/vocabulary/paymentMethodConfigurations.js +36 -0
- package/dist/cjs/vocabulary/payments.js +195 -0
- package/dist/cjs/vocabulary/reporting.js +27 -0
- package/dist/cjs/vocabulary/subscriptions.js +60 -0
- package/dist/cjs/vocabulary/tax.js +237 -0
- package/dist/cjs/vocabulary/version.js +12 -0
- package/dist/esm/common/address.js +76 -0
- package/dist/esm/common/envelopes.js +95 -0
- package/dist/esm/common/objects.js +74 -0
- package/dist/esm/common/params.js +203 -0
- package/dist/esm/common/primitives.js +35 -0
- package/dist/esm/contributions.js +5 -0
- package/dist/esm/index.js +26 -134
- package/dist/esm/openapi/document.js +294 -0
- package/dist/esm/openapi/index.js +2 -0
- package/dist/esm/openapi/webhooks.js +14 -0
- package/dist/esm/resources/billingEngine/billingPortal.js +234 -0
- package/dist/esm/resources/billingEngine/creditNotes.js +186 -0
- package/dist/esm/resources/billingEngine/customerBalanceTransactions.js +87 -0
- package/dist/esm/resources/billingEngine/index.js +26 -0
- package/dist/esm/resources/billingEngine/invoiceItems.js +152 -0
- package/dist/esm/resources/billingEngine/invoices.js +506 -0
- package/dist/esm/resources/billingEngine/params.js +39 -0
- package/dist/esm/resources/billingEngine/public.js +323 -0
- package/dist/esm/resources/billingEngine/subscriptions.js +473 -0
- package/dist/esm/resources/catalog/billing.js +752 -0
- package/dist/esm/resources/catalog/billingSettings.js +128 -0
- package/dist/esm/resources/catalog/coupons.js +219 -0
- package/dist/esm/resources/catalog/entitlements.js +254 -0
- package/dist/esm/resources/catalog/index.js +38 -0
- package/dist/esm/resources/catalog/meters.js +276 -0
- package/dist/esm/resources/catalog/prices.js +419 -0
- package/dist/esm/resources/catalog/products.js +225 -0
- package/dist/esm/resources/catalog/promotionCodes.js +171 -0
- package/dist/esm/resources/catalog/shared.js +67 -0
- package/dist/esm/resources/catalog/testClocks.js +124 -0
- package/dist/esm/resources/checkout/checkoutSessions.js +579 -0
- package/dist/esm/resources/checkout/contributions.js +167 -0
- package/dist/esm/resources/checkout/files.js +130 -0
- package/dist/esm/resources/checkout/index.js +25 -0
- package/dist/esm/resources/checkout/merchants.js +287 -0
- package/dist/esm/resources/checkout/paymentLinks.js +327 -0
- package/dist/esm/resources/checkout/paymentMethodConfigurations.js +259 -0
- package/dist/esm/resources/checkout/shared.js +363 -0
- package/dist/esm/resources/connect/account.js +329 -0
- package/dist/esm/resources/connect/applicationFees.js +110 -0
- package/dist/esm/resources/connect/balance.js +209 -0
- package/dist/esm/resources/connect/connectedAccounts.js +257 -0
- package/dist/esm/resources/connect/index.js +34 -0
- package/dist/esm/resources/connect/onboarding.js +79 -0
- package/dist/esm/resources/connect/payouts.js +193 -0
- package/dist/esm/resources/connect/reporting.js +232 -0
- package/dist/esm/resources/connect/requestLogs.js +107 -0
- package/dist/esm/resources/connect/transfers.js +224 -0
- package/dist/esm/resources/core/customers.js +191 -0
- package/dist/esm/resources/core/index.js +6 -0
- package/dist/esm/resources/core/paymentMethods.js +131 -0
- package/dist/esm/resources/events/events.js +353 -0
- package/dist/esm/resources/events/index.js +12 -0
- package/dist/esm/resources/events/webhookDeliveries.js +90 -0
- package/dist/esm/resources/events/webhookEndpoints.js +212 -0
- package/dist/esm/resources/payments/charges.js +154 -0
- package/dist/esm/resources/payments/disputes.js +201 -0
- package/dist/esm/resources/payments/index.js +24 -0
- package/dist/esm/resources/payments/paymentIntents.js +526 -0
- package/dist/esm/resources/payments/refunds.js +242 -0
- package/dist/esm/resources/payments/setupIntents.js +155 -0
- package/dist/esm/resources/payments/social.js +179 -0
- package/dist/esm/resources/payments/testHelpers.js +36 -0
- package/dist/esm/resources/tax/assessments.js +214 -0
- package/dist/esm/resources/tax/businessProfile.js +96 -0
- package/dist/esm/resources/tax/calculations.js +173 -0
- package/dist/esm/resources/tax/capabilities.js +39 -0
- package/dist/esm/resources/tax/codes.js +34 -0
- package/dist/esm/resources/tax/complianceActions.js +53 -0
- package/dist/esm/resources/tax/deadlines.js +56 -0
- package/dist/esm/resources/tax/documents.js +125 -0
- package/dist/esm/resources/tax/index.js +63 -0
- package/dist/esm/resources/tax/locationEvidence.js +128 -0
- package/dist/esm/resources/tax/operatingLocations.js +95 -0
- package/dist/esm/resources/tax/products.js +64 -0
- package/dist/esm/resources/tax/registrationDeclarations.js +121 -0
- package/dist/esm/resources/tax/registrations.js +79 -0
- package/dist/esm/resources/tax/reports.js +89 -0
- package/dist/esm/resources/tax/reviewItems.js +113 -0
- package/dist/esm/resources/tax/ruleSet.js +65 -0
- package/dist/esm/resources/tax/salesDestinations.js +91 -0
- package/dist/esm/resources/tax/settings.js +101 -0
- package/dist/esm/resources/tax/shared.js +58 -0
- package/dist/esm/resources/tax/transactions.js +99 -0
- package/dist/esm/route.js +16 -0
- package/dist/esm/routes.js +27 -0
- package/dist/esm/vocabulary/billingPortal.js +12 -0
- package/dist/esm/vocabulary/catalog.js +106 -0
- package/dist/esm/vocabulary/checkout.js +50 -0
- package/dist/esm/vocabulary/connect.js +92 -0
- package/dist/esm/vocabulary/dashboard.js +64 -0
- package/dist/esm/vocabulary/errors.js +170 -0
- package/dist/esm/vocabulary/events.js +173 -0
- package/dist/esm/vocabulary/files.js +41 -0
- package/dist/esm/vocabulary/identity.js +9 -0
- package/dist/esm/vocabulary/index.js +23 -0
- package/dist/esm/vocabulary/invoices.js +49 -0
- package/dist/esm/vocabulary/lists.js +19 -0
- package/dist/esm/vocabulary/merchants.js +20 -0
- package/dist/esm/vocabulary/money.js +98 -0
- package/dist/esm/vocabulary/paymentMethodConfigurations.js +33 -0
- package/dist/esm/vocabulary/payments.js +192 -0
- package/dist/esm/vocabulary/reporting.js +24 -0
- package/dist/esm/vocabulary/subscriptions.js +57 -0
- package/dist/esm/vocabulary/tax.js +233 -0
- package/dist/esm/vocabulary/version.js +9 -0
- package/dist/types/common/address.d.ts +62 -0
- package/dist/types/common/envelopes.d.ts +88 -0
- package/dist/types/common/objects.d.ts +107 -0
- package/dist/types/common/params.d.ts +156 -0
- package/dist/types/common/primitives.d.ts +56 -0
- package/dist/types/contributions.d.ts +1 -0
- package/dist/types/index.d.ts +16 -171
- package/dist/types/openapi/document.d.ts +16 -0
- package/dist/types/openapi/index.d.ts +2 -0
- package/dist/types/openapi/webhooks.d.ts +15 -0
- package/dist/types/resources/billingEngine/billingPortal.d.ts +742 -0
- package/dist/types/resources/billingEngine/creditNotes.d.ts +655 -0
- package/dist/types/resources/billingEngine/customerBalanceTransactions.d.ts +282 -0
- package/dist/types/resources/billingEngine/index.d.ts +6071 -0
- package/dist/types/resources/billingEngine/invoiceItems.d.ts +502 -0
- package/dist/types/resources/billingEngine/invoices.d.ts +2547 -0
- package/dist/types/resources/billingEngine/params.d.ts +51 -0
- package/dist/types/resources/billingEngine/public.d.ts +1860 -0
- package/dist/types/resources/billingEngine/subscriptions.d.ts +1519 -0
- package/dist/types/resources/catalog/billing.d.ts +1723 -0
- package/dist/types/resources/catalog/billingSettings.d.ts +160 -0
- package/dist/types/resources/catalog/coupons.d.ts +403 -0
- package/dist/types/resources/catalog/entitlements.d.ts +422 -0
- package/dist/types/resources/catalog/index.d.ts +3155 -0
- package/dist/types/resources/catalog/meters.d.ts +474 -0
- package/dist/types/resources/catalog/prices.d.ts +1091 -0
- package/dist/types/resources/catalog/products.d.ts +430 -0
- package/dist/types/resources/catalog/promotionCodes.d.ts +369 -0
- package/dist/types/resources/catalog/shared.d.ts +34 -0
- package/dist/types/resources/catalog/testClocks.d.ts +220 -0
- package/dist/types/resources/checkout/checkoutSessions.d.ts +3207 -0
- package/dist/types/resources/checkout/contributions.d.ts +375 -0
- package/dist/types/resources/checkout/files.d.ts +280 -0
- package/dist/types/resources/checkout/index.d.ts +5678 -0
- package/dist/types/resources/checkout/merchants.d.ts +395 -0
- package/dist/types/resources/checkout/paymentLinks.d.ts +1728 -0
- package/dist/types/resources/checkout/paymentMethodConfigurations.d.ts +2104 -0
- package/dist/types/resources/checkout/shared.d.ts +419 -0
- package/dist/types/resources/connect/account.d.ts +483 -0
- package/dist/types/resources/connect/applicationFees.d.ts +198 -0
- package/dist/types/resources/connect/balance.d.ts +399 -0
- package/dist/types/resources/connect/connectedAccounts.d.ts +494 -0
- package/dist/types/resources/connect/index.d.ts +2094 -0
- package/dist/types/resources/connect/onboarding.d.ts +95 -0
- package/dist/types/resources/connect/payouts.d.ts +527 -0
- package/dist/types/resources/connect/reporting.d.ts +506 -0
- package/dist/types/resources/connect/requestLogs.d.ts +236 -0
- package/dist/types/resources/connect/transfers.d.ts +436 -0
- package/dist/types/resources/core/customers.d.ts +619 -0
- package/dist/types/resources/core/index.d.ts +679 -0
- package/dist/types/resources/core/paymentMethods.d.ts +336 -0
- package/dist/types/resources/events/events.d.ts +731 -0
- package/dist/types/resources/events/index.d.ts +1727 -0
- package/dist/types/resources/events/webhookDeliveries.d.ts +436 -0
- package/dist/types/resources/events/webhookEndpoints.d.ts +1502 -0
- package/dist/types/resources/payments/charges.d.ts +390 -0
- package/dist/types/resources/payments/disputes.d.ts +822 -0
- package/dist/types/resources/payments/index.d.ts +3517 -0
- package/dist/types/resources/payments/paymentIntents.d.ts +2080 -0
- package/dist/types/resources/payments/refunds.d.ts +684 -0
- package/dist/types/resources/payments/setupIntents.d.ts +391 -0
- package/dist/types/resources/payments/social.d.ts +266 -0
- package/dist/types/resources/payments/testHelpers.d.ts +178 -0
- package/dist/types/resources/tax/assessments.d.ts +787 -0
- package/dist/types/resources/tax/businessProfile.d.ts +134 -0
- package/dist/types/resources/tax/calculations.d.ts +261 -0
- package/dist/types/resources/tax/capabilities.d.ts +81 -0
- package/dist/types/resources/tax/codes.d.ts +29 -0
- package/dist/types/resources/tax/complianceActions.d.ts +97 -0
- package/dist/types/resources/tax/deadlines.d.ts +133 -0
- package/dist/types/resources/tax/documents.d.ts +257 -0
- package/dist/types/resources/tax/index.d.ts +1946 -0
- package/dist/types/resources/tax/locationEvidence.d.ts +246 -0
- package/dist/types/resources/tax/operatingLocations.d.ts +170 -0
- package/dist/types/resources/tax/products.d.ts +68 -0
- package/dist/types/resources/tax/registrationDeclarations.d.ts +270 -0
- package/dist/types/resources/tax/registrations.d.ts +103 -0
- package/dist/types/resources/tax/reports.d.ts +129 -0
- package/dist/types/resources/tax/reviewItems.d.ts +226 -0
- package/dist/types/resources/tax/ruleSet.d.ts +219 -0
- package/dist/types/resources/tax/salesDestinations.d.ts +158 -0
- package/dist/types/resources/tax/settings.d.ts +122 -0
- package/dist/types/resources/tax/shared.d.ts +43 -0
- package/dist/types/resources/tax/transactions.d.ts +404 -0
- package/dist/types/route.d.ts +86 -0
- package/dist/types/routes.d.ts +23 -0
- package/dist/types/vocabulary/billingPortal.d.ts +15 -0
- package/dist/types/vocabulary/catalog.d.ts +97 -0
- package/dist/types/vocabulary/checkout.d.ts +49 -0
- package/dist/types/vocabulary/connect.d.ts +62 -0
- package/dist/types/vocabulary/dashboard.d.ts +44 -0
- package/dist/types/vocabulary/errors.d.ts +146 -0
- package/dist/types/vocabulary/events.d.ts +171 -0
- package/dist/types/vocabulary/files.d.ts +30 -0
- package/dist/types/vocabulary/identity.d.ts +9 -0
- package/dist/types/vocabulary/index.d.ts +19 -0
- package/dist/types/vocabulary/invoices.d.ts +39 -0
- package/dist/types/vocabulary/lists.d.ts +9 -0
- package/dist/types/vocabulary/merchants.d.ts +9 -0
- package/dist/types/vocabulary/money.d.ts +59 -0
- package/dist/types/vocabulary/paymentMethodConfigurations.d.ts +22 -0
- package/dist/types/vocabulary/payments.d.ts +117 -0
- package/dist/types/vocabulary/reporting.d.ts +18 -0
- package/dist/types/vocabulary/subscriptions.d.ts +45 -0
- package/dist/types/vocabulary/tax.d.ts +163 -0
- package/dist/types/vocabulary/version.d.ts +10 -0
- package/package.json +51 -11
- package/dist/cjs/openapi.js +0 -165
- package/dist/esm/openapi.js +0 -161
- package/dist/types/openapi.d.ts +0 -148
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peable.to/contracts",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "The Peable wire, declared once: Zod contracts of every public route, the OpenAPI 3.1 generator and the closed value sets (ADR 0014 D5).",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/types/index.d.ts",
|
|
@@ -24,26 +24,53 @@
|
|
|
24
24
|
},
|
|
25
25
|
"default": "./dist/esm/index.js"
|
|
26
26
|
},
|
|
27
|
-
"./
|
|
27
|
+
"./vocabulary": {
|
|
28
|
+
"react-native": "./dist/esm/vocabulary/index.js",
|
|
29
|
+
"import": {
|
|
30
|
+
"types": "./dist/types/vocabulary/index.d.ts",
|
|
31
|
+
"default": "./dist/esm/vocabulary/index.js"
|
|
32
|
+
},
|
|
33
|
+
"require": {
|
|
34
|
+
"types": "./dist/types/vocabulary/index.d.ts",
|
|
35
|
+
"default": "./dist/cjs/vocabulary/index.js"
|
|
36
|
+
},
|
|
37
|
+
"default": "./dist/esm/vocabulary/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./contributions": {
|
|
40
|
+
"react-native": "./dist/esm/contributions.js",
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/types/contributions.d.ts",
|
|
43
|
+
"default": "./dist/esm/contributions.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/types/contributions.d.ts",
|
|
47
|
+
"default": "./dist/cjs/contributions.js"
|
|
48
|
+
},
|
|
49
|
+
"default": "./dist/esm/contributions.js"
|
|
50
|
+
},
|
|
28
51
|
"./openapi": {
|
|
52
|
+
"react-native": "./dist/esm/openapi/index.js",
|
|
29
53
|
"import": {
|
|
30
|
-
"types": "./dist/types/openapi.d.ts",
|
|
31
|
-
"default": "./dist/esm/openapi.js"
|
|
54
|
+
"types": "./dist/types/openapi/index.d.ts",
|
|
55
|
+
"default": "./dist/esm/openapi/index.js"
|
|
32
56
|
},
|
|
33
57
|
"require": {
|
|
34
|
-
"types": "./dist/types/openapi.d.ts",
|
|
35
|
-
"default": "./dist/cjs/openapi.js"
|
|
36
|
-
}
|
|
37
|
-
|
|
58
|
+
"types": "./dist/types/openapi/index.d.ts",
|
|
59
|
+
"default": "./dist/cjs/openapi/index.js"
|
|
60
|
+
},
|
|
61
|
+
"default": "./dist/esm/openapi/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./package.json": "./package.json"
|
|
38
64
|
},
|
|
39
65
|
"files": [
|
|
40
66
|
"dist"
|
|
41
67
|
],
|
|
42
68
|
"keywords": [
|
|
43
69
|
"peable",
|
|
44
|
-
"gateway",
|
|
45
70
|
"payments",
|
|
46
|
-
"
|
|
71
|
+
"openapi",
|
|
72
|
+
"zod",
|
|
73
|
+
"contracts"
|
|
47
74
|
],
|
|
48
75
|
"repository": {
|
|
49
76
|
"type": "git",
|
|
@@ -73,5 +100,18 @@
|
|
|
73
100
|
},
|
|
74
101
|
"dependencies": {
|
|
75
102
|
"zod": "^4.6.7"
|
|
103
|
+
},
|
|
104
|
+
"typesVersions": {
|
|
105
|
+
"*": {
|
|
106
|
+
"vocabulary": [
|
|
107
|
+
"./dist/types/vocabulary/index.d.ts"
|
|
108
|
+
],
|
|
109
|
+
"contributions": [
|
|
110
|
+
"./dist/types/contributions.d.ts"
|
|
111
|
+
],
|
|
112
|
+
"openapi": [
|
|
113
|
+
"./dist/types/openapi/index.d.ts"
|
|
114
|
+
]
|
|
115
|
+
}
|
|
76
116
|
}
|
|
77
117
|
}
|
package/dist/cjs/openapi.js
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.contributionRoutes = void 0;
|
|
4
|
-
exports.contributionOpenApi = contributionOpenApi;
|
|
5
|
-
const zod_1 = require("zod");
|
|
6
|
-
const index_1 = require("./index");
|
|
7
|
-
const requestIdHeader = {
|
|
8
|
-
'Request-Id': {
|
|
9
|
-
description: 'Identifies this request to Peable support.',
|
|
10
|
-
schema: { type: 'string' },
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
const path = '/v1/organizations/{organizationId}/applications/{applicationId}/contributions';
|
|
14
|
-
exports.contributionRoutes = [
|
|
15
|
-
{
|
|
16
|
-
method: 'post',
|
|
17
|
-
path,
|
|
18
|
-
operationId: 'createContribution',
|
|
19
|
-
idempotencyKey: true,
|
|
20
|
-
body: index_1.createContributionSchema,
|
|
21
|
-
response: index_1.contributionLinkSchema,
|
|
22
|
-
status: 201,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
method: 'get',
|
|
26
|
-
path,
|
|
27
|
-
operationId: 'listContributions',
|
|
28
|
-
response: index_1.contributionListSchema,
|
|
29
|
-
status: 200,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
method: 'post',
|
|
33
|
-
path: `${path}/{id}`,
|
|
34
|
-
operationId: 'setContributionActive',
|
|
35
|
-
body: index_1.contributionPatchSchema,
|
|
36
|
-
response: index_1.contributionLinkSchema,
|
|
37
|
-
status: 200,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
method: 'get',
|
|
41
|
-
path: `${path}/{id}/collections`,
|
|
42
|
-
operationId: 'listContributionCollections',
|
|
43
|
-
response: index_1.contributionCollectionListSchema,
|
|
44
|
-
status: 200,
|
|
45
|
-
},
|
|
46
|
-
];
|
|
47
|
-
function contributionOpenApi() {
|
|
48
|
-
var _a;
|
|
49
|
-
const paths = {};
|
|
50
|
-
for (const route of exports.contributionRoutes) {
|
|
51
|
-
paths[_a = route.path] ?? (paths[_a] = {});
|
|
52
|
-
const parameters = [...route.path.matchAll(/\{([^}]+)\}/g)].map((match) => ({
|
|
53
|
-
in: 'path',
|
|
54
|
-
name: match[1],
|
|
55
|
-
required: true,
|
|
56
|
-
schema: { type: 'string' },
|
|
57
|
-
}));
|
|
58
|
-
parameters.push({
|
|
59
|
-
in: 'query',
|
|
60
|
-
name: 'environment',
|
|
61
|
-
required: true,
|
|
62
|
-
schema: { type: 'string', enum: ['development', 'staging', 'production'] },
|
|
63
|
-
});
|
|
64
|
-
if (route.method === 'get')
|
|
65
|
-
parameters.push({
|
|
66
|
-
in: 'query',
|
|
67
|
-
name: 'limit',
|
|
68
|
-
schema: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
|
|
69
|
-
}, {
|
|
70
|
-
in: 'query',
|
|
71
|
-
name: 'starting_after',
|
|
72
|
-
description: 'The id of the last object on the previous page.',
|
|
73
|
-
schema: { type: 'string' },
|
|
74
|
-
}, {
|
|
75
|
-
in: 'query',
|
|
76
|
-
name: 'ending_before',
|
|
77
|
-
description: 'The id of the first object on the current page; pages backwards, newest first.',
|
|
78
|
-
schema: { type: 'string' },
|
|
79
|
-
}, {
|
|
80
|
-
in: 'query',
|
|
81
|
-
name: 'created',
|
|
82
|
-
description: 'Unix seconds: one second, or `created[gt|gte|lt|lte]`.',
|
|
83
|
-
style: 'deepObject',
|
|
84
|
-
explode: true,
|
|
85
|
-
schema: {
|
|
86
|
-
oneOf: [
|
|
87
|
-
{ type: 'integer', minimum: 0 },
|
|
88
|
-
{
|
|
89
|
-
type: 'object',
|
|
90
|
-
additionalProperties: false,
|
|
91
|
-
properties: {
|
|
92
|
-
gt: { type: 'integer', minimum: 0 },
|
|
93
|
-
gte: { type: 'integer', minimum: 0 },
|
|
94
|
-
lt: { type: 'integer', minimum: 0 },
|
|
95
|
-
lte: { type: 'integer', minimum: 0 },
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
});
|
|
101
|
-
if ('idempotencyKey' in route)
|
|
102
|
-
parameters.push({
|
|
103
|
-
in: 'header',
|
|
104
|
-
name: 'Idempotency-Key',
|
|
105
|
-
required: true,
|
|
106
|
-
schema: { type: 'string', format: 'uuid' },
|
|
107
|
-
});
|
|
108
|
-
paths[route.path][route.method] = {
|
|
109
|
-
operationId: route.operationId,
|
|
110
|
-
security: [{ oxySession: [] }],
|
|
111
|
-
parameters,
|
|
112
|
-
...('body' in route
|
|
113
|
-
? {
|
|
114
|
-
requestBody: {
|
|
115
|
-
required: true,
|
|
116
|
-
content: { 'application/json': { schema: zod_1.z.toJSONSchema(route.body) } },
|
|
117
|
-
},
|
|
118
|
-
}
|
|
119
|
-
: {}),
|
|
120
|
-
responses: {
|
|
121
|
-
[route.status]: {
|
|
122
|
-
description: 'Success',
|
|
123
|
-
headers: requestIdHeader,
|
|
124
|
-
content: { 'application/json': { schema: zod_1.z.toJSONSchema(route.response) } },
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
description: 'Peable error envelope; HTTP status identifies failure',
|
|
128
|
-
headers: requestIdHeader,
|
|
129
|
-
content: {
|
|
130
|
-
'application/json': {
|
|
131
|
-
schema: {
|
|
132
|
-
type: 'object',
|
|
133
|
-
required: ['error'],
|
|
134
|
-
properties: {
|
|
135
|
-
error: {
|
|
136
|
-
type: 'object',
|
|
137
|
-
required: ['type', 'message', 'request_id'],
|
|
138
|
-
properties: {
|
|
139
|
-
type: { type: 'string' },
|
|
140
|
-
code: { type: 'string' },
|
|
141
|
-
param: { type: 'string' },
|
|
142
|
-
message: { type: 'string' },
|
|
143
|
-
request_id: { type: ['string', 'null'] },
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
return {
|
|
155
|
-
openapi: '3.1.0',
|
|
156
|
-
info: {
|
|
157
|
-
title: 'Peable organization contributions',
|
|
158
|
-
version: '0.2.0',
|
|
159
|
-
description: 'One-off links. Human Oxy session for management; existing /v1/payment_links/{id}/public and /payment_intent remain anonymous. Fixed/free amounts use FAIR base units (8 decimals); the registered merchant determines the network. Refunds cannot be created by the watch-only gateway. No recurring billing.',
|
|
160
|
-
},
|
|
161
|
-
servers: [{ url: 'https://api.peable.to' }],
|
|
162
|
-
components: { securitySchemes: { oxySession: { type: 'http', scheme: 'bearer' } } },
|
|
163
|
-
paths,
|
|
164
|
-
};
|
|
165
|
-
}
|
package/dist/esm/openapi.js
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { createContributionSchema, contributionLinkSchema, contributionListSchema, contributionCollectionListSchema, contributionPatchSchema, } from './index.js';
|
|
3
|
-
const requestIdHeader = {
|
|
4
|
-
'Request-Id': {
|
|
5
|
-
description: 'Identifies this request to Peable support.',
|
|
6
|
-
schema: { type: 'string' },
|
|
7
|
-
},
|
|
8
|
-
};
|
|
9
|
-
const path = '/v1/organizations/{organizationId}/applications/{applicationId}/contributions';
|
|
10
|
-
export const contributionRoutes = [
|
|
11
|
-
{
|
|
12
|
-
method: 'post',
|
|
13
|
-
path,
|
|
14
|
-
operationId: 'createContribution',
|
|
15
|
-
idempotencyKey: true,
|
|
16
|
-
body: createContributionSchema,
|
|
17
|
-
response: contributionLinkSchema,
|
|
18
|
-
status: 201,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
method: 'get',
|
|
22
|
-
path,
|
|
23
|
-
operationId: 'listContributions',
|
|
24
|
-
response: contributionListSchema,
|
|
25
|
-
status: 200,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
method: 'post',
|
|
29
|
-
path: `${path}/{id}`,
|
|
30
|
-
operationId: 'setContributionActive',
|
|
31
|
-
body: contributionPatchSchema,
|
|
32
|
-
response: contributionLinkSchema,
|
|
33
|
-
status: 200,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
method: 'get',
|
|
37
|
-
path: `${path}/{id}/collections`,
|
|
38
|
-
operationId: 'listContributionCollections',
|
|
39
|
-
response: contributionCollectionListSchema,
|
|
40
|
-
status: 200,
|
|
41
|
-
},
|
|
42
|
-
];
|
|
43
|
-
export function contributionOpenApi() {
|
|
44
|
-
var _a;
|
|
45
|
-
const paths = {};
|
|
46
|
-
for (const route of contributionRoutes) {
|
|
47
|
-
paths[_a = route.path] ?? (paths[_a] = {});
|
|
48
|
-
const parameters = [...route.path.matchAll(/\{([^}]+)\}/g)].map((match) => ({
|
|
49
|
-
in: 'path',
|
|
50
|
-
name: match[1],
|
|
51
|
-
required: true,
|
|
52
|
-
schema: { type: 'string' },
|
|
53
|
-
}));
|
|
54
|
-
parameters.push({
|
|
55
|
-
in: 'query',
|
|
56
|
-
name: 'environment',
|
|
57
|
-
required: true,
|
|
58
|
-
schema: { type: 'string', enum: ['development', 'staging', 'production'] },
|
|
59
|
-
});
|
|
60
|
-
if (route.method === 'get')
|
|
61
|
-
parameters.push({
|
|
62
|
-
in: 'query',
|
|
63
|
-
name: 'limit',
|
|
64
|
-
schema: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
|
|
65
|
-
}, {
|
|
66
|
-
in: 'query',
|
|
67
|
-
name: 'starting_after',
|
|
68
|
-
description: 'The id of the last object on the previous page.',
|
|
69
|
-
schema: { type: 'string' },
|
|
70
|
-
}, {
|
|
71
|
-
in: 'query',
|
|
72
|
-
name: 'ending_before',
|
|
73
|
-
description: 'The id of the first object on the current page; pages backwards, newest first.',
|
|
74
|
-
schema: { type: 'string' },
|
|
75
|
-
}, {
|
|
76
|
-
in: 'query',
|
|
77
|
-
name: 'created',
|
|
78
|
-
description: 'Unix seconds: one second, or `created[gt|gte|lt|lte]`.',
|
|
79
|
-
style: 'deepObject',
|
|
80
|
-
explode: true,
|
|
81
|
-
schema: {
|
|
82
|
-
oneOf: [
|
|
83
|
-
{ type: 'integer', minimum: 0 },
|
|
84
|
-
{
|
|
85
|
-
type: 'object',
|
|
86
|
-
additionalProperties: false,
|
|
87
|
-
properties: {
|
|
88
|
-
gt: { type: 'integer', minimum: 0 },
|
|
89
|
-
gte: { type: 'integer', minimum: 0 },
|
|
90
|
-
lt: { type: 'integer', minimum: 0 },
|
|
91
|
-
lte: { type: 'integer', minimum: 0 },
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
});
|
|
97
|
-
if ('idempotencyKey' in route)
|
|
98
|
-
parameters.push({
|
|
99
|
-
in: 'header',
|
|
100
|
-
name: 'Idempotency-Key',
|
|
101
|
-
required: true,
|
|
102
|
-
schema: { type: 'string', format: 'uuid' },
|
|
103
|
-
});
|
|
104
|
-
paths[route.path][route.method] = {
|
|
105
|
-
operationId: route.operationId,
|
|
106
|
-
security: [{ oxySession: [] }],
|
|
107
|
-
parameters,
|
|
108
|
-
...('body' in route
|
|
109
|
-
? {
|
|
110
|
-
requestBody: {
|
|
111
|
-
required: true,
|
|
112
|
-
content: { 'application/json': { schema: z.toJSONSchema(route.body) } },
|
|
113
|
-
},
|
|
114
|
-
}
|
|
115
|
-
: {}),
|
|
116
|
-
responses: {
|
|
117
|
-
[route.status]: {
|
|
118
|
-
description: 'Success',
|
|
119
|
-
headers: requestIdHeader,
|
|
120
|
-
content: { 'application/json': { schema: z.toJSONSchema(route.response) } },
|
|
121
|
-
},
|
|
122
|
-
default: {
|
|
123
|
-
description: 'Peable error envelope; HTTP status identifies failure',
|
|
124
|
-
headers: requestIdHeader,
|
|
125
|
-
content: {
|
|
126
|
-
'application/json': {
|
|
127
|
-
schema: {
|
|
128
|
-
type: 'object',
|
|
129
|
-
required: ['error'],
|
|
130
|
-
properties: {
|
|
131
|
-
error: {
|
|
132
|
-
type: 'object',
|
|
133
|
-
required: ['type', 'message', 'request_id'],
|
|
134
|
-
properties: {
|
|
135
|
-
type: { type: 'string' },
|
|
136
|
-
code: { type: 'string' },
|
|
137
|
-
param: { type: 'string' },
|
|
138
|
-
message: { type: 'string' },
|
|
139
|
-
request_id: { type: ['string', 'null'] },
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
return {
|
|
151
|
-
openapi: '3.1.0',
|
|
152
|
-
info: {
|
|
153
|
-
title: 'Peable organization contributions',
|
|
154
|
-
version: '0.2.0',
|
|
155
|
-
description: 'One-off links. Human Oxy session for management; existing /v1/payment_links/{id}/public and /payment_intent remain anonymous. Fixed/free amounts use FAIR base units (8 decimals); the registered merchant determines the network. Refunds cannot be created by the watch-only gateway. No recurring billing.',
|
|
156
|
-
},
|
|
157
|
-
servers: [{ url: 'https://api.peable.to' }],
|
|
158
|
-
components: { securitySchemes: { oxySession: { type: 'http', scheme: 'bearer' } } },
|
|
159
|
-
paths,
|
|
160
|
-
};
|
|
161
|
-
}
|
package/dist/types/openapi.d.ts
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const contributionRoutes: readonly [{
|
|
3
|
-
readonly method: "post";
|
|
4
|
-
readonly path: "/v1/organizations/{organizationId}/applications/{applicationId}/contributions";
|
|
5
|
-
readonly operationId: "createContribution";
|
|
6
|
-
readonly idempotencyKey: true;
|
|
7
|
-
readonly body: z.ZodObject<{
|
|
8
|
-
purpose: z.ZodString;
|
|
9
|
-
amount_mode: z.ZodEnum<{
|
|
10
|
-
fixed: "fixed";
|
|
11
|
-
free: "free";
|
|
12
|
-
}>;
|
|
13
|
-
amount: z.ZodOptional<z.ZodString>;
|
|
14
|
-
currency: z.ZodLiteral<"FAIR">;
|
|
15
|
-
expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$strict>;
|
|
17
|
-
readonly response: z.ZodObject<{
|
|
18
|
-
id: z.ZodString;
|
|
19
|
-
object: z.ZodLiteral<"payment_link">;
|
|
20
|
-
amount: z.ZodString;
|
|
21
|
-
currency: z.ZodLiteral<"FAIR">;
|
|
22
|
-
network: z.ZodEnum<{
|
|
23
|
-
mainnet: "mainnet";
|
|
24
|
-
testnet: "testnet";
|
|
25
|
-
}>;
|
|
26
|
-
active: z.ZodBoolean;
|
|
27
|
-
url: z.ZodURL;
|
|
28
|
-
contribution: z.ZodObject<{
|
|
29
|
-
organization_id: z.ZodString;
|
|
30
|
-
purpose: z.ZodString;
|
|
31
|
-
amount_mode: z.ZodEnum<{
|
|
32
|
-
fixed: "fixed";
|
|
33
|
-
free: "free";
|
|
34
|
-
}>;
|
|
35
|
-
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
36
|
-
}, z.core.$strict>;
|
|
37
|
-
created: z.ZodNumber;
|
|
38
|
-
}, z.core.$strict>;
|
|
39
|
-
readonly status: 201;
|
|
40
|
-
}, {
|
|
41
|
-
readonly method: "get";
|
|
42
|
-
readonly path: "/v1/organizations/{organizationId}/applications/{applicationId}/contributions";
|
|
43
|
-
readonly operationId: "listContributions";
|
|
44
|
-
readonly response: z.ZodObject<{
|
|
45
|
-
object: z.ZodLiteral<"list">;
|
|
46
|
-
data: z.ZodArray<z.ZodObject<{
|
|
47
|
-
id: z.ZodString;
|
|
48
|
-
object: z.ZodLiteral<"payment_link">;
|
|
49
|
-
amount: z.ZodString;
|
|
50
|
-
currency: z.ZodLiteral<"FAIR">;
|
|
51
|
-
network: z.ZodEnum<{
|
|
52
|
-
mainnet: "mainnet";
|
|
53
|
-
testnet: "testnet";
|
|
54
|
-
}>;
|
|
55
|
-
active: z.ZodBoolean;
|
|
56
|
-
url: z.ZodURL;
|
|
57
|
-
contribution: z.ZodObject<{
|
|
58
|
-
organization_id: z.ZodString;
|
|
59
|
-
purpose: z.ZodString;
|
|
60
|
-
amount_mode: z.ZodEnum<{
|
|
61
|
-
fixed: "fixed";
|
|
62
|
-
free: "free";
|
|
63
|
-
}>;
|
|
64
|
-
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
65
|
-
}, z.core.$strict>;
|
|
66
|
-
created: z.ZodNumber;
|
|
67
|
-
}, z.core.$strict>>;
|
|
68
|
-
has_more: z.ZodBoolean;
|
|
69
|
-
url: z.ZodString;
|
|
70
|
-
}, z.core.$strict>;
|
|
71
|
-
readonly status: 200;
|
|
72
|
-
}, {
|
|
73
|
-
readonly method: "post";
|
|
74
|
-
readonly path: "/v1/organizations/{organizationId}/applications/{applicationId}/contributions/{id}";
|
|
75
|
-
readonly operationId: "setContributionActive";
|
|
76
|
-
readonly body: z.ZodObject<{
|
|
77
|
-
active: z.ZodBoolean;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
readonly response: z.ZodObject<{
|
|
80
|
-
id: z.ZodString;
|
|
81
|
-
object: z.ZodLiteral<"payment_link">;
|
|
82
|
-
amount: z.ZodString;
|
|
83
|
-
currency: z.ZodLiteral<"FAIR">;
|
|
84
|
-
network: z.ZodEnum<{
|
|
85
|
-
mainnet: "mainnet";
|
|
86
|
-
testnet: "testnet";
|
|
87
|
-
}>;
|
|
88
|
-
active: z.ZodBoolean;
|
|
89
|
-
url: z.ZodURL;
|
|
90
|
-
contribution: z.ZodObject<{
|
|
91
|
-
organization_id: z.ZodString;
|
|
92
|
-
purpose: z.ZodString;
|
|
93
|
-
amount_mode: z.ZodEnum<{
|
|
94
|
-
fixed: "fixed";
|
|
95
|
-
free: "free";
|
|
96
|
-
}>;
|
|
97
|
-
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
98
|
-
}, z.core.$strict>;
|
|
99
|
-
created: z.ZodNumber;
|
|
100
|
-
}, z.core.$strict>;
|
|
101
|
-
readonly status: 200;
|
|
102
|
-
}, {
|
|
103
|
-
readonly method: "get";
|
|
104
|
-
readonly path: "/v1/organizations/{organizationId}/applications/{applicationId}/contributions/{id}/collections";
|
|
105
|
-
readonly operationId: "listContributionCollections";
|
|
106
|
-
readonly response: z.ZodObject<{
|
|
107
|
-
object: z.ZodLiteral<"list">;
|
|
108
|
-
data: z.ZodArray<z.ZodObject<{
|
|
109
|
-
id: z.ZodString;
|
|
110
|
-
object: z.ZodLiteral<"payment_intent">;
|
|
111
|
-
amount: z.ZodString;
|
|
112
|
-
currency: z.ZodLiteral<"FAIR">;
|
|
113
|
-
status: z.ZodString;
|
|
114
|
-
created: z.ZodNumber;
|
|
115
|
-
refund_capability: z.ZodLiteral<"unsupported_non_custodial">;
|
|
116
|
-
refunds: z.ZodArray<z.ZodObject<{
|
|
117
|
-
id: z.ZodString;
|
|
118
|
-
object: z.ZodLiteral<"refund">;
|
|
119
|
-
amount: z.ZodString;
|
|
120
|
-
status: z.ZodString;
|
|
121
|
-
created: z.ZodNumber;
|
|
122
|
-
}, z.core.$strict>>;
|
|
123
|
-
}, z.core.$strict>>;
|
|
124
|
-
has_more: z.ZodBoolean;
|
|
125
|
-
url: z.ZodString;
|
|
126
|
-
}, z.core.$strict>;
|
|
127
|
-
readonly status: 200;
|
|
128
|
-
}];
|
|
129
|
-
export declare function contributionOpenApi(): {
|
|
130
|
-
openapi: string;
|
|
131
|
-
info: {
|
|
132
|
-
title: string;
|
|
133
|
-
version: string;
|
|
134
|
-
description: string;
|
|
135
|
-
};
|
|
136
|
-
servers: {
|
|
137
|
-
url: string;
|
|
138
|
-
}[];
|
|
139
|
-
components: {
|
|
140
|
-
securitySchemes: {
|
|
141
|
-
oxySession: {
|
|
142
|
-
type: string;
|
|
143
|
-
scheme: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
paths: Record<string, Record<string, unknown>>;
|
|
148
|
-
};
|