sandbox0 0.3.5 → 0.3.6

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 (126) hide show
  1. package/dist/apispec/src/apis/FunctionsApi.d.ts +87 -0
  2. package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -0
  3. package/dist/apispec/src/apis/FunctionsApi.js +231 -0
  4. package/dist/apispec/src/apis/SandboxesApi.d.ts +28 -1
  5. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/SandboxesApi.js +76 -1
  7. package/dist/apispec/src/apis/index.d.ts +1 -0
  8. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  9. package/dist/apispec/src/apis/index.js +1 -0
  10. package/dist/apispec/src/models/Function.d.ts +81 -0
  11. package/dist/apispec/src/models/Function.d.ts.map +1 -0
  12. package/dist/apispec/src/models/Function.js +71 -0
  13. package/dist/apispec/src/models/FunctionAlias.d.ts +63 -0
  14. package/dist/apispec/src/models/FunctionAlias.d.ts.map +1 -0
  15. package/dist/apispec/src/models/FunctionAlias.js +61 -0
  16. package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts +33 -0
  17. package/dist/apispec/src/models/FunctionAliasUpdateRequest.d.ts.map +1 -0
  18. package/dist/apispec/src/models/FunctionAliasUpdateRequest.js +43 -0
  19. package/dist/apispec/src/models/FunctionCreateRequest.d.ts +40 -0
  20. package/dist/apispec/src/models/FunctionCreateRequest.d.ts.map +1 -0
  21. package/dist/apispec/src/models/FunctionCreateRequest.js +46 -0
  22. package/dist/apispec/src/models/FunctionRecord.d.ts +93 -0
  23. package/dist/apispec/src/models/FunctionRecord.d.ts.map +1 -0
  24. package/dist/apispec/src/models/FunctionRecord.js +79 -0
  25. package/dist/apispec/src/models/FunctionRestoreMount.d.ts +39 -0
  26. package/dist/apispec/src/models/FunctionRestoreMount.d.ts.map +1 -0
  27. package/dist/apispec/src/models/FunctionRestoreMount.js +47 -0
  28. package/dist/apispec/src/models/FunctionRevision.d.ts +113 -0
  29. package/dist/apispec/src/models/FunctionRevision.d.ts.map +1 -0
  30. package/dist/apispec/src/models/FunctionRevision.js +87 -0
  31. package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts +40 -0
  32. package/dist/apispec/src/models/FunctionRevisionCreateRequest.d.ts.map +1 -0
  33. package/dist/apispec/src/models/FunctionRevisionCreateRequest.js +46 -0
  34. package/dist/apispec/src/models/FunctionSourceRequest.d.ts +39 -0
  35. package/dist/apispec/src/models/FunctionSourceRequest.d.ts.map +1 -0
  36. package/dist/apispec/src/models/FunctionSourceRequest.js +47 -0
  37. package/dist/apispec/src/models/Sandbox.d.ts +14 -0
  38. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  39. package/dist/apispec/src/models/Sandbox.js +6 -0
  40. package/dist/apispec/src/models/SandboxAppService.d.ts +66 -0
  41. package/dist/apispec/src/models/SandboxAppService.d.ts.map +1 -0
  42. package/dist/apispec/src/models/SandboxAppService.js +60 -0
  43. package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts +33 -0
  44. package/dist/apispec/src/models/SandboxAppServiceHealth.d.ts.map +1 -0
  45. package/dist/apispec/src/models/SandboxAppServiceHealth.js +41 -0
  46. package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts +40 -0
  47. package/dist/apispec/src/models/SandboxAppServiceIngress.d.ts.map +1 -0
  48. package/dist/apispec/src/models/SandboxAppServiceIngress.js +46 -0
  49. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts +84 -0
  50. package/dist/apispec/src/models/SandboxAppServiceRoute.d.ts.map +1 -0
  51. package/dist/apispec/src/models/SandboxAppServiceRoute.js +64 -0
  52. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +68 -0
  53. package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts.map +1 -0
  54. package/dist/apispec/src/models/SandboxAppServiceRuntime.js +59 -0
  55. package/dist/apispec/src/models/SandboxAppServiceView.d.ts +78 -0
  56. package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -0
  57. package/dist/apispec/src/models/SandboxAppServiceView.js +66 -0
  58. package/dist/apispec/src/models/SandboxConfig.d.ts +7 -0
  59. package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
  60. package/dist/apispec/src/models/SandboxConfig.js +3 -0
  61. package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts +34 -0
  62. package/dist/apispec/src/models/SandboxServicesUpdateRequest.d.ts.map +1 -0
  63. package/dist/apispec/src/models/SandboxServicesUpdateRequest.js +44 -0
  64. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +7 -0
  65. package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
  66. package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -0
  67. package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts +40 -0
  68. package/dist/apispec/src/models/SuccessFunctionAliasResponse.d.ts.map +1 -0
  69. package/dist/apispec/src/models/SuccessFunctionAliasResponse.js +46 -0
  70. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts +34 -0
  71. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.d.ts.map +1 -0
  72. package/dist/apispec/src/models/SuccessFunctionAliasResponseAllOfData.js +44 -0
  73. package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts +40 -0
  74. package/dist/apispec/src/models/SuccessFunctionCreateResponse.d.ts.map +1 -0
  75. package/dist/apispec/src/models/SuccessFunctionCreateResponse.js +46 -0
  76. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts +48 -0
  77. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.d.ts.map +1 -0
  78. package/dist/apispec/src/models/SuccessFunctionCreateResponseAllOfData.js +54 -0
  79. package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts +40 -0
  80. package/dist/apispec/src/models/SuccessFunctionListResponse.d.ts.map +1 -0
  81. package/dist/apispec/src/models/SuccessFunctionListResponse.js +46 -0
  82. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts +34 -0
  83. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.d.ts.map +1 -0
  84. package/dist/apispec/src/models/SuccessFunctionListResponseAllOfData.js +44 -0
  85. package/dist/apispec/src/models/SuccessFunctionResponse.d.ts +40 -0
  86. package/dist/apispec/src/models/SuccessFunctionResponse.d.ts.map +1 -0
  87. package/dist/apispec/src/models/SuccessFunctionResponse.js +46 -0
  88. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts +34 -0
  89. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.d.ts.map +1 -0
  90. package/dist/apispec/src/models/SuccessFunctionResponseAllOfData.js +44 -0
  91. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts +40 -0
  92. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.d.ts.map +1 -0
  93. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponse.js +46 -0
  94. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts +40 -0
  95. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.d.ts.map +1 -0
  96. package/dist/apispec/src/models/SuccessFunctionRevisionCreateResponseAllOfData.js +48 -0
  97. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts +40 -0
  98. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.d.ts.map +1 -0
  99. package/dist/apispec/src/models/SuccessFunctionRevisionListResponse.js +46 -0
  100. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts +34 -0
  101. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.d.ts.map +1 -0
  102. package/dist/apispec/src/models/SuccessFunctionRevisionListResponseAllOfData.js +44 -0
  103. package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts +40 -0
  104. package/dist/apispec/src/models/SuccessSandboxServicesResponse.d.ts.map +1 -0
  105. package/dist/apispec/src/models/SuccessSandboxServicesResponse.js +46 -0
  106. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts +40 -0
  107. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.d.ts.map +1 -0
  108. package/dist/apispec/src/models/SuccessSandboxServicesResponseAllOfData.js +48 -0
  109. package/dist/apispec/src/models/WarmProcessSpec.d.ts +2 -2
  110. package/dist/apispec/src/models/WarmProcessSpec.js +2 -2
  111. package/dist/apispec/src/models/index.d.ts +30 -0
  112. package/dist/apispec/src/models/index.d.ts.map +1 -1
  113. package/dist/apispec/src/models/index.js +30 -0
  114. package/dist/apispec_compat.d.ts +1535 -1
  115. package/dist/apispec_compat.d.ts.map +1 -1
  116. package/dist/apispec_compat.js +10 -1
  117. package/dist/client.d.ts +3 -0
  118. package/dist/client.d.ts.map +1 -1
  119. package/dist/client.js +4 -0
  120. package/dist/index.d.ts +2 -0
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/index.js +1 -0
  123. package/dist/resources/functions.d.ts +31 -0
  124. package/dist/resources/functions.d.ts.map +1 -0
  125. package/dist/resources/functions.js +79 -0
  126. package/package.json +1 -1
@@ -0,0 +1,71 @@
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 Function interface.
16
+ */
17
+ export function instanceOfFunction(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('teamId' in value) || value['teamId'] === undefined)
21
+ return false;
22
+ if (!('name' in value) || value['name'] === undefined)
23
+ return false;
24
+ if (!('slug' in value) || value['slug'] === undefined)
25
+ return false;
26
+ if (!('domainLabel' in value) || value['domainLabel'] === undefined)
27
+ return false;
28
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
29
+ return false;
30
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function FunctionFromJSON(json) {
35
+ return FunctionFromJSONTyped(json, false);
36
+ }
37
+ export function FunctionFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'teamId': json['team_id'],
44
+ 'name': json['name'],
45
+ 'slug': json['slug'],
46
+ 'domainLabel': json['domain_label'],
47
+ 'activeRevisionId': json['active_revision_id'] == null ? undefined : json['active_revision_id'],
48
+ 'createdBy': json['created_by'] == null ? undefined : json['created_by'],
49
+ 'createdAt': (new Date(json['created_at'])),
50
+ 'updatedAt': (new Date(json['updated_at'])),
51
+ };
52
+ }
53
+ export function FunctionToJSON(json) {
54
+ return FunctionToJSONTyped(json, false);
55
+ }
56
+ export function FunctionToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'id': value['id'],
62
+ 'team_id': value['teamId'],
63
+ 'name': value['name'],
64
+ 'slug': value['slug'],
65
+ 'domain_label': value['domainLabel'],
66
+ 'active_revision_id': value['activeRevisionId'],
67
+ 'created_by': value['createdBy'],
68
+ 'created_at': value['createdAt'].toISOString(),
69
+ 'updated_at': value['updatedAt'].toISOString(),
70
+ };
71
+ }
@@ -0,0 +1,63 @@
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 FunctionAlias
16
+ */
17
+ export interface FunctionAlias {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FunctionAlias
22
+ */
23
+ functionId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FunctionAlias
28
+ */
29
+ alias: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FunctionAlias
34
+ */
35
+ revisionId: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof FunctionAlias
40
+ */
41
+ revisionNumber: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof FunctionAlias
46
+ */
47
+ updatedBy?: string;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof FunctionAlias
52
+ */
53
+ updatedAt: Date;
54
+ }
55
+ /**
56
+ * Check if a given object implements the FunctionAlias interface.
57
+ */
58
+ export declare function instanceOfFunctionAlias(value: object): value is FunctionAlias;
59
+ export declare function FunctionAliasFromJSON(json: any): FunctionAlias;
60
+ export declare function FunctionAliasFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionAlias;
61
+ export declare function FunctionAliasToJSON(json: any): FunctionAlias;
62
+ export declare function FunctionAliasToJSONTyped(value?: FunctionAlias | null, ignoreDiscriminator?: boolean): any;
63
+ //# sourceMappingURL=FunctionAlias.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionAlias.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionAlias.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAO7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAajG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAchH"}
@@ -0,0 +1,61 @@
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 FunctionAlias interface.
16
+ */
17
+ export function instanceOfFunctionAlias(value) {
18
+ if (!('functionId' in value) || value['functionId'] === undefined)
19
+ return false;
20
+ if (!('alias' in value) || value['alias'] === undefined)
21
+ return false;
22
+ if (!('revisionId' in value) || value['revisionId'] === undefined)
23
+ return false;
24
+ if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
25
+ return false;
26
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function FunctionAliasFromJSON(json) {
31
+ return FunctionAliasFromJSONTyped(json, false);
32
+ }
33
+ export function FunctionAliasFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'functionId': json['function_id'],
39
+ 'alias': json['alias'],
40
+ 'revisionId': json['revision_id'],
41
+ 'revisionNumber': json['revision_number'],
42
+ 'updatedBy': json['updated_by'] == null ? undefined : json['updated_by'],
43
+ 'updatedAt': (new Date(json['updated_at'])),
44
+ };
45
+ }
46
+ export function FunctionAliasToJSON(json) {
47
+ return FunctionAliasToJSONTyped(json, false);
48
+ }
49
+ export function FunctionAliasToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'function_id': value['functionId'],
55
+ 'alias': value['alias'],
56
+ 'revision_id': value['revisionId'],
57
+ 'revision_number': value['revisionNumber'],
58
+ 'updated_by': value['updatedBy'],
59
+ 'updated_at': value['updatedAt'].toISOString(),
60
+ };
61
+ }
@@ -0,0 +1,33 @@
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 FunctionAliasUpdateRequest
16
+ */
17
+ export interface FunctionAliasUpdateRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof FunctionAliasUpdateRequest
22
+ */
23
+ revisionNumber: number;
24
+ }
25
+ /**
26
+ * Check if a given object implements the FunctionAliasUpdateRequest interface.
27
+ */
28
+ export declare function instanceOfFunctionAliasUpdateRequest(value: object): value is FunctionAliasUpdateRequest;
29
+ export declare function FunctionAliasUpdateRequestFromJSON(json: any): FunctionAliasUpdateRequest;
30
+ export declare function FunctionAliasUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionAliasUpdateRequest;
31
+ export declare function FunctionAliasUpdateRequestToJSON(json: any): FunctionAliasUpdateRequest;
32
+ export declare function FunctionAliasUpdateRequestToJSONTyped(value?: FunctionAliasUpdateRequest | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=FunctionAliasUpdateRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionAliasUpdateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionAliasUpdateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAQ3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAS1I"}
@@ -0,0 +1,43 @@
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 FunctionAliasUpdateRequest interface.
16
+ */
17
+ export function instanceOfFunctionAliasUpdateRequest(value) {
18
+ if (!('revisionNumber' in value) || value['revisionNumber'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function FunctionAliasUpdateRequestFromJSON(json) {
23
+ return FunctionAliasUpdateRequestFromJSONTyped(json, false);
24
+ }
25
+ export function FunctionAliasUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'revisionNumber': json['revision_number'],
31
+ };
32
+ }
33
+ export function FunctionAliasUpdateRequestToJSON(json) {
34
+ return FunctionAliasUpdateRequestToJSONTyped(json, false);
35
+ }
36
+ export function FunctionAliasUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'revision_number': value['revisionNumber'],
42
+ };
43
+ }
@@ -0,0 +1,40 @@
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
+ import type { FunctionSourceRequest } from './FunctionSourceRequest.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FunctionCreateRequest
17
+ */
18
+ export interface FunctionCreateRequest {
19
+ /**
20
+ * Function display name. Defaults to the source service name or ID when omitted.
21
+ * @type {string}
22
+ * @memberof FunctionCreateRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {FunctionSourceRequest}
28
+ * @memberof FunctionCreateRequest
29
+ */
30
+ source: FunctionSourceRequest;
31
+ }
32
+ /**
33
+ * Check if a given object implements the FunctionCreateRequest interface.
34
+ */
35
+ export declare function instanceOfFunctionCreateRequest(value: object): value is FunctionCreateRequest;
36
+ export declare function FunctionCreateRequestFromJSON(json: any): FunctionCreateRequest;
37
+ export declare function FunctionCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionCreateRequest;
38
+ export declare function FunctionCreateRequestToJSON(json: any): FunctionCreateRequest;
39
+ export declare function FunctionCreateRequestToJSONTyped(value?: FunctionCreateRequest | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=FunctionCreateRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionCreateRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionCreateRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,qBAAqB,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;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"}
@@ -0,0 +1,46 @@
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
+ import { FunctionSourceRequestFromJSON, FunctionSourceRequestToJSON, } from './FunctionSourceRequest.js';
15
+ /**
16
+ * Check if a given object implements the FunctionCreateRequest interface.
17
+ */
18
+ export function instanceOfFunctionCreateRequest(value) {
19
+ if (!('source' in value) || value['source'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function FunctionCreateRequestFromJSON(json) {
24
+ return FunctionCreateRequestFromJSONTyped(json, false);
25
+ }
26
+ export function FunctionCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'name': json['name'] == null ? undefined : json['name'],
32
+ 'source': FunctionSourceRequestFromJSON(json['source']),
33
+ };
34
+ }
35
+ export function FunctionCreateRequestToJSON(json) {
36
+ return FunctionCreateRequestToJSONTyped(json, false);
37
+ }
38
+ export function FunctionCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'name': value['name'],
44
+ 'source': FunctionSourceRequestToJSON(value['source']),
45
+ };
46
+ }
@@ -0,0 +1,93 @@
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 FunctionRecord
16
+ */
17
+ export interface FunctionRecord {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FunctionRecord
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FunctionRecord
28
+ */
29
+ teamId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FunctionRecord
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof FunctionRecord
40
+ */
41
+ slug: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof FunctionRecord
46
+ */
47
+ domainLabel: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof FunctionRecord
52
+ */
53
+ activeRevisionId?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof FunctionRecord
58
+ */
59
+ createdBy?: string;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof FunctionRecord
64
+ */
65
+ createdAt: Date;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof FunctionRecord
70
+ */
71
+ updatedAt: Date;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof FunctionRecord
76
+ */
77
+ host: string;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof FunctionRecord
82
+ */
83
+ url: string;
84
+ }
85
+ /**
86
+ * Check if a given object implements the FunctionRecord interface.
87
+ */
88
+ export declare function instanceOfFunctionRecord(value: object): value is FunctionRecord;
89
+ export declare function FunctionRecordFromJSON(json: any): FunctionRecord;
90
+ export declare function FunctionRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRecord;
91
+ export declare function FunctionRecordToJSON(json: any): FunctionRecord;
92
+ export declare function FunctionRecordToJSONTyped(value?: FunctionRecord | null, ignoreDiscriminator?: boolean): any;
93
+ //# sourceMappingURL=FunctionRecord.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionRecord.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRecord.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAW/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAkBnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAmBlH"}
@@ -0,0 +1,79 @@
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 FunctionRecord interface.
16
+ */
17
+ export function instanceOfFunctionRecord(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('teamId' in value) || value['teamId'] === undefined)
21
+ return false;
22
+ if (!('name' in value) || value['name'] === undefined)
23
+ return false;
24
+ if (!('slug' in value) || value['slug'] === undefined)
25
+ return false;
26
+ if (!('domainLabel' in value) || value['domainLabel'] === undefined)
27
+ return false;
28
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
29
+ return false;
30
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
31
+ return false;
32
+ if (!('host' in value) || value['host'] === undefined)
33
+ return false;
34
+ if (!('url' in value) || value['url'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function FunctionRecordFromJSON(json) {
39
+ return FunctionRecordFromJSONTyped(json, false);
40
+ }
41
+ export function FunctionRecordFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'id': json['id'],
47
+ 'teamId': json['team_id'],
48
+ 'name': json['name'],
49
+ 'slug': json['slug'],
50
+ 'domainLabel': json['domain_label'],
51
+ 'activeRevisionId': json['active_revision_id'] == null ? undefined : json['active_revision_id'],
52
+ 'createdBy': json['created_by'] == null ? undefined : json['created_by'],
53
+ 'createdAt': (new Date(json['created_at'])),
54
+ 'updatedAt': (new Date(json['updated_at'])),
55
+ 'host': json['host'],
56
+ 'url': json['url'],
57
+ };
58
+ }
59
+ export function FunctionRecordToJSON(json) {
60
+ return FunctionRecordToJSONTyped(json, false);
61
+ }
62
+ export function FunctionRecordToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'id': value['id'],
68
+ 'team_id': value['teamId'],
69
+ 'name': value['name'],
70
+ 'slug': value['slug'],
71
+ 'domain_label': value['domainLabel'],
72
+ 'active_revision_id': value['activeRevisionId'],
73
+ 'created_by': value['createdBy'],
74
+ 'created_at': value['createdAt'].toISOString(),
75
+ 'updated_at': value['updatedAt'].toISOString(),
76
+ 'host': value['host'],
77
+ 'url': value['url'],
78
+ };
79
+ }
@@ -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 FunctionRestoreMount
16
+ */
17
+ export interface FunctionRestoreMount {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FunctionRestoreMount
22
+ */
23
+ sandboxvolumeId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FunctionRestoreMount
28
+ */
29
+ mountPoint: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the FunctionRestoreMount interface.
33
+ */
34
+ export declare function instanceOfFunctionRestoreMount(value: object): value is FunctionRestoreMount;
35
+ export declare function FunctionRestoreMountFromJSON(json: any): FunctionRestoreMount;
36
+ export declare function FunctionRestoreMountFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionRestoreMount;
37
+ export declare function FunctionRestoreMountToJSON(json: any): FunctionRestoreMount;
38
+ export declare function FunctionRestoreMountToJSONTyped(value?: FunctionRestoreMount | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=FunctionRestoreMount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionRestoreMount.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionRestoreMount.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAS/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9H"}
@@ -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 FunctionRestoreMount interface.
16
+ */
17
+ export function instanceOfFunctionRestoreMount(value) {
18
+ if (!('sandboxvolumeId' in value) || value['sandboxvolumeId'] === undefined)
19
+ return false;
20
+ if (!('mountPoint' in value) || value['mountPoint'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function FunctionRestoreMountFromJSON(json) {
25
+ return FunctionRestoreMountFromJSONTyped(json, false);
26
+ }
27
+ export function FunctionRestoreMountFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'sandboxvolumeId': json['sandboxvolume_id'],
33
+ 'mountPoint': json['mount_point'],
34
+ };
35
+ }
36
+ export function FunctionRestoreMountToJSON(json) {
37
+ return FunctionRestoreMountToJSONTyped(json, false);
38
+ }
39
+ export function FunctionRestoreMountToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'sandboxvolume_id': value['sandboxvolumeId'],
45
+ 'mount_point': value['mountPoint'],
46
+ };
47
+ }