@dazl/internal-api-client 1.17.2 → 1.18.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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk.gen.d.ts +5 -2
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +17 -1
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +180 -5
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/sdk.gen.ts +22 -3
- package/src/types.gen.ts +194 -5
package/src/types.gen.ts
CHANGED
|
@@ -1251,11 +1251,68 @@ export type ConnectUserResponses = {
|
|
|
1251
1251
|
*/
|
|
1252
1252
|
200: {
|
|
1253
1253
|
username: string;
|
|
1254
|
+
hasInstallations: boolean;
|
|
1254
1255
|
};
|
|
1255
1256
|
};
|
|
1256
1257
|
|
|
1257
1258
|
export type ConnectUserResponse = ConnectUserResponses[keyof ConnectUserResponses];
|
|
1258
1259
|
|
|
1260
|
+
export type DisconnectUserData = {
|
|
1261
|
+
body?: never;
|
|
1262
|
+
path: {
|
|
1263
|
+
dazlId: string;
|
|
1264
|
+
};
|
|
1265
|
+
query?: never;
|
|
1266
|
+
url: '/github/user/{dazlId}/disconnect';
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
export type DisconnectUserErrors = {
|
|
1270
|
+
/**
|
|
1271
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1272
|
+
*/
|
|
1273
|
+
400: {
|
|
1274
|
+
message: string;
|
|
1275
|
+
issues?: string;
|
|
1276
|
+
};
|
|
1277
|
+
/**
|
|
1278
|
+
* Unauthorized
|
|
1279
|
+
*/
|
|
1280
|
+
401: ErrorResponse;
|
|
1281
|
+
/**
|
|
1282
|
+
* Forbidden
|
|
1283
|
+
*/
|
|
1284
|
+
403: ErrorResponse;
|
|
1285
|
+
/**
|
|
1286
|
+
* Not Found
|
|
1287
|
+
*/
|
|
1288
|
+
404: ErrorResponse;
|
|
1289
|
+
/**
|
|
1290
|
+
* Conflict
|
|
1291
|
+
*/
|
|
1292
|
+
409: ErrorResponse;
|
|
1293
|
+
/**
|
|
1294
|
+
* Internal server error
|
|
1295
|
+
*/
|
|
1296
|
+
500: ErrorResponse;
|
|
1297
|
+
/**
|
|
1298
|
+
* Service Unavailable
|
|
1299
|
+
*/
|
|
1300
|
+
503: ErrorResponse;
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
export type DisconnectUserError = DisconnectUserErrors[keyof DisconnectUserErrors];
|
|
1304
|
+
|
|
1305
|
+
export type DisconnectUserResponses = {
|
|
1306
|
+
/**
|
|
1307
|
+
* User disconnected from GitHub successfully
|
|
1308
|
+
*/
|
|
1309
|
+
200: {
|
|
1310
|
+
disconnected: boolean;
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
export type DisconnectUserResponse = DisconnectUserResponses[keyof DisconnectUserResponses];
|
|
1315
|
+
|
|
1259
1316
|
export type GetUserInfoData = {
|
|
1260
1317
|
body?: never;
|
|
1261
1318
|
path: {
|
|
@@ -1498,7 +1555,63 @@ export type CreateRepositoryResponses = {
|
|
|
1498
1555
|
|
|
1499
1556
|
export type CreateRepositoryResponse = CreateRepositoryResponses[keyof CreateRepositoryResponses];
|
|
1500
1557
|
|
|
1501
|
-
export type
|
|
1558
|
+
export type GetOAuthUrlData = {
|
|
1559
|
+
body?: never;
|
|
1560
|
+
path?: never;
|
|
1561
|
+
query: {
|
|
1562
|
+
state: string;
|
|
1563
|
+
};
|
|
1564
|
+
url: '/github/user/oauth-url';
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1567
|
+
export type GetOAuthUrlErrors = {
|
|
1568
|
+
/**
|
|
1569
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
1570
|
+
*/
|
|
1571
|
+
400: {
|
|
1572
|
+
message: string;
|
|
1573
|
+
issues?: string;
|
|
1574
|
+
};
|
|
1575
|
+
/**
|
|
1576
|
+
* Unauthorized
|
|
1577
|
+
*/
|
|
1578
|
+
401: ErrorResponse;
|
|
1579
|
+
/**
|
|
1580
|
+
* Forbidden
|
|
1581
|
+
*/
|
|
1582
|
+
403: ErrorResponse;
|
|
1583
|
+
/**
|
|
1584
|
+
* Not Found
|
|
1585
|
+
*/
|
|
1586
|
+
404: ErrorResponse;
|
|
1587
|
+
/**
|
|
1588
|
+
* Conflict
|
|
1589
|
+
*/
|
|
1590
|
+
409: ErrorResponse;
|
|
1591
|
+
/**
|
|
1592
|
+
* Internal server error
|
|
1593
|
+
*/
|
|
1594
|
+
500: ErrorResponse;
|
|
1595
|
+
/**
|
|
1596
|
+
* Service Unavailable
|
|
1597
|
+
*/
|
|
1598
|
+
503: ErrorResponse;
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
export type GetOAuthUrlError = GetOAuthUrlErrors[keyof GetOAuthUrlErrors];
|
|
1602
|
+
|
|
1603
|
+
export type GetOAuthUrlResponses = {
|
|
1604
|
+
/**
|
|
1605
|
+
* Returns GitHub OAuth authorization URL
|
|
1606
|
+
*/
|
|
1607
|
+
200: {
|
|
1608
|
+
url: string;
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
export type GetOAuthUrlResponse = GetOAuthUrlResponses[keyof GetOAuthUrlResponses];
|
|
1613
|
+
|
|
1614
|
+
export type GetAppInstallUrlData = {
|
|
1502
1615
|
body?: never;
|
|
1503
1616
|
path?: never;
|
|
1504
1617
|
query: {
|
|
@@ -1507,7 +1620,7 @@ export type GetInstallationUrlData = {
|
|
|
1507
1620
|
url: '/github/installation/url';
|
|
1508
1621
|
};
|
|
1509
1622
|
|
|
1510
|
-
export type
|
|
1623
|
+
export type GetAppInstallUrlErrors = {
|
|
1511
1624
|
/**
|
|
1512
1625
|
* Bad request - Invalid parameters or malformed JSON
|
|
1513
1626
|
*/
|
|
@@ -1541,9 +1654,9 @@ export type GetInstallationUrlErrors = {
|
|
|
1541
1654
|
503: ErrorResponse;
|
|
1542
1655
|
};
|
|
1543
1656
|
|
|
1544
|
-
export type
|
|
1657
|
+
export type GetAppInstallUrlError = GetAppInstallUrlErrors[keyof GetAppInstallUrlErrors];
|
|
1545
1658
|
|
|
1546
|
-
export type
|
|
1659
|
+
export type GetAppInstallUrlResponses = {
|
|
1547
1660
|
/**
|
|
1548
1661
|
* Returns GitHub App installation URL
|
|
1549
1662
|
*/
|
|
@@ -1552,7 +1665,7 @@ export type GetInstallationUrlResponses = {
|
|
|
1552
1665
|
};
|
|
1553
1666
|
};
|
|
1554
1667
|
|
|
1555
|
-
export type
|
|
1668
|
+
export type GetAppInstallUrlResponse = GetAppInstallUrlResponses[keyof GetAppInstallUrlResponses];
|
|
1556
1669
|
|
|
1557
1670
|
export type EnsureSiteIdData = {
|
|
1558
1671
|
body: {
|
|
@@ -4129,6 +4242,82 @@ export type CreateMediaResponses = {
|
|
|
4129
4242
|
200: unknown;
|
|
4130
4243
|
};
|
|
4131
4244
|
|
|
4245
|
+
export type SaveMediaData = {
|
|
4246
|
+
body: {
|
|
4247
|
+
/**
|
|
4248
|
+
* Media record identifier
|
|
4249
|
+
*/
|
|
4250
|
+
id: string;
|
|
4251
|
+
/**
|
|
4252
|
+
* AI-generated metadata from vision processing
|
|
4253
|
+
*/
|
|
4254
|
+
metadata: {
|
|
4255
|
+
title: string;
|
|
4256
|
+
caption: string;
|
|
4257
|
+
labels: Array<string>;
|
|
4258
|
+
tags: Array<string>;
|
|
4259
|
+
objects: Array<{
|
|
4260
|
+
name: string;
|
|
4261
|
+
confidence: number;
|
|
4262
|
+
}>;
|
|
4263
|
+
scenes: Array<string>;
|
|
4264
|
+
colors: Array<string>;
|
|
4265
|
+
text: string | null;
|
|
4266
|
+
description: string;
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
path?: never;
|
|
4270
|
+
query?: never;
|
|
4271
|
+
url: '/media/save';
|
|
4272
|
+
};
|
|
4273
|
+
|
|
4274
|
+
export type SaveMediaErrors = {
|
|
4275
|
+
/**
|
|
4276
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
4277
|
+
*/
|
|
4278
|
+
400: {
|
|
4279
|
+
message: string;
|
|
4280
|
+
issues?: string;
|
|
4281
|
+
};
|
|
4282
|
+
/**
|
|
4283
|
+
* Unauthorized
|
|
4284
|
+
*/
|
|
4285
|
+
401: ErrorResponse;
|
|
4286
|
+
/**
|
|
4287
|
+
* Forbidden - Permission denied
|
|
4288
|
+
*/
|
|
4289
|
+
403: {
|
|
4290
|
+
message: string;
|
|
4291
|
+
};
|
|
4292
|
+
/**
|
|
4293
|
+
* Not found
|
|
4294
|
+
*/
|
|
4295
|
+
404: {
|
|
4296
|
+
message: string;
|
|
4297
|
+
};
|
|
4298
|
+
/**
|
|
4299
|
+
* Conflict
|
|
4300
|
+
*/
|
|
4301
|
+
409: ErrorResponse;
|
|
4302
|
+
/**
|
|
4303
|
+
* Internal server error
|
|
4304
|
+
*/
|
|
4305
|
+
500: ErrorResponse;
|
|
4306
|
+
/**
|
|
4307
|
+
* Service Unavailable
|
|
4308
|
+
*/
|
|
4309
|
+
503: ErrorResponse;
|
|
4310
|
+
};
|
|
4311
|
+
|
|
4312
|
+
export type SaveMediaError = SaveMediaErrors[keyof SaveMediaErrors];
|
|
4313
|
+
|
|
4314
|
+
export type SaveMediaResponses = {
|
|
4315
|
+
/**
|
|
4316
|
+
* Media metadata saved successfully
|
|
4317
|
+
*/
|
|
4318
|
+
200: unknown;
|
|
4319
|
+
};
|
|
4320
|
+
|
|
4132
4321
|
export type GetAccountScreenshotsData = {
|
|
4133
4322
|
body?: never;
|
|
4134
4323
|
path?: never;
|