@amp-labs/react 1.5.2 → 1.6.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/amp-react.cjs.js +2 -0
- package/build/amp-react.es.js +7816 -0
- package/build/index.d.ts +51 -0
- package/package.json +22 -9
- package/build/generated-sources/api/src/apis/APIKeyApi.d.ts +0 -158
- package/build/generated-sources/api/src/apis/APIKeyApi.js +0 -188
- package/build/generated-sources/api/src/apis/ConnectionApi.d.ts +0 -82
- package/build/generated-sources/api/src/apis/ConnectionApi.js +0 -107
- package/build/generated-sources/api/src/apis/ConsumerApi.d.ts +0 -52
- package/build/generated-sources/api/src/apis/ConsumerApi.js +0 -75
- package/build/generated-sources/api/src/apis/DestinationApi.d.ts +0 -156
- package/build/generated-sources/api/src/apis/DestinationApi.js +0 -185
- package/build/generated-sources/api/src/apis/GroupApi.d.ts +0 -52
- package/build/generated-sources/api/src/apis/GroupApi.js +0 -75
- package/build/generated-sources/api/src/apis/InstallationApi.d.ts +0 -196
- package/build/generated-sources/api/src/apis/InstallationApi.js +0 -235
- package/build/generated-sources/api/src/apis/IntegrationApi.d.ts +0 -128
- package/build/generated-sources/api/src/apis/IntegrationApi.js +0 -151
- package/build/generated-sources/api/src/apis/OAuthApi.d.ts +0 -76
- package/build/generated-sources/api/src/apis/OAuthApi.js +0 -102
- package/build/generated-sources/api/src/apis/OperationApi.d.ts +0 -106
- package/build/generated-sources/api/src/apis/OperationApi.js +0 -131
- package/build/generated-sources/api/src/apis/OperationEventApi.d.ts +0 -112
- package/build/generated-sources/api/src/apis/OperationEventApi.js +0 -140
- package/build/generated-sources/api/src/apis/OrgApi.d.ts +0 -226
- package/build/generated-sources/api/src/apis/OrgApi.js +0 -253
- package/build/generated-sources/api/src/apis/ProjectApi.d.ts +0 -124
- package/build/generated-sources/api/src/apis/ProjectApi.js +0 -149
- package/build/generated-sources/api/src/apis/ProviderApi.d.ts +0 -78
- package/build/generated-sources/api/src/apis/ProviderApi.js +0 -92
- package/build/generated-sources/api/src/apis/ProviderAppApi.d.ts +0 -130
- package/build/generated-sources/api/src/apis/ProviderAppApi.js +0 -158
- package/build/generated-sources/api/src/apis/RevisionApi.d.ts +0 -87
- package/build/generated-sources/api/src/apis/RevisionApi.js +0 -113
- package/build/generated-sources/api/src/apis/UploadURLApi.d.ts +0 -46
- package/build/generated-sources/api/src/apis/UploadURLApi.js +0 -68
- package/build/generated-sources/api/src/apis/UserApi.d.ts +0 -70
- package/build/generated-sources/api/src/apis/UserApi.js +0 -94
- package/build/generated-sources/api/src/apis/index.d.ts +0 -17
- package/build/generated-sources/api/src/apis/index.js +0 -35
- package/build/generated-sources/api/src/index.d.ts +0 -3
- package/build/generated-sources/api/src/index.js +0 -21
- package/build/generated-sources/api/src/models/AcceptInviteRequest.d.ts +0 -31
- package/build/generated-sources/api/src/models/AcceptInviteRequest.js +0 -50
- package/build/generated-sources/api/src/models/ApiKey.d.ts +0 -49
- package/build/generated-sources/api/src/models/ApiKey.js +0 -59
- package/build/generated-sources/api/src/models/ApiKeyRequest.d.ts +0 -31
- package/build/generated-sources/api/src/models/ApiKeyRequest.js +0 -50
- package/build/generated-sources/api/src/models/ApiProblem.d.ts +0 -130
- package/build/generated-sources/api/src/models/ApiProblem.js +0 -82
- package/build/generated-sources/api/src/models/AuthType.d.ts +0 -23
- package/build/generated-sources/api/src/models/AuthType.js +0 -36
- package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +0 -52
- package/build/generated-sources/api/src/models/BaseConfigContent.js +0 -59
- package/build/generated-sources/api/src/models/BaseProxyConfig.d.ts +0 -31
- package/build/generated-sources/api/src/models/BaseProxyConfig.js +0 -50
- package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +0 -34
- package/build/generated-sources/api/src/models/BaseReadConfig.js +0 -51
- package/build/generated-sources/api/src/models/BaseReadConfigObject.d.ts +0 -59
- package/build/generated-sources/api/src/models/BaseReadConfigObject.js +0 -58
- package/build/generated-sources/api/src/models/BaseWriteConfig.d.ts +0 -34
- package/build/generated-sources/api/src/models/BaseWriteConfig.js +0 -51
- package/build/generated-sources/api/src/models/BaseWriteConfigObject.d.ts +0 -31
- package/build/generated-sources/api/src/models/BaseWriteConfigObject.js +0 -50
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +0 -31
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +0 -50
- package/build/generated-sources/api/src/models/Builder.d.ts +0 -73
- package/build/generated-sources/api/src/models/Builder.js +0 -68
- package/build/generated-sources/api/src/models/BuilderInfo.d.ts +0 -48
- package/build/generated-sources/api/src/models/BuilderInfo.js +0 -59
- package/build/generated-sources/api/src/models/BuilderInfoOrgRole.d.ts +0 -58
- package/build/generated-sources/api/src/models/BuilderInfoOrgRole.js +0 -67
- package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.d.ts +0 -58
- package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.js +0 -67
- package/build/generated-sources/api/src/models/BulkWriteSupport.d.ts +0 -49
- package/build/generated-sources/api/src/models/BulkWriteSupport.js +0 -59
- package/build/generated-sources/api/src/models/Config.d.ts +0 -56
- package/build/generated-sources/api/src/models/Config.js +0 -63
- package/build/generated-sources/api/src/models/ConfigContent.d.ts +0 -50
- package/build/generated-sources/api/src/models/ConfigContent.js +0 -58
- package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +0 -37
- package/build/generated-sources/api/src/models/ConfigContentAllOf.js +0 -52
- package/build/generated-sources/api/src/models/Connection.d.ts +0 -82
- package/build/generated-sources/api/src/models/Connection.js +0 -76
- package/build/generated-sources/api/src/models/Consumer.d.ts +0 -55
- package/build/generated-sources/api/src/models/Consumer.js +0 -62
- package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +0 -37
- package/build/generated-sources/api/src/models/CreateConsumerRequest.js +0 -53
- package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +0 -44
- package/build/generated-sources/api/src/models/CreateDestinationRequest.js +0 -57
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +0 -39
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.js +0 -52
- package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +0 -37
- package/build/generated-sources/api/src/models/CreateGroupRequest.js +0 -53
- package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +0 -44
- package/build/generated-sources/api/src/models/CreateInstallationRequest.js +0 -57
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +0 -44
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +0 -56
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +0 -44
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +0 -57
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +0 -31
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +0 -50
- package/build/generated-sources/api/src/models/CreateOrgInviteRequest.d.ts +0 -31
- package/build/generated-sources/api/src/models/CreateOrgInviteRequest.js +0 -50
- package/build/generated-sources/api/src/models/CreateOrgRequest.d.ts +0 -31
- package/build/generated-sources/api/src/models/CreateOrgRequest.js +0 -50
- package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +0 -43
- package/build/generated-sources/api/src/models/CreateProjectRequest.js +0 -56
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +0 -55
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +0 -61
- package/build/generated-sources/api/src/models/Destination.d.ts +0 -62
- package/build/generated-sources/api/src/models/Destination.js +0 -66
- package/build/generated-sources/api/src/models/Group.d.ts +0 -55
- package/build/generated-sources/api/src/models/Group.js +0 -62
- package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +0 -64
- package/build/generated-sources/api/src/models/HydratedIntegration.js +0 -65
- package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +0 -22
- package/build/generated-sources/api/src/models/HydratedIntegrationField.js +0 -45
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +0 -37
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +0 -53
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +0 -75
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +0 -70
- package/build/generated-sources/api/src/models/HydratedIntegrationProxy.d.ts +0 -31
- package/build/generated-sources/api/src/models/HydratedIntegrationProxy.js +0 -50
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +0 -32
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +0 -51
- package/build/generated-sources/api/src/models/HydratedIntegrationWrite.d.ts +0 -32
- package/build/generated-sources/api/src/models/HydratedIntegrationWrite.js +0 -51
- package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.d.ts +0 -37
- package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.js +0 -53
- package/build/generated-sources/api/src/models/HydratedRevision.d.ts +0 -50
- package/build/generated-sources/api/src/models/HydratedRevision.js +0 -60
- package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +0 -79
- package/build/generated-sources/api/src/models/ImportConnectionRequest.js +0 -72
- package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +0 -45
- package/build/generated-sources/api/src/models/ImportInstallationRequest.js +0 -58
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +0 -38
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +0 -54
- package/build/generated-sources/api/src/models/InputValidationIssue.d.ts +0 -89
- package/build/generated-sources/api/src/models/InputValidationIssue.js +0 -75
- package/build/generated-sources/api/src/models/InputValidationProblem.d.ts +0 -68
- package/build/generated-sources/api/src/models/InputValidationProblem.js +0 -63
- package/build/generated-sources/api/src/models/Installation.d.ts +0 -88
- package/build/generated-sources/api/src/models/Installation.js +0 -79
- package/build/generated-sources/api/src/models/Integration.d.ts +0 -68
- package/build/generated-sources/api/src/models/Integration.js +0 -69
- package/build/generated-sources/api/src/models/Integration1.d.ts +0 -64
- package/build/generated-sources/api/src/models/Integration1.js +0 -65
- package/build/generated-sources/api/src/models/IntegrationField.d.ts +0 -22
- package/build/generated-sources/api/src/models/IntegrationField.js +0 -45
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +0 -31
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +0 -50
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +0 -49
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +0 -57
- package/build/generated-sources/api/src/models/IntegrationObject.d.ts +0 -63
- package/build/generated-sources/api/src/models/IntegrationObject.js +0 -65
- package/build/generated-sources/api/src/models/IntegrationProxy.d.ts +0 -31
- package/build/generated-sources/api/src/models/IntegrationProxy.js +0 -50
- package/build/generated-sources/api/src/models/IntegrationRead.d.ts +0 -32
- package/build/generated-sources/api/src/models/IntegrationRead.js +0 -51
- package/build/generated-sources/api/src/models/IntegrationWrite.d.ts +0 -32
- package/build/generated-sources/api/src/models/IntegrationWrite.js +0 -51
- package/build/generated-sources/api/src/models/IntegrationWriteObject.d.ts +0 -31
- package/build/generated-sources/api/src/models/IntegrationWriteObject.js +0 -50
- package/build/generated-sources/api/src/models/Invite.d.ts +0 -84
- package/build/generated-sources/api/src/models/Invite.js +0 -83
- package/build/generated-sources/api/src/models/Log.d.ts +0 -44
- package/build/generated-sources/api/src/models/Log.js +0 -57
- package/build/generated-sources/api/src/models/LogMessage.d.ts +0 -43
- package/build/generated-sources/api/src/models/LogMessage.js +0 -55
- package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +0 -73
- package/build/generated-sources/api/src/models/OauthConnectRequest.js +0 -68
- package/build/generated-sources/api/src/models/OauthOpts.d.ts +0 -71
- package/build/generated-sources/api/src/models/OauthOpts.js +0 -74
- package/build/generated-sources/api/src/models/Operation.d.ts +0 -91
- package/build/generated-sources/api/src/models/Operation.js +0 -77
- package/build/generated-sources/api/src/models/OperationEvent.d.ts +0 -61
- package/build/generated-sources/api/src/models/OperationEvent.js +0 -64
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +0 -22
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +0 -35
- package/build/generated-sources/api/src/models/Org.d.ts +0 -55
- package/build/generated-sources/api/src/models/Org.js +0 -62
- package/build/generated-sources/api/src/models/PatchApiKeyRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/PatchApiKeyRequest.js +0 -54
- package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.d.ts +0 -37
- package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.js +0 -52
- package/build/generated-sources/api/src/models/Problem.d.ts +0 -63
- package/build/generated-sources/api/src/models/Problem.js +0 -60
- package/build/generated-sources/api/src/models/Project.d.ts +0 -61
- package/build/generated-sources/api/src/models/Project.js +0 -64
- package/build/generated-sources/api/src/models/ProjectMembership.d.ts +0 -56
- package/build/generated-sources/api/src/models/ProjectMembership.js +0 -63
- package/build/generated-sources/api/src/models/ProviderApp.d.ts +0 -73
- package/build/generated-sources/api/src/models/ProviderApp.js +0 -69
- package/build/generated-sources/api/src/models/ProviderInfo.d.ts +0 -72
- package/build/generated-sources/api/src/models/ProviderInfo.js +0 -70
- package/build/generated-sources/api/src/models/Revision.d.ts +0 -50
- package/build/generated-sources/api/src/models/Revision.js +0 -60
- package/build/generated-sources/api/src/models/SignedUrl.d.ts +0 -43
- package/build/generated-sources/api/src/models/SignedUrl.js +0 -56
- package/build/generated-sources/api/src/models/Support.d.ts +0 -56
- package/build/generated-sources/api/src/models/Support.js +0 -63
- package/build/generated-sources/api/src/models/TokenMetadataFields.d.ts +0 -43
- package/build/generated-sources/api/src/models/TokenMetadataFields.js +0 -54
- package/build/generated-sources/api/src/models/UpdateDestinationRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateDestinationRequest.js +0 -54
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.js +0 -53
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.d.ts +0 -39
- package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.js +0 -52
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +0 -52
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +0 -59
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.js +0 -54
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.js +0 -53
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.d.ts +0 -44
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.js +0 -55
- package/build/generated-sources/api/src/models/UpdateOrgRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateOrgRequest.js +0 -54
- package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.d.ts +0 -31
- package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.js +0 -50
- package/build/generated-sources/api/src/models/UpdateProjectRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateProjectRequest.js +0 -54
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.d.ts +0 -37
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.js +0 -52
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.d.ts +0 -38
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.js +0 -54
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.d.ts +0 -55
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.js +0 -58
- package/build/generated-sources/api/src/models/index.d.ts +0 -94
- package/build/generated-sources/api/src/models/index.js +0 -112
- package/build/generated-sources/api/src/runtime.d.ts +0 -182
- package/build/generated-sources/api/src/runtime.js +0 -317
- package/build/src/assets/LoadingIcon.d.ts +0 -5
- package/build/src/assets/LoadingIcon.js +0 -9
- package/build/src/assets/NavIcon.d.ts +0 -2
- package/build/src/assets/NavIcon.js +0 -24
- package/build/src/assets/SuccessIcon.d.ts +0 -1
- package/build/src/assets/SuccessIcon.js +0 -8
- package/build/src/assets/TrashIcon.d.ts +0 -1
- package/build/src/assets/TrashIcon.js +0 -11
- package/build/src/components/Configure/InstallIntegration.d.ts +0 -12
- package/build/src/components/Configure/InstallIntegration.js +0 -27
- package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.d.ts +0 -15
- package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.js +0 -30
- package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.d.ts +0 -15
- package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.js +0 -33
- package/build/src/components/Configure/actions/proxy/isProxyEnabled.d.ts +0 -2
- package/build/src/components/Configure/actions/proxy/isProxyEnabled.js +0 -8
- package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.d.ts +0 -8
- package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.js +0 -44
- package/build/src/components/Configure/actions/read/onSaveReadCreateInstallation.d.ts +0 -3
- package/build/src/components/Configure/actions/read/onSaveReadCreateInstallation.js +0 -84
- package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.d.ts +0 -3
- package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.js +0 -71
- package/build/src/components/Configure/actions/write/generateConfigWriteObjects.d.ts +0 -26
- package/build/src/components/Configure/actions/write/generateConfigWriteObjects.js +0 -41
- package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.d.ts +0 -3
- package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.js +0 -79
- package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.d.ts +0 -3
- package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.js +0 -68
- package/build/src/components/Configure/content/ConfigureInstallationBase.d.ts +0 -9
- package/build/src/components/Configure/content/ConfigureInstallationBase.js +0 -36
- package/build/src/components/Configure/content/CreateInstallation.d.ts +0 -1
- package/build/src/components/Configure/content/CreateInstallation.js +0 -83
- package/build/src/components/Configure/content/InstallationContent.d.ts +0 -1
- package/build/src/components/Configure/content/InstallationContent.js +0 -20
- package/build/src/components/Configure/content/UninstallContent.d.ts +0 -1
- package/build/src/components/Configure/content/UninstallContent.js +0 -45
- package/build/src/components/Configure/content/UpdateInstallation.d.ts +0 -7
- package/build/src/components/Configure/content/UpdateInstallation.js +0 -90
- package/build/src/components/Configure/content/fields/FieldHeader.d.ts +0 -5
- package/build/src/components/Configure/content/fields/FieldHeader.js +0 -9
- package/build/src/components/Configure/content/fields/FieldMappings/FieldMapping.d.ts +0 -9
- package/build/src/components/Configure/content/fields/FieldMappings/FieldMapping.js +0 -26
- package/build/src/components/Configure/content/fields/FieldMappings/RequiredFieldMappings.d.ts +0 -1
- package/build/src/components/Configure/content/fields/FieldMappings/RequiredFieldMappings.js +0 -39
- package/build/src/components/Configure/content/fields/FieldMappings/index.d.ts +0 -3
- package/build/src/components/Configure/content/fields/FieldMappings/index.js +0 -7
- package/build/src/components/Configure/content/fields/FieldMappings/setFieldMapping.d.ts +0 -3
- package/build/src/components/Configure/content/fields/FieldMappings/setFieldMapping.js +0 -21
- package/build/src/components/Configure/content/fields/OptionalFields/OptionalFields.d.ts +0 -1
- package/build/src/components/Configure/content/fields/OptionalFields/OptionalFields.js +0 -41
- package/build/src/components/Configure/content/fields/OptionalFields/index.d.ts +0 -2
- package/build/src/components/Configure/content/fields/OptionalFields/index.js +0 -5
- package/build/src/components/Configure/content/fields/OptionalFields/setOptionalField.d.ts +0 -3
- package/build/src/components/Configure/content/fields/OptionalFields/setOptionalField.js +0 -27
- package/build/src/components/Configure/content/fields/ReadFields.d.ts +0 -1
- package/build/src/components/Configure/content/fields/ReadFields.js +0 -11
- package/build/src/components/Configure/content/fields/RequiredFields.d.ts +0 -1
- package/build/src/components/Configure/content/fields/RequiredFields.js +0 -23
- package/build/src/components/Configure/content/fields/WriteFields/WriteFields.d.ts +0 -1
- package/build/src/components/Configure/content/fields/WriteFields/WriteFields.js +0 -34
- package/build/src/components/Configure/content/fields/WriteFields/index.d.ts +0 -2
- package/build/src/components/Configure/content/fields/WriteFields/index.js +0 -5
- package/build/src/components/Configure/content/fields/WriteFields/setNonConfigurableWriteField.d.ts +0 -3
- package/build/src/components/Configure/content/fields/WriteFields/setNonConfigurableWriteField.js +0 -32
- package/build/src/components/Configure/content/useMutateInstallation.d.ts +0 -23
- package/build/src/components/Configure/content/useMutateInstallation.js +0 -47
- package/build/src/components/Configure/content/useSelectedConfigureState.d.ts +0 -72
- package/build/src/components/Configure/content/useSelectedConfigureState.js +0 -24
- package/build/src/components/Configure/index.d.ts +0 -1
- package/build/src/components/Configure/index.js +0 -5
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.d.ts +0 -11
- package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.js +0 -68
- package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.d.ts +0 -5
- package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.js +0 -11
- package/build/src/components/Configure/layout/ProtectedConnectionLayout.d.ts +0 -12
- package/build/src/components/Configure/layout/ProtectedConnectionLayout.js +0 -29
- package/build/src/components/Configure/nav/ObjectManagementNav/NavObjectItem.d.ts +0 -9
- package/build/src/components/Configure/nav/ObjectManagementNav/NavObjectItem.js +0 -14
- package/build/src/components/Configure/nav/ObjectManagementNav/OtherTab.d.ts +0 -7
- package/build/src/components/Configure/nav/ObjectManagementNav/OtherTab.js +0 -11
- package/build/src/components/Configure/nav/ObjectManagementNav/UninstallInstallation.d.ts +0 -7
- package/build/src/components/Configure/nav/ObjectManagementNav/UninstallInstallation.js +0 -15
- package/build/src/components/Configure/nav/ObjectManagementNav/constant.d.ts +0 -1
- package/build/src/components/Configure/nav/ObjectManagementNav/constant.js +0 -4
- package/build/src/components/Configure/nav/ObjectManagementNav/index.d.ts +0 -10
- package/build/src/components/Configure/nav/ObjectManagementNav/index.js +0 -61
- package/build/src/components/Configure/state/ConfigurationStateProvider.d.ts +0 -87
- package/build/src/components/Configure/state/ConfigurationStateProvider.js +0 -98
- package/build/src/components/Configure/state/HydratedRevisionContext.d.ts +0 -14
- package/build/src/components/Configure/state/HydratedRevisionContext.js +0 -81
- package/build/src/components/Configure/state/utils.d.ts +0 -22
- package/build/src/components/Configure/state/utils.js +0 -137
- package/build/src/components/Configure/types.d.ts +0 -44
- package/build/src/components/Configure/types.js +0 -2
- package/build/src/components/Configure/utils.d.ts +0 -34
- package/build/src/components/Configure/utils.js +0 -110
- package/build/src/components/Connect/ConnectProvider.d.ts +0 -11
- package/build/src/components/Connect/ConnectProvider.js +0 -12
- package/build/src/components/Connect/ConnectedSuccessBox.d.ts +0 -5
- package/build/src/components/Connect/ConnectedSuccessBox.js +0 -13
- package/build/src/components/Connect/useConnectionHandler.d.ts +0 -10
- package/build/src/components/Connect/useConnectionHandler.js +0 -24
- package/build/src/components/ErrorTextBox.d.ts +0 -5
- package/build/src/components/ErrorTextBox.js +0 -11
- package/build/src/components/Oauth/NoWorkspaceEntry/LandingContent.d.ts +0 -8
- package/build/src/components/Oauth/NoWorkspaceEntry/LandingContent.js +0 -12
- package/build/src/components/Oauth/NoWorkspaceEntry/NoWorkspaceOauthFlow.d.ts +0 -16
- package/build/src/components/Oauth/NoWorkspaceEntry/NoWorkspaceOauthFlow.js +0 -43
- package/build/src/components/Oauth/OAuthErrorAlert.d.ts +0 -5
- package/build/src/components/Oauth/OAuthErrorAlert.js +0 -12
- package/build/src/components/Oauth/OAuthWindow/OAuthWindow.d.ts +0 -14
- package/build/src/components/Oauth/OAuthWindow/OAuthWindow.js +0 -65
- package/build/src/components/Oauth/OAuthWindow/windowHelpers.d.ts +0 -24
- package/build/src/components/Oauth/OAuthWindow/windowHelpers.js +0 -77
- package/build/src/components/Oauth/OauthCardLayout.d.ts +0 -6
- package/build/src/components/Oauth/OauthCardLayout.js +0 -9
- package/build/src/components/Oauth/OauthFlow/OauthFlow.d.ts +0 -9
- package/build/src/components/Oauth/OauthFlow/OauthFlow.js +0 -33
- package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.d.ts +0 -13
- package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.js +0 -18
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.d.ts +0 -9
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.js +0 -12
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.d.ts +0 -14
- package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.js +0 -53
- package/build/src/components/Oauth/fetchOAuthPopupURL.d.ts +0 -1
- package/build/src/components/Oauth/fetchOAuthPopupURL.js +0 -29
- package/build/src/components/RedirectHandler/RedirectHandler.d.ts +0 -15
- package/build/src/components/RedirectHandler/RedirectHandler.js +0 -31
- package/build/src/components/RedirectHandler/index.d.ts +0 -1
- package/build/src/components/RedirectHandler/index.js +0 -5
- package/build/src/components/SuccessTextBox.d.ts +0 -5
- package/build/src/components/SuccessTextBox.js +0 -10
- package/build/src/components/ThemeProvider/Button/buttonTheme.d.ts +0 -13
- package/build/src/components/ThemeProvider/Button/buttonTheme.js +0 -17
- package/build/src/components/ThemeProvider/Button/index.d.ts +0 -2
- package/build/src/components/ThemeProvider/Button/index.js +0 -5
- package/build/src/components/ThemeProvider/index.d.ts +0 -6
- package/build/src/components/ThemeProvider/index.js +0 -58
- package/build/src/context/AmpersandContextProvider/AmpersandContextProvider.d.ts +0 -19
- package/build/src/context/AmpersandContextProvider/AmpersandContextProvider.js +0 -31
- package/build/src/context/AmpersandContextProvider/index.d.ts +0 -1
- package/build/src/context/AmpersandContextProvider/index.js +0 -17
- package/build/src/context/ApiKeyContextProvider.d.ts +0 -4
- package/build/src/context/ApiKeyContextProvider.js +0 -14
- package/build/src/context/ConnectionsContextProvider.d.ts +0 -17
- package/build/src/context/ConnectionsContextProvider.js +0 -66
- package/build/src/context/ErrorContextProvider.d.ts +0 -37
- package/build/src/context/ErrorContextProvider.js +0 -72
- package/build/src/context/InstallIntegrationContextProvider.d.ts +0 -30
- package/build/src/context/InstallIntegrationContextProvider.js +0 -110
- package/build/src/context/IntegrationListContextProvider.d.ts +0 -13
- package/build/src/context/IntegrationListContextProvider.js +0 -48
- package/build/src/context/ProjectContextProvider.d.ts +0 -15
- package/build/src/context/ProjectContextProvider.js +0 -50
- package/build/src/hooks/index.d.ts +0 -1
- package/build/src/hooks/index.js +0 -17
- package/build/src/hooks/useIsIntegrationInstalled.d.ts +0 -6
- package/build/src/hooks/useIsIntegrationInstalled.js +0 -48
- package/build/src/index.d.ts +0 -1
- package/build/src/index.js +0 -17
- package/build/src/public/index.d.ts +0 -7
- package/build/src/public/index.js +0 -23
- package/build/src/services/ApiService.d.ts +0 -25
- package/build/src/services/ApiService.js +0 -32
- package/build/src/services/api.d.ts +0 -10
- package/build/src/services/api.js +0 -76
- package/build/src/services/version.d.ts +0 -1
- package/build/src/services/version.js +0 -4
- package/build/src/utils/index.d.ts +0 -10
- package/build/src/utils/index.js +0 -21
|
@@ -1,68 +0,0 @@
|
|
|
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.BuilderToJSON = exports.BuilderFromJSONTyped = exports.BuilderFromJSON = exports.instanceOfBuilder = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the Builder interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfBuilder(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "id" in value;
|
|
24
|
-
isInstance = isInstance && "idpProvider" in value;
|
|
25
|
-
isInstance = isInstance && "idpRef" in value;
|
|
26
|
-
isInstance = isInstance && "createTime" in value;
|
|
27
|
-
return isInstance;
|
|
28
|
-
}
|
|
29
|
-
exports.instanceOfBuilder = instanceOfBuilder;
|
|
30
|
-
function BuilderFromJSON(json) {
|
|
31
|
-
return BuilderFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.BuilderFromJSON = BuilderFromJSON;
|
|
34
|
-
function BuilderFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'idpProvider': json['idpProvider'],
|
|
41
|
-
'idpRef': json['idpRef'],
|
|
42
|
-
'createTime': (new Date(json['createTime'])),
|
|
43
|
-
'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
|
|
44
|
-
'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
|
|
45
|
-
'fullName': !(0, runtime_1.exists)(json, 'fullName') ? undefined : json['fullName'],
|
|
46
|
-
'primaryEmail': !(0, runtime_1.exists)(json, 'primaryEmail') ? undefined : json['primaryEmail'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.BuilderFromJSONTyped = BuilderFromJSONTyped;
|
|
50
|
-
function BuilderToJSON(value) {
|
|
51
|
-
if (value === undefined) {
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
if (value === null) {
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value.id,
|
|
59
|
-
'idpProvider': value.idpProvider,
|
|
60
|
-
'idpRef': value.idpRef,
|
|
61
|
-
'createTime': (value.createTime.toISOString()),
|
|
62
|
-
'firstName': value.firstName,
|
|
63
|
-
'lastName': value.lastName,
|
|
64
|
-
'fullName': value.fullName,
|
|
65
|
-
'primaryEmail': value.primaryEmail,
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
exports.BuilderToJSON = BuilderToJSON;
|
|
@@ -1,48 +0,0 @@
|
|
|
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 { Builder } from './Builder';
|
|
13
|
-
import type { BuilderInfoOrgRole } from './BuilderInfoOrgRole';
|
|
14
|
-
import type { BuilderInfoProjectRolesValue } from './BuilderInfoProjectRolesValue';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface BuilderInfo
|
|
19
|
-
*/
|
|
20
|
-
export interface BuilderInfo {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Builder}
|
|
24
|
-
* @memberof BuilderInfo
|
|
25
|
-
*/
|
|
26
|
-
builder: Builder;
|
|
27
|
-
/**
|
|
28
|
-
* A map of project IDs to project roles for the builder.
|
|
29
|
-
* @type {{ [key: string]: BuilderInfoProjectRolesValue; }}
|
|
30
|
-
* @memberof BuilderInfo
|
|
31
|
-
*/
|
|
32
|
-
projectRoles: {
|
|
33
|
-
[key: string]: BuilderInfoProjectRolesValue;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {BuilderInfoOrgRole}
|
|
38
|
-
* @memberof BuilderInfo
|
|
39
|
-
*/
|
|
40
|
-
orgRole?: BuilderInfoOrgRole;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the BuilderInfo interface.
|
|
44
|
-
*/
|
|
45
|
-
export declare function instanceOfBuilderInfo(value: object): boolean;
|
|
46
|
-
export declare function BuilderInfoFromJSON(json: any): BuilderInfo;
|
|
47
|
-
export declare function BuilderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuilderInfo;
|
|
48
|
-
export declare function BuilderInfoToJSON(value?: BuilderInfo | null): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
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.BuilderInfoToJSON = exports.BuilderInfoFromJSONTyped = exports.BuilderInfoFromJSON = exports.instanceOfBuilderInfo = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
const Builder_1 = require("./Builder");
|
|
19
|
-
const BuilderInfoOrgRole_1 = require("./BuilderInfoOrgRole");
|
|
20
|
-
const BuilderInfoProjectRolesValue_1 = require("./BuilderInfoProjectRolesValue");
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the BuilderInfo interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfBuilderInfo(value) {
|
|
25
|
-
let isInstance = true;
|
|
26
|
-
isInstance = isInstance && "builder" in value;
|
|
27
|
-
isInstance = isInstance && "projectRoles" in value;
|
|
28
|
-
return isInstance;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfBuilderInfo = instanceOfBuilderInfo;
|
|
31
|
-
function BuilderInfoFromJSON(json) {
|
|
32
|
-
return BuilderInfoFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.BuilderInfoFromJSON = BuilderInfoFromJSON;
|
|
35
|
-
function BuilderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'builder': (0, Builder_1.BuilderFromJSON)(json['builder']),
|
|
41
|
-
'projectRoles': ((0, runtime_1.mapValues)(json['projectRoles'], BuilderInfoProjectRolesValue_1.BuilderInfoProjectRolesValueFromJSON)),
|
|
42
|
-
'orgRole': !(0, runtime_1.exists)(json, 'orgRole') ? undefined : (0, BuilderInfoOrgRole_1.BuilderInfoOrgRoleFromJSON)(json['orgRole']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.BuilderInfoFromJSONTyped = BuilderInfoFromJSONTyped;
|
|
46
|
-
function BuilderInfoToJSON(value) {
|
|
47
|
-
if (value === undefined) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
if (value === null) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'builder': (0, Builder_1.BuilderToJSON)(value.builder),
|
|
55
|
-
'projectRoles': ((0, runtime_1.mapValues)(value.projectRoles, BuilderInfoProjectRolesValue_1.BuilderInfoProjectRolesValueToJSON)),
|
|
56
|
-
'orgRole': (0, BuilderInfoOrgRole_1.BuilderInfoOrgRoleToJSON)(value.orgRole),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.BuilderInfoToJSON = BuilderInfoToJSON;
|
|
@@ -1,58 +0,0 @@
|
|
|
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;
|
|
@@ -1,67 +0,0 @@
|
|
|
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;
|
|
@@ -1,58 +0,0 @@
|
|
|
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;
|
|
@@ -1,67 +0,0 @@
|
|
|
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;
|
|
@@ -1,49 +0,0 @@
|
|
|
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;
|
|
@@ -1,59 +0,0 @@
|
|
|
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;
|
|
@@ -1,56 +0,0 @@
|
|
|
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 { ConfigContent } from './ConfigContent';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Config
|
|
17
|
-
*/
|
|
18
|
-
export interface Config {
|
|
19
|
-
/**
|
|
20
|
-
* The config ID.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Config
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
* The ID of the revision that this config is based on.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Config
|
|
29
|
-
*/
|
|
30
|
-
revisionId: string;
|
|
31
|
-
/**
|
|
32
|
-
* The time the config was created.
|
|
33
|
-
* @type {Date}
|
|
34
|
-
* @memberof Config
|
|
35
|
-
*/
|
|
36
|
-
createTime: Date;
|
|
37
|
-
/**
|
|
38
|
-
* The person who created the config, in the format of "consumer:{consumer-id}" or "builder:{builder-id}".
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Config
|
|
41
|
-
*/
|
|
42
|
-
createdBy: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {ConfigContent}
|
|
46
|
-
* @memberof Config
|
|
47
|
-
*/
|
|
48
|
-
content: ConfigContent;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the Config interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfConfig(value: object): boolean;
|
|
54
|
-
export declare function ConfigFromJSON(json: any): Config;
|
|
55
|
-
export declare function ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): Config;
|
|
56
|
-
export declare function ConfigToJSON(value?: Config | null): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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.ConfigToJSON = exports.ConfigFromJSONTyped = exports.ConfigFromJSON = exports.instanceOfConfig = void 0;
|
|
17
|
-
const ConfigContent_1 = require("./ConfigContent");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the Config interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfConfig(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
isInstance = isInstance && "id" in value;
|
|
24
|
-
isInstance = isInstance && "revisionId" in value;
|
|
25
|
-
isInstance = isInstance && "createTime" in value;
|
|
26
|
-
isInstance = isInstance && "createdBy" in value;
|
|
27
|
-
isInstance = isInstance && "content" in value;
|
|
28
|
-
return isInstance;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfConfig = instanceOfConfig;
|
|
31
|
-
function ConfigFromJSON(json) {
|
|
32
|
-
return ConfigFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.ConfigFromJSON = ConfigFromJSON;
|
|
35
|
-
function ConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'id': json['id'],
|
|
41
|
-
'revisionId': json['revisionId'],
|
|
42
|
-
'createTime': (new Date(json['createTime'])),
|
|
43
|
-
'createdBy': json['createdBy'],
|
|
44
|
-
'content': (0, ConfigContent_1.ConfigContentFromJSON)(json['content']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.ConfigFromJSONTyped = ConfigFromJSONTyped;
|
|
48
|
-
function ConfigToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value.id,
|
|
57
|
-
'revisionId': value.revisionId,
|
|
58
|
-
'createTime': (value.createTime.toISOString()),
|
|
59
|
-
'createdBy': value.createdBy,
|
|
60
|
-
'content': (0, ConfigContent_1.ConfigContentToJSON)(value.content),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.ConfigToJSON = ConfigToJSON;
|