@deeprelay/sdk 0.1.2 → 0.2.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.
Files changed (46) hide show
  1. package/.openapi-generator/FILES +0 -8
  2. package/README.md +3 -6
  3. package/dist/apis/BillingApi.d.ts +14 -0
  4. package/dist/apis/BillingApi.js +43 -0
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/esm/apis/BillingApi.d.ts +14 -0
  8. package/dist/esm/apis/BillingApi.js +43 -0
  9. package/dist/esm/apis/index.d.ts +0 -1
  10. package/dist/esm/apis/index.js +0 -1
  11. package/dist/esm/models/index.d.ts +0 -3
  12. package/dist/esm/models/index.js +0 -3
  13. package/dist/esm/runtime.js +1 -1
  14. package/dist/models/index.d.ts +0 -3
  15. package/dist/models/index.js +0 -3
  16. package/dist/runtime.js +1 -1
  17. package/docs/BillingApi.md +68 -0
  18. package/package.json +1 -1
  19. package/src/apis/BillingApi.ts +46 -0
  20. package/src/apis/index.ts +0 -1
  21. package/src/models/index.ts +0 -3
  22. package/src/runtime.ts +1 -1
  23. package/dist/apis/OperationsApi.d.ts +0 -33
  24. package/dist/apis/OperationsApi.js +0 -79
  25. package/dist/esm/apis/OperationsApi.d.ts +0 -33
  26. package/dist/esm/apis/OperationsApi.js +0 -75
  27. package/dist/esm/models/Operation.d.ts +0 -107
  28. package/dist/esm/models/Operation.js +0 -86
  29. package/dist/esm/models/OperationError.d.ts +0 -38
  30. package/dist/esm/models/OperationError.js +0 -43
  31. package/dist/esm/models/OperationResult.d.ts +0 -44
  32. package/dist/esm/models/OperationResult.js +0 -45
  33. package/dist/models/Operation.d.ts +0 -107
  34. package/dist/models/Operation.js +0 -94
  35. package/dist/models/OperationError.d.ts +0 -38
  36. package/dist/models/OperationError.js +0 -50
  37. package/dist/models/OperationResult.d.ts +0 -44
  38. package/dist/models/OperationResult.js +0 -52
  39. package/docs/Operation.md +0 -52
  40. package/docs/OperationError.md +0 -36
  41. package/docs/OperationResult.md +0 -39
  42. package/docs/OperationsApi.md +0 -80
  43. package/src/apis/OperationsApi.ts +0 -89
  44. package/src/models/Operation.ts +0 -179
  45. package/src/models/OperationError.ts +0 -73
  46. package/src/models/OperationResult.ts +0 -81
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * deeprelay Public Developer API
5
- * Programmatic API for deeprelay. Authenticate with API keys minted from the dashboard. See https://deeprelay.ai/docs for details.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@deeprelay.ai
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- * Terminal-success payload. Carries the per-instance web-access coordinates — app_url for template deploys, terminal_url for instances provisioned with the browser web console, and the basic-auth username shared by both. The basic-auth PASSWORD is never included here — retrieve it via GET /instances/{id}?include=credentials (connection.app_password).
18
- * @export
19
- * @interface OperationResult
20
- */
21
- export interface OperationResult {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof OperationResult
26
- */
27
- appUrl?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof OperationResult
32
- */
33
- terminalUrl?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof OperationResult
38
- */
39
- appBasicAuthUser?: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the OperationResult interface.
44
- */
45
- export function instanceOfOperationResult(value: object): value is OperationResult {
46
- return true;
47
- }
48
-
49
- export function OperationResultFromJSON(json: any): OperationResult {
50
- return OperationResultFromJSONTyped(json, false);
51
- }
52
-
53
- export function OperationResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationResult {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
-
59
- 'appUrl': json['app_url'] == null ? undefined : json['app_url'],
60
- 'terminalUrl': json['terminal_url'] == null ? undefined : json['terminal_url'],
61
- 'appBasicAuthUser': json['app_basic_auth_user'] == null ? undefined : json['app_basic_auth_user'],
62
- };
63
- }
64
-
65
- export function OperationResultToJSON(json: any): OperationResult {
66
- return OperationResultToJSONTyped(json, false);
67
- }
68
-
69
- export function OperationResultToJSONTyped(value?: OperationResult | null, ignoreDiscriminator: boolean = false): any {
70
- if (value == null) {
71
- return value;
72
- }
73
-
74
- return {
75
-
76
- 'app_url': value['appUrl'],
77
- 'terminal_url': value['terminalUrl'],
78
- 'app_basic_auth_user': value['appBasicAuthUser'],
79
- };
80
- }
81
-