@dazl/internal-api-client 1.6.1 → 1.6.3

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.
Files changed (49) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/client.gen.js +1 -2
  3. package/dist/client/client.gen.js.map +1 -1
  4. package/dist/client/types.gen.d.ts.map +1 -1
  5. package/dist/client/utils.gen.d.ts.map +1 -1
  6. package/dist/client/utils.gen.js +2 -5
  7. package/dist/client/utils.gen.js.map +1 -1
  8. package/dist/core/auth.gen.d.ts.map +1 -1
  9. package/dist/core/auth.gen.js.map +1 -1
  10. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  11. package/dist/core/bodySerializer.gen.js +1 -1
  12. package/dist/core/bodySerializer.gen.js.map +1 -1
  13. package/dist/core/params.gen.d.ts.map +1 -1
  14. package/dist/core/params.gen.js.map +1 -1
  15. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  16. package/dist/core/pathSerializer.gen.js +3 -11
  17. package/dist/core/pathSerializer.gen.js.map +1 -1
  18. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  19. package/dist/core/queryKeySerializer.gen.js +4 -11
  20. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  21. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  22. package/dist/core/serverSentEvents.gen.js +3 -7
  23. package/dist/core/serverSentEvents.gen.js.map +1 -1
  24. package/dist/core/types.gen.d.ts.map +1 -1
  25. package/dist/core/utils.gen.d.ts.map +1 -1
  26. package/dist/core/utils.gen.js.map +1 -1
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/sdk.gen.d.ts +2 -2
  30. package/dist/sdk.gen.d.ts.map +1 -1
  31. package/dist/sdk.gen.js +3 -3
  32. package/dist/sdk.gen.js.map +1 -1
  33. package/dist/types.gen.d.ts +69 -52
  34. package/dist/types.gen.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/src/client/client.gen.ts +25 -48
  37. package/src/client/types.gen.ts +12 -40
  38. package/src/client/utils.gen.ts +6 -22
  39. package/src/core/auth.gen.ts +1 -2
  40. package/src/core/bodySerializer.gen.ts +5 -21
  41. package/src/core/params.gen.ts +3 -10
  42. package/src/core/pathSerializer.gen.ts +4 -14
  43. package/src/core/queryKeySerializer.gen.ts +6 -25
  44. package/src/core/serverSentEvents.gen.ts +8 -31
  45. package/src/core/types.gen.ts +4 -18
  46. package/src/core/utils.gen.ts +1 -4
  47. package/src/index.ts +1 -1
  48. package/src/sdk.gen.ts +5 -5
  49. package/src/types.gen.ts +74 -57
package/src/types.gen.ts CHANGED
@@ -1231,62 +1231,6 @@ export type GetInstallationsResponses = {
1231
1231
 
1232
1232
  export type GetInstallationsResponse = GetInstallationsResponses[keyof GetInstallationsResponses];
1233
1233
 
1234
- export type GetInstallationTokenData = {
1235
- body?: never;
1236
- path: {
1237
- projectId: string;
1238
- };
1239
- query?: never;
1240
- url: '/github/project/{projectId}/token';
1241
- };
1242
-
1243
- export type GetInstallationTokenErrors = {
1244
- /**
1245
- * Bad request - Invalid parameters or malformed JSON
1246
- */
1247
- 400: {
1248
- message: string;
1249
- issues?: string;
1250
- };
1251
- /**
1252
- * Unauthorized
1253
- */
1254
- 401: ErrorResponse;
1255
- /**
1256
- * Forbidden
1257
- */
1258
- 403: ErrorResponse;
1259
- /**
1260
- * Not Found
1261
- */
1262
- 404: ErrorResponse;
1263
- /**
1264
- * Conflict
1265
- */
1266
- 409: ErrorResponse;
1267
- /**
1268
- * Internal server error
1269
- */
1270
- 500: ErrorResponse;
1271
- /**
1272
- * Service Unavailable
1273
- */
1274
- 503: ErrorResponse;
1275
- };
1276
-
1277
- export type GetInstallationTokenError = GetInstallationTokenErrors[keyof GetInstallationTokenErrors];
1278
-
1279
- export type GetInstallationTokenResponses = {
1280
- /**
1281
- * Returns installation access token for the project's linked GitHub installation
1282
- */
1283
- 200: {
1284
- token: string;
1285
- };
1286
- };
1287
-
1288
- export type GetInstallationTokenResponse = GetInstallationTokenResponses[keyof GetInstallationTokenResponses];
1289
-
1290
1234
  export type GetProjectInfoData = {
1291
1235
  body?: never;
1292
1236
  path: {
@@ -1343,6 +1287,7 @@ export type GetProjectInfoResponses = {
1343
1287
  projectId: string;
1344
1288
  branch: string;
1345
1289
  repoFullName: string;
1290
+ token: string;
1346
1291
  };
1347
1292
  };
1348
1293
 
@@ -1708,7 +1653,6 @@ export type DeleteCustomDomainData = {
1708
1653
  query: {
1709
1654
  projectId: string;
1710
1655
  dazlId: string;
1711
- domain: string;
1712
1656
  };
1713
1657
  url: '/publish/custom-domain';
1714
1658
  };
@@ -1875,6 +1819,79 @@ export type AddCustomDomainResponses = {
1875
1819
 
1876
1820
  export type AddCustomDomainResponse = AddCustomDomainResponses[keyof AddCustomDomainResponses];
1877
1821
 
1822
+ export type GetEntriConfigData = {
1823
+ body?: never;
1824
+ path?: never;
1825
+ query: {
1826
+ projectId: string;
1827
+ dazlId: string;
1828
+ };
1829
+ url: '/publish/entri-config';
1830
+ };
1831
+
1832
+ export type GetEntriConfigErrors = {
1833
+ /**
1834
+ * Bad request - Invalid parameters or malformed JSON
1835
+ */
1836
+ 400: {
1837
+ message: string;
1838
+ issues?: string;
1839
+ };
1840
+ /**
1841
+ * Unauthorized
1842
+ */
1843
+ 401: ErrorResponse;
1844
+ /**
1845
+ * Forbidden
1846
+ */
1847
+ 403: ErrorResponse;
1848
+ /**
1849
+ * Not Found
1850
+ */
1851
+ 404: ErrorResponse;
1852
+ /**
1853
+ * Conflict
1854
+ */
1855
+ 409: ErrorResponse;
1856
+ /**
1857
+ * Internal server error
1858
+ */
1859
+ 500: ErrorResponse;
1860
+ /**
1861
+ * Service Unavailable
1862
+ */
1863
+ 503: ErrorResponse;
1864
+ };
1865
+
1866
+ export type GetEntriConfigError = GetEntriConfigErrors[keyof GetEntriConfigErrors];
1867
+
1868
+ export type GetEntriConfigResponses = {
1869
+ /**
1870
+ * Returns the Entri configuration
1871
+ */
1872
+ 200: {
1873
+ applicationId: string;
1874
+ token: string;
1875
+ prefilledDomain?: string;
1876
+ dnsRecords: {
1877
+ domain: Array<{
1878
+ type: string;
1879
+ host: string;
1880
+ value: string;
1881
+ ttl: number;
1882
+ }>;
1883
+ subDomain: Array<{
1884
+ type: string;
1885
+ host: string;
1886
+ value: string;
1887
+ ttl: number;
1888
+ }>;
1889
+ };
1890
+ };
1891
+ };
1892
+
1893
+ export type GetEntriConfigResponse = GetEntriConfigResponses[keyof GetEntriConfigResponses];
1894
+
1878
1895
  export type DuplicateProjectData = {
1879
1896
  body: {
1880
1897
  ownerDazlId: string;