@amp-labs/react 1.2.0 → 1.4.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/build/generated-sources/api/src/apis/APIKeyApi.d.ts +158 -0
- package/build/generated-sources/api/src/apis/APIKeyApi.js +188 -0
- package/build/generated-sources/api/src/apis/DestinationApi.d.ts +86 -8
- package/build/generated-sources/api/src/apis/DestinationApi.js +86 -3
- package/build/generated-sources/api/src/apis/InstallationApi.d.ts +28 -0
- package/build/generated-sources/api/src/apis/InstallationApi.js +30 -0
- package/build/generated-sources/api/src/apis/IntegrationApi.js +1 -4
- package/build/generated-sources/api/src/apis/OperationApi.d.ts +27 -1
- package/build/generated-sources/api/src/apis/OperationApi.js +27 -0
- package/build/generated-sources/api/src/apis/OperationEventApi.d.ts +84 -0
- package/build/generated-sources/api/src/apis/OperationEventApi.js +110 -0
- package/build/generated-sources/api/src/apis/ProviderApi.d.ts +78 -0
- package/build/generated-sources/api/src/apis/{OperationLogApi.js → ProviderApi.js} +33 -17
- package/build/generated-sources/api/src/apis/index.d.ts +3 -1
- package/build/generated-sources/api/src/apis/index.js +3 -1
- package/build/generated-sources/api/src/models/ApiKey.d.ts +49 -0
- package/build/generated-sources/api/src/models/ApiKey.js +59 -0
- package/build/generated-sources/api/src/models/ApiKeyRequest.d.ts +31 -0
- package/build/generated-sources/api/src/models/ApiKeyRequest.js +50 -0
- package/build/generated-sources/api/src/models/AuthType.d.ts +22 -0
- package/build/generated-sources/api/src/models/AuthType.js +35 -0
- package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +7 -0
- package/build/generated-sources/api/src/models/BaseConfigContent.js +3 -0
- package/build/generated-sources/api/src/models/BaseProxyConfig.d.ts +31 -0
- package/build/generated-sources/api/src/models/BaseProxyConfig.js +50 -0
- package/build/generated-sources/api/src/models/ConfigContent.d.ts +7 -0
- package/build/generated-sources/api/src/models/ConfigContent.js +3 -0
- package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +44 -0
- package/build/generated-sources/api/src/models/CreateDestinationRequest.js +57 -0
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +39 -0
- package/build/generated-sources/api/src/models/{DestinationMetadata.js → CreateDestinationRequestMetadata.js} +11 -11
- package/build/generated-sources/api/src/models/Destination.d.ts +22 -4
- package/build/generated-sources/api/src/models/Destination.js +12 -3
- package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +7 -0
- package/build/generated-sources/api/src/models/HydratedIntegration.js +3 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationProxy.d.ts +31 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationProxy.js +50 -0
- package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/Integration1.d.ts +7 -0
- package/build/generated-sources/api/src/models/Integration1.js +3 -0
- package/build/generated-sources/api/src/models/IntegrationProxy.d.ts +31 -0
- package/build/generated-sources/api/src/models/IntegrationProxy.js +50 -0
- package/build/generated-sources/api/src/models/{OperationLog.d.ts → Log.d.ts} +12 -12
- package/build/generated-sources/api/src/models/{OperationLog.js → Log.js} +11 -11
- package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +6 -6
- package/build/generated-sources/api/src/models/OauthConnectRequest.js +1 -2
- package/build/generated-sources/api/src/models/OauthOpts.d.ts +56 -0
- package/build/generated-sources/api/src/models/OauthOpts.js +63 -0
- package/build/generated-sources/api/src/models/Operation.d.ts +26 -9
- package/build/generated-sources/api/src/models/Operation.js +14 -7
- package/build/generated-sources/api/src/models/OperationEvent.d.ts +61 -0
- package/build/generated-sources/api/src/models/OperationEvent.js +64 -0
- package/build/generated-sources/api/src/models/PatchApiKeyRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/PatchApiKeyRequest.js +54 -0
- package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.d.ts +37 -0
- package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.js +52 -0
- package/build/generated-sources/api/src/models/ProviderInfo.d.ts +60 -0
- package/build/generated-sources/api/src/models/ProviderInfo.js +65 -0
- package/build/generated-sources/api/src/models/Support.d.ts +55 -0
- package/build/generated-sources/api/src/models/Support.js +62 -0
- package/build/generated-sources/api/src/models/TokenMetadataFields.d.ts +43 -0
- package/build/generated-sources/api/src/models/TokenMetadataFields.js +54 -0
- package/build/generated-sources/api/src/models/UpdateDestinationRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateDestinationRequest.js +54 -0
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.js +53 -0
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +7 -0
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +3 -0
- package/build/generated-sources/api/src/models/index.d.ts +18 -3
- package/build/generated-sources/api/src/models/index.js +18 -3
- package/build/src/assets/SuccessIcon.d.ts +1 -0
- package/build/src/assets/SuccessIcon.js +8 -0
- package/build/src/components/Configure/InstallIntegration.js +2 -1
- package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.d.ts +15 -0
- package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.js +30 -0
- package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.d.ts +15 -0
- package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.js +33 -0
- package/build/src/components/Configure/actions/proxy/isProxyEnabled.d.ts +2 -0
- package/build/src/components/Configure/actions/proxy/isProxyEnabled.js +8 -0
- package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.d.ts +8 -0
- package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.js +44 -0
- package/build/src/components/Configure/actions/{onSaveReadCreateInstallation.d.ts → read/onSaveReadCreateInstallation.d.ts} +2 -2
- package/build/src/components/Configure/actions/{onSaveReadCreateInstallation.js → read/onSaveReadCreateInstallation.js} +15 -22
- package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.d.ts +3 -0
- package/build/src/components/Configure/actions/{onSaveReadUpdateInstallation.js → read/onSaveReadUpdateInstallation.js} +20 -28
- package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.js +16 -22
- package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.d.ts +2 -2
- package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.js +11 -3
- package/build/src/components/Configure/content/CreateInstallation.js +1 -1
- package/build/src/components/Configure/content/UpdateInstallation.js +5 -5
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.d.ts +11 -0
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.js +67 -0
- package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.d.ts +5 -0
- package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.js +11 -0
- package/build/src/components/Configure/layout/ProtectedConnectionLayout.js +2 -7
- package/build/src/components/Configure/state/utils.js +5 -5
- package/build/src/components/Connect/ConnectedSuccessBox.js +3 -3
- package/build/src/components/Oauth/NoWorkspaceEntry/LandingContent.js +12 -0
- package/build/src/components/Oauth/{NoSubdomainEntry/NoSubdomainOauthFlow.d.ts → NoWorkspaceEntry/NoWorkspaceOauthFlow.d.ts} +4 -4
- package/build/src/components/Oauth/{NoSubdomainEntry/NoSubdomainOauthFlow.js → NoWorkspaceEntry/NoWorkspaceOauthFlow.js} +6 -8
- package/build/src/components/Oauth/OAuthPopup.js +1 -5
- package/build/src/components/Oauth/OauthCardLayout.d.ts +6 -0
- package/build/src/components/Oauth/OauthCardLayout.js +9 -0
- package/build/src/components/Oauth/OauthFlow/OauthFlow.d.ts +9 -0
- package/build/src/components/Oauth/OauthFlow/OauthFlow.js +33 -0
- package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.d.ts +13 -0
- package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.js +18 -0
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.d.ts +9 -0
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.js +12 -0
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.d.ts +14 -0
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.js +58 -0
- package/build/src/components/SuccessTextBox.d.ts +5 -0
- package/build/src/components/SuccessTextBox.js +10 -0
- package/build/src/components/ThemeProvider/Button/buttonTheme.js +3 -3
- package/build/src/components/ThemeProvider/index.js +6 -6
- package/build/src/services/ApiService.d.ts +2 -2
- package/build/src/services/ApiService.js +1 -1
- package/build/src/services/api.d.ts +2 -2
- package/build/src/services/api.js +28 -21
- package/build/src/services/version.d.ts +1 -0
- package/build/src/services/version.js +4 -0
- package/package.json +2 -2
- package/build/generated-sources/api/src/apis/OperationLogApi.d.ts +0 -55
- package/build/generated-sources/api/src/models/DestinationMetadata.d.ts +0 -39
- package/build/generated-sources/api/src/models/OperationError.d.ts +0 -49
- package/build/generated-sources/api/src/models/OperationError.js +0 -56
- package/build/src/components/Configure/actions/onSaveReadUpdateInstallation.d.ts +0 -3
- package/build/src/components/Oauth/NoSubdomainEntry/LandingContent.js +0 -11
- package/build/src/components/Oauth/Salesforce/SalesforceOauthFlow.d.ts +0 -16
- package/build/src/components/Oauth/Salesforce/SalesforceOauthFlow.js +0 -57
- package/build/src/components/Oauth/Salesforce/SubdomainEntry.d.ts +0 -8
- package/build/src/components/Oauth/Salesforce/SubdomainEntry.js +0 -12
- package/build/src/constants.d.ts +0 -2
- package/build/src/constants.js +0 -5
- /package/build/src/components/Oauth/{NoSubdomainEntry → NoWorkspaceEntry}/LandingContent.d.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ApiKeyRequestToJSON = exports.ApiKeyRequestFromJSONTyped = exports.ApiKeyRequestFromJSON = exports.instanceOfApiKeyRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ApiKeyRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfApiKeyRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "label" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfApiKeyRequest = instanceOfApiKeyRequest;
|
|
26
|
+
function ApiKeyRequestFromJSON(json) {
|
|
27
|
+
return ApiKeyRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ApiKeyRequestFromJSON = ApiKeyRequestFromJSON;
|
|
30
|
+
function ApiKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'label': json['label'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ApiKeyRequestFromJSONTyped = ApiKeyRequestFromJSONTyped;
|
|
39
|
+
function ApiKeyRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'label': value.label,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ApiKeyRequestToJSON = ApiKeyRequestToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 AuthType: {
|
|
17
|
+
readonly Oauth2: "oauth2";
|
|
18
|
+
};
|
|
19
|
+
export type AuthType = typeof AuthType[keyof typeof AuthType];
|
|
20
|
+
export declare function AuthTypeFromJSON(json: any): AuthType;
|
|
21
|
+
export declare function AuthTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthType;
|
|
22
|
+
export declare function AuthTypeToJSON(value?: AuthType | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AuthTypeToJSON = exports.AuthTypeFromJSONTyped = exports.AuthTypeFromJSON = exports.AuthType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.AuthType = {
|
|
22
|
+
Oauth2: 'oauth2'
|
|
23
|
+
};
|
|
24
|
+
function AuthTypeFromJSON(json) {
|
|
25
|
+
return AuthTypeFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.AuthTypeFromJSON = AuthTypeFromJSON;
|
|
28
|
+
function AuthTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
exports.AuthTypeFromJSONTyped = AuthTypeFromJSONTyped;
|
|
32
|
+
function AuthTypeToJSON(value) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
exports.AuthTypeToJSON = AuthTypeToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BaseProxyConfig } from './BaseProxyConfig';
|
|
12
13
|
import type { BaseReadConfig } from './BaseReadConfig';
|
|
13
14
|
import type { BaseWriteConfig } from './BaseWriteConfig';
|
|
14
15
|
/**
|
|
@@ -35,6 +36,12 @@ export interface BaseConfigContent {
|
|
|
35
36
|
* @memberof BaseConfigContent
|
|
36
37
|
*/
|
|
37
38
|
write?: BaseWriteConfig;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {BaseProxyConfig}
|
|
42
|
+
* @memberof BaseConfigContent
|
|
43
|
+
*/
|
|
44
|
+
proxy?: BaseProxyConfig;
|
|
38
45
|
}
|
|
39
46
|
/**
|
|
40
47
|
* Check if a given object implements the BaseConfigContent interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BaseConfigContentToJSON = exports.BaseConfigContentFromJSONTyped = exports.BaseConfigContentFromJSON = exports.instanceOfBaseConfigContent = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const BaseProxyConfig_1 = require("./BaseProxyConfig");
|
|
18
19
|
const BaseReadConfig_1 = require("./BaseReadConfig");
|
|
19
20
|
const BaseWriteConfig_1 = require("./BaseWriteConfig");
|
|
20
21
|
/**
|
|
@@ -37,6 +38,7 @@ function BaseConfigContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
38
39
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : (0, BaseReadConfig_1.BaseReadConfigFromJSON)(json['read']),
|
|
39
40
|
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : (0, BaseWriteConfig_1.BaseWriteConfigFromJSON)(json['write']),
|
|
41
|
+
'proxy': !(0, runtime_1.exists)(json, 'proxy') ? undefined : (0, BaseProxyConfig_1.BaseProxyConfigFromJSON)(json['proxy']),
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
exports.BaseConfigContentFromJSONTyped = BaseConfigContentFromJSONTyped;
|
|
@@ -51,6 +53,7 @@ function BaseConfigContentToJSON(value) {
|
|
|
51
53
|
'provider': value.provider,
|
|
52
54
|
'read': (0, BaseReadConfig_1.BaseReadConfigToJSON)(value.read),
|
|
53
55
|
'write': (0, BaseWriteConfig_1.BaseWriteConfigToJSON)(value.write),
|
|
56
|
+
'proxy': (0, BaseProxyConfig_1.BaseProxyConfigToJSON)(value.proxy),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
exports.BaseConfigContentToJSON = BaseConfigContentToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 BaseProxyConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface BaseProxyConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof BaseProxyConfig
|
|
22
|
+
*/
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BaseProxyConfig interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBaseProxyConfig(value: object): boolean;
|
|
29
|
+
export declare function BaseProxyConfigFromJSON(json: any): BaseProxyConfig;
|
|
30
|
+
export declare function BaseProxyConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseProxyConfig;
|
|
31
|
+
export declare function BaseProxyConfigToJSON(value?: BaseProxyConfig | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BaseProxyConfigToJSON = exports.BaseProxyConfigFromJSONTyped = exports.BaseProxyConfigFromJSON = exports.instanceOfBaseProxyConfig = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the BaseProxyConfig interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfBaseProxyConfig(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfBaseProxyConfig = instanceOfBaseProxyConfig;
|
|
26
|
+
function BaseProxyConfigFromJSON(json) {
|
|
27
|
+
return BaseProxyConfigFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.BaseProxyConfigFromJSON = BaseProxyConfigFromJSON;
|
|
30
|
+
function BaseProxyConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.BaseProxyConfigFromJSONTyped = BaseProxyConfigFromJSONTyped;
|
|
39
|
+
function BaseProxyConfigToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'enabled': value.enabled,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.BaseProxyConfigToJSON = BaseProxyConfigToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BaseProxyConfig } from './BaseProxyConfig';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface ConfigContent {
|
|
|
33
34
|
* @memberof ConfigContent
|
|
34
35
|
*/
|
|
35
36
|
write?: any | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BaseProxyConfig}
|
|
40
|
+
* @memberof ConfigContent
|
|
41
|
+
*/
|
|
42
|
+
proxy?: BaseProxyConfig;
|
|
36
43
|
}
|
|
37
44
|
/**
|
|
38
45
|
* Check if a given object implements the ConfigContent interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ConfigContentToJSON = exports.ConfigContentFromJSONTyped = exports.ConfigContentFromJSON = exports.instanceOfConfigContent = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const BaseProxyConfig_1 = require("./BaseProxyConfig");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ConfigContent interface.
|
|
20
21
|
*/
|
|
@@ -36,6 +37,7 @@ function ConfigContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
'provider': json['provider'],
|
|
37
38
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : json['read'],
|
|
38
39
|
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : json['write'],
|
|
40
|
+
'proxy': !(0, runtime_1.exists)(json, 'proxy') ? undefined : (0, BaseProxyConfig_1.BaseProxyConfigFromJSON)(json['proxy']),
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
exports.ConfigContentFromJSONTyped = ConfigContentFromJSONTyped;
|
|
@@ -50,6 +52,7 @@ function ConfigContentToJSON(value) {
|
|
|
50
52
|
'provider': value.provider,
|
|
51
53
|
'read': value.read,
|
|
52
54
|
'write': value.write,
|
|
55
|
+
'proxy': (0, BaseProxyConfig_1.BaseProxyConfigToJSON)(value.proxy),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
exports.ConfigContentToJSON = ConfigContentToJSON;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { CreateDestinationRequestMetadata } from './CreateDestinationRequestMetadata';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateDestinationRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateDestinationRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Name for the new destination
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateDestinationRequest
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The type of the destination
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateDestinationRequest
|
|
29
|
+
*/
|
|
30
|
+
type: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CreateDestinationRequestMetadata}
|
|
34
|
+
* @memberof CreateDestinationRequest
|
|
35
|
+
*/
|
|
36
|
+
metadata: CreateDestinationRequestMetadata;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CreateDestinationRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCreateDestinationRequest(value: object): boolean;
|
|
42
|
+
export declare function CreateDestinationRequestFromJSON(json: any): CreateDestinationRequest;
|
|
43
|
+
export declare function CreateDestinationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDestinationRequest;
|
|
44
|
+
export declare function CreateDestinationRequestToJSON(value?: CreateDestinationRequest | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateDestinationRequestToJSON = exports.CreateDestinationRequestFromJSONTyped = exports.CreateDestinationRequestFromJSON = exports.instanceOfCreateDestinationRequest = void 0;
|
|
17
|
+
const CreateDestinationRequestMetadata_1 = require("./CreateDestinationRequestMetadata");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateDestinationRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateDestinationRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "type" in value;
|
|
25
|
+
isInstance = isInstance && "metadata" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfCreateDestinationRequest = instanceOfCreateDestinationRequest;
|
|
29
|
+
function CreateDestinationRequestFromJSON(json) {
|
|
30
|
+
return CreateDestinationRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.CreateDestinationRequestFromJSON = CreateDestinationRequestFromJSON;
|
|
33
|
+
function CreateDestinationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'type': json['type'],
|
|
40
|
+
'metadata': (0, CreateDestinationRequestMetadata_1.CreateDestinationRequestMetadataFromJSON)(json['metadata']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.CreateDestinationRequestFromJSONTyped = CreateDestinationRequestFromJSONTyped;
|
|
44
|
+
function CreateDestinationRequestToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'name': value.name,
|
|
53
|
+
'type': value.type,
|
|
54
|
+
'metadata': (0, CreateDestinationRequestMetadata_1.CreateDestinationRequestMetadataToJSON)(value.metadata),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.CreateDestinationRequestToJSON = CreateDestinationRequestToJSON;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 CreateDestinationRequestMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateDestinationRequestMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* Webhook URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateDestinationRequestMetadata
|
|
22
|
+
*/
|
|
23
|
+
url?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Additional headers to add when Ampersand sends a webhook message
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof CreateDestinationRequestMetadata
|
|
28
|
+
*/
|
|
29
|
+
headers?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the CreateDestinationRequestMetadata interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfCreateDestinationRequestMetadata(value: object): boolean;
|
|
37
|
+
export declare function CreateDestinationRequestMetadataFromJSON(json: any): CreateDestinationRequestMetadata;
|
|
38
|
+
export declare function CreateDestinationRequestMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDestinationRequestMetadata;
|
|
39
|
+
export declare function CreateDestinationRequestMetadataToJSON(value?: CreateDestinationRequestMetadata | null): any;
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.CreateDestinationRequestMetadataToJSON = exports.CreateDestinationRequestMetadataFromJSONTyped = exports.CreateDestinationRequestMetadataFromJSON = exports.instanceOfCreateDestinationRequestMetadata = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
/**
|
|
19
|
-
* Check if a given object implements the
|
|
19
|
+
* Check if a given object implements the CreateDestinationRequestMetadata interface.
|
|
20
20
|
*/
|
|
21
|
-
function
|
|
21
|
+
function instanceOfCreateDestinationRequestMetadata(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
return isInstance;
|
|
24
24
|
}
|
|
25
|
-
exports.
|
|
26
|
-
function
|
|
27
|
-
return
|
|
25
|
+
exports.instanceOfCreateDestinationRequestMetadata = instanceOfCreateDestinationRequestMetadata;
|
|
26
|
+
function CreateDestinationRequestMetadataFromJSON(json) {
|
|
27
|
+
return CreateDestinationRequestMetadataFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
exports.
|
|
30
|
-
function
|
|
29
|
+
exports.CreateDestinationRequestMetadataFromJSON = CreateDestinationRequestMetadataFromJSON;
|
|
30
|
+
function CreateDestinationRequestMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if ((json === undefined) || (json === null)) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -36,8 +36,8 @@ function DestinationMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'headers': !(0, runtime_1.exists)(json, 'headers') ? undefined : json['headers'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
exports.
|
|
40
|
-
function
|
|
39
|
+
exports.CreateDestinationRequestMetadataFromJSONTyped = CreateDestinationRequestMetadataFromJSONTyped;
|
|
40
|
+
function CreateDestinationRequestMetadataToJSON(value) {
|
|
41
41
|
if (value === undefined) {
|
|
42
42
|
return undefined;
|
|
43
43
|
}
|
|
@@ -49,4 +49,4 @@ function DestinationMetadataToJSON(value) {
|
|
|
49
49
|
'headers': value.headers,
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
exports.
|
|
52
|
+
exports.CreateDestinationRequestMetadataToJSON = CreateDestinationRequestMetadataToJSON;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { CreateDestinationRequestMetadata } from './CreateDestinationRequestMetadata';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,7 +17,13 @@ import type { DestinationMetadata } from './DestinationMetadata';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface Destination {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The destination ID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Destination
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* User-defined name for the destination
|
|
21
27
|
* @type {string}
|
|
22
28
|
* @memberof Destination
|
|
23
29
|
*/
|
|
@@ -30,10 +36,22 @@ export interface Destination {
|
|
|
30
36
|
type: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
|
-
* @type {
|
|
39
|
+
* @type {CreateDestinationRequestMetadata}
|
|
40
|
+
* @memberof Destination
|
|
41
|
+
*/
|
|
42
|
+
metadata: CreateDestinationRequestMetadata;
|
|
43
|
+
/**
|
|
44
|
+
* The time the destination was created.
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof Destination
|
|
47
|
+
*/
|
|
48
|
+
createTime: Date;
|
|
49
|
+
/**
|
|
50
|
+
* The time the destination was updated.
|
|
51
|
+
* @type {Date}
|
|
34
52
|
* @memberof Destination
|
|
35
53
|
*/
|
|
36
|
-
|
|
54
|
+
updateTime?: Date;
|
|
37
55
|
}
|
|
38
56
|
/**
|
|
39
57
|
* Check if a given object implements the Destination interface.
|
|
@@ -14,15 +14,18 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DestinationToJSON = exports.DestinationFromJSONTyped = exports.DestinationFromJSON = exports.instanceOfDestination = void 0;
|
|
17
|
-
const
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const CreateDestinationRequestMetadata_1 = require("./CreateDestinationRequestMetadata");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the Destination interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfDestination(value) {
|
|
22
23
|
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "id" in value;
|
|
23
25
|
isInstance = isInstance && "name" in value;
|
|
24
26
|
isInstance = isInstance && "type" in value;
|
|
25
27
|
isInstance = isInstance && "metadata" in value;
|
|
28
|
+
isInstance = isInstance && "createTime" in value;
|
|
26
29
|
return isInstance;
|
|
27
30
|
}
|
|
28
31
|
exports.instanceOfDestination = instanceOfDestination;
|
|
@@ -35,9 +38,12 @@ function DestinationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
38
|
return json;
|
|
36
39
|
}
|
|
37
40
|
return {
|
|
41
|
+
'id': json['id'],
|
|
38
42
|
'name': json['name'],
|
|
39
43
|
'type': json['type'],
|
|
40
|
-
'metadata': (0,
|
|
44
|
+
'metadata': (0, CreateDestinationRequestMetadata_1.CreateDestinationRequestMetadataFromJSON)(json['metadata']),
|
|
45
|
+
'createTime': (new Date(json['createTime'])),
|
|
46
|
+
'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
|
|
41
47
|
};
|
|
42
48
|
}
|
|
43
49
|
exports.DestinationFromJSONTyped = DestinationFromJSONTyped;
|
|
@@ -49,9 +55,12 @@ function DestinationToJSON(value) {
|
|
|
49
55
|
return null;
|
|
50
56
|
}
|
|
51
57
|
return {
|
|
58
|
+
'id': value.id,
|
|
52
59
|
'name': value.name,
|
|
53
60
|
'type': value.type,
|
|
54
|
-
'metadata': (0,
|
|
61
|
+
'metadata': (0, CreateDestinationRequestMetadata_1.CreateDestinationRequestMetadataToJSON)(value.metadata),
|
|
62
|
+
'createTime': (value.createTime.toISOString()),
|
|
63
|
+
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
55
64
|
};
|
|
56
65
|
}
|
|
57
66
|
exports.DestinationToJSON = DestinationToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { HydratedIntegrationProxy } from './HydratedIntegrationProxy';
|
|
12
13
|
import type { HydratedIntegrationRead } from './HydratedIntegrationRead';
|
|
13
14
|
import type { HydratedIntegrationWrite } from './HydratedIntegrationWrite';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,12 @@ export interface HydratedIntegration {
|
|
|
47
48
|
* @memberof HydratedIntegration
|
|
48
49
|
*/
|
|
49
50
|
write?: HydratedIntegrationWrite;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {HydratedIntegrationProxy}
|
|
54
|
+
* @memberof HydratedIntegration
|
|
55
|
+
*/
|
|
56
|
+
proxy?: HydratedIntegrationProxy;
|
|
50
57
|
}
|
|
51
58
|
/**
|
|
52
59
|
* Check if a given object implements the HydratedIntegration interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.HydratedIntegrationToJSON = exports.HydratedIntegrationFromJSONTyped = exports.HydratedIntegrationFromJSON = exports.instanceOfHydratedIntegration = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
const HydratedIntegrationProxy_1 = require("./HydratedIntegrationProxy");
|
|
18
19
|
const HydratedIntegrationRead_1 = require("./HydratedIntegrationRead");
|
|
19
20
|
const HydratedIntegrationWrite_1 = require("./HydratedIntegrationWrite");
|
|
20
21
|
/**
|
|
@@ -41,6 +42,7 @@ function HydratedIntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'provider': json['provider'],
|
|
42
43
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : (0, HydratedIntegrationRead_1.HydratedIntegrationReadFromJSON)(json['read']),
|
|
43
44
|
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : (0, HydratedIntegrationWrite_1.HydratedIntegrationWriteFromJSON)(json['write']),
|
|
45
|
+
'proxy': !(0, runtime_1.exists)(json, 'proxy') ? undefined : (0, HydratedIntegrationProxy_1.HydratedIntegrationProxyFromJSON)(json['proxy']),
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
exports.HydratedIntegrationFromJSONTyped = HydratedIntegrationFromJSONTyped;
|
|
@@ -57,6 +59,7 @@ function HydratedIntegrationToJSON(value) {
|
|
|
57
59
|
'provider': value.provider,
|
|
58
60
|
'read': (0, HydratedIntegrationRead_1.HydratedIntegrationReadToJSON)(value.read),
|
|
59
61
|
'write': (0, HydratedIntegrationWrite_1.HydratedIntegrationWriteToJSON)(value.write),
|
|
62
|
+
'proxy': (0, HydratedIntegrationProxy_1.HydratedIntegrationProxyToJSON)(value.proxy),
|
|
60
63
|
};
|
|
61
64
|
}
|
|
62
65
|
exports.HydratedIntegrationToJSON = HydratedIntegrationToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 HydratedIntegrationProxy
|
|
16
|
+
*/
|
|
17
|
+
export interface HydratedIntegrationProxy {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof HydratedIntegrationProxy
|
|
22
|
+
*/
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the HydratedIntegrationProxy interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfHydratedIntegrationProxy(value: object): boolean;
|
|
29
|
+
export declare function HydratedIntegrationProxyFromJSON(json: any): HydratedIntegrationProxy;
|
|
30
|
+
export declare function HydratedIntegrationProxyFromJSONTyped(json: any, ignoreDiscriminator: boolean): HydratedIntegrationProxy;
|
|
31
|
+
export declare function HydratedIntegrationProxyToJSON(value?: HydratedIntegrationProxy | null): any;
|