oci-waa 2.31.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +28 -0
- package/index.js +51 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +298 -0
- package/lib/client.js +1388 -0
- package/lib/client.js.map +1 -0
- package/lib/model/backend-type.d.ts +30 -0
- package/lib/model/backend-type.js +41 -0
- package/lib/model/backend-type.js.map +1 -0
- package/lib/model/change-resource-compartment-details.d.ts +30 -0
- package/lib/model/change-resource-compartment-details.js +32 -0
- package/lib/model/change-resource-compartment-details.js.map +1 -0
- package/lib/model/change-web-app-acceleration-compartment-details.d.ts +30 -0
- package/lib/model/change-web-app-acceleration-compartment-details.js +32 -0
- package/lib/model/change-web-app-acceleration-compartment-details.js.map +1 -0
- package/lib/model/change-web-app-acceleration-policy-compartment-details.d.ts +30 -0
- package/lib/model/change-web-app-acceleration-policy-compartment-details.js +32 -0
- package/lib/model/change-web-app-acceleration-policy-compartment-details.js.map +1 -0
- package/lib/model/create-web-app-acceleration-details.d.ts +65 -0
- package/lib/model/create-web-app-acceleration-details.js +68 -0
- package/lib/model/create-web-app-acceleration-details.js.map +1 -0
- package/lib/model/create-web-app-acceleration-load-balancer-details.d.ts +31 -0
- package/lib/model/create-web-app-acceleration-load-balancer-details.js +57 -0
- package/lib/model/create-web-app-acceleration-load-balancer-details.js.map +1 -0
- package/lib/model/create-web-app-acceleration-policy-details.d.ts +63 -0
- package/lib/model/create-web-app-acceleration-policy-details.js +66 -0
- package/lib/model/create-web-app-acceleration-policy-details.js.map +1 -0
- package/lib/model/gzip-compression-policy.d.ts +34 -0
- package/lib/model/gzip-compression-policy.js +32 -0
- package/lib/model/gzip-compression-policy.js.map +1 -0
- package/lib/model/index.d.ts +75 -0
- package/lib/model/index.js +98 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/purge-entire-web-app-acceleration-cache-details.d.ts +27 -0
- package/lib/model/purge-entire-web-app-acceleration-cache-details.js +57 -0
- package/lib/model/purge-entire-web-app-acceleration-cache-details.js.map +1 -0
- package/lib/model/purge-web-app-acceleration-cache-details.d.ts +25 -0
- package/lib/model/purge-web-app-acceleration-cache-details.js +68 -0
- package/lib/model/purge-web-app-acceleration-cache-details.js.map +1 -0
- package/lib/model/response-caching-policy.d.ts +46 -0
- package/lib/model/response-caching-policy.js +32 -0
- package/lib/model/response-caching-policy.js.map +1 -0
- package/lib/model/response-compression-policy.d.ts +33 -0
- package/lib/model/response-compression-policy.js +60 -0
- package/lib/model/response-compression-policy.js.map +1 -0
- package/lib/model/sort-order.d.ts +26 -0
- package/lib/model/sort-order.js +37 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-web-app-acceleration-details.d.ts +62 -0
- package/lib/model/update-web-app-acceleration-details.js +32 -0
- package/lib/model/update-web-app-acceleration-details.js.map +1 -0
- package/lib/model/update-web-app-acceleration-policy-details.d.ts +63 -0
- package/lib/model/update-web-app-acceleration-policy-details.js +66 -0
- package/lib/model/update-web-app-acceleration-policy-details.js.map +1 -0
- package/lib/model/web-app-acceleration-collection.d.ts +29 -0
- package/lib/model/web-app-acceleration-collection.js +64 -0
- package/lib/model/web-app-acceleration-collection.js.map +1 -0
- package/lib/model/web-app-acceleration-load-balancer-summary.d.ts +31 -0
- package/lib/model/web-app-acceleration-load-balancer-summary.js +57 -0
- package/lib/model/web-app-acceleration-load-balancer-summary.js.map +1 -0
- package/lib/model/web-app-acceleration-load-balancer.d.ts +31 -0
- package/lib/model/web-app-acceleration-load-balancer.js +57 -0
- package/lib/model/web-app-acceleration-load-balancer.js.map +1 -0
- package/lib/model/web-app-acceleration-policy-collection.d.ts +29 -0
- package/lib/model/web-app-acceleration-policy-collection.js +64 -0
- package/lib/model/web-app-acceleration-policy-collection.js.map +1 -0
- package/lib/model/web-app-acceleration-policy-summary.d.ts +82 -0
- package/lib/model/web-app-acceleration-policy-summary.js +32 -0
- package/lib/model/web-app-acceleration-policy-summary.js.map +1 -0
- package/lib/model/web-app-acceleration-policy.d.ts +102 -0
- package/lib/model/web-app-acceleration-policy.js +80 -0
- package/lib/model/web-app-acceleration-policy.js.map +1 -0
- package/lib/model/web-app-acceleration-summary.d.ts +87 -0
- package/lib/model/web-app-acceleration-summary.js +68 -0
- package/lib/model/web-app-acceleration-summary.js.map +1 -0
- package/lib/model/web-app-acceleration.d.ts +100 -0
- package/lib/model/web-app-acceleration.js +82 -0
- package/lib/model/web-app-acceleration.js.map +1 -0
- package/lib/model/work-request-collection.d.ts +29 -0
- package/lib/model/work-request-collection.js +64 -0
- package/lib/model/work-request-collection.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +29 -0
- package/lib/model/work-request-error-collection.js +64 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +38 -0
- package/lib/model/work-request-error.js +32 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +29 -0
- package/lib/model/work-request-log-entry-collection.js +64 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +32 -0
- package/lib/model/work-request-log-entry.js +32 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +56 -0
- package/lib/model/work-request-resource.js +45 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request.d.ts +97 -0
- package/lib/model/work-request.js +95 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/change-web-app-acceleration-compartment-request.d.ts +38 -0
- package/lib/request/change-web-app-acceleration-compartment-request.js +15 -0
- package/lib/request/change-web-app-acceleration-compartment-request.js.map +1 -0
- package/lib/request/change-web-app-acceleration-policy-compartment-request.d.ts +38 -0
- package/lib/request/change-web-app-acceleration-policy-compartment-request.js +15 -0
- package/lib/request/change-web-app-acceleration-policy-compartment-request.js.map +1 -0
- package/lib/request/create-web-app-acceleration-policy-request.d.ts +35 -0
- package/lib/request/create-web-app-acceleration-policy-request.js +15 -0
- package/lib/request/create-web-app-acceleration-policy-request.js.map +1 -0
- package/lib/request/create-web-app-acceleration-request.d.ts +35 -0
- package/lib/request/create-web-app-acceleration-request.js +15 -0
- package/lib/request/create-web-app-acceleration-request.js.map +1 -0
- package/lib/request/delete-web-app-acceleration-policy-request.d.ts +33 -0
- package/lib/request/delete-web-app-acceleration-policy-request.js +15 -0
- package/lib/request/delete-web-app-acceleration-policy-request.js.map +1 -0
- package/lib/request/delete-web-app-acceleration-request.d.ts +33 -0
- package/lib/request/delete-web-app-acceleration-request.js +15 -0
- package/lib/request/delete-web-app-acceleration-request.js.map +1 -0
- package/lib/request/get-web-app-acceleration-policy-request.d.ts +26 -0
- package/lib/request/get-web-app-acceleration-policy-request.js +15 -0
- package/lib/request/get-web-app-acceleration-policy-request.js.map +1 -0
- package/lib/request/get-web-app-acceleration-request.d.ts +26 -0
- package/lib/request/get-web-app-acceleration-request.js +15 -0
- package/lib/request/get-web-app-acceleration-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +49 -0
- package/lib/request/index.js +42 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-web-app-acceleration-policies-request.d.ts +67 -0
- package/lib/request/list-web-app-acceleration-policies-request.js +24 -0
- package/lib/request/list-web-app-acceleration-policies-request.js.map +1 -0
- package/lib/request/list-web-app-accelerations-request.d.ts +73 -0
- package/lib/request/list-web-app-accelerations-request.js +24 -0
- package/lib/request/list-web-app-accelerations-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +36 -0
- package/lib/request/list-work-request-errors-request.js +15 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +36 -0
- package/lib/request/list-work-request-logs-request.js +15 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +40 -0
- package/lib/request/list-work-requests-request.js +15 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/purge-web-app-acceleration-cache-request.d.ts +31 -0
- package/lib/request/purge-web-app-acceleration-cache-request.js +15 -0
- package/lib/request/purge-web-app-acceleration-cache-request.js.map +1 -0
- package/lib/request/update-web-app-acceleration-policy-request.d.ts +38 -0
- package/lib/request/update-web-app-acceleration-policy-request.js +15 -0
- package/lib/request/update-web-app-acceleration-policy-request.js.map +1 -0
- package/lib/request/update-web-app-acceleration-request.d.ts +38 -0
- package/lib/request/update-web-app-acceleration-request.js +15 -0
- package/lib/request/update-web-app-acceleration-request.js.map +1 -0
- package/lib/response/change-web-app-acceleration-compartment-response.d.ts +25 -0
- package/lib/response/change-web-app-acceleration-compartment-response.js +15 -0
- package/lib/response/change-web-app-acceleration-compartment-response.js.map +1 -0
- package/lib/response/change-web-app-acceleration-policy-compartment-response.d.ts +25 -0
- package/lib/response/change-web-app-acceleration-policy-compartment-response.js +15 -0
- package/lib/response/change-web-app-acceleration-policy-compartment-response.js.map +1 -0
- package/lib/response/create-web-app-acceleration-policy-response.d.ts +45 -0
- package/lib/response/create-web-app-acceleration-policy-response.js +15 -0
- package/lib/response/create-web-app-acceleration-policy-response.js.map +1 -0
- package/lib/response/create-web-app-acceleration-response.d.ts +45 -0
- package/lib/response/create-web-app-acceleration-response.js +15 -0
- package/lib/response/create-web-app-acceleration-response.js.map +1 -0
- package/lib/response/delete-web-app-acceleration-policy-response.d.ts +25 -0
- package/lib/response/delete-web-app-acceleration-policy-response.js +15 -0
- package/lib/response/delete-web-app-acceleration-policy-response.js.map +1 -0
- package/lib/response/delete-web-app-acceleration-response.d.ts +25 -0
- package/lib/response/delete-web-app-acceleration-response.js +15 -0
- package/lib/response/delete-web-app-acceleration-response.js.map +1 -0
- package/lib/response/get-web-app-acceleration-policy-response.d.ts +30 -0
- package/lib/response/get-web-app-acceleration-policy-response.js +15 -0
- package/lib/response/get-web-app-acceleration-policy-response.js.map +1 -0
- package/lib/response/get-web-app-acceleration-response.d.ts +30 -0
- package/lib/response/get-web-app-acceleration-response.js +15 -0
- package/lib/response/get-web-app-acceleration-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +29 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +49 -0
- package/lib/response/index.js +18 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-web-app-acceleration-policies-response.d.ts +32 -0
- package/lib/response/list-web-app-acceleration-policies-response.js +15 -0
- package/lib/response/list-web-app-acceleration-policies-response.js.map +1 -0
- package/lib/response/list-web-app-accelerations-response.d.ts +32 -0
- package/lib/response/list-web-app-accelerations-response.js +15 -0
- package/lib/response/list-web-app-accelerations-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/purge-web-app-acceleration-cache-response.d.ts +25 -0
- package/lib/response/purge-web-app-acceleration-cache-response.js +15 -0
- package/lib/response/purge-web-app-acceleration-cache-response.js.map +1 -0
- package/lib/response/update-web-app-acceleration-policy-response.d.ts +25 -0
- package/lib/response/update-web-app-acceleration-policy-response.js +15 -0
- package/lib/response/update-web-app-acceleration-policy-response.js.map +1 -0
- package/lib/response/update-web-app-acceleration-response.d.ts +25 -0
- package/lib/response/update-web-app-acceleration-response.js +15 -0
- package/lib/response/update-web-app-acceleration-response.js.map +1 -0
- package/lib/waa-waiter.d.ts +40 -0
- package/lib/waa-waiter.js +80 -0
- package/lib/waa-waiter.js.map +1 -0
- package/lib/workrequest-waiter.d.ts +30 -0
- package/lib/workrequest-waiter.js +47 -0
- package/lib/workrequest-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* A resource connecting a WebAppAccelerationPolicy to a backend of particular type, applying that policy's coverage to the backend.
|
|
18
|
+
*/
|
|
19
|
+
export interface WebAppAcceleration {
|
|
20
|
+
/**
|
|
21
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppAcceleration.
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* WebAppAcceleration display name, can be renamed.
|
|
26
|
+
*/
|
|
27
|
+
"displayName": string;
|
|
28
|
+
/**
|
|
29
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
30
|
+
*/
|
|
31
|
+
"compartmentId": string;
|
|
32
|
+
/**
|
|
33
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppAccelerationPolicy, which is attached to the resource.
|
|
34
|
+
*/
|
|
35
|
+
"webAppAccelerationPolicyId": string;
|
|
36
|
+
/**
|
|
37
|
+
* The time the WebAppAcceleration was created. An RFC3339 formatted datetime string.
|
|
38
|
+
*/
|
|
39
|
+
"timeCreated": Date;
|
|
40
|
+
/**
|
|
41
|
+
* The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string.
|
|
42
|
+
*/
|
|
43
|
+
"timeUpdated"?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* The current state of the WebAppAcceleration.
|
|
46
|
+
*/
|
|
47
|
+
"lifecycleState": WebAppAcceleration.LifecycleState;
|
|
48
|
+
/**
|
|
49
|
+
* A message describing the current state in more detail.
|
|
50
|
+
* For example, can be used to provide actionable information for a resource in FAILED state.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"lifecycleDetails"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
56
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"freeformTags": {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
64
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
"definedTags": {
|
|
68
|
+
[key: string]: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
74
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"systemTags": {
|
|
78
|
+
[key: string]: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
"backendType": string;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace WebAppAcceleration {
|
|
85
|
+
enum LifecycleState {
|
|
86
|
+
Creating = "CREATING",
|
|
87
|
+
Updating = "UPDATING",
|
|
88
|
+
Active = "ACTIVE",
|
|
89
|
+
Deleting = "DELETING",
|
|
90
|
+
Deleted = "DELETED",
|
|
91
|
+
Failed = "FAILED",
|
|
92
|
+
/**
|
|
93
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
94
|
+
* version of the SDK.
|
|
95
|
+
*/
|
|
96
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
97
|
+
}
|
|
98
|
+
function getJsonObj(obj: WebAppAcceleration): object;
|
|
99
|
+
function getDeserializedJsonObj(obj: WebAppAcceleration): object;
|
|
100
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WebAppAcceleration = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var WebAppAcceleration;
|
|
40
|
+
(function (WebAppAcceleration) {
|
|
41
|
+
let LifecycleState;
|
|
42
|
+
(function (LifecycleState) {
|
|
43
|
+
LifecycleState["Creating"] = "CREATING";
|
|
44
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
45
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
46
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
47
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
48
|
+
LifecycleState["Failed"] = "FAILED";
|
|
49
|
+
/**
|
|
50
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
51
|
+
* version of the SDK.
|
|
52
|
+
*/
|
|
53
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
54
|
+
})(LifecycleState = WebAppAcceleration.LifecycleState || (WebAppAcceleration.LifecycleState = {}));
|
|
55
|
+
function getJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "backendType" in obj && obj.backendType) {
|
|
58
|
+
switch (obj.backendType) {
|
|
59
|
+
case "LOAD_BALANCER":
|
|
60
|
+
return model.WebAppAccelerationLoadBalancer.getJsonObj(jsonObj, true);
|
|
61
|
+
default:
|
|
62
|
+
throw Error("Unknown value for: " + obj.backendType);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
WebAppAcceleration.getJsonObj = getJsonObj;
|
|
68
|
+
function getDeserializedJsonObj(obj) {
|
|
69
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
70
|
+
if (obj && "backendType" in obj && obj.backendType) {
|
|
71
|
+
switch (obj.backendType) {
|
|
72
|
+
case "LOAD_BALANCER":
|
|
73
|
+
return model.WebAppAccelerationLoadBalancer.getDeserializedJsonObj(jsonObj, true);
|
|
74
|
+
default:
|
|
75
|
+
throw Error("Unknown value for: " + obj.backendType);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return jsonObj;
|
|
79
|
+
}
|
|
80
|
+
WebAppAcceleration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
81
|
+
})(WebAppAcceleration = exports.WebAppAcceleration || (exports.WebAppAcceleration = {}));
|
|
82
|
+
//# sourceMappingURL=web-app-acceleration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-app-acceleration.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/web-app-acceleration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+DlC,IAAiB,kBAAkB,CA+ClC;AA/CD,WAAiB,kBAAkB;IACjC,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CACL,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,6BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,aAAa,IAAI,GAAG,IAAI,GAAG,CAAC,WAAW,EAAE;YAClD,QAAQ,GAAG,CAAC,WAAW,EAAE;gBACvB,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CACjB,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC;aACxD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,yCAAsB,yBAerC,CAAA;AACH,CAAC,EA/CgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA+ClC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Result of a WorkRequest search. Contains both WorkRequest items and other information, such as metadata.
|
|
19
|
+
*/
|
|
20
|
+
export interface WorkRequestCollection {
|
|
21
|
+
/**
|
|
22
|
+
* List of WorkRequests.
|
|
23
|
+
*/
|
|
24
|
+
"items": Array<model.WorkRequest>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestCollection {
|
|
27
|
+
function getJsonObj(obj: WorkRequestCollection): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestCollection): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WorkRequestCollection = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var WorkRequestCollection;
|
|
40
|
+
(function (WorkRequestCollection) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"items": obj.items
|
|
44
|
+
? obj.items.map(item => {
|
|
45
|
+
return model.WorkRequest.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
WorkRequestCollection.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"items": obj.items
|
|
55
|
+
? obj.items.map(item => {
|
|
56
|
+
return model.WorkRequest.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
WorkRequestCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(WorkRequestCollection = exports.WorkRequestCollection || (exports.WorkRequestCollection = {}));
|
|
64
|
+
//# sourceMappingURL=work-request-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-collection.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/work-request-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Result of a WorkRequestError search. Contains both WorkRequestError items and other information, such as metadata.
|
|
19
|
+
*/
|
|
20
|
+
export interface WorkRequestErrorCollection {
|
|
21
|
+
/**
|
|
22
|
+
* List of WorkRequestError objects.
|
|
23
|
+
*/
|
|
24
|
+
"items": Array<model.WorkRequestError>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestErrorCollection {
|
|
27
|
+
function getJsonObj(obj: WorkRequestErrorCollection): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WorkRequestErrorCollection = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var WorkRequestErrorCollection;
|
|
40
|
+
(function (WorkRequestErrorCollection) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"items": obj.items
|
|
44
|
+
? obj.items.map(item => {
|
|
45
|
+
return model.WorkRequestError.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
WorkRequestErrorCollection.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"items": obj.items
|
|
55
|
+
? obj.items.map(item => {
|
|
56
|
+
return model.WorkRequestError.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
WorkRequestErrorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(WorkRequestErrorCollection = exports.WorkRequestErrorCollection || (exports.WorkRequestErrorCollection = {}));
|
|
64
|
+
//# sourceMappingURL=work-request-error-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error-collection.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/work-request-error-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* An error encountered while executing a WorkRequest.
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkRequestError {
|
|
20
|
+
/**
|
|
21
|
+
* A machine-usable code for the error that occured. Error codes are listed on
|
|
22
|
+
* https://docs.cloud.oracle.com/Content/API/References/apierrors.htm.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"code": string;
|
|
26
|
+
/**
|
|
27
|
+
* A human readable description of the issue encountered.
|
|
28
|
+
*/
|
|
29
|
+
"message": string;
|
|
30
|
+
/**
|
|
31
|
+
* The time the error occured. An RFC3339 formatted datetime string.
|
|
32
|
+
*/
|
|
33
|
+
"timestamp": Date;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace WorkRequestError {
|
|
36
|
+
function getJsonObj(obj: WorkRequestError): object;
|
|
37
|
+
function getDeserializedJsonObj(obj: WorkRequestError): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.WorkRequestError = void 0;
|
|
19
|
+
var WorkRequestError;
|
|
20
|
+
(function (WorkRequestError) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
WorkRequestError.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
WorkRequestError.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(WorkRequestError = exports.WorkRequestError || (exports.WorkRequestError = {}));
|
|
32
|
+
//# sourceMappingURL=work-request-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/work-request-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAyBH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Result of a WorkRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.
|
|
19
|
+
*/
|
|
20
|
+
export interface WorkRequestLogEntryCollection {
|
|
21
|
+
/**
|
|
22
|
+
* List of WorkRequestLogEntries.
|
|
23
|
+
*/
|
|
24
|
+
"items": Array<model.WorkRequestLogEntry>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestLogEntryCollection {
|
|
27
|
+
function getJsonObj(obj: WorkRequestLogEntryCollection): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.WorkRequestLogEntryCollection = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var WorkRequestLogEntryCollection;
|
|
40
|
+
(function (WorkRequestLogEntryCollection) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"items": obj.items
|
|
44
|
+
? obj.items.map(item => {
|
|
45
|
+
return model.WorkRequestLogEntry.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
WorkRequestLogEntryCollection.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"items": obj.items
|
|
55
|
+
? obj.items.map(item => {
|
|
56
|
+
return model.WorkRequestLogEntry.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
WorkRequestLogEntryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(WorkRequestLogEntryCollection = exports.WorkRequestLogEntryCollection || (exports.WorkRequestLogEntryCollection = {}));
|
|
64
|
+
//# sourceMappingURL=work-request-log-entry-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry-collection.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/work-request-log-entry-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Application Acceleration (WAA) API
|
|
3
|
+
* API for the Web Application Acceleration service.
|
|
4
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
5
|
+
for accelerating HTTP services.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20211230
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* A log message from the execution of a WorkRequest.
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkRequestLogEntry {
|
|
20
|
+
/**
|
|
21
|
+
* Human-readable log message.
|
|
22
|
+
*/
|
|
23
|
+
"message": string;
|
|
24
|
+
/**
|
|
25
|
+
* The time the log message was written. An RFC3339 formatted datetime string.
|
|
26
|
+
*/
|
|
27
|
+
"timestamp": Date;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace WorkRequestLogEntry {
|
|
30
|
+
function getJsonObj(obj: WorkRequestLogEntry): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Web Application Acceleration (WAA) API
|
|
4
|
+
* API for the Web Application Acceleration service.
|
|
5
|
+
Use this API to manage regional Web App Acceleration policies such as Caching and Compression
|
|
6
|
+
for accelerating HTTP services.
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20211230
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.WorkRequestLogEntry = void 0;
|
|
19
|
+
var WorkRequestLogEntry;
|
|
20
|
+
(function (WorkRequestLogEntry) {
|
|
21
|
+
function getJsonObj(obj) {
|
|
22
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
23
|
+
return jsonObj;
|
|
24
|
+
}
|
|
25
|
+
WorkRequestLogEntry.getJsonObj = getJsonObj;
|
|
26
|
+
function getDeserializedJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
WorkRequestLogEntry.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
31
|
+
})(WorkRequestLogEntry = exports.WorkRequestLogEntry || (exports.WorkRequestLogEntry = {}));
|
|
32
|
+
//# sourceMappingURL=work-request-log-entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/waa/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAmBH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|