@dimmi/api 0.3.1 → 0.4.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/schema.d.ts +781 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1298,6 +1298,194 @@ export interface paths {
|
|
|
1298
1298
|
patch?: never;
|
|
1299
1299
|
trace?: never;
|
|
1300
1300
|
};
|
|
1301
|
+
"/billing": {
|
|
1302
|
+
parameters: {
|
|
1303
|
+
query?: never;
|
|
1304
|
+
header?: never;
|
|
1305
|
+
path?: never;
|
|
1306
|
+
cookie?: never;
|
|
1307
|
+
};
|
|
1308
|
+
/**
|
|
1309
|
+
* Read the workspace's billing
|
|
1310
|
+
* @description Reads the currency and price book the workspace is billed on, where its billing stands, and its saved cards. Returns the billing account with its cards, each by brand and last four digits.
|
|
1311
|
+
*/
|
|
1312
|
+
get: operations["billing.show"];
|
|
1313
|
+
put?: never;
|
|
1314
|
+
post?: never;
|
|
1315
|
+
delete?: never;
|
|
1316
|
+
options?: never;
|
|
1317
|
+
head?: never;
|
|
1318
|
+
/**
|
|
1319
|
+
* Change the workspace's billing
|
|
1320
|
+
* @description Changes the currency the workspace is billed in, USD or NGN, and the details its invoices print. Takes an owner or an admin. Returns the billing account as it is now.
|
|
1321
|
+
*/
|
|
1322
|
+
patch: operations["billing.update"];
|
|
1323
|
+
trace?: never;
|
|
1324
|
+
};
|
|
1325
|
+
"/billing/card-check-confirmations": {
|
|
1326
|
+
parameters: {
|
|
1327
|
+
query?: never;
|
|
1328
|
+
header?: never;
|
|
1329
|
+
path?: never;
|
|
1330
|
+
cookie?: never;
|
|
1331
|
+
};
|
|
1332
|
+
get?: never;
|
|
1333
|
+
put?: never;
|
|
1334
|
+
/**
|
|
1335
|
+
* Finish saving a card
|
|
1336
|
+
* @description Finishes the card check the teammate came back from: saves the card when it succeeded and refunds the check. Returns the billing account with the saved card.
|
|
1337
|
+
*/
|
|
1338
|
+
post: operations["billing.card-check-confirmations.store"];
|
|
1339
|
+
delete?: never;
|
|
1340
|
+
options?: never;
|
|
1341
|
+
head?: never;
|
|
1342
|
+
patch?: never;
|
|
1343
|
+
trace?: never;
|
|
1344
|
+
};
|
|
1345
|
+
"/billing/card-checks": {
|
|
1346
|
+
parameters: {
|
|
1347
|
+
query?: never;
|
|
1348
|
+
header?: never;
|
|
1349
|
+
path?: never;
|
|
1350
|
+
cookie?: never;
|
|
1351
|
+
};
|
|
1352
|
+
get?: never;
|
|
1353
|
+
put?: never;
|
|
1354
|
+
/**
|
|
1355
|
+
* Start saving a card
|
|
1356
|
+
* @description Opens a hosted card checkout for a small card check, refunded once the card is verified. Send the teammate to the page it returns. Returns the checkout page's address.
|
|
1357
|
+
*/
|
|
1358
|
+
post: operations["billing.card-checks.store"];
|
|
1359
|
+
delete?: never;
|
|
1360
|
+
options?: never;
|
|
1361
|
+
head?: never;
|
|
1362
|
+
patch?: never;
|
|
1363
|
+
trace?: never;
|
|
1364
|
+
};
|
|
1365
|
+
"/billing/cards/{card}": {
|
|
1366
|
+
parameters: {
|
|
1367
|
+
query?: never;
|
|
1368
|
+
header?: never;
|
|
1369
|
+
path?: never;
|
|
1370
|
+
cookie?: never;
|
|
1371
|
+
};
|
|
1372
|
+
get?: never;
|
|
1373
|
+
put?: never;
|
|
1374
|
+
post?: never;
|
|
1375
|
+
/**
|
|
1376
|
+
* Remove a saved card
|
|
1377
|
+
* @description Removes a saved card. The workspace keeps at least one; removing the default moves it to another card. Returns the billing account with the cards left.
|
|
1378
|
+
*/
|
|
1379
|
+
delete: operations["billing.cards.destroy"];
|
|
1380
|
+
options?: never;
|
|
1381
|
+
head?: never;
|
|
1382
|
+
/**
|
|
1383
|
+
* Make a card the default
|
|
1384
|
+
* @description Makes a saved card the one invoices are charged to first. Takes an owner or an admin. Returns the billing account with its cards.
|
|
1385
|
+
*/
|
|
1386
|
+
patch: operations["billing.cards.update"];
|
|
1387
|
+
trace?: never;
|
|
1388
|
+
};
|
|
1389
|
+
"/billing/invoices": {
|
|
1390
|
+
parameters: {
|
|
1391
|
+
query?: never;
|
|
1392
|
+
header?: never;
|
|
1393
|
+
path?: never;
|
|
1394
|
+
cookie?: never;
|
|
1395
|
+
};
|
|
1396
|
+
/**
|
|
1397
|
+
* List invoices
|
|
1398
|
+
* @description Lists the workspace's monthly invoices, newest first. Returns each invoice's number, month, total and whether it is paid.
|
|
1399
|
+
*/
|
|
1400
|
+
get: operations["billing.invoices.index"];
|
|
1401
|
+
put?: never;
|
|
1402
|
+
post?: never;
|
|
1403
|
+
delete?: never;
|
|
1404
|
+
options?: never;
|
|
1405
|
+
head?: never;
|
|
1406
|
+
patch?: never;
|
|
1407
|
+
trace?: never;
|
|
1408
|
+
};
|
|
1409
|
+
"/billing/invoices/{invoice}": {
|
|
1410
|
+
parameters: {
|
|
1411
|
+
query?: never;
|
|
1412
|
+
header?: never;
|
|
1413
|
+
path?: never;
|
|
1414
|
+
cookie?: never;
|
|
1415
|
+
};
|
|
1416
|
+
/**
|
|
1417
|
+
* Read an invoice
|
|
1418
|
+
* @description Reads one invoice with its lines. Returns the invoice with every line.
|
|
1419
|
+
*/
|
|
1420
|
+
get: operations["billing.invoices.show"];
|
|
1421
|
+
put?: never;
|
|
1422
|
+
post?: never;
|
|
1423
|
+
delete?: never;
|
|
1424
|
+
options?: never;
|
|
1425
|
+
head?: never;
|
|
1426
|
+
patch?: never;
|
|
1427
|
+
trace?: never;
|
|
1428
|
+
};
|
|
1429
|
+
"/billing/invoices/{invoice}/payments": {
|
|
1430
|
+
parameters: {
|
|
1431
|
+
query?: never;
|
|
1432
|
+
header?: never;
|
|
1433
|
+
path?: never;
|
|
1434
|
+
cookie?: never;
|
|
1435
|
+
};
|
|
1436
|
+
get?: never;
|
|
1437
|
+
put?: never;
|
|
1438
|
+
/**
|
|
1439
|
+
* Pay an invoice now
|
|
1440
|
+
* @description Charges an unpaid invoice to the workspace's cards straight away, the default first. Returns the invoice as it stands after the charge.
|
|
1441
|
+
*/
|
|
1442
|
+
post: operations["billing.invoices.payments.store"];
|
|
1443
|
+
delete?: never;
|
|
1444
|
+
options?: never;
|
|
1445
|
+
head?: never;
|
|
1446
|
+
patch?: never;
|
|
1447
|
+
trace?: never;
|
|
1448
|
+
};
|
|
1449
|
+
"/billing/invoices/{invoice}/pdf": {
|
|
1450
|
+
parameters: {
|
|
1451
|
+
query?: never;
|
|
1452
|
+
header?: never;
|
|
1453
|
+
path?: never;
|
|
1454
|
+
cookie?: never;
|
|
1455
|
+
};
|
|
1456
|
+
/**
|
|
1457
|
+
* Download an invoice
|
|
1458
|
+
* @description Downloads one invoice as a PDF, with the details it prints and every line. Returns the invoice as a PDF file.
|
|
1459
|
+
*/
|
|
1460
|
+
get: operations["billing.invoices.pdf.show"];
|
|
1461
|
+
put?: never;
|
|
1462
|
+
post?: never;
|
|
1463
|
+
delete?: never;
|
|
1464
|
+
options?: never;
|
|
1465
|
+
head?: never;
|
|
1466
|
+
patch?: never;
|
|
1467
|
+
trace?: never;
|
|
1468
|
+
};
|
|
1469
|
+
"/billing/usage": {
|
|
1470
|
+
parameters: {
|
|
1471
|
+
query?: never;
|
|
1472
|
+
header?: never;
|
|
1473
|
+
path?: never;
|
|
1474
|
+
cookie?: never;
|
|
1475
|
+
};
|
|
1476
|
+
/**
|
|
1477
|
+
* Read this month's usage
|
|
1478
|
+
* @description Reads what the workspace used so far this month and what it comes to, line by line, on its price book and in its currency. Returns the counts, the bill's lines and its total so far.
|
|
1479
|
+
*/
|
|
1480
|
+
get: operations["billing.usage.show"];
|
|
1481
|
+
put?: never;
|
|
1482
|
+
post?: never;
|
|
1483
|
+
delete?: never;
|
|
1484
|
+
options?: never;
|
|
1485
|
+
head?: never;
|
|
1486
|
+
patch?: never;
|
|
1487
|
+
trace?: never;
|
|
1488
|
+
};
|
|
1301
1489
|
"/broadcast-preferences/{token}": {
|
|
1302
1490
|
parameters: {
|
|
1303
1491
|
query?: never;
|
|
@@ -13010,6 +13198,234 @@ export interface components {
|
|
|
13010
13198
|
/** @description What fills the messenger's home hero and header: solid, gradient or image. */
|
|
13011
13199
|
type: string;
|
|
13012
13200
|
};
|
|
13201
|
+
BillingAccount: {
|
|
13202
|
+
/** @description The postal address invoices print, as lines of text. Empty prints none. */
|
|
13203
|
+
address: string;
|
|
13204
|
+
/** @description Where receipts and invoices go. Null sends them to the teammate who saved the card. */
|
|
13205
|
+
billing_email: string | null;
|
|
13206
|
+
/**
|
|
13207
|
+
* Format: date-time
|
|
13208
|
+
* @description When the workspace passed its free allowance without a saved card, as a UTC time. Null when no card is needed.
|
|
13209
|
+
*/
|
|
13210
|
+
card_required_at: string | null;
|
|
13211
|
+
/** @description The saved cards, the default first. */
|
|
13212
|
+
cards: components["schemas"]["BillingCard"][] | null;
|
|
13213
|
+
/** @description The country invoices print, as a two-letter ISO code such as NG. Empty prints none. */
|
|
13214
|
+
country: string;
|
|
13215
|
+
/** @description The currency the workspace is billed in: USD or NGN. */
|
|
13216
|
+
currency: string;
|
|
13217
|
+
/** @description The payment gateway that keeps the cards and charges them, such as paystack. */
|
|
13218
|
+
gateway: string;
|
|
13219
|
+
/** @description The company name invoices print. Empty prints the workspace's name. */
|
|
13220
|
+
legal_name: string;
|
|
13221
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
13222
|
+
object: string;
|
|
13223
|
+
/** @description The price book the workspace is billed on, such as 2026-12. It stays the same when prices change. */
|
|
13224
|
+
price_book: string;
|
|
13225
|
+
/** @description Where billing stands: free, card_on_file, past_due or suspended. */
|
|
13226
|
+
status: string;
|
|
13227
|
+
/** @description The tax ID invoices print, such as a TIN or VAT number. Empty prints none. */
|
|
13228
|
+
tax_id: string;
|
|
13229
|
+
};
|
|
13230
|
+
BillingCard: {
|
|
13231
|
+
/** @description The bank that issued the card, when the gateway knows it. */
|
|
13232
|
+
bank: string;
|
|
13233
|
+
/** @description The card's brand, such as visa or mastercard. */
|
|
13234
|
+
brand: string;
|
|
13235
|
+
/**
|
|
13236
|
+
* Format: date-time
|
|
13237
|
+
* @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
|
|
13238
|
+
*/
|
|
13239
|
+
created_at: string;
|
|
13240
|
+
/** @description The currency the card was saved in: USD or NGN. */
|
|
13241
|
+
currency: string;
|
|
13242
|
+
/** @description The month the card expires, from 01 to 12. */
|
|
13243
|
+
exp_month: string;
|
|
13244
|
+
/** @description The year the card expires. */
|
|
13245
|
+
exp_year: string;
|
|
13246
|
+
/** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
|
|
13247
|
+
id: string;
|
|
13248
|
+
/** @description Whether invoices are charged to this card first. */
|
|
13249
|
+
is_default: boolean;
|
|
13250
|
+
/** @description The card number's last four digits. */
|
|
13251
|
+
last4: string;
|
|
13252
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
13253
|
+
object: string;
|
|
13254
|
+
};
|
|
13255
|
+
BillingCardCheckConfirmationBody: {
|
|
13256
|
+
/** @description Reference: text of at most 100 characters. */
|
|
13257
|
+
reference: string;
|
|
13258
|
+
};
|
|
13259
|
+
BillingCardUpdateBody: {
|
|
13260
|
+
/** @description Is default: true or false. */
|
|
13261
|
+
is_default: boolean;
|
|
13262
|
+
};
|
|
13263
|
+
BillingCheckout: {
|
|
13264
|
+
/** @description The token the gateway's own script opens the checkout with over the page, such as a Paystack access code. */
|
|
13265
|
+
client_token: string;
|
|
13266
|
+
/** @description The payment gateway the checkout is at, such as paystack. */
|
|
13267
|
+
gateway: string;
|
|
13268
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
13269
|
+
object: string;
|
|
13270
|
+
/** @description The hosted checkout page to send the teammate to. */
|
|
13271
|
+
url: string;
|
|
13272
|
+
};
|
|
13273
|
+
BillingInvoice: {
|
|
13274
|
+
/** @description Where to finish paying when the card needed the customer, such as for a one-time code. Null otherwise. */
|
|
13275
|
+
checkout_url: string | null;
|
|
13276
|
+
/**
|
|
13277
|
+
* Format: date-time
|
|
13278
|
+
* @description When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
|
|
13279
|
+
*/
|
|
13280
|
+
created_at: string;
|
|
13281
|
+
/** @description The currency the invoice is in: USD or NGN. */
|
|
13282
|
+
currency: string;
|
|
13283
|
+
/** @description Where a dispute on the invoice's payment stands: none, open, won (the payment stands) or lost (it was returned). */
|
|
13284
|
+
dispute_status: string;
|
|
13285
|
+
/** @description The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place. */
|
|
13286
|
+
id: string;
|
|
13287
|
+
/** @description The invoice's lines, when one invoice is read. */
|
|
13288
|
+
lines?: components["schemas"]["BillingLine"][] | null;
|
|
13289
|
+
/**
|
|
13290
|
+
* Format: date-time
|
|
13291
|
+
* @description When a past-due invoice is charged again, as a UTC time. Null when no retry is scheduled.
|
|
13292
|
+
*/
|
|
13293
|
+
next_attempt_at: string | null;
|
|
13294
|
+
/** @description The invoice number, such as DIM-000042. */
|
|
13295
|
+
number: string;
|
|
13296
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
13297
|
+
object: string;
|
|
13298
|
+
/**
|
|
13299
|
+
* Format: date-time
|
|
13300
|
+
* @description When the invoice was paid, as a UTC time. Null until then.
|
|
13301
|
+
*/
|
|
13302
|
+
paid_at: string | null;
|
|
13303
|
+
/**
|
|
13304
|
+
* Format: date-time
|
|
13305
|
+
* @description When the month the invoice covers ended.
|
|
13306
|
+
*/
|
|
13307
|
+
period_end: string;
|
|
13308
|
+
/**
|
|
13309
|
+
* Format: date-time
|
|
13310
|
+
* @description When the month the invoice covers began.
|
|
13311
|
+
*/
|
|
13312
|
+
period_start: string;
|
|
13313
|
+
/**
|
|
13314
|
+
* Format: date-time
|
|
13315
|
+
* @description When the latest refund on the invoice finished, as a UTC time. Null when none did.
|
|
13316
|
+
*/
|
|
13317
|
+
refunded_at: string | null;
|
|
13318
|
+
/**
|
|
13319
|
+
* Format: int64
|
|
13320
|
+
* @description How much of the invoice was refunded, in the currency's minor unit. 0 when nothing was.
|
|
13321
|
+
*/
|
|
13322
|
+
refunded_minor: number;
|
|
13323
|
+
/** @description Where the invoice stands: open, paid, carried (under the minimum and rolled into the next invoice), or past_due once every card failed. */
|
|
13324
|
+
status: string;
|
|
13325
|
+
/**
|
|
13326
|
+
* Format: int64
|
|
13327
|
+
* @description What the invoice comes to, in the currency's minor unit.
|
|
13328
|
+
*/
|
|
13329
|
+
total_minor: number;
|
|
13330
|
+
};
|
|
13331
|
+
BillingLine: {
|
|
13332
|
+
/**
|
|
13333
|
+
* Format: int64
|
|
13334
|
+
* @description The line's amount in the currency's minor unit, cents or kobo. A free allowance is negative.
|
|
13335
|
+
*/
|
|
13336
|
+
amount_minor: number;
|
|
13337
|
+
/** @description What the line is for, such as AI conversations, 101–500. */
|
|
13338
|
+
description: string;
|
|
13339
|
+
/** @description What the line counts: conversations_ai, conversations_human, free_conversations, credits, free_credits, email or carried. */
|
|
13340
|
+
kind: string;
|
|
13341
|
+
/**
|
|
13342
|
+
* Format: int64
|
|
13343
|
+
* @description How many units the line prices.
|
|
13344
|
+
*/
|
|
13345
|
+
quantity: number;
|
|
13346
|
+
/** @description The price of one unit, written for a reader, such as $0.15 or ₦100. */
|
|
13347
|
+
rate: string;
|
|
13348
|
+
};
|
|
13349
|
+
BillingUpdateBody: {
|
|
13350
|
+
/** @description Address: text of at most 500 characters. */
|
|
13351
|
+
address?: string;
|
|
13352
|
+
/** @description Billing email: text of at most 320 characters. */
|
|
13353
|
+
billing_email?: string;
|
|
13354
|
+
/** @description Country: text of at most 2 characters. */
|
|
13355
|
+
country?: string;
|
|
13356
|
+
/**
|
|
13357
|
+
* @description A three-letter currency code, such as USD.
|
|
13358
|
+
* @enum {string}
|
|
13359
|
+
*/
|
|
13360
|
+
currency?: "USD" | "NGN";
|
|
13361
|
+
/** @description Legal name: text of at most 200 characters. */
|
|
13362
|
+
legal_name?: string;
|
|
13363
|
+
/** @description Tax id: the id of the tax, as the tool that lists them shows it. */
|
|
13364
|
+
tax_id?: string;
|
|
13365
|
+
};
|
|
13366
|
+
BillingUsage: {
|
|
13367
|
+
counts: components["schemas"]["BillingUsageCounts"];
|
|
13368
|
+
/** @description The currency the bill is in: USD or NGN. */
|
|
13369
|
+
currency: string;
|
|
13370
|
+
/**
|
|
13371
|
+
* Format: int64
|
|
13372
|
+
* @description How many conversations the workspace's price book gives free each month.
|
|
13373
|
+
*/
|
|
13374
|
+
free_conversations: number;
|
|
13375
|
+
/** @description The bill so far, line by line. */
|
|
13376
|
+
lines: components["schemas"]["BillingLine"][] | null;
|
|
13377
|
+
/** @description The kind of record this is, the same for every record of its kind, such as article. */
|
|
13378
|
+
object: string;
|
|
13379
|
+
/**
|
|
13380
|
+
* Format: date-time
|
|
13381
|
+
* @description When the month ends, as a UTC time.
|
|
13382
|
+
*/
|
|
13383
|
+
period_end: string;
|
|
13384
|
+
/**
|
|
13385
|
+
* Format: date-time
|
|
13386
|
+
* @description When the month began, as a UTC time.
|
|
13387
|
+
*/
|
|
13388
|
+
period_start: string;
|
|
13389
|
+
/** @description The price book the bill is rated on. */
|
|
13390
|
+
price_book: string;
|
|
13391
|
+
/**
|
|
13392
|
+
* Format: int64
|
|
13393
|
+
* @description What the month comes to so far, in the currency's minor unit.
|
|
13394
|
+
*/
|
|
13395
|
+
total_minor: number;
|
|
13396
|
+
};
|
|
13397
|
+
BillingUsageCounts: {
|
|
13398
|
+
/**
|
|
13399
|
+
* Format: int64
|
|
13400
|
+
* @description Conversations the AI agent replied in on dimmi's models.
|
|
13401
|
+
*/
|
|
13402
|
+
ai_conversations: number;
|
|
13403
|
+
/**
|
|
13404
|
+
* Format: int64
|
|
13405
|
+
* @description Conversations the AI agent replied in on the workspace's own model key.
|
|
13406
|
+
*/
|
|
13407
|
+
ai_on_own_key: number;
|
|
13408
|
+
/**
|
|
13409
|
+
* Format: int64
|
|
13410
|
+
* @description Operator, routine and simulation runs on dimmi's models.
|
|
13411
|
+
*/
|
|
13412
|
+
credit_runs: number;
|
|
13413
|
+
/**
|
|
13414
|
+
* Format: int64
|
|
13415
|
+
* @description Broadcast and series emails sent.
|
|
13416
|
+
*/
|
|
13417
|
+
emails: number;
|
|
13418
|
+
/**
|
|
13419
|
+
* Format: int64
|
|
13420
|
+
* @description Further units from long AI threads: one for every 10 AI replies.
|
|
13421
|
+
*/
|
|
13422
|
+
extra_ai_units: number;
|
|
13423
|
+
/**
|
|
13424
|
+
* Format: int64
|
|
13425
|
+
* @description Conversations only the team replied in.
|
|
13426
|
+
*/
|
|
13427
|
+
human_conversations: number;
|
|
13428
|
+
};
|
|
13013
13429
|
Branding: {
|
|
13014
13430
|
/** @description True when the workspace may not hide the dimmi badge: on the cloud edition until it has paid. */
|
|
13015
13431
|
locked: boolean;
|
|
@@ -23495,6 +23911,18 @@ export interface components {
|
|
|
23495
23911
|
ResourceAuthFactor: {
|
|
23496
23912
|
data: components["schemas"]["AuthFactor"];
|
|
23497
23913
|
};
|
|
23914
|
+
ResourceBillingAccount: {
|
|
23915
|
+
data: components["schemas"]["BillingAccount"];
|
|
23916
|
+
};
|
|
23917
|
+
ResourceBillingCheckout: {
|
|
23918
|
+
data: components["schemas"]["BillingCheckout"];
|
|
23919
|
+
};
|
|
23920
|
+
ResourceBillingInvoice: {
|
|
23921
|
+
data: components["schemas"]["BillingInvoice"];
|
|
23922
|
+
};
|
|
23923
|
+
ResourceBillingUsage: {
|
|
23924
|
+
data: components["schemas"]["BillingUsage"];
|
|
23925
|
+
};
|
|
23498
23926
|
ResourceBroadcast: {
|
|
23499
23927
|
data: components["schemas"]["Broadcast"];
|
|
23500
23928
|
};
|
|
@@ -23711,6 +24139,10 @@ export interface components {
|
|
|
23711
24139
|
ResourceKnowledgeUsage: {
|
|
23712
24140
|
data: components["schemas"]["KnowledgeUsage"];
|
|
23713
24141
|
};
|
|
24142
|
+
ResourceListBillingInvoice: {
|
|
24143
|
+
/** @description The items, as a list; empty when there are none. */
|
|
24144
|
+
data: components["schemas"]["BillingInvoice"][] | null;
|
|
24145
|
+
};
|
|
23714
24146
|
ResourceListFeedbackBoard: {
|
|
23715
24147
|
/** @description The items, as a list; empty when there are none. */
|
|
23716
24148
|
data: components["schemas"]["FeedbackBoard"][] | null;
|
|
@@ -33392,6 +33824,355 @@ export interface operations {
|
|
|
33392
33824
|
};
|
|
33393
33825
|
};
|
|
33394
33826
|
};
|
|
33827
|
+
"billing.show": {
|
|
33828
|
+
parameters: {
|
|
33829
|
+
query?: never;
|
|
33830
|
+
header?: never;
|
|
33831
|
+
path?: never;
|
|
33832
|
+
cookie?: never;
|
|
33833
|
+
};
|
|
33834
|
+
requestBody?: never;
|
|
33835
|
+
responses: {
|
|
33836
|
+
/** @description OK */
|
|
33837
|
+
200: {
|
|
33838
|
+
headers: {
|
|
33839
|
+
[name: string]: unknown;
|
|
33840
|
+
};
|
|
33841
|
+
content: {
|
|
33842
|
+
"application/json": components["schemas"]["ResourceBillingAccount"];
|
|
33843
|
+
};
|
|
33844
|
+
};
|
|
33845
|
+
/** @description Error */
|
|
33846
|
+
default: {
|
|
33847
|
+
headers: {
|
|
33848
|
+
[name: string]: unknown;
|
|
33849
|
+
};
|
|
33850
|
+
content: {
|
|
33851
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
33852
|
+
};
|
|
33853
|
+
};
|
|
33854
|
+
};
|
|
33855
|
+
};
|
|
33856
|
+
"billing.update": {
|
|
33857
|
+
parameters: {
|
|
33858
|
+
query?: never;
|
|
33859
|
+
header?: never;
|
|
33860
|
+
path?: never;
|
|
33861
|
+
cookie?: never;
|
|
33862
|
+
};
|
|
33863
|
+
requestBody: {
|
|
33864
|
+
content: {
|
|
33865
|
+
"application/json": components["schemas"]["BillingUpdateBody"];
|
|
33866
|
+
};
|
|
33867
|
+
};
|
|
33868
|
+
responses: {
|
|
33869
|
+
/** @description OK */
|
|
33870
|
+
200: {
|
|
33871
|
+
headers: {
|
|
33872
|
+
[name: string]: unknown;
|
|
33873
|
+
};
|
|
33874
|
+
content: {
|
|
33875
|
+
"application/json": components["schemas"]["ResourceBillingAccount"];
|
|
33876
|
+
};
|
|
33877
|
+
};
|
|
33878
|
+
/** @description Error */
|
|
33879
|
+
default: {
|
|
33880
|
+
headers: {
|
|
33881
|
+
[name: string]: unknown;
|
|
33882
|
+
};
|
|
33883
|
+
content: {
|
|
33884
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
33885
|
+
};
|
|
33886
|
+
};
|
|
33887
|
+
};
|
|
33888
|
+
};
|
|
33889
|
+
"billing.card-check-confirmations.store": {
|
|
33890
|
+
parameters: {
|
|
33891
|
+
query?: never;
|
|
33892
|
+
header?: never;
|
|
33893
|
+
path?: never;
|
|
33894
|
+
cookie?: never;
|
|
33895
|
+
};
|
|
33896
|
+
requestBody: {
|
|
33897
|
+
content: {
|
|
33898
|
+
"application/json": components["schemas"]["BillingCardCheckConfirmationBody"];
|
|
33899
|
+
};
|
|
33900
|
+
};
|
|
33901
|
+
responses: {
|
|
33902
|
+
/** @description OK */
|
|
33903
|
+
200: {
|
|
33904
|
+
headers: {
|
|
33905
|
+
[name: string]: unknown;
|
|
33906
|
+
};
|
|
33907
|
+
content: {
|
|
33908
|
+
"application/json": components["schemas"]["ResourceBillingAccount"];
|
|
33909
|
+
};
|
|
33910
|
+
};
|
|
33911
|
+
/** @description Error */
|
|
33912
|
+
default: {
|
|
33913
|
+
headers: {
|
|
33914
|
+
[name: string]: unknown;
|
|
33915
|
+
};
|
|
33916
|
+
content: {
|
|
33917
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
33918
|
+
};
|
|
33919
|
+
};
|
|
33920
|
+
};
|
|
33921
|
+
};
|
|
33922
|
+
"billing.card-checks.store": {
|
|
33923
|
+
parameters: {
|
|
33924
|
+
query?: never;
|
|
33925
|
+
header?: never;
|
|
33926
|
+
path?: never;
|
|
33927
|
+
cookie?: never;
|
|
33928
|
+
};
|
|
33929
|
+
requestBody?: never;
|
|
33930
|
+
responses: {
|
|
33931
|
+
/** @description Created */
|
|
33932
|
+
201: {
|
|
33933
|
+
headers: {
|
|
33934
|
+
[name: string]: unknown;
|
|
33935
|
+
};
|
|
33936
|
+
content: {
|
|
33937
|
+
"application/json": components["schemas"]["ResourceBillingCheckout"];
|
|
33938
|
+
};
|
|
33939
|
+
};
|
|
33940
|
+
/** @description Error */
|
|
33941
|
+
default: {
|
|
33942
|
+
headers: {
|
|
33943
|
+
[name: string]: unknown;
|
|
33944
|
+
};
|
|
33945
|
+
content: {
|
|
33946
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
33947
|
+
};
|
|
33948
|
+
};
|
|
33949
|
+
};
|
|
33950
|
+
};
|
|
33951
|
+
"billing.cards.destroy": {
|
|
33952
|
+
parameters: {
|
|
33953
|
+
query?: never;
|
|
33954
|
+
header?: never;
|
|
33955
|
+
path: {
|
|
33956
|
+
/** @description The saved card (bpm_...) to remove. */
|
|
33957
|
+
card: string;
|
|
33958
|
+
};
|
|
33959
|
+
cookie?: never;
|
|
33960
|
+
};
|
|
33961
|
+
requestBody?: never;
|
|
33962
|
+
responses: {
|
|
33963
|
+
/** @description OK */
|
|
33964
|
+
200: {
|
|
33965
|
+
headers: {
|
|
33966
|
+
[name: string]: unknown;
|
|
33967
|
+
};
|
|
33968
|
+
content: {
|
|
33969
|
+
"application/json": components["schemas"]["ResourceBillingAccount"];
|
|
33970
|
+
};
|
|
33971
|
+
};
|
|
33972
|
+
/** @description Error */
|
|
33973
|
+
default: {
|
|
33974
|
+
headers: {
|
|
33975
|
+
[name: string]: unknown;
|
|
33976
|
+
};
|
|
33977
|
+
content: {
|
|
33978
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
33979
|
+
};
|
|
33980
|
+
};
|
|
33981
|
+
};
|
|
33982
|
+
};
|
|
33983
|
+
"billing.cards.update": {
|
|
33984
|
+
parameters: {
|
|
33985
|
+
query?: never;
|
|
33986
|
+
header?: never;
|
|
33987
|
+
path: {
|
|
33988
|
+
/** @description The saved card (bpm_...) to charge first. */
|
|
33989
|
+
card: string;
|
|
33990
|
+
};
|
|
33991
|
+
cookie?: never;
|
|
33992
|
+
};
|
|
33993
|
+
requestBody: {
|
|
33994
|
+
content: {
|
|
33995
|
+
"application/json": components["schemas"]["BillingCardUpdateBody"];
|
|
33996
|
+
};
|
|
33997
|
+
};
|
|
33998
|
+
responses: {
|
|
33999
|
+
/** @description OK */
|
|
34000
|
+
200: {
|
|
34001
|
+
headers: {
|
|
34002
|
+
[name: string]: unknown;
|
|
34003
|
+
};
|
|
34004
|
+
content: {
|
|
34005
|
+
"application/json": components["schemas"]["ResourceBillingAccount"];
|
|
34006
|
+
};
|
|
34007
|
+
};
|
|
34008
|
+
/** @description Error */
|
|
34009
|
+
default: {
|
|
34010
|
+
headers: {
|
|
34011
|
+
[name: string]: unknown;
|
|
34012
|
+
};
|
|
34013
|
+
content: {
|
|
34014
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34015
|
+
};
|
|
34016
|
+
};
|
|
34017
|
+
};
|
|
34018
|
+
};
|
|
34019
|
+
"billing.invoices.index": {
|
|
34020
|
+
parameters: {
|
|
34021
|
+
query?: never;
|
|
34022
|
+
header?: never;
|
|
34023
|
+
path?: never;
|
|
34024
|
+
cookie?: never;
|
|
34025
|
+
};
|
|
34026
|
+
requestBody?: never;
|
|
34027
|
+
responses: {
|
|
34028
|
+
/** @description OK */
|
|
34029
|
+
200: {
|
|
34030
|
+
headers: {
|
|
34031
|
+
[name: string]: unknown;
|
|
34032
|
+
};
|
|
34033
|
+
content: {
|
|
34034
|
+
"application/json": components["schemas"]["ResourceListBillingInvoice"];
|
|
34035
|
+
};
|
|
34036
|
+
};
|
|
34037
|
+
/** @description Error */
|
|
34038
|
+
default: {
|
|
34039
|
+
headers: {
|
|
34040
|
+
[name: string]: unknown;
|
|
34041
|
+
};
|
|
34042
|
+
content: {
|
|
34043
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34044
|
+
};
|
|
34045
|
+
};
|
|
34046
|
+
};
|
|
34047
|
+
};
|
|
34048
|
+
"billing.invoices.show": {
|
|
34049
|
+
parameters: {
|
|
34050
|
+
query?: never;
|
|
34051
|
+
header?: never;
|
|
34052
|
+
path: {
|
|
34053
|
+
/** @description The invoice (bivc_...) to read. */
|
|
34054
|
+
invoice: string;
|
|
34055
|
+
};
|
|
34056
|
+
cookie?: never;
|
|
34057
|
+
};
|
|
34058
|
+
requestBody?: never;
|
|
34059
|
+
responses: {
|
|
34060
|
+
/** @description OK */
|
|
34061
|
+
200: {
|
|
34062
|
+
headers: {
|
|
34063
|
+
[name: string]: unknown;
|
|
34064
|
+
};
|
|
34065
|
+
content: {
|
|
34066
|
+
"application/json": components["schemas"]["ResourceBillingInvoice"];
|
|
34067
|
+
};
|
|
34068
|
+
};
|
|
34069
|
+
/** @description Error */
|
|
34070
|
+
default: {
|
|
34071
|
+
headers: {
|
|
34072
|
+
[name: string]: unknown;
|
|
34073
|
+
};
|
|
34074
|
+
content: {
|
|
34075
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34076
|
+
};
|
|
34077
|
+
};
|
|
34078
|
+
};
|
|
34079
|
+
};
|
|
34080
|
+
"billing.invoices.payments.store": {
|
|
34081
|
+
parameters: {
|
|
34082
|
+
query?: never;
|
|
34083
|
+
header?: never;
|
|
34084
|
+
path: {
|
|
34085
|
+
/** @description The invoice (bivc_...) to pay. */
|
|
34086
|
+
invoice: string;
|
|
34087
|
+
};
|
|
34088
|
+
cookie?: never;
|
|
34089
|
+
};
|
|
34090
|
+
requestBody?: never;
|
|
34091
|
+
responses: {
|
|
34092
|
+
/** @description OK */
|
|
34093
|
+
200: {
|
|
34094
|
+
headers: {
|
|
34095
|
+
[name: string]: unknown;
|
|
34096
|
+
};
|
|
34097
|
+
content: {
|
|
34098
|
+
"application/json": components["schemas"]["ResourceBillingInvoice"];
|
|
34099
|
+
};
|
|
34100
|
+
};
|
|
34101
|
+
/** @description Error */
|
|
34102
|
+
default: {
|
|
34103
|
+
headers: {
|
|
34104
|
+
[name: string]: unknown;
|
|
34105
|
+
};
|
|
34106
|
+
content: {
|
|
34107
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34108
|
+
};
|
|
34109
|
+
};
|
|
34110
|
+
};
|
|
34111
|
+
};
|
|
34112
|
+
"billing.invoices.pdf.show": {
|
|
34113
|
+
parameters: {
|
|
34114
|
+
query?: never;
|
|
34115
|
+
header?: never;
|
|
34116
|
+
path: {
|
|
34117
|
+
/** @description The invoice (bivc_...) to download. */
|
|
34118
|
+
invoice: string;
|
|
34119
|
+
};
|
|
34120
|
+
cookie?: never;
|
|
34121
|
+
};
|
|
34122
|
+
requestBody?: never;
|
|
34123
|
+
responses: {
|
|
34124
|
+
/** @description OK */
|
|
34125
|
+
200: {
|
|
34126
|
+
headers: {
|
|
34127
|
+
"Cache-Control"?: string;
|
|
34128
|
+
"Content-Disposition"?: string;
|
|
34129
|
+
"Content-Type"?: string;
|
|
34130
|
+
[name: string]: unknown;
|
|
34131
|
+
};
|
|
34132
|
+
content: {
|
|
34133
|
+
"application/json": string;
|
|
34134
|
+
};
|
|
34135
|
+
};
|
|
34136
|
+
/** @description Error */
|
|
34137
|
+
default: {
|
|
34138
|
+
headers: {
|
|
34139
|
+
[name: string]: unknown;
|
|
34140
|
+
};
|
|
34141
|
+
content: {
|
|
34142
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34143
|
+
};
|
|
34144
|
+
};
|
|
34145
|
+
};
|
|
34146
|
+
};
|
|
34147
|
+
"billing.usage.show": {
|
|
34148
|
+
parameters: {
|
|
34149
|
+
query?: never;
|
|
34150
|
+
header?: never;
|
|
34151
|
+
path?: never;
|
|
34152
|
+
cookie?: never;
|
|
34153
|
+
};
|
|
34154
|
+
requestBody?: never;
|
|
34155
|
+
responses: {
|
|
34156
|
+
/** @description OK */
|
|
34157
|
+
200: {
|
|
34158
|
+
headers: {
|
|
34159
|
+
[name: string]: unknown;
|
|
34160
|
+
};
|
|
34161
|
+
content: {
|
|
34162
|
+
"application/json": components["schemas"]["ResourceBillingUsage"];
|
|
34163
|
+
};
|
|
34164
|
+
};
|
|
34165
|
+
/** @description Error */
|
|
34166
|
+
default: {
|
|
34167
|
+
headers: {
|
|
34168
|
+
[name: string]: unknown;
|
|
34169
|
+
};
|
|
34170
|
+
content: {
|
|
34171
|
+
"application/json": components["schemas"]["ResponseError"];
|
|
34172
|
+
};
|
|
34173
|
+
};
|
|
34174
|
+
};
|
|
34175
|
+
};
|
|
33395
34176
|
"broadcast-preferences.show": {
|
|
33396
34177
|
parameters: {
|
|
33397
34178
|
query?: never;
|