@amp-labs/react 1.0.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.md +21 -0
- package/README.md +138 -0
- package/build/generated-sources/api/src/apis/DefaultApi.d.ts +858 -0
- package/build/generated-sources/api/src/apis/DefaultApi.js +942 -0
- package/build/generated-sources/api/src/apis/index.d.ts +1 -0
- package/build/generated-sources/api/src/apis/index.js +19 -0
- package/build/generated-sources/api/src/index.d.ts +3 -0
- package/build/generated-sources/api/src/index.js +21 -0
- package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +38 -0
- package/build/generated-sources/api/src/models/BaseConfigContent.js +53 -0
- package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +34 -0
- package/build/generated-sources/api/src/models/BaseReadConfig.js +51 -0
- package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.d.ts +59 -0
- package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.js +58 -0
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +31 -0
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +50 -0
- package/build/generated-sources/api/src/models/Config.d.ts +56 -0
- package/build/generated-sources/api/src/models/Config.js +63 -0
- package/build/generated-sources/api/src/models/ConfigContent.d.ts +37 -0
- package/build/generated-sources/api/src/models/ConfigContent.js +53 -0
- package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +31 -0
- package/build/generated-sources/api/src/models/ConfigContentAllOf.js +50 -0
- package/build/generated-sources/api/src/models/Connection.d.ts +82 -0
- package/build/generated-sources/api/src/models/Connection.js +76 -0
- package/build/generated-sources/api/src/models/Consumer.d.ts +55 -0
- package/build/generated-sources/api/src/models/Consumer.js +62 -0
- package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +37 -0
- package/build/generated-sources/api/src/models/CreateConsumerRequest.js +53 -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/CreateDestinationRequestMetadata.js +52 -0
- package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +37 -0
- package/build/generated-sources/api/src/models/CreateGroupRequest.js +53 -0
- package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +44 -0
- package/build/generated-sources/api/src/models/CreateInstallationRequest.js +57 -0
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +44 -0
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +57 -0
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +44 -0
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +57 -0
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +31 -0
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +50 -0
- package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +37 -0
- package/build/generated-sources/api/src/models/CreateProjectRequest.js +53 -0
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +49 -0
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +59 -0
- package/build/generated-sources/api/src/models/Group.d.ts +55 -0
- package/build/generated-sources/api/src/models/Group.js +62 -0
- package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +50 -0
- package/build/generated-sources/api/src/models/HydratedIntegration.js +59 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +22 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationField.js +45 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +37 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +53 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +75 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +70 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +32 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +51 -0
- package/build/generated-sources/api/src/models/HydratedRevision.d.ts +50 -0
- package/build/generated-sources/api/src/models/HydratedRevision.js +60 -0
- package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +85 -0
- package/build/generated-sources/api/src/models/ImportConnectionRequest.js +75 -0
- package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +39 -0
- package/build/generated-sources/api/src/models/ImportInstallationRequest.js +55 -0
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +38 -0
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +54 -0
- package/build/generated-sources/api/src/models/Installation.d.ts +88 -0
- package/build/generated-sources/api/src/models/Installation.js +79 -0
- package/build/generated-sources/api/src/models/Integration.d.ts +68 -0
- package/build/generated-sources/api/src/models/Integration.js +69 -0
- package/build/generated-sources/api/src/models/Integration1.d.ts +50 -0
- package/build/generated-sources/api/src/models/Integration1.js +59 -0
- package/build/generated-sources/api/src/models/IntegrationField.d.ts +22 -0
- package/build/generated-sources/api/src/models/IntegrationField.js +45 -0
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +31 -0
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +50 -0
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +49 -0
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +57 -0
- package/build/generated-sources/api/src/models/IntegrationObject.d.ts +63 -0
- package/build/generated-sources/api/src/models/IntegrationObject.js +65 -0
- package/build/generated-sources/api/src/models/IntegrationRead.d.ts +32 -0
- package/build/generated-sources/api/src/models/IntegrationRead.js +51 -0
- package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +73 -0
- package/build/generated-sources/api/src/models/OauthConnectRequest.js +70 -0
- package/build/generated-sources/api/src/models/Operation.d.ts +80 -0
- package/build/generated-sources/api/src/models/Operation.js +73 -0
- package/build/generated-sources/api/src/models/OperationError.d.ts +49 -0
- package/build/generated-sources/api/src/models/OperationError.js +56 -0
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +22 -0
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +35 -0
- package/build/generated-sources/api/src/models/Project.d.ts +55 -0
- package/build/generated-sources/api/src/models/Project.js +62 -0
- package/build/generated-sources/api/src/models/ProjectMembership.d.ts +56 -0
- package/build/generated-sources/api/src/models/ProjectMembership.js +63 -0
- package/build/generated-sources/api/src/models/ProviderApp.d.ts +67 -0
- package/build/generated-sources/api/src/models/ProviderApp.js +67 -0
- package/build/generated-sources/api/src/models/Revision.d.ts +50 -0
- package/build/generated-sources/api/src/models/Revision.js +60 -0
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +53 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.js +54 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.js +53 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.d.ts +44 -0
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.js +55 -0
- package/build/generated-sources/api/src/models/UpdateProjectRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateProjectRequest.js +54 -0
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.d.ts +37 -0
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.js +52 -0
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.js +54 -0
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.d.ts +49 -0
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.js +56 -0
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.d.ts +37 -0
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.js +53 -0
- package/build/generated-sources/api/src/models/index.d.ts +54 -0
- package/build/generated-sources/api/src/models/index.js +72 -0
- package/build/generated-sources/api/src/runtime.d.ts +182 -0
- package/build/generated-sources/api/src/runtime.js +317 -0
- package/build/src/assets/LoadingIcon.d.ts +5 -0
- package/build/src/assets/LoadingIcon.js +9 -0
- package/build/src/assets/NavIcon.d.ts +1 -0
- package/build/src/assets/NavIcon.js +23 -0
- package/build/src/components/AmpersandProvider/AmpersandProvider.d.ts +19 -0
- package/build/src/components/AmpersandProvider/AmpersandProvider.js +31 -0
- package/build/src/components/AmpersandProvider/index.d.ts +1 -0
- package/build/src/components/AmpersandProvider/index.js +17 -0
- package/build/src/components/CenteredTextBox/CenteredTextBox.d.ts +5 -0
- package/build/src/components/CenteredTextBox/CenteredTextBox.js +8 -0
- package/build/src/components/Configure/ConfigureInstallationBase.d.ts +8 -0
- package/build/src/components/Configure/ConfigureInstallationBase.js +17 -0
- package/build/src/components/Configure/CreateInstallation.d.ts +1 -0
- package/build/src/components/Configure/CreateInstallation.js +73 -0
- package/build/src/components/Configure/ErrorTextBox.d.ts +5 -0
- package/build/src/components/Configure/ErrorTextBox.js +9 -0
- package/build/src/components/Configure/InstallIntegration.d.ts +9 -0
- package/build/src/components/Configure/InstallIntegration.js +40 -0
- package/build/src/components/Configure/ObjectManagementNav/NavObjectItem.d.ts +8 -0
- package/build/src/components/Configure/ObjectManagementNav/NavObjectItem.js +14 -0
- package/build/src/components/Configure/ObjectManagementNav/index.d.ts +9 -0
- package/build/src/components/Configure/ObjectManagementNav/index.js +45 -0
- package/build/src/components/Configure/ProtectedConnectionLayout.d.ts +6 -0
- package/build/src/components/Configure/ProtectedConnectionLayout.js +28 -0
- package/build/src/components/Configure/UpdateInstallation.d.ts +7 -0
- package/build/src/components/Configure/UpdateInstallation.js +87 -0
- package/build/src/components/Configure/actions/onSaveCreate.d.ts +3 -0
- package/build/src/components/Configure/actions/onSaveCreate.js +90 -0
- package/build/src/components/Configure/actions/onSaveUpdate.d.ts +3 -0
- package/build/src/components/Configure/actions/onSaveUpdate.js +74 -0
- package/build/src/components/Configure/fields/FieldHeader.d.ts +5 -0
- package/build/src/components/Configure/fields/FieldHeader.js +9 -0
- package/build/src/components/Configure/fields/FieldMapping.d.ts +10 -0
- package/build/src/components/Configure/fields/FieldMapping.js +28 -0
- package/build/src/components/Configure/fields/OptionalFields.d.ts +1 -0
- package/build/src/components/Configure/fields/OptionalFields.js +45 -0
- package/build/src/components/Configure/fields/RequiredFieldMappings.d.ts +1 -0
- package/build/src/components/Configure/fields/RequiredFieldMappings.js +40 -0
- package/build/src/components/Configure/fields/RequiredFields.d.ts +1 -0
- package/build/src/components/Configure/fields/RequiredFields.js +27 -0
- package/build/src/components/Configure/index.d.ts +1 -0
- package/build/src/components/Configure/index.js +5 -0
- package/build/src/components/Configure/state/ConfigurationStateProvider.d.ts +13 -0
- package/build/src/components/Configure/state/ConfigurationStateProvider.js +54 -0
- package/build/src/components/Configure/state/HydratedRevisionContext.d.ts +14 -0
- package/build/src/components/Configure/state/HydratedRevisionContext.js +82 -0
- package/build/src/components/Configure/state/utils.d.ts +34 -0
- package/build/src/components/Configure/state/utils.js +146 -0
- package/build/src/components/Configure/types.d.ts +31 -0
- package/build/src/components/Configure/types.js +2 -0
- package/build/src/components/Configure/utils.d.ts +24 -0
- package/build/src/components/Configure/utils.js +82 -0
- package/build/src/components/OAuthPopup/OAuthPopup.d.ts +14 -0
- package/build/src/components/OAuthPopup/OAuthPopup.js +85 -0
- package/build/src/components/Salesforce/SalesforceOauthFlow.d.ts +16 -0
- package/build/src/components/Salesforce/SalesforceOauthFlow.js +78 -0
- package/build/src/components/ThemeProvider/index.d.ts +6 -0
- package/build/src/components/ThemeProvider/index.js +37 -0
- package/build/src/components/index.d.ts +2 -0
- package/build/src/components/index.js +18 -0
- package/build/src/constants.d.ts +1 -0
- package/build/src/constants.js +4 -0
- package/build/src/context/ApiKeyContext.d.ts +3 -0
- package/build/src/context/ApiKeyContext.js +6 -0
- package/build/src/context/ConnectionsContext.d.ts +16 -0
- package/build/src/context/ConnectionsContext.js +57 -0
- package/build/src/context/ErrorContextProvider.d.ts +37 -0
- package/build/src/context/ErrorContextProvider.js +72 -0
- package/build/src/context/InstallIntegrationContext.d.ts +24 -0
- package/build/src/context/InstallIntegrationContext.js +90 -0
- package/build/src/context/IntegrationListContext.d.ts +13 -0
- package/build/src/context/IntegrationListContext.js +48 -0
- package/build/src/context/ProjectContext.d.ts +15 -0
- package/build/src/context/ProjectContext.js +50 -0
- package/build/src/hooks/index.d.ts +1 -0
- package/build/src/hooks/index.js +17 -0
- package/build/src/hooks/useIsIntegrationInstalled.d.ts +6 -0
- package/build/src/hooks/useIsIntegrationInstalled.js +48 -0
- package/build/src/index.d.ts +2 -0
- package/build/src/index.js +18 -0
- package/build/src/services/api.d.ts +9 -0
- package/build/src/services/api.js +64 -0
- package/build/src/utils/index.d.ts +10 -0
- package/build/src/utils/index.js +21 -0
- package/package.json +80 -0
|
@@ -0,0 +1,73 @@
|
|
|
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: 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 OauthConnectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface OauthConnectRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier for the provider workspace (e.g. "salesforce-instance-domain")
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OauthConnectRequest
|
|
22
|
+
*/
|
|
23
|
+
providerWorkspaceRef: string;
|
|
24
|
+
/**
|
|
25
|
+
* The project ID.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OauthConnectRequest
|
|
28
|
+
*/
|
|
29
|
+
projectId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The group reference that will be used along with projectId as unique identifier.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OauthConnectRequest
|
|
34
|
+
*/
|
|
35
|
+
groupRef: string;
|
|
36
|
+
/**
|
|
37
|
+
* The display name for the group. Defaults to groupRef if not provided.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OauthConnectRequest
|
|
40
|
+
*/
|
|
41
|
+
groupName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The consumer reference.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OauthConnectRequest
|
|
46
|
+
*/
|
|
47
|
+
consumerRef: string;
|
|
48
|
+
/**
|
|
49
|
+
* The display name for the consumer. Defaults to consumerRef if not provided.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OauthConnectRequest
|
|
52
|
+
*/
|
|
53
|
+
consumerName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider app ID.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OauthConnectRequest
|
|
58
|
+
*/
|
|
59
|
+
providerAppId: string;
|
|
60
|
+
/**
|
|
61
|
+
* The provider that this app connects to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OauthConnectRequest
|
|
64
|
+
*/
|
|
65
|
+
provider: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the OauthConnectRequest interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfOauthConnectRequest(value: object): boolean;
|
|
71
|
+
export declare function OauthConnectRequestFromJSON(json: any): OauthConnectRequest;
|
|
72
|
+
export declare function OauthConnectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OauthConnectRequest;
|
|
73
|
+
export declare function OauthConnectRequestToJSON(value?: OauthConnectRequest | null): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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: 0.1.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.OauthConnectRequestToJSON = exports.OauthConnectRequestFromJSONTyped = exports.OauthConnectRequestFromJSON = exports.instanceOfOauthConnectRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OauthConnectRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOauthConnectRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "providerWorkspaceRef" in value;
|
|
24
|
+
isInstance = isInstance && "projectId" in value;
|
|
25
|
+
isInstance = isInstance && "groupRef" in value;
|
|
26
|
+
isInstance = isInstance && "consumerRef" in value;
|
|
27
|
+
isInstance = isInstance && "providerAppId" in value;
|
|
28
|
+
isInstance = isInstance && "provider" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfOauthConnectRequest = instanceOfOauthConnectRequest;
|
|
32
|
+
function OauthConnectRequestFromJSON(json) {
|
|
33
|
+
return OauthConnectRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.OauthConnectRequestFromJSON = OauthConnectRequestFromJSON;
|
|
36
|
+
function OauthConnectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'providerWorkspaceRef': json['providerWorkspaceRef'],
|
|
42
|
+
'projectId': json['projectId'],
|
|
43
|
+
'groupRef': json['groupRef'],
|
|
44
|
+
'groupName': !(0, runtime_1.exists)(json, 'groupName') ? undefined : json['groupName'],
|
|
45
|
+
'consumerRef': json['consumerRef'],
|
|
46
|
+
'consumerName': !(0, runtime_1.exists)(json, 'consumerName') ? undefined : json['consumerName'],
|
|
47
|
+
'providerAppId': json['providerAppId'],
|
|
48
|
+
'provider': json['provider'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.OauthConnectRequestFromJSONTyped = OauthConnectRequestFromJSONTyped;
|
|
52
|
+
function OauthConnectRequestToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'providerWorkspaceRef': value.providerWorkspaceRef,
|
|
61
|
+
'projectId': value.projectId,
|
|
62
|
+
'groupRef': value.groupRef,
|
|
63
|
+
'groupName': value.groupName,
|
|
64
|
+
'consumerRef': value.consumerRef,
|
|
65
|
+
'consumerName': value.consumerName,
|
|
66
|
+
'providerAppId': value.providerAppId,
|
|
67
|
+
'provider': value.provider,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
exports.OauthConnectRequestToJSON = OauthConnectRequestToJSON;
|
|
@@ -0,0 +1,80 @@
|
|
|
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: 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 { OperationError } from './OperationError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Operation
|
|
17
|
+
*/
|
|
18
|
+
export interface Operation {
|
|
19
|
+
/**
|
|
20
|
+
* The Ampersand project ID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Operation
|
|
23
|
+
*/
|
|
24
|
+
projectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* The action type to perform for the given object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Operation
|
|
29
|
+
*/
|
|
30
|
+
actionType: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provider object name to perform the action for
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Operation
|
|
35
|
+
*/
|
|
36
|
+
objectName: string;
|
|
37
|
+
/**
|
|
38
|
+
* The Ampersand installation ID.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Operation
|
|
41
|
+
*/
|
|
42
|
+
installationId: string;
|
|
43
|
+
/**
|
|
44
|
+
* The status of the operation.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Operation
|
|
47
|
+
*/
|
|
48
|
+
status?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The workflow reference.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Operation
|
|
53
|
+
*/
|
|
54
|
+
workflowRef: string;
|
|
55
|
+
/**
|
|
56
|
+
* The run reference.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Operation
|
|
59
|
+
*/
|
|
60
|
+
runRef: string;
|
|
61
|
+
/**
|
|
62
|
+
* The error history of the operation.
|
|
63
|
+
* @type {Array<OperationError>}
|
|
64
|
+
* @memberof Operation
|
|
65
|
+
*/
|
|
66
|
+
errorHistory?: Array<OperationError>;
|
|
67
|
+
/**
|
|
68
|
+
* The time the operation was created.
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof Operation
|
|
71
|
+
*/
|
|
72
|
+
createTime?: Date;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the Operation interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfOperation(value: object): boolean;
|
|
78
|
+
export declare function OperationFromJSON(json: any): Operation;
|
|
79
|
+
export declare function OperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Operation;
|
|
80
|
+
export declare function OperationToJSON(value?: Operation | null): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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: 0.1.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.OperationToJSON = exports.OperationFromJSONTyped = exports.OperationFromJSON = exports.instanceOfOperation = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const OperationError_1 = require("./OperationError");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the Operation interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfOperation(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "projectId" in value;
|
|
25
|
+
isInstance = isInstance && "actionType" in value;
|
|
26
|
+
isInstance = isInstance && "objectName" in value;
|
|
27
|
+
isInstance = isInstance && "installationId" in value;
|
|
28
|
+
isInstance = isInstance && "workflowRef" in value;
|
|
29
|
+
isInstance = isInstance && "runRef" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfOperation = instanceOfOperation;
|
|
33
|
+
function OperationFromJSON(json) {
|
|
34
|
+
return OperationFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.OperationFromJSON = OperationFromJSON;
|
|
37
|
+
function OperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'projectId': json['projectId'],
|
|
43
|
+
'actionType': json['actionType'],
|
|
44
|
+
'objectName': json['objectName'],
|
|
45
|
+
'installationId': json['installationId'],
|
|
46
|
+
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
47
|
+
'workflowRef': json['workflowRef'],
|
|
48
|
+
'runRef': json['runRef'],
|
|
49
|
+
'errorHistory': !(0, runtime_1.exists)(json, 'errorHistory') ? undefined : (json['errorHistory'].map(OperationError_1.OperationErrorFromJSON)),
|
|
50
|
+
'createTime': !(0, runtime_1.exists)(json, 'createTime') ? undefined : (new Date(json['createTime'])),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.OperationFromJSONTyped = OperationFromJSONTyped;
|
|
54
|
+
function OperationToJSON(value) {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'projectId': value.projectId,
|
|
63
|
+
'actionType': value.actionType,
|
|
64
|
+
'objectName': value.objectName,
|
|
65
|
+
'installationId': value.installationId,
|
|
66
|
+
'status': value.status,
|
|
67
|
+
'workflowRef': value.workflowRef,
|
|
68
|
+
'runRef': value.runRef,
|
|
69
|
+
'errorHistory': value.errorHistory === undefined ? undefined : (value.errorHistory.map(OperationError_1.OperationErrorToJSON)),
|
|
70
|
+
'createTime': value.createTime === undefined ? undefined : (value.createTime.toISOString()),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
exports.OperationToJSON = OperationToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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: 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 OperationError
|
|
16
|
+
*/
|
|
17
|
+
export interface OperationError {
|
|
18
|
+
/**
|
|
19
|
+
* The attempt number.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OperationError
|
|
22
|
+
*/
|
|
23
|
+
attempt?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The time the error occurred.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof OperationError
|
|
28
|
+
*/
|
|
29
|
+
timestamp?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* The status of the operation.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OperationError
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The error message.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OperationError
|
|
40
|
+
*/
|
|
41
|
+
error?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OperationError interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfOperationError(value: object): boolean;
|
|
47
|
+
export declare function OperationErrorFromJSON(json: any): OperationError;
|
|
48
|
+
export declare function OperationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationError;
|
|
49
|
+
export declare function OperationErrorToJSON(value?: OperationError | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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: 0.1.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.OperationErrorToJSON = exports.OperationErrorFromJSONTyped = exports.OperationErrorFromJSON = exports.instanceOfOperationError = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OperationError interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOperationError(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfOperationError = instanceOfOperationError;
|
|
26
|
+
function OperationErrorFromJSON(json) {
|
|
27
|
+
return OperationErrorFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.OperationErrorFromJSON = OperationErrorFromJSON;
|
|
30
|
+
function OperationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'attempt': !(0, runtime_1.exists)(json, 'attempt') ? undefined : json['attempt'],
|
|
36
|
+
'timestamp': !(0, runtime_1.exists)(json, 'timestamp') ? undefined : (new Date(json['timestamp'])),
|
|
37
|
+
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
38
|
+
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : json['error'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.OperationErrorFromJSONTyped = OperationErrorFromJSONTyped;
|
|
42
|
+
function OperationErrorToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'attempt': value.attempt,
|
|
51
|
+
'timestamp': value.timestamp === undefined ? undefined : (value.timestamp.toISOString()),
|
|
52
|
+
'status': value.status,
|
|
53
|
+
'error': value.error,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.OperationErrorToJSON = OperationErrorToJSON;
|
|
@@ -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: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const OptionalFieldsAutoOption: {
|
|
17
|
+
readonly All: "all";
|
|
18
|
+
};
|
|
19
|
+
export type OptionalFieldsAutoOption = typeof OptionalFieldsAutoOption[keyof typeof OptionalFieldsAutoOption];
|
|
20
|
+
export declare function OptionalFieldsAutoOptionFromJSON(json: any): OptionalFieldsAutoOption;
|
|
21
|
+
export declare function OptionalFieldsAutoOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OptionalFieldsAutoOption;
|
|
22
|
+
export declare function OptionalFieldsAutoOptionToJSON(value?: OptionalFieldsAutoOption | 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: 0.1.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.OptionalFieldsAutoOptionToJSON = exports.OptionalFieldsAutoOptionFromJSONTyped = exports.OptionalFieldsAutoOptionFromJSON = exports.OptionalFieldsAutoOption = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.OptionalFieldsAutoOption = {
|
|
22
|
+
All: 'all'
|
|
23
|
+
};
|
|
24
|
+
function OptionalFieldsAutoOptionFromJSON(json) {
|
|
25
|
+
return OptionalFieldsAutoOptionFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.OptionalFieldsAutoOptionFromJSON = OptionalFieldsAutoOptionFromJSON;
|
|
28
|
+
function OptionalFieldsAutoOptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
exports.OptionalFieldsAutoOptionFromJSONTyped = OptionalFieldsAutoOptionFromJSONTyped;
|
|
32
|
+
function OptionalFieldsAutoOptionToJSON(value) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
exports.OptionalFieldsAutoOptionToJSON = OptionalFieldsAutoOptionToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
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: 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 Project
|
|
16
|
+
*/
|
|
17
|
+
export interface Project {
|
|
18
|
+
/**
|
|
19
|
+
* The project ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Project
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The project name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Project
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the application, which is displayed to end users.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Project
|
|
34
|
+
*/
|
|
35
|
+
appName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The time the project was created.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Project
|
|
40
|
+
*/
|
|
41
|
+
createTime: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The time the project was updated.
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof Project
|
|
46
|
+
*/
|
|
47
|
+
updateTime?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the Project interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfProject(value: object): boolean;
|
|
53
|
+
export declare function ProjectFromJSON(json: any): Project;
|
|
54
|
+
export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
|
|
55
|
+
export declare function ProjectToJSON(value?: Project | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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: 0.1.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.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Project interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfProject(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "appName" in value;
|
|
26
|
+
isInstance = isInstance && "createTime" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfProject = instanceOfProject;
|
|
30
|
+
function ProjectFromJSON(json) {
|
|
31
|
+
return ProjectFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.ProjectFromJSON = ProjectFromJSON;
|
|
34
|
+
function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'appName': json['appName'],
|
|
42
|
+
'createTime': (new Date(json['createTime'])),
|
|
43
|
+
'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
47
|
+
function ProjectToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value.id,
|
|
56
|
+
'name': value.name,
|
|
57
|
+
'appName': value.appName,
|
|
58
|
+
'createTime': (value.createTime.toISOString()),
|
|
59
|
+
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.ProjectToJSON = ProjectToJSON;
|
|
@@ -0,0 +1,56 @@
|
|
|
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: 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 { Project } from './Project';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectMembership
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectMembership {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Project}
|
|
22
|
+
* @memberof ProjectMembership
|
|
23
|
+
*/
|
|
24
|
+
project: Project;
|
|
25
|
+
/**
|
|
26
|
+
* The builder ID.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProjectMembership
|
|
29
|
+
*/
|
|
30
|
+
builderId: string;
|
|
31
|
+
/**
|
|
32
|
+
* The builder's role in the project.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProjectMembership
|
|
35
|
+
*/
|
|
36
|
+
role: string;
|
|
37
|
+
/**
|
|
38
|
+
* The time the membership was created.
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof ProjectMembership
|
|
41
|
+
*/
|
|
42
|
+
createTime: Date;
|
|
43
|
+
/**
|
|
44
|
+
* The time the membership was updated.
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof ProjectMembership
|
|
47
|
+
*/
|
|
48
|
+
updateTime?: Date;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ProjectMembership interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfProjectMembership(value: object): boolean;
|
|
54
|
+
export declare function ProjectMembershipFromJSON(json: any): ProjectMembership;
|
|
55
|
+
export declare function ProjectMembershipFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMembership;
|
|
56
|
+
export declare function ProjectMembershipToJSON(value?: ProjectMembership | null): any;
|