sandbox0 0.4.1 → 0.4.4

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 (114) hide show
  1. package/dist/apispec/src/apis/FilesApi.d.ts +16 -1
  2. package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
  3. package/dist/apispec/src/apis/FilesApi.js +47 -1
  4. package/dist/apispec/src/apis/FunctionsApi.d.ts +12 -10
  5. package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/FunctionsApi.js +12 -10
  7. package/dist/apispec/src/apis/SandboxesApi.d.ts +1 -0
  8. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  9. package/dist/apispec/src/apis/SandboxesApi.js +2 -1
  10. package/dist/apispec/src/models/Function.d.ts +7 -0
  11. package/dist/apispec/src/models/Function.d.ts.map +1 -1
  12. package/dist/apispec/src/models/Function.js +5 -0
  13. package/dist/apispec/src/models/FunctionAutoscaling.d.ts +51 -0
  14. package/dist/apispec/src/models/FunctionAutoscaling.d.ts.map +1 -0
  15. package/dist/apispec/src/models/FunctionAutoscaling.js +55 -0
  16. package/dist/apispec/src/models/FunctionCreateRequest.d.ts +7 -0
  17. package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +1 -1
  18. package/dist/apispec/src/models/FunctionCreateRequest.js +3 -0
  19. package/dist/apispec/src/models/FunctionEnvRef.d.ts +39 -0
  20. package/dist/apispec/src/models/FunctionEnvRef.d.ts.map +1 -0
  21. package/dist/apispec/src/models/FunctionEnvRef.js +47 -0
  22. package/dist/apispec/src/models/FunctionRecord.d.ts +7 -0
  23. package/dist/apispec/src/models/FunctionRecord.d.ts.map +1 -1
  24. package/dist/apispec/src/models/FunctionRecord.js +5 -0
  25. package/dist/apispec/src/models/FunctionRevision.d.ts +30 -8
  26. package/dist/apispec/src/models/FunctionRevision.d.ts.map +1 -1
  27. package/dist/apispec/src/models/FunctionRevision.js +14 -10
  28. package/dist/apispec/src/models/FunctionRevisionInputSourceType.d.ts +26 -0
  29. package/dist/apispec/src/models/FunctionRevisionInputSourceType.d.ts.map +1 -0
  30. package/dist/apispec/src/models/FunctionRevisionInputSourceType.js +43 -0
  31. package/dist/apispec/src/models/FunctionRevisionMount.d.ts +66 -0
  32. package/dist/apispec/src/models/FunctionRevisionMount.d.ts.map +1 -0
  33. package/dist/apispec/src/models/FunctionRevisionMount.js +61 -0
  34. package/dist/apispec/src/models/FunctionRevisionMountSource.d.ts +72 -0
  35. package/dist/apispec/src/models/FunctionRevisionMountSource.d.ts.map +1 -0
  36. package/dist/apispec/src/models/FunctionRevisionMountSource.js +61 -0
  37. package/dist/apispec/src/models/FunctionRevisionSourceType.d.ts +27 -0
  38. package/dist/apispec/src/models/FunctionRevisionSourceType.d.ts.map +1 -0
  39. package/dist/apispec/src/models/FunctionRevisionSourceType.js +44 -0
  40. package/dist/apispec/src/models/FunctionRevisionSpec.d.ts +61 -0
  41. package/dist/apispec/src/models/FunctionRevisionSpec.d.ts.map +1 -0
  42. package/dist/apispec/src/models/FunctionRevisionSpec.js +57 -0
  43. package/dist/apispec/src/models/FunctionRuntimeEvent.d.ts +107 -0
  44. package/dist/apispec/src/models/FunctionRuntimeEvent.d.ts.map +1 -0
  45. package/dist/apispec/src/models/FunctionRuntimeEvent.js +81 -0
  46. package/dist/apispec/src/models/FunctionRuntimeInstance.d.ts +131 -0
  47. package/dist/apispec/src/models/FunctionRuntimeInstance.d.ts.map +1 -0
  48. package/dist/apispec/src/models/FunctionRuntimeInstance.js +93 -0
  49. package/dist/apispec/src/models/FunctionRuntimeInstanceState.d.ts +28 -0
  50. package/dist/apispec/src/models/FunctionRuntimeInstanceState.d.ts.map +1 -0
  51. package/dist/apispec/src/models/FunctionRuntimeInstanceState.js +45 -0
  52. package/dist/apispec/src/models/FunctionRuntimePhase.d.ts +31 -0
  53. package/dist/apispec/src/models/FunctionRuntimePhase.d.ts.map +1 -0
  54. package/dist/apispec/src/models/FunctionRuntimePhase.js +48 -0
  55. package/dist/apispec/src/models/FunctionRuntimeReadinessState.d.ts +28 -0
  56. package/dist/apispec/src/models/FunctionRuntimeReadinessState.d.ts.map +1 -0
  57. package/dist/apispec/src/models/FunctionRuntimeReadinessState.js +45 -0
  58. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts +55 -2
  59. package/dist/apispec/src/models/FunctionRuntimeStatus.d.ts.map +1 -1
  60. package/dist/apispec/src/models/FunctionRuntimeStatus.js +27 -0
  61. package/dist/apispec/src/models/FunctionSandboxServiceSource.d.ts +39 -0
  62. package/dist/apispec/src/models/FunctionSandboxServiceSource.d.ts.map +1 -0
  63. package/dist/apispec/src/models/FunctionSandboxServiceSource.js +47 -0
  64. package/dist/apispec/src/models/FunctionSourceRequest.d.ts +33 -3
  65. package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +1 -1
  66. package/dist/apispec/src/models/FunctionSourceRequest.js +13 -6
  67. package/dist/apispec/src/models/FunctionStaticAsset.d.ts +45 -0
  68. package/dist/apispec/src/models/FunctionStaticAsset.d.ts.map +1 -0
  69. package/dist/apispec/src/models/FunctionStaticAsset.js +49 -0
  70. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts +7 -0
  71. package/dist/apispec/src/models/FunctionUpdateRequest.d.ts.map +1 -1
  72. package/dist/apispec/src/models/FunctionUpdateRequest.js +3 -0
  73. package/dist/apispec/src/models/MCPProtocolRule.d.ts +34 -0
  74. package/dist/apispec/src/models/MCPProtocolRule.d.ts.map +1 -0
  75. package/dist/apispec/src/models/MCPProtocolRule.js +42 -0
  76. package/dist/apispec/src/models/MCPToolPolicy.d.ts +39 -0
  77. package/dist/apispec/src/models/MCPToolPolicy.d.ts.map +1 -0
  78. package/dist/apispec/src/models/MCPToolPolicy.js +43 -0
  79. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts +9 -0
  80. package/dist/apispec/src/models/NetworkEgressPolicy.d.ts.map +1 -1
  81. package/dist/apispec/src/models/NetworkEgressPolicy.js +3 -0
  82. package/dist/apispec/src/models/ProtocolRule.d.ts +74 -0
  83. package/dist/apispec/src/models/ProtocolRule.d.ts.map +1 -0
  84. package/dist/apispec/src/models/ProtocolRule.js +60 -0
  85. package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts +25 -0
  86. package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts.map +1 -0
  87. package/dist/apispec/src/models/ProtocolRuleProtocol.js +42 -0
  88. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +3 -3
  89. package/dist/apispec/src/models/SandboxPowerState.d.ts +2 -2
  90. package/dist/apispec/src/models/SandboxPowerState.js +2 -2
  91. package/dist/apispec/src/models/SandboxSummary.d.ts +1 -0
  92. package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
  93. package/dist/apispec/src/models/SandboxSummary.js +2 -1
  94. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts +40 -0
  95. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +1 -0
  96. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.js +46 -0
  97. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts +51 -0
  98. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +1 -0
  99. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +55 -0
  100. package/dist/apispec/src/models/index.d.ts +20 -0
  101. package/dist/apispec/src/models/index.d.ts.map +1 -1
  102. package/dist/apispec/src/models/index.js +20 -0
  103. package/dist/apispec_compat.d.ts +145 -2
  104. package/dist/apispec_compat.d.ts.map +1 -1
  105. package/dist/index.d.ts +2 -2
  106. package/dist/index.d.ts.map +1 -1
  107. package/dist/index.js +1 -1
  108. package/dist/resources/functions.d.ts +6 -1
  109. package/dist/resources/functions.d.ts.map +1 -1
  110. package/dist/resources/functions.js +33 -3
  111. package/dist/resources/volumes.d.ts +2 -1
  112. package/dist/resources/volumes.d.ts.map +1 -1
  113. package/dist/resources/volumes.js +9 -0
  114. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const FunctionRuntimePhase: {
17
+ readonly Disabled: "disabled";
18
+ readonly Idle: "idle";
19
+ readonly Provisioning: "provisioning";
20
+ readonly Starting: "starting";
21
+ readonly Ready: "ready";
22
+ readonly Draining: "draining";
23
+ readonly Failed: "failed";
24
+ };
25
+ export type FunctionRuntimePhase = typeof FunctionRuntimePhase[keyof typeof FunctionRuntimePhase];
26
+ export declare function instanceOfFunctionRuntimePhase(value: any): boolean;
27
+ export declare function FunctionRuntimePhaseFromJSON(json: any): FunctionRuntimePhase;
28
+ export declare function FunctionRuntimePhaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimePhase;
29
+ export declare function FunctionRuntimePhaseToJSON(value?: FunctionRuntimePhase | null): any;
30
+ export declare function FunctionRuntimePhaseToJSONTyped(value: any, ignoreDiscriminator: boolean): FunctionRuntimePhase;
31
+ //# sourceMappingURL=FunctionRuntimePhase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionRuntimePhase.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimePhase.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASlE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAE9G"}
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
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
+ *
16
+ * @export
17
+ */
18
+ export const FunctionRuntimePhase = {
19
+ Disabled: 'disabled',
20
+ Idle: 'idle',
21
+ Provisioning: 'provisioning',
22
+ Starting: 'starting',
23
+ Ready: 'ready',
24
+ Draining: 'draining',
25
+ Failed: 'failed'
26
+ };
27
+ export function instanceOfFunctionRuntimePhase(value) {
28
+ for (const key in FunctionRuntimePhase) {
29
+ if (Object.prototype.hasOwnProperty.call(FunctionRuntimePhase, key)) {
30
+ if (FunctionRuntimePhase[key] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+ export function FunctionRuntimePhaseFromJSON(json) {
38
+ return FunctionRuntimePhaseFromJSONTyped(json, false);
39
+ }
40
+ export function FunctionRuntimePhaseFromJSONTyped(json, ignoreDiscriminator) {
41
+ return json;
42
+ }
43
+ export function FunctionRuntimePhaseToJSON(value) {
44
+ return value;
45
+ }
46
+ export function FunctionRuntimePhaseToJSONTyped(value, ignoreDiscriminator) {
47
+ return value;
48
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const FunctionRuntimeReadinessState: {
17
+ readonly Unknown: "unknown";
18
+ readonly Checking: "checking";
19
+ readonly Ready: "ready";
20
+ readonly Failed: "failed";
21
+ };
22
+ export type FunctionRuntimeReadinessState = typeof FunctionRuntimeReadinessState[keyof typeof FunctionRuntimeReadinessState];
23
+ export declare function instanceOfFunctionRuntimeReadinessState(value: any): boolean;
24
+ export declare function FunctionRuntimeReadinessStateFromJSON(json: any): FunctionRuntimeReadinessState;
25
+ export declare function FunctionRuntimeReadinessStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRuntimeReadinessState;
26
+ export declare function FunctionRuntimeReadinessStateToJSON(value?: FunctionRuntimeReadinessState | null): any;
27
+ export declare function FunctionRuntimeReadinessStateToJSONTyped(value: any, ignoreDiscriminator: boolean): FunctionRuntimeReadinessState;
28
+ //# sourceMappingURL=FunctionRuntimeReadinessState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionRuntimeReadinessState.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeReadinessState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;CAKhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3E;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEjI;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,GAAG,CAErG;AAED,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAEhI"}
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
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
+ *
16
+ * @export
17
+ */
18
+ export const FunctionRuntimeReadinessState = {
19
+ Unknown: 'unknown',
20
+ Checking: 'checking',
21
+ Ready: 'ready',
22
+ Failed: 'failed'
23
+ };
24
+ export function instanceOfFunctionRuntimeReadinessState(value) {
25
+ for (const key in FunctionRuntimeReadinessState) {
26
+ if (Object.prototype.hasOwnProperty.call(FunctionRuntimeReadinessState, key)) {
27
+ if (FunctionRuntimeReadinessState[key] === value) {
28
+ return true;
29
+ }
30
+ }
31
+ }
32
+ return false;
33
+ }
34
+ export function FunctionRuntimeReadinessStateFromJSON(json) {
35
+ return FunctionRuntimeReadinessStateFromJSONTyped(json, false);
36
+ }
37
+ export function FunctionRuntimeReadinessStateFromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ export function FunctionRuntimeReadinessStateToJSON(value) {
41
+ return value;
42
+ }
43
+ export function FunctionRuntimeReadinessStateToJSONTyped(value, ignoreDiscriminator) {
44
+ return value;
45
+ }
@@ -9,6 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { FunctionRuntimeEvent } from './FunctionRuntimeEvent.js';
13
+ import type { FunctionRuntimePhase } from './FunctionRuntimePhase.js';
14
+ import type { FunctionRuntimeInstance } from './FunctionRuntimeInstance.js';
15
+ import type { FunctionRuntimeReadinessState } from './FunctionRuntimeReadinessState.js';
16
+ import type { FunctionAutoscaling } from './FunctionAutoscaling.js';
12
17
  import type { FunctionRuntimeState } from './FunctionRuntimeState.js';
13
18
  /**
14
19
  *
@@ -41,13 +46,31 @@ export interface FunctionRuntimeStatus {
41
46
  */
42
47
  state: FunctionRuntimeState;
43
48
  /**
44
- * Current restored runtime sandbox, if one exists.
49
+ *
50
+ * @type {FunctionRuntimePhase}
51
+ * @memberof FunctionRuntimeStatus
52
+ */
53
+ phase: FunctionRuntimePhase;
54
+ /**
55
+ *
56
+ * @type {FunctionAutoscaling}
57
+ * @memberof FunctionRuntimeStatus
58
+ */
59
+ autoscaling: FunctionAutoscaling;
60
+ /**
61
+ *
62
+ * @type {FunctionRuntimeReadinessState}
63
+ * @memberof FunctionRuntimeStatus
64
+ */
65
+ readinessState: FunctionRuntimeReadinessState;
66
+ /**
67
+ * Compatibility summary for one current restored runtime sandbox, if one exists. Use instances for the full runtime pool.
45
68
  * @type {string}
46
69
  * @memberof FunctionRuntimeStatus
47
70
  */
48
71
  runtimeSandboxId?: string;
49
72
  /**
50
- * Current runtime process context, if one exists.
73
+ * Compatibility summary for one current runtime process context, if one exists. Use instances for the full runtime pool.
51
74
  * @type {string}
52
75
  * @memberof FunctionRuntimeStatus
53
76
  */
@@ -58,6 +81,36 @@ export interface FunctionRuntimeStatus {
58
81
  * @memberof FunctionRuntimeStatus
59
82
  */
60
83
  runtimeUpdatedAt?: Date;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof FunctionRuntimeStatus
88
+ */
89
+ startupDurationMs?: number;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof FunctionRuntimeStatus
94
+ */
95
+ lastError?: string;
96
+ /**
97
+ *
98
+ * @type {Date}
99
+ * @memberof FunctionRuntimeStatus
100
+ */
101
+ lastErrorAt?: Date;
102
+ /**
103
+ *
104
+ * @type {Array<FunctionRuntimeInstance>}
105
+ * @memberof FunctionRuntimeStatus
106
+ */
107
+ instances?: Array<FunctionRuntimeInstance>;
108
+ /**
109
+ *
110
+ * @type {Array<FunctionRuntimeEvent>}
111
+ * @memberof FunctionRuntimeStatus
112
+ */
113
+ recentEvents?: Array<FunctionRuntimeEvent>;
61
114
  }
62
115
  /**
63
116
  * Check if a given object implements the FunctionRuntimeStatus interface.
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionRuntimeStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAcjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehI"}
1
+ {"version":3,"file":"FunctionRuntimeStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRuntimeStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,mBAAmB,CAAC;IACjC;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CAC9C;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAS7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAsBjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAuBhI"}
@@ -11,6 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { FunctionRuntimeEventFromJSON, FunctionRuntimeEventToJSON, } from './FunctionRuntimeEvent.js';
15
+ import { FunctionRuntimePhaseFromJSON, FunctionRuntimePhaseToJSON, } from './FunctionRuntimePhase.js';
16
+ import { FunctionRuntimeInstanceFromJSON, FunctionRuntimeInstanceToJSON, } from './FunctionRuntimeInstance.js';
17
+ import { FunctionRuntimeReadinessStateFromJSON, FunctionRuntimeReadinessStateToJSON, } from './FunctionRuntimeReadinessState.js';
18
+ import { FunctionAutoscalingFromJSON, FunctionAutoscalingToJSON, } from './FunctionAutoscaling.js';
14
19
  import { FunctionRuntimeStateFromJSON, FunctionRuntimeStateToJSON, } from './FunctionRuntimeState.js';
15
20
  /**
16
21
  * Check if a given object implements the FunctionRuntimeStatus interface.
@@ -24,6 +29,12 @@ export function instanceOfFunctionRuntimeStatus(value) {
24
29
  return false;
25
30
  if (!('state' in value) || value['state'] === undefined)
26
31
  return false;
32
+ if (!('phase' in value) || value['phase'] === undefined)
33
+ return false;
34
+ if (!('autoscaling' in value) || value['autoscaling'] === undefined)
35
+ return false;
36
+ if (!('readinessState' in value) || value['readinessState'] === undefined)
37
+ return false;
27
38
  return true;
28
39
  }
29
40
  export function FunctionRuntimeStatusFromJSON(json) {
@@ -38,9 +49,17 @@ export function FunctionRuntimeStatusFromJSONTyped(json, ignoreDiscriminator) {
38
49
  'revisionId': json['revision_id'],
39
50
  'revisionNumber': json['revision_number'],
40
51
  'state': FunctionRuntimeStateFromJSON(json['state']),
52
+ 'phase': FunctionRuntimePhaseFromJSON(json['phase']),
53
+ 'autoscaling': FunctionAutoscalingFromJSON(json['autoscaling']),
54
+ 'readinessState': FunctionRuntimeReadinessStateFromJSON(json['readiness_state']),
41
55
  'runtimeSandboxId': json['runtime_sandbox_id'] == null ? undefined : json['runtime_sandbox_id'],
42
56
  'runtimeContextId': json['runtime_context_id'] == null ? undefined : json['runtime_context_id'],
43
57
  'runtimeUpdatedAt': json['runtime_updated_at'] == null ? undefined : (new Date(json['runtime_updated_at'])),
58
+ 'startupDurationMs': json['startup_duration_ms'] == null ? undefined : json['startup_duration_ms'],
59
+ 'lastError': json['last_error'] == null ? undefined : json['last_error'],
60
+ 'lastErrorAt': json['last_error_at'] == null ? undefined : (new Date(json['last_error_at'])),
61
+ 'instances': json['instances'] == null ? undefined : (json['instances'].map(FunctionRuntimeInstanceFromJSON)),
62
+ 'recentEvents': json['recent_events'] == null ? undefined : (json['recent_events'].map(FunctionRuntimeEventFromJSON)),
44
63
  };
45
64
  }
46
65
  export function FunctionRuntimeStatusToJSON(json) {
@@ -55,8 +74,16 @@ export function FunctionRuntimeStatusToJSONTyped(value, ignoreDiscriminator = fa
55
74
  'revision_id': value['revisionId'],
56
75
  'revision_number': value['revisionNumber'],
57
76
  'state': FunctionRuntimeStateToJSON(value['state']),
77
+ 'phase': FunctionRuntimePhaseToJSON(value['phase']),
78
+ 'autoscaling': FunctionAutoscalingToJSON(value['autoscaling']),
79
+ 'readiness_state': FunctionRuntimeReadinessStateToJSON(value['readinessState']),
58
80
  'runtime_sandbox_id': value['runtimeSandboxId'],
59
81
  'runtime_context_id': value['runtimeContextId'],
60
82
  'runtime_updated_at': value['runtimeUpdatedAt'] == null ? value['runtimeUpdatedAt'] : value['runtimeUpdatedAt'].toISOString(),
83
+ 'startup_duration_ms': value['startupDurationMs'],
84
+ 'last_error': value['lastError'],
85
+ 'last_error_at': value['lastErrorAt'] == null ? value['lastErrorAt'] : value['lastErrorAt'].toISOString(),
86
+ 'instances': value['instances'] == null ? undefined : (value['instances'].map(FunctionRuntimeInstanceToJSON)),
87
+ 'recent_events': value['recentEvents'] == null ? undefined : (value['recentEvents'].map(FunctionRuntimeEventToJSON)),
61
88
  };
62
89
  }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FunctionSandboxServiceSource
16
+ */
17
+ export interface FunctionSandboxServiceSource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FunctionSandboxServiceSource
22
+ */
23
+ sandboxId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FunctionSandboxServiceSource
28
+ */
29
+ serviceId: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the FunctionSandboxServiceSource interface.
33
+ */
34
+ export declare function instanceOfFunctionSandboxServiceSource(value: object): value is FunctionSandboxServiceSource;
35
+ export declare function FunctionSandboxServiceSourceFromJSON(json: any): FunctionSandboxServiceSource;
36
+ export declare function FunctionSandboxServiceSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionSandboxServiceSource;
37
+ export declare function FunctionSandboxServiceSourceToJSON(json: any): FunctionSandboxServiceSource;
38
+ export declare function FunctionSandboxServiceSourceToJSONTyped(value?: FunctionSandboxServiceSource | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=FunctionSandboxServiceSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionSandboxServiceSource.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionSandboxServiceSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAI3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
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
+ * Check if a given object implements the FunctionSandboxServiceSource interface.
16
+ */
17
+ export function instanceOfFunctionSandboxServiceSource(value) {
18
+ if (!('sandboxId' in value) || value['sandboxId'] === undefined)
19
+ return false;
20
+ if (!('serviceId' in value) || value['serviceId'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function FunctionSandboxServiceSourceFromJSON(json) {
25
+ return FunctionSandboxServiceSourceFromJSONTyped(json, false);
26
+ }
27
+ export function FunctionSandboxServiceSourceFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'sandboxId': json['sandbox_id'],
33
+ 'serviceId': json['service_id'],
34
+ };
35
+ }
36
+ export function FunctionSandboxServiceSourceToJSON(json) {
37
+ return FunctionSandboxServiceSourceToJSONTyped(json, false);
38
+ }
39
+ export function FunctionSandboxServiceSourceToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'sandbox_id': value['sandboxId'],
45
+ 'service_id': value['serviceId'],
46
+ };
47
+ }
@@ -9,7 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { FunctionRevisionSpec } from './FunctionRevisionSpec.js';
13
+ import type { FunctionSandboxServiceSource } from './FunctionSandboxServiceSource.js';
14
+ import type { FunctionRevisionInputSourceType } from './FunctionRevisionInputSourceType.js';
12
15
  /**
16
+ * Source used to create a function revision. Omitting type with sandbox_id and service_id keeps the sandbox-service shortcut shape; internally it is compiled into an immutable FunctionRevisionSpec.
13
17
  *
14
18
  * @export
15
19
  * @interface FunctionSourceRequest
@@ -17,16 +21,42 @@
17
21
  export interface FunctionSourceRequest {
18
22
  /**
19
23
  *
24
+ * @type {FunctionRevisionInputSourceType}
25
+ * @memberof FunctionSourceRequest
26
+ */
27
+ type?: FunctionRevisionInputSourceType;
28
+ /**
29
+ * Compatibility shortcut for type=sandbox_service.
20
30
  * @type {string}
21
31
  * @memberof FunctionSourceRequest
22
32
  */
23
- sandboxId: string;
33
+ sandboxId?: string;
24
34
  /**
25
- *
35
+ * Compatibility shortcut for type=sandbox_service.
26
36
  * @type {string}
27
37
  * @memberof FunctionSourceRequest
28
38
  */
29
- serviceId: string;
39
+ serviceId?: string;
40
+ /**
41
+ *
42
+ * @type {FunctionSandboxServiceSource}
43
+ * @memberof FunctionSourceRequest
44
+ */
45
+ sandboxService?: FunctionSandboxServiceSource;
46
+ /**
47
+ *
48
+ * @type {FunctionRevisionSpec}
49
+ * @memberof FunctionSourceRequest
50
+ */
51
+ revisionSpec?: FunctionRevisionSpec;
52
+ /**
53
+ * Optional non-execution metadata describing how the revision spec was produced.
54
+ * @type {{ [key: string]: any; }}
55
+ * @memberof FunctionSourceRequest
56
+ */
57
+ provenance?: {
58
+ [key: string]: any;
59
+ };
30
60
  }
31
61
  /**
32
62
  * Check if a given object implements the FunctionSourceRequest interface.
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionSourceRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionSourceRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
1
+ {"version":3,"file":"FunctionSourceRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionSourceRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAQzF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACxC;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchI"}
@@ -11,14 +11,13 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { FunctionRevisionSpecFromJSON, FunctionRevisionSpecToJSON, } from './FunctionRevisionSpec.js';
15
+ import { FunctionSandboxServiceSourceFromJSON, FunctionSandboxServiceSourceToJSON, } from './FunctionSandboxServiceSource.js';
16
+ import { FunctionRevisionInputSourceTypeFromJSON, FunctionRevisionInputSourceTypeToJSON, } from './FunctionRevisionInputSourceType.js';
14
17
  /**
15
18
  * Check if a given object implements the FunctionSourceRequest interface.
16
19
  */
17
20
  export function instanceOfFunctionSourceRequest(value) {
18
- if (!('sandboxId' in value) || value['sandboxId'] === undefined)
19
- return false;
20
- if (!('serviceId' in value) || value['serviceId'] === undefined)
21
- return false;
22
21
  return true;
23
22
  }
24
23
  export function FunctionSourceRequestFromJSON(json) {
@@ -29,8 +28,12 @@ export function FunctionSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
29
28
  return json;
30
29
  }
31
30
  return {
32
- 'sandboxId': json['sandbox_id'],
33
- 'serviceId': json['service_id'],
31
+ 'type': json['type'] == null ? undefined : FunctionRevisionInputSourceTypeFromJSON(json['type']),
32
+ 'sandboxId': json['sandbox_id'] == null ? undefined : json['sandbox_id'],
33
+ 'serviceId': json['service_id'] == null ? undefined : json['service_id'],
34
+ 'sandboxService': json['sandbox_service'] == null ? undefined : FunctionSandboxServiceSourceFromJSON(json['sandbox_service']),
35
+ 'revisionSpec': json['revision_spec'] == null ? undefined : FunctionRevisionSpecFromJSON(json['revision_spec']),
36
+ 'provenance': json['provenance'] == null ? undefined : json['provenance'],
34
37
  };
35
38
  }
36
39
  export function FunctionSourceRequestToJSON(json) {
@@ -41,7 +44,11 @@ export function FunctionSourceRequestToJSONTyped(value, ignoreDiscriminator = fa
41
44
  return value;
42
45
  }
43
46
  return {
47
+ 'type': FunctionRevisionInputSourceTypeToJSON(value['type']),
44
48
  'sandbox_id': value['sandboxId'],
45
49
  'service_id': value['serviceId'],
50
+ 'sandbox_service': FunctionSandboxServiceSourceToJSON(value['sandboxService']),
51
+ 'revision_spec': FunctionRevisionSpecToJSON(value['revisionSpec']),
52
+ 'provenance': value['provenance'],
46
53
  };
47
54
  }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FunctionStaticAsset
16
+ */
17
+ export interface FunctionStaticAsset {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FunctionStaticAsset
22
+ */
23
+ artifactId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FunctionStaticAsset
28
+ */
29
+ routePrefix: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FunctionStaticAsset
34
+ */
35
+ digest?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the FunctionStaticAsset interface.
39
+ */
40
+ export declare function instanceOfFunctionStaticAsset(value: object): value is FunctionStaticAsset;
41
+ export declare function FunctionStaticAssetFromJSON(json: any): FunctionStaticAsset;
42
+ export declare function FunctionStaticAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionStaticAsset;
43
+ export declare function FunctionStaticAssetToJSON(json: any): FunctionStaticAsset;
44
+ export declare function FunctionStaticAssetToJSONTyped(value?: FunctionStaticAsset | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=FunctionStaticAsset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionStaticAsset.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionStaticAsset.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAU7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5H"}
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
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
+ * Check if a given object implements the FunctionStaticAsset interface.
16
+ */
17
+ export function instanceOfFunctionStaticAsset(value) {
18
+ if (!('artifactId' in value) || value['artifactId'] === undefined)
19
+ return false;
20
+ if (!('routePrefix' in value) || value['routePrefix'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function FunctionStaticAssetFromJSON(json) {
25
+ return FunctionStaticAssetFromJSONTyped(json, false);
26
+ }
27
+ export function FunctionStaticAssetFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'artifactId': json['artifact_id'],
33
+ 'routePrefix': json['route_prefix'],
34
+ 'digest': json['digest'] == null ? undefined : json['digest'],
35
+ };
36
+ }
37
+ export function FunctionStaticAssetToJSON(json) {
38
+ return FunctionStaticAssetToJSONTyped(json, false);
39
+ }
40
+ export function FunctionStaticAssetToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'artifact_id': value['artifactId'],
46
+ 'route_prefix': value['routePrefix'],
47
+ 'digest': value['digest'],
48
+ };
49
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { FunctionAutoscaling } from './FunctionAutoscaling.js';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,6 +28,12 @@ export interface FunctionUpdateRequest {
27
28
  * @memberof FunctionUpdateRequest
28
29
  */
29
30
  enabled?: boolean;
31
+ /**
32
+ *
33
+ * @type {FunctionAutoscaling}
34
+ * @memberof FunctionUpdateRequest
35
+ */
36
+ autoscaling?: FunctionAutoscaling;
30
37
  }
31
38
  /**
32
39
  * Check if a given object implements the FunctionUpdateRequest interface.
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
1
+ {"version":3,"file":"FunctionUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAUjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhI"}