@amp-labs/react 1.4.2 → 1.4.4
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/UserApi.js +94 -0
- package/build/generated-sources/api/src/apis/index.d.ts +2 -0
- package/build/generated-sources/api/src/apis/index.js +2 -0
- 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/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/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/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/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 +18 -0
- package/build/generated-sources/api/src/models/index.js +18 -0
- package/build/src/components/Configure/content/ConfigureInstallationBase.js +1 -1
- package/build/src/components/Configure/content/fields/OptionalFields/OptionalFields.js +2 -2
- package/build/src/components/Configure/content/fields/WriteFields/WriteFields.js +14 -2
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.js +2 -2
- package/build/src/services/version.d.ts +1 -1
- package/build/src/services/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
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 { Org } from './Org';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BuilderInfoOrgRole
|
|
17
|
+
*/
|
|
18
|
+
export interface BuilderInfoOrgRole {
|
|
19
|
+
/**
|
|
20
|
+
* The role of the builder in the org.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BuilderInfoOrgRole
|
|
23
|
+
*/
|
|
24
|
+
role: string;
|
|
25
|
+
/**
|
|
26
|
+
* The type of the principal.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuilderInfoOrgRole
|
|
29
|
+
*/
|
|
30
|
+
principalType: BuilderInfoOrgRolePrincipalTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the team or builder.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BuilderInfoOrgRole
|
|
35
|
+
*/
|
|
36
|
+
principalId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Org}
|
|
40
|
+
* @memberof BuilderInfoOrgRole
|
|
41
|
+
*/
|
|
42
|
+
org: Org;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const BuilderInfoOrgRolePrincipalTypeEnum: {
|
|
48
|
+
readonly Team: "team";
|
|
49
|
+
readonly Builder: "builder";
|
|
50
|
+
};
|
|
51
|
+
export type BuilderInfoOrgRolePrincipalTypeEnum = typeof BuilderInfoOrgRolePrincipalTypeEnum[keyof typeof BuilderInfoOrgRolePrincipalTypeEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the BuilderInfoOrgRole interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfBuilderInfoOrgRole(value: object): boolean;
|
|
56
|
+
export declare function BuilderInfoOrgRoleFromJSON(json: any): BuilderInfoOrgRole;
|
|
57
|
+
export declare function BuilderInfoOrgRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuilderInfoOrgRole;
|
|
58
|
+
export declare function BuilderInfoOrgRoleToJSON(value?: BuilderInfoOrgRole | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.BuilderInfoOrgRoleToJSON = exports.BuilderInfoOrgRoleFromJSONTyped = exports.BuilderInfoOrgRoleFromJSON = exports.instanceOfBuilderInfoOrgRole = exports.BuilderInfoOrgRolePrincipalTypeEnum = void 0;
|
|
17
|
+
const Org_1 = require("./Org");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.BuilderInfoOrgRolePrincipalTypeEnum = {
|
|
22
|
+
Team: 'team',
|
|
23
|
+
Builder: 'builder'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BuilderInfoOrgRole interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfBuilderInfoOrgRole(value) {
|
|
29
|
+
let isInstance = true;
|
|
30
|
+
isInstance = isInstance && "role" in value;
|
|
31
|
+
isInstance = isInstance && "principalType" in value;
|
|
32
|
+
isInstance = isInstance && "principalId" in value;
|
|
33
|
+
isInstance = isInstance && "org" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
exports.instanceOfBuilderInfoOrgRole = instanceOfBuilderInfoOrgRole;
|
|
37
|
+
function BuilderInfoOrgRoleFromJSON(json) {
|
|
38
|
+
return BuilderInfoOrgRoleFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
exports.BuilderInfoOrgRoleFromJSON = BuilderInfoOrgRoleFromJSON;
|
|
41
|
+
function BuilderInfoOrgRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'role': json['role'],
|
|
47
|
+
'principalType': json['principalType'],
|
|
48
|
+
'principalId': json['principalId'],
|
|
49
|
+
'org': (0, Org_1.OrgFromJSON)(json['org']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.BuilderInfoOrgRoleFromJSONTyped = BuilderInfoOrgRoleFromJSONTyped;
|
|
53
|
+
function BuilderInfoOrgRoleToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'role': value.role,
|
|
62
|
+
'principalType': value.principalType,
|
|
63
|
+
'principalId': value.principalId,
|
|
64
|
+
'org': (0, Org_1.OrgToJSON)(value.org),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.BuilderInfoOrgRoleToJSON = BuilderInfoOrgRoleToJSON;
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { Project } from './Project';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BuilderInfoProjectRolesValue
|
|
17
|
+
*/
|
|
18
|
+
export interface BuilderInfoProjectRolesValue {
|
|
19
|
+
/**
|
|
20
|
+
* The role of the builder in the project.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BuilderInfoProjectRolesValue
|
|
23
|
+
*/
|
|
24
|
+
role: string;
|
|
25
|
+
/**
|
|
26
|
+
* The type of the principal.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuilderInfoProjectRolesValue
|
|
29
|
+
*/
|
|
30
|
+
principalType: BuilderInfoProjectRolesValuePrincipalTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the team or builder.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BuilderInfoProjectRolesValue
|
|
35
|
+
*/
|
|
36
|
+
principalId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Project}
|
|
40
|
+
* @memberof BuilderInfoProjectRolesValue
|
|
41
|
+
*/
|
|
42
|
+
project: Project;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const BuilderInfoProjectRolesValuePrincipalTypeEnum: {
|
|
48
|
+
readonly Team: "team";
|
|
49
|
+
readonly Builder: "builder";
|
|
50
|
+
};
|
|
51
|
+
export type BuilderInfoProjectRolesValuePrincipalTypeEnum = typeof BuilderInfoProjectRolesValuePrincipalTypeEnum[keyof typeof BuilderInfoProjectRolesValuePrincipalTypeEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the BuilderInfoProjectRolesValue interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfBuilderInfoProjectRolesValue(value: object): boolean;
|
|
56
|
+
export declare function BuilderInfoProjectRolesValueFromJSON(json: any): BuilderInfoProjectRolesValue;
|
|
57
|
+
export declare function BuilderInfoProjectRolesValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuilderInfoProjectRolesValue;
|
|
58
|
+
export declare function BuilderInfoProjectRolesValueToJSON(value?: BuilderInfoProjectRolesValue | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.BuilderInfoProjectRolesValueToJSON = exports.BuilderInfoProjectRolesValueFromJSONTyped = exports.BuilderInfoProjectRolesValueFromJSON = exports.instanceOfBuilderInfoProjectRolesValue = exports.BuilderInfoProjectRolesValuePrincipalTypeEnum = void 0;
|
|
17
|
+
const Project_1 = require("./Project");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.BuilderInfoProjectRolesValuePrincipalTypeEnum = {
|
|
22
|
+
Team: 'team',
|
|
23
|
+
Builder: 'builder'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BuilderInfoProjectRolesValue interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfBuilderInfoProjectRolesValue(value) {
|
|
29
|
+
let isInstance = true;
|
|
30
|
+
isInstance = isInstance && "role" in value;
|
|
31
|
+
isInstance = isInstance && "principalType" in value;
|
|
32
|
+
isInstance = isInstance && "principalId" in value;
|
|
33
|
+
isInstance = isInstance && "project" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
exports.instanceOfBuilderInfoProjectRolesValue = instanceOfBuilderInfoProjectRolesValue;
|
|
37
|
+
function BuilderInfoProjectRolesValueFromJSON(json) {
|
|
38
|
+
return BuilderInfoProjectRolesValueFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
exports.BuilderInfoProjectRolesValueFromJSON = BuilderInfoProjectRolesValueFromJSON;
|
|
41
|
+
function BuilderInfoProjectRolesValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'role': json['role'],
|
|
47
|
+
'principalType': json['principalType'],
|
|
48
|
+
'principalId': json['principalId'],
|
|
49
|
+
'project': (0, Project_1.ProjectFromJSON)(json['project']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.BuilderInfoProjectRolesValueFromJSONTyped = BuilderInfoProjectRolesValueFromJSONTyped;
|
|
53
|
+
function BuilderInfoProjectRolesValueToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'role': value.role,
|
|
62
|
+
'principalType': value.principalType,
|
|
63
|
+
'principalId': value.principalId,
|
|
64
|
+
'project': (0, Project_1.ProjectToJSON)(value.project),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.BuilderInfoProjectRolesValueToJSON = BuilderInfoProjectRolesValueToJSON;
|
|
@@ -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: 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 BulkWriteSupport
|
|
16
|
+
*/
|
|
17
|
+
export interface BulkWriteSupport {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof BulkWriteSupport
|
|
22
|
+
*/
|
|
23
|
+
insert: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof BulkWriteSupport
|
|
28
|
+
*/
|
|
29
|
+
update: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof BulkWriteSupport
|
|
34
|
+
*/
|
|
35
|
+
upsert: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof BulkWriteSupport
|
|
40
|
+
*/
|
|
41
|
+
_delete: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the BulkWriteSupport interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfBulkWriteSupport(value: object): boolean;
|
|
47
|
+
export declare function BulkWriteSupportFromJSON(json: any): BulkWriteSupport;
|
|
48
|
+
export declare function BulkWriteSupportFromJSONTyped(json: any, ignoreDiscriminator: boolean): BulkWriteSupport;
|
|
49
|
+
export declare function BulkWriteSupportToJSON(value?: BulkWriteSupport | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.BulkWriteSupportToJSON = exports.BulkWriteSupportFromJSONTyped = exports.BulkWriteSupportFromJSON = exports.instanceOfBulkWriteSupport = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the BulkWriteSupport interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfBulkWriteSupport(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "insert" in value;
|
|
23
|
+
isInstance = isInstance && "update" in value;
|
|
24
|
+
isInstance = isInstance && "upsert" in value;
|
|
25
|
+
isInstance = isInstance && "_delete" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfBulkWriteSupport = instanceOfBulkWriteSupport;
|
|
29
|
+
function BulkWriteSupportFromJSON(json) {
|
|
30
|
+
return BulkWriteSupportFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.BulkWriteSupportFromJSON = BulkWriteSupportFromJSON;
|
|
33
|
+
function BulkWriteSupportFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'insert': json['insert'],
|
|
39
|
+
'update': json['update'],
|
|
40
|
+
'upsert': json['upsert'],
|
|
41
|
+
'_delete': json['delete'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.BulkWriteSupportFromJSONTyped = BulkWriteSupportFromJSONTyped;
|
|
45
|
+
function BulkWriteSupportToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'insert': value.insert,
|
|
54
|
+
'update': value.update,
|
|
55
|
+
'upsert': value.upsert,
|
|
56
|
+
'delete': value._delete,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.BulkWriteSupportToJSON = BulkWriteSupportToJSON;
|
|
@@ -17,7 +17,7 @@ import type { CreateDestinationRequestMetadata } from './CreateDestinationReques
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateDestinationRequest {
|
|
19
19
|
/**
|
|
20
|
-
* Name for the new destination
|
|
20
|
+
* Name for the new destination. Must be unique within the project and can only contain letters, numbers and dashes.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CreateDestinationRequest
|
|
23
23
|
*/
|
|
@@ -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 CreateOrgInviteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrgInviteRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The email address of the user to invite.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrgInviteRequest
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateOrgInviteRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateOrgInviteRequest(value: object): boolean;
|
|
29
|
+
export declare function CreateOrgInviteRequestFromJSON(json: any): CreateOrgInviteRequest;
|
|
30
|
+
export declare function CreateOrgInviteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrgInviteRequest;
|
|
31
|
+
export declare function CreateOrgInviteRequestToJSON(value?: CreateOrgInviteRequest | 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.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
|
};
|