@amp-labs/react 1.4.3 → 1.5.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/OperationEventApi.d.ts +28 -0
- package/build/generated-sources/api/src/apis/OperationEventApi.js +30 -0
- package/build/generated-sources/api/src/apis/OrgApi.d.ts +226 -0
- package/build/generated-sources/api/src/apis/OrgApi.js +253 -0
- package/build/generated-sources/api/src/apis/ProjectApi.d.ts +4 -4
- package/build/generated-sources/api/src/apis/ProjectApi.js +3 -2
- package/build/generated-sources/api/src/apis/UserApi.d.ts +70 -0
- package/build/generated-sources/api/src/apis/{AllowedDomainApi.js → UserApi.js} +23 -30
- package/build/generated-sources/api/src/apis/index.d.ts +2 -2
- package/build/generated-sources/api/src/apis/index.js +2 -2
- package/build/generated-sources/api/src/models/AcceptInviteRequest.d.ts +31 -0
- package/build/generated-sources/api/src/models/AcceptInviteRequest.js +50 -0
- package/build/generated-sources/api/src/models/ApiProblem.d.ts +130 -0
- package/build/generated-sources/api/src/models/ApiProblem.js +82 -0
- package/build/generated-sources/api/src/models/AuthType.d.ts +1 -0
- package/build/generated-sources/api/src/models/AuthType.js +2 -1
- package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +4 -4
- package/build/generated-sources/api/src/models/BaseReadConfig.js +3 -3
- package/build/generated-sources/api/src/models/{BaseReadConfigStandardObject.d.ts → BaseReadConfigObject.d.ts} +12 -12
- package/build/generated-sources/api/src/models/{BaseReadConfigStandardObject.js → BaseReadConfigObject.js} +11 -11
- package/build/generated-sources/api/src/models/Builder.d.ts +73 -0
- package/build/generated-sources/api/src/models/Builder.js +68 -0
- package/build/generated-sources/api/src/models/BuilderInfo.d.ts +48 -0
- package/build/generated-sources/api/src/models/BuilderInfo.js +59 -0
- package/build/generated-sources/api/src/models/BuilderInfoOrgRole.d.ts +58 -0
- package/build/generated-sources/api/src/models/BuilderInfoOrgRole.js +67 -0
- package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.d.ts +58 -0
- package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.js +67 -0
- package/build/generated-sources/api/src/models/BulkWriteSupport.d.ts +49 -0
- package/build/generated-sources/api/src/models/BulkWriteSupport.js +59 -0
- package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateOrgInviteRequest.d.ts +31 -0
- package/build/generated-sources/api/src/models/CreateOrgInviteRequest.js +50 -0
- package/build/generated-sources/api/src/models/CreateOrgRequest.d.ts +31 -0
- package/build/generated-sources/api/src/models/CreateOrgRequest.js +50 -0
- package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +6 -0
- package/build/generated-sources/api/src/models/CreateProjectRequest.js +3 -0
- package/build/generated-sources/api/src/models/Destination.d.ts +3 -3
- package/build/generated-sources/api/src/models/Destination.js +3 -3
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +2 -2
- package/build/generated-sources/api/src/models/InputValidationIssue.d.ts +89 -0
- package/build/generated-sources/api/src/models/InputValidationIssue.js +75 -0
- package/build/generated-sources/api/src/models/InputValidationProblem.d.ts +68 -0
- package/build/generated-sources/api/src/models/InputValidationProblem.js +63 -0
- package/build/generated-sources/api/src/models/IntegrationRead.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationRead.js +2 -2
- package/build/generated-sources/api/src/models/Invite.d.ts +84 -0
- package/build/generated-sources/api/src/models/Invite.js +83 -0
- package/build/generated-sources/api/src/models/Log.d.ts +4 -3
- package/build/generated-sources/api/src/models/Log.js +3 -2
- package/build/generated-sources/api/src/models/LogMessage.d.ts +43 -0
- package/build/generated-sources/api/src/models/LogMessage.js +55 -0
- package/build/generated-sources/api/src/models/OauthOpts.d.ts +15 -0
- package/build/generated-sources/api/src/models/OauthOpts.js +12 -1
- package/build/generated-sources/api/src/models/Org.d.ts +55 -0
- package/build/generated-sources/api/src/models/Org.js +62 -0
- package/build/generated-sources/api/src/models/Problem.d.ts +63 -0
- package/build/generated-sources/api/src/models/Problem.js +60 -0
- package/build/generated-sources/api/src/models/Project.d.ts +6 -0
- package/build/generated-sources/api/src/models/Project.js +2 -0
- package/build/generated-sources/api/src/models/ProviderInfo.d.ts +12 -0
- package/build/generated-sources/api/src/models/ProviderInfo.js +5 -0
- package/build/generated-sources/api/src/models/Support.d.ts +3 -2
- package/build/generated-sources/api/src/models/Support.js +3 -2
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.d.ts +3 -3
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.js +3 -3
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.d.ts +39 -0
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.js +52 -0
- package/build/generated-sources/api/src/models/UpdateOrgRequest.d.ts +38 -0
- package/build/generated-sources/api/src/models/UpdateOrgRequest.js +54 -0
- package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.d.ts +31 -0
- package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.js +50 -0
- package/build/generated-sources/api/src/models/index.d.ts +19 -2
- package/build/generated-sources/api/src/models/index.js +19 -2
- package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.js +1 -1
- package/build/src/components/Configure/actions/read/onSaveReadCreateInstallation.js +3 -3
- package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.js +1 -1
- package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.js +2 -2
- package/build/src/components/Configure/content/UpdateInstallation.js +1 -1
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.js +2 -2
- package/build/src/components/Configure/state/utils.js +3 -3
- package/build/src/components/Configure/utils.d.ts +1 -1
- package/build/src/components/Configure/utils.js +7 -7
- package/build/src/services/ApiService.d.ts +1 -3
- package/build/src/services/ApiService.js +0 -2
- package/build/src/services/version.d.ts +1 -1
- package/build/src/services/version.js +1 -1
- package/package.json +1 -1
- package/build/generated-sources/api/src/apis/AllowedDomainApi.d.ts +0 -79
- package/build/generated-sources/api/src/apis/ProjectMembershipApi.d.ts +0 -126
- package/build/generated-sources/api/src/apis/ProjectMembershipApi.js +0 -154
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.d.ts +0 -37
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.js +0 -53
|
@@ -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.CreateOrgInviteRequestToJSON = exports.CreateOrgInviteRequestFromJSONTyped = exports.CreateOrgInviteRequestFromJSON = exports.instanceOfCreateOrgInviteRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateOrgInviteRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateOrgInviteRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfCreateOrgInviteRequest = instanceOfCreateOrgInviteRequest;
|
|
26
|
+
function CreateOrgInviteRequestFromJSON(json) {
|
|
27
|
+
return CreateOrgInviteRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.CreateOrgInviteRequestFromJSON = CreateOrgInviteRequestFromJSON;
|
|
30
|
+
function CreateOrgInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': json['email'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.CreateOrgInviteRequestFromJSONTyped = CreateOrgInviteRequestFromJSONTyped;
|
|
39
|
+
function CreateOrgInviteRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'email': value.email,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.CreateOrgInviteRequestToJSON = CreateOrgInviteRequestToJSON;
|
|
@@ -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 CreateOrgRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrgRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The organization label.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrgRequest
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateOrgRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateOrgRequest(value: object): boolean;
|
|
29
|
+
export declare function CreateOrgRequestFromJSON(json: any): CreateOrgRequest;
|
|
30
|
+
export declare function CreateOrgRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrgRequest;
|
|
31
|
+
export declare function CreateOrgRequestToJSON(value?: CreateOrgRequest | 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.CreateOrgRequestToJSON = exports.CreateOrgRequestFromJSONTyped = exports.CreateOrgRequestFromJSON = exports.instanceOfCreateOrgRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateOrgRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateOrgRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "label" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfCreateOrgRequest = instanceOfCreateOrgRequest;
|
|
26
|
+
function CreateOrgRequestFromJSON(json) {
|
|
27
|
+
return CreateOrgRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.CreateOrgRequestFromJSON = CreateOrgRequestFromJSON;
|
|
30
|
+
function CreateOrgRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'label': json['label'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.CreateOrgRequestFromJSONTyped = CreateOrgRequestFromJSONTyped;
|
|
39
|
+
function CreateOrgRequestToJSON(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.CreateOrgRequestToJSON = CreateOrgRequestToJSON;
|
|
@@ -27,6 +27,12 @@ export interface CreateProjectRequest {
|
|
|
27
27
|
* @memberof CreateProjectRequest
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The organization ID.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateProjectRequest
|
|
34
|
+
*/
|
|
35
|
+
orgId: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the CreateProjectRequest interface.
|
|
@@ -21,6 +21,7 @@ function instanceOfCreateProjectRequest(value) {
|
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "appName" in value;
|
|
23
23
|
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "orgId" in value;
|
|
24
25
|
return isInstance;
|
|
25
26
|
}
|
|
26
27
|
exports.instanceOfCreateProjectRequest = instanceOfCreateProjectRequest;
|
|
@@ -35,6 +36,7 @@ function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
return {
|
|
36
37
|
'appName': json['appName'],
|
|
37
38
|
'name': json['name'],
|
|
39
|
+
'orgId': json['orgId'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
|
|
@@ -48,6 +50,7 @@ function CreateProjectRequestToJSON(value) {
|
|
|
48
50
|
return {
|
|
49
51
|
'appName': value.appName,
|
|
50
52
|
'name': value.name,
|
|
53
|
+
'orgId': value.orgId,
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
exports.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
|
|
@@ -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 { UpdateDestinationRequestDestinationMetadata } from './UpdateDestinationRequestDestinationMetadata';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface Destination {
|
|
|
36
36
|
type: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {UpdateDestinationRequestDestinationMetadata}
|
|
40
40
|
* @memberof Destination
|
|
41
41
|
*/
|
|
42
|
-
metadata:
|
|
42
|
+
metadata: UpdateDestinationRequestDestinationMetadata;
|
|
43
43
|
/**
|
|
44
44
|
* The time the destination was created.
|
|
45
45
|
* @type {Date}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DestinationToJSON = exports.DestinationFromJSONTyped = exports.DestinationFromJSON = exports.instanceOfDestination = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
-
const
|
|
18
|
+
const UpdateDestinationRequestDestinationMetadata_1 = require("./UpdateDestinationRequestDestinationMetadata");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the Destination interface.
|
|
21
21
|
*/
|
|
@@ -41,7 +41,7 @@ function DestinationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'id': json['id'],
|
|
42
42
|
'name': json['name'],
|
|
43
43
|
'type': json['type'],
|
|
44
|
-
'metadata': (0,
|
|
44
|
+
'metadata': (0, UpdateDestinationRequestDestinationMetadata_1.UpdateDestinationRequestDestinationMetadataFromJSON)(json['metadata']),
|
|
45
45
|
'createTime': (new Date(json['createTime'])),
|
|
46
46
|
'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
|
|
47
47
|
};
|
|
@@ -58,7 +58,7 @@ function DestinationToJSON(value) {
|
|
|
58
58
|
'id': value.id,
|
|
59
59
|
'name': value.name,
|
|
60
60
|
'type': value.type,
|
|
61
|
-
'metadata': (0,
|
|
61
|
+
'metadata': (0, UpdateDestinationRequestDestinationMetadata_1.UpdateDestinationRequestDestinationMetadataToJSON)(value.metadata),
|
|
62
62
|
'createTime': (value.createTime.toISOString()),
|
|
63
63
|
'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
|
|
64
64
|
};
|
|
@@ -21,7 +21,7 @@ export interface HydratedIntegrationRead {
|
|
|
21
21
|
* @type {Array<HydratedIntegrationObject>}
|
|
22
22
|
* @memberof HydratedIntegrationRead
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
objects?: Array<HydratedIntegrationObject>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the HydratedIntegrationRead interface.
|
|
@@ -33,7 +33,7 @@ function HydratedIntegrationReadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'
|
|
36
|
+
'objects': !(0, runtime_1.exists)(json, 'objects') ? undefined : (json['objects'].map(HydratedIntegrationObject_1.HydratedIntegrationObjectFromJSON)),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.HydratedIntegrationReadFromJSONTyped = HydratedIntegrationReadFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function HydratedIntegrationReadToJSON(value) {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'
|
|
48
|
+
'objects': value.objects === undefined ? undefined : (value.objects.map(HydratedIntegrationObject_1.HydratedIntegrationObjectToJSON)),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.HydratedIntegrationReadToJSON = HydratedIntegrationReadToJSON;
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
* An issue detected during input validation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InputValidationIssue
|
|
16
|
+
*/
|
|
17
|
+
export interface InputValidationIssue {
|
|
18
|
+
/**
|
|
19
|
+
* The location of the invalid input
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InputValidationIssue
|
|
22
|
+
*/
|
|
23
|
+
_in?: InputValidationIssueInEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the invalid input
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InputValidationIssue
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The value of the erroneous input
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof InputValidationIssue
|
|
34
|
+
*/
|
|
35
|
+
value?: any | null;
|
|
36
|
+
/**
|
|
37
|
+
* An absolute URI that identifies the problem type
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InputValidationIssue
|
|
40
|
+
*/
|
|
41
|
+
type?: string;
|
|
42
|
+
/**
|
|
43
|
+
* An absolute URI that, when dereferenced, provides human-readable documentation for the problem type (e.g. using HTML).
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InputValidationIssue
|
|
46
|
+
*/
|
|
47
|
+
href?: string;
|
|
48
|
+
/**
|
|
49
|
+
* A short summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InputValidationIssue
|
|
52
|
+
*/
|
|
53
|
+
title?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InputValidationIssue
|
|
58
|
+
*/
|
|
59
|
+
status?: number;
|
|
60
|
+
/**
|
|
61
|
+
* A human-readable explanation specific to this occurrence of the problem
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof InputValidationIssue
|
|
64
|
+
*/
|
|
65
|
+
detail?: string;
|
|
66
|
+
/**
|
|
67
|
+
* An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof InputValidationIssue
|
|
70
|
+
*/
|
|
71
|
+
instance?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const InputValidationIssueInEnum: {
|
|
77
|
+
readonly Body: "body";
|
|
78
|
+
readonly Header: "header";
|
|
79
|
+
readonly Path: "path";
|
|
80
|
+
readonly Query: "query";
|
|
81
|
+
};
|
|
82
|
+
export type InputValidationIssueInEnum = typeof InputValidationIssueInEnum[keyof typeof InputValidationIssueInEnum];
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the InputValidationIssue interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfInputValidationIssue(value: object): boolean;
|
|
87
|
+
export declare function InputValidationIssueFromJSON(json: any): InputValidationIssue;
|
|
88
|
+
export declare function InputValidationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): InputValidationIssue;
|
|
89
|
+
export declare function InputValidationIssueToJSON(value?: InputValidationIssue | null): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.InputValidationIssueToJSON = exports.InputValidationIssueFromJSONTyped = exports.InputValidationIssueFromJSON = exports.instanceOfInputValidationIssue = exports.InputValidationIssueInEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.InputValidationIssueInEnum = {
|
|
22
|
+
Body: 'body',
|
|
23
|
+
Header: 'header',
|
|
24
|
+
Path: 'path',
|
|
25
|
+
Query: 'query'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the InputValidationIssue interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfInputValidationIssue(value) {
|
|
31
|
+
let isInstance = true;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfInputValidationIssue = instanceOfInputValidationIssue;
|
|
35
|
+
function InputValidationIssueFromJSON(json) {
|
|
36
|
+
return InputValidationIssueFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.InputValidationIssueFromJSON = InputValidationIssueFromJSON;
|
|
39
|
+
function InputValidationIssueFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'_in': !(0, runtime_1.exists)(json, 'in') ? undefined : json['in'],
|
|
45
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
46
|
+
'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
|
|
47
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
48
|
+
'href': !(0, runtime_1.exists)(json, 'href') ? undefined : json['href'],
|
|
49
|
+
'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
|
|
50
|
+
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
51
|
+
'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
|
|
52
|
+
'instance': !(0, runtime_1.exists)(json, 'instance') ? undefined : json['instance'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.InputValidationIssueFromJSONTyped = InputValidationIssueFromJSONTyped;
|
|
56
|
+
function InputValidationIssueToJSON(value) {
|
|
57
|
+
if (value === undefined) {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
if (value === null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'in': value._in,
|
|
65
|
+
'name': value.name,
|
|
66
|
+
'value': value.value,
|
|
67
|
+
'type': value.type,
|
|
68
|
+
'href': value.href,
|
|
69
|
+
'title': value.title,
|
|
70
|
+
'status': value.status,
|
|
71
|
+
'detail': value.detail,
|
|
72
|
+
'instance': value.instance,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.InputValidationIssueToJSON = InputValidationIssueToJSON;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { InputValidationIssue } from './InputValidationIssue';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InputValidationProblem
|
|
17
|
+
*/
|
|
18
|
+
export interface InputValidationProblem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<InputValidationIssue>}
|
|
22
|
+
* @memberof InputValidationProblem
|
|
23
|
+
*/
|
|
24
|
+
issues?: Array<InputValidationIssue>;
|
|
25
|
+
/**
|
|
26
|
+
* An absolute URI that identifies the problem type
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InputValidationProblem
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
/**
|
|
32
|
+
* An absolute URI that, when dereferenced, provides human-readable documentation for the problem type (e.g. using HTML).
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof InputValidationProblem
|
|
35
|
+
*/
|
|
36
|
+
href?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A short summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized).
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InputValidationProblem
|
|
41
|
+
*/
|
|
42
|
+
title?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The HTTP status code generated by the origin server for this occurrence of the problem.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof InputValidationProblem
|
|
47
|
+
*/
|
|
48
|
+
status?: number;
|
|
49
|
+
/**
|
|
50
|
+
* A human-readable explanation specific to this occurrence of the problem
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof InputValidationProblem
|
|
53
|
+
*/
|
|
54
|
+
detail?: string;
|
|
55
|
+
/**
|
|
56
|
+
* An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof InputValidationProblem
|
|
59
|
+
*/
|
|
60
|
+
instance?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the InputValidationProblem interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfInputValidationProblem(value: object): boolean;
|
|
66
|
+
export declare function InputValidationProblemFromJSON(json: any): InputValidationProblem;
|
|
67
|
+
export declare function InputValidationProblemFromJSONTyped(json: any, ignoreDiscriminator: boolean): InputValidationProblem;
|
|
68
|
+
export declare function InputValidationProblemToJSON(value?: InputValidationProblem | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.InputValidationProblemToJSON = exports.InputValidationProblemFromJSONTyped = exports.InputValidationProblemFromJSON = exports.instanceOfInputValidationProblem = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const InputValidationIssue_1 = require("./InputValidationIssue");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the InputValidationProblem interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfInputValidationProblem(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfInputValidationProblem = instanceOfInputValidationProblem;
|
|
27
|
+
function InputValidationProblemFromJSON(json) {
|
|
28
|
+
return InputValidationProblemFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.InputValidationProblemFromJSON = InputValidationProblemFromJSON;
|
|
31
|
+
function InputValidationProblemFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'issues': !(0, runtime_1.exists)(json, 'issues') ? undefined : (json['issues'].map(InputValidationIssue_1.InputValidationIssueFromJSON)),
|
|
37
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
38
|
+
'href': !(0, runtime_1.exists)(json, 'href') ? undefined : json['href'],
|
|
39
|
+
'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
|
|
40
|
+
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
41
|
+
'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
|
|
42
|
+
'instance': !(0, runtime_1.exists)(json, 'instance') ? undefined : json['instance'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.InputValidationProblemFromJSONTyped = InputValidationProblemFromJSONTyped;
|
|
46
|
+
function InputValidationProblemToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'issues': value.issues === undefined ? undefined : (value.issues.map(InputValidationIssue_1.InputValidationIssueToJSON)),
|
|
55
|
+
'type': value.type,
|
|
56
|
+
'href': value.href,
|
|
57
|
+
'title': value.title,
|
|
58
|
+
'status': value.status,
|
|
59
|
+
'detail': value.detail,
|
|
60
|
+
'instance': value.instance,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.InputValidationProblemToJSON = InputValidationProblemToJSON;
|
|
@@ -21,7 +21,7 @@ export interface IntegrationRead {
|
|
|
21
21
|
* @type {Array<IntegrationObject>}
|
|
22
22
|
* @memberof IntegrationRead
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
objects?: Array<IntegrationObject>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the IntegrationRead interface.
|
|
@@ -33,7 +33,7 @@ function IntegrationReadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'
|
|
36
|
+
'objects': !(0, runtime_1.exists)(json, 'objects') ? undefined : (json['objects'].map(IntegrationObject_1.IntegrationObjectFromJSON)),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
exports.IntegrationReadFromJSONTyped = IntegrationReadFromJSONTyped;
|
|
@@ -45,7 +45,7 @@ function IntegrationReadToJSON(value) {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'
|
|
48
|
+
'objects': value.objects === undefined ? undefined : (value.objects.map(IntegrationObject_1.IntegrationObjectToJSON)),
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
exports.IntegrationReadToJSON = IntegrationReadToJSON;
|
|
@@ -0,0 +1,84 @@
|
|
|
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 Invite
|
|
16
|
+
*/
|
|
17
|
+
export interface Invite {
|
|
18
|
+
/**
|
|
19
|
+
* The invite ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Invite
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The email address of the person invited.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Invite
|
|
28
|
+
*/
|
|
29
|
+
invitedEmail: string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of entity that the person is invited to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Invite
|
|
34
|
+
*/
|
|
35
|
+
parentType: InviteParentTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the parent (e.g. org ID).
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Invite
|
|
40
|
+
*/
|
|
41
|
+
parentId: string;
|
|
42
|
+
/**
|
|
43
|
+
* The status of the invite.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Invite
|
|
46
|
+
*/
|
|
47
|
+
status: InviteStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
* The time the invite was created.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof Invite
|
|
52
|
+
*/
|
|
53
|
+
createTime: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The time the invite was updated.
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof Invite
|
|
58
|
+
*/
|
|
59
|
+
updateTime?: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const InviteParentTypeEnum: {
|
|
65
|
+
readonly Org: "org";
|
|
66
|
+
};
|
|
67
|
+
export type InviteParentTypeEnum = typeof InviteParentTypeEnum[keyof typeof InviteParentTypeEnum];
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const InviteStatusEnum: {
|
|
72
|
+
readonly Pending: "pending";
|
|
73
|
+
readonly Accepted: "accepted";
|
|
74
|
+
readonly Revoked: "revoked";
|
|
75
|
+
readonly Expired: "expired";
|
|
76
|
+
};
|
|
77
|
+
export type InviteStatusEnum = typeof InviteStatusEnum[keyof typeof InviteStatusEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the Invite interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfInvite(value: object): boolean;
|
|
82
|
+
export declare function InviteFromJSON(json: any): Invite;
|
|
83
|
+
export declare function InviteFromJSONTyped(json: any, ignoreDiscriminator: boolean): Invite;
|
|
84
|
+
export declare function InviteToJSON(value?: Invite | null): any;
|