@amp-labs/react 1.5.3 → 1.7.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 +7854 -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 -144
- package/build/generated-sources/api/src/apis/ProjectApi.js +0 -170
- 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/ApiKeyOpts.d.ts +0 -63
- package/build/generated-sources/api/src/models/ApiKeyOpts.js +0 -66
- 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 -25
- package/build/generated-sources/api/src/models/AuthType.js +0 -38
- 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 -65
- package/build/generated-sources/api/src/models/BaseReadConfigObject.js +0 -60
- 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/Oauth2Opts.d.ts +0 -77
- package/build/generated-sources/api/src/models/Oauth2Opts.js +0 -76
- 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/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/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 -85
- package/build/generated-sources/api/src/models/ProviderInfo.js +0 -75
- 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,140 +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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
-
}) : function(o, v) {
|
|
29
|
-
o["default"] = v;
|
|
30
|
-
});
|
|
31
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
35
|
-
__setModuleDefault(result, mod);
|
|
36
|
-
return result;
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.OperationEventApi = void 0;
|
|
40
|
-
const runtime = __importStar(require("../runtime"));
|
|
41
|
-
const models_1 = require("../models");
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
class OperationEventApi extends runtime.BaseAPI {
|
|
46
|
-
/**
|
|
47
|
-
* Get an operation event
|
|
48
|
-
*/
|
|
49
|
-
async getOperationEventRaw(requestParameters, initOverrides) {
|
|
50
|
-
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
51
|
-
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getOperationEvent.');
|
|
52
|
-
}
|
|
53
|
-
if (requestParameters.operationId === null || requestParameters.operationId === undefined) {
|
|
54
|
-
throw new runtime.RequiredError('operationId', 'Required parameter requestParameters.operationId was null or undefined when calling getOperationEvent.');
|
|
55
|
-
}
|
|
56
|
-
if (requestParameters.eventId === null || requestParameters.eventId === undefined) {
|
|
57
|
-
throw new runtime.RequiredError('eventId', 'Required parameter requestParameters.eventId was null or undefined when calling getOperationEvent.');
|
|
58
|
-
}
|
|
59
|
-
const queryParameters = {};
|
|
60
|
-
const headerParameters = {};
|
|
61
|
-
const response = await this.request({
|
|
62
|
-
path: `/projects/{projectId}/operations/{operationId}/events/{eventId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"operationId"}}`, encodeURIComponent(String(requestParameters.operationId))).replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters.eventId))),
|
|
63
|
-
method: 'GET',
|
|
64
|
-
headers: headerParameters,
|
|
65
|
-
query: queryParameters,
|
|
66
|
-
}, initOverrides);
|
|
67
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OperationEventFromJSON)(jsonValue));
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Get an operation event
|
|
71
|
-
*/
|
|
72
|
-
async getOperationEvent(requestParameters, initOverrides) {
|
|
73
|
-
const response = await this.getOperationEventRaw(requestParameters, initOverrides);
|
|
74
|
-
return await response.value();
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* List logs for an operation event
|
|
78
|
-
*/
|
|
79
|
-
async listOperationEventLogsRaw(requestParameters, initOverrides) {
|
|
80
|
-
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
81
|
-
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling listOperationEventLogs.');
|
|
82
|
-
}
|
|
83
|
-
if (requestParameters.operationId === null || requestParameters.operationId === undefined) {
|
|
84
|
-
throw new runtime.RequiredError('operationId', 'Required parameter requestParameters.operationId was null or undefined when calling listOperationEventLogs.');
|
|
85
|
-
}
|
|
86
|
-
if (requestParameters.eventId === null || requestParameters.eventId === undefined) {
|
|
87
|
-
throw new runtime.RequiredError('eventId', 'Required parameter requestParameters.eventId was null or undefined when calling listOperationEventLogs.');
|
|
88
|
-
}
|
|
89
|
-
const queryParameters = {};
|
|
90
|
-
const headerParameters = {};
|
|
91
|
-
const response = await this.request({
|
|
92
|
-
path: `/projects/{projectId}/operations/{operationId}/events/{eventId}/logs`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"operationId"}}`, encodeURIComponent(String(requestParameters.operationId))).replace(`{${"eventId"}}`, encodeURIComponent(String(requestParameters.eventId))),
|
|
93
|
-
method: 'GET',
|
|
94
|
-
headers: headerParameters,
|
|
95
|
-
query: queryParameters,
|
|
96
|
-
}, initOverrides);
|
|
97
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.LogFromJSON));
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* List logs for an operation event
|
|
101
|
-
*/
|
|
102
|
-
async listOperationEventLogs(requestParameters, initOverrides) {
|
|
103
|
-
const response = await this.listOperationEventLogsRaw(requestParameters, initOverrides);
|
|
104
|
-
return await response.value();
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* List events for an operation
|
|
108
|
-
*/
|
|
109
|
-
async listOperationEventsRaw(requestParameters, initOverrides) {
|
|
110
|
-
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
111
|
-
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling listOperationEvents.');
|
|
112
|
-
}
|
|
113
|
-
if (requestParameters.integrationId === null || requestParameters.integrationId === undefined) {
|
|
114
|
-
throw new runtime.RequiredError('integrationId', 'Required parameter requestParameters.integrationId was null or undefined when calling listOperationEvents.');
|
|
115
|
-
}
|
|
116
|
-
if (requestParameters.installationId === null || requestParameters.installationId === undefined) {
|
|
117
|
-
throw new runtime.RequiredError('installationId', 'Required parameter requestParameters.installationId was null or undefined when calling listOperationEvents.');
|
|
118
|
-
}
|
|
119
|
-
if (requestParameters.operationId === null || requestParameters.operationId === undefined) {
|
|
120
|
-
throw new runtime.RequiredError('operationId', 'Required parameter requestParameters.operationId was null or undefined when calling listOperationEvents.');
|
|
121
|
-
}
|
|
122
|
-
const queryParameters = {};
|
|
123
|
-
const headerParameters = {};
|
|
124
|
-
const response = await this.request({
|
|
125
|
-
path: `/projects/{projectId}/integrations/{integrationId}/installations/{installationId}/operations/{operationId}/events`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"integrationId"}}`, encodeURIComponent(String(requestParameters.integrationId))).replace(`{${"installationId"}}`, encodeURIComponent(String(requestParameters.installationId))).replace(`{${"operationId"}}`, encodeURIComponent(String(requestParameters.operationId))),
|
|
126
|
-
method: 'GET',
|
|
127
|
-
headers: headerParameters,
|
|
128
|
-
query: queryParameters,
|
|
129
|
-
}, initOverrides);
|
|
130
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.OperationEventFromJSON));
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* List events for an operation
|
|
134
|
-
*/
|
|
135
|
-
async listOperationEvents(requestParameters, initOverrides) {
|
|
136
|
-
const response = await this.listOperationEventsRaw(requestParameters, initOverrides);
|
|
137
|
-
return await response.value();
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
exports.OperationEventApi = OperationEventApi;
|
|
@@ -1,226 +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 * as runtime from '../runtime';
|
|
13
|
-
import type { Builder, CreateOrgInviteRequest, CreateOrgRequest, Invite, Org, UpdateOrgRequest } from '../models';
|
|
14
|
-
export interface CreateOrgOperationRequest {
|
|
15
|
-
org: CreateOrgRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface CreateOrgInviteOperationRequest {
|
|
18
|
-
orgId: string;
|
|
19
|
-
createOrgInviteRequest?: CreateOrgInviteRequest;
|
|
20
|
-
}
|
|
21
|
-
export interface DeleteOrgInviteRequest {
|
|
22
|
-
orgId: string;
|
|
23
|
-
inviteId: string;
|
|
24
|
-
}
|
|
25
|
-
export interface GetOrgRequest {
|
|
26
|
-
orgId: string;
|
|
27
|
-
}
|
|
28
|
-
export interface GetOrgInviteRequest {
|
|
29
|
-
orgId: string;
|
|
30
|
-
inviteId: string;
|
|
31
|
-
}
|
|
32
|
-
export interface ListOrgBuildersRequest {
|
|
33
|
-
orgId: string;
|
|
34
|
-
}
|
|
35
|
-
export interface ListOrgInvitesRequest {
|
|
36
|
-
orgId: string;
|
|
37
|
-
}
|
|
38
|
-
export interface UpdateOrgOperationRequest {
|
|
39
|
-
orgId: string;
|
|
40
|
-
updateOrgRequest: UpdateOrgRequest;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* OrgApi - interface
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @interface OrgApiInterface
|
|
47
|
-
*/
|
|
48
|
-
export interface OrgApiInterface {
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @summary Create a new organization
|
|
52
|
-
* @param {CreateOrgRequest} org
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
* @memberof OrgApiInterface
|
|
56
|
-
*/
|
|
57
|
-
createOrgRaw(requestParameters: CreateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
58
|
-
/**
|
|
59
|
-
* Create a new organization
|
|
60
|
-
*/
|
|
61
|
-
createOrg(requestParameters: CreateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @summary Invite a user to an organization
|
|
65
|
-
* @param {string} orgId
|
|
66
|
-
* @param {CreateOrgInviteRequest} [createOrgInviteRequest]
|
|
67
|
-
* @param {*} [options] Override http request option.
|
|
68
|
-
* @throws {RequiredError}
|
|
69
|
-
* @memberof OrgApiInterface
|
|
70
|
-
*/
|
|
71
|
-
createOrgInviteRaw(requestParameters: CreateOrgInviteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Invite>>;
|
|
72
|
-
/**
|
|
73
|
-
* Invite a user to an organization
|
|
74
|
-
*/
|
|
75
|
-
createOrgInvite(requestParameters: CreateOrgInviteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Invite>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary Revoke an invite
|
|
79
|
-
* @param {string} orgId
|
|
80
|
-
* @param {string} inviteId
|
|
81
|
-
* @param {*} [options] Override http request option.
|
|
82
|
-
* @throws {RequiredError}
|
|
83
|
-
* @memberof OrgApiInterface
|
|
84
|
-
*/
|
|
85
|
-
deleteOrgInviteRaw(requestParameters: DeleteOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
86
|
-
/**
|
|
87
|
-
* Revoke an invite
|
|
88
|
-
*/
|
|
89
|
-
deleteOrgInvite(requestParameters: DeleteOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @summary Get an organization
|
|
93
|
-
* @param {string} orgId
|
|
94
|
-
* @param {*} [options] Override http request option.
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
* @memberof OrgApiInterface
|
|
97
|
-
*/
|
|
98
|
-
getOrgRaw(requestParameters: GetOrgRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
99
|
-
/**
|
|
100
|
-
* Get an organization
|
|
101
|
-
*/
|
|
102
|
-
getOrg(requestParameters: GetOrgRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @summary Get an invite
|
|
106
|
-
* @param {string} orgId
|
|
107
|
-
* @param {string} inviteId
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
* @memberof OrgApiInterface
|
|
111
|
-
*/
|
|
112
|
-
getOrgInviteRaw(requestParameters: GetOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Invite>>;
|
|
113
|
-
/**
|
|
114
|
-
* Get an invite
|
|
115
|
-
*/
|
|
116
|
-
getOrgInvite(requestParameters: GetOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Invite>;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @summary List builders for an organization
|
|
120
|
-
* @param {string} orgId
|
|
121
|
-
* @param {*} [options] Override http request option.
|
|
122
|
-
* @throws {RequiredError}
|
|
123
|
-
* @memberof OrgApiInterface
|
|
124
|
-
*/
|
|
125
|
-
listOrgBuildersRaw(requestParameters: ListOrgBuildersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Builder>>>;
|
|
126
|
-
/**
|
|
127
|
-
* List builders for an organization
|
|
128
|
-
*/
|
|
129
|
-
listOrgBuilders(requestParameters: ListOrgBuildersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Builder>>;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary List invites for an organization
|
|
133
|
-
* @param {string} orgId
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
* @memberof OrgApiInterface
|
|
137
|
-
*/
|
|
138
|
-
listOrgInvitesRaw(requestParameters: ListOrgInvitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Invite>>>;
|
|
139
|
-
/**
|
|
140
|
-
* List invites for an organization
|
|
141
|
-
*/
|
|
142
|
-
listOrgInvites(requestParameters: ListOrgInvitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Invite>>;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @summary Update an organization
|
|
146
|
-
* @param {string} orgId
|
|
147
|
-
* @param {UpdateOrgRequest} updateOrgRequest
|
|
148
|
-
* @param {*} [options] Override http request option.
|
|
149
|
-
* @throws {RequiredError}
|
|
150
|
-
* @memberof OrgApiInterface
|
|
151
|
-
*/
|
|
152
|
-
updateOrgRaw(requestParameters: UpdateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
153
|
-
/**
|
|
154
|
-
* Update an organization
|
|
155
|
-
*/
|
|
156
|
-
updateOrg(requestParameters: UpdateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
*/
|
|
161
|
-
export declare class OrgApi extends runtime.BaseAPI implements OrgApiInterface {
|
|
162
|
-
/**
|
|
163
|
-
* Create a new organization
|
|
164
|
-
*/
|
|
165
|
-
createOrgRaw(requestParameters: CreateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
166
|
-
/**
|
|
167
|
-
* Create a new organization
|
|
168
|
-
*/
|
|
169
|
-
createOrg(requestParameters: CreateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
170
|
-
/**
|
|
171
|
-
* Invite a user to an organization
|
|
172
|
-
*/
|
|
173
|
-
createOrgInviteRaw(requestParameters: CreateOrgInviteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Invite>>;
|
|
174
|
-
/**
|
|
175
|
-
* Invite a user to an organization
|
|
176
|
-
*/
|
|
177
|
-
createOrgInvite(requestParameters: CreateOrgInviteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Invite>;
|
|
178
|
-
/**
|
|
179
|
-
* Revoke an invite
|
|
180
|
-
*/
|
|
181
|
-
deleteOrgInviteRaw(requestParameters: DeleteOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
182
|
-
/**
|
|
183
|
-
* Revoke an invite
|
|
184
|
-
*/
|
|
185
|
-
deleteOrgInvite(requestParameters: DeleteOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
186
|
-
/**
|
|
187
|
-
* Get an organization
|
|
188
|
-
*/
|
|
189
|
-
getOrgRaw(requestParameters: GetOrgRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
190
|
-
/**
|
|
191
|
-
* Get an organization
|
|
192
|
-
*/
|
|
193
|
-
getOrg(requestParameters: GetOrgRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
194
|
-
/**
|
|
195
|
-
* Get an invite
|
|
196
|
-
*/
|
|
197
|
-
getOrgInviteRaw(requestParameters: GetOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Invite>>;
|
|
198
|
-
/**
|
|
199
|
-
* Get an invite
|
|
200
|
-
*/
|
|
201
|
-
getOrgInvite(requestParameters: GetOrgInviteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Invite>;
|
|
202
|
-
/**
|
|
203
|
-
* List builders for an organization
|
|
204
|
-
*/
|
|
205
|
-
listOrgBuildersRaw(requestParameters: ListOrgBuildersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Builder>>>;
|
|
206
|
-
/**
|
|
207
|
-
* List builders for an organization
|
|
208
|
-
*/
|
|
209
|
-
listOrgBuilders(requestParameters: ListOrgBuildersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Builder>>;
|
|
210
|
-
/**
|
|
211
|
-
* List invites for an organization
|
|
212
|
-
*/
|
|
213
|
-
listOrgInvitesRaw(requestParameters: ListOrgInvitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Invite>>>;
|
|
214
|
-
/**
|
|
215
|
-
* List invites for an organization
|
|
216
|
-
*/
|
|
217
|
-
listOrgInvites(requestParameters: ListOrgInvitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Invite>>;
|
|
218
|
-
/**
|
|
219
|
-
* Update an organization
|
|
220
|
-
*/
|
|
221
|
-
updateOrgRaw(requestParameters: UpdateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Org>>;
|
|
222
|
-
/**
|
|
223
|
-
* Update an organization
|
|
224
|
-
*/
|
|
225
|
-
updateOrg(requestParameters: UpdateOrgOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Org>;
|
|
226
|
-
}
|
|
@@ -1,253 +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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
-
}) : function(o, v) {
|
|
29
|
-
o["default"] = v;
|
|
30
|
-
});
|
|
31
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
35
|
-
__setModuleDefault(result, mod);
|
|
36
|
-
return result;
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.OrgApi = void 0;
|
|
40
|
-
const runtime = __importStar(require("../runtime"));
|
|
41
|
-
const models_1 = require("../models");
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
class OrgApi extends runtime.BaseAPI {
|
|
46
|
-
/**
|
|
47
|
-
* Create a new organization
|
|
48
|
-
*/
|
|
49
|
-
async createOrgRaw(requestParameters, initOverrides) {
|
|
50
|
-
if (requestParameters.org === null || requestParameters.org === undefined) {
|
|
51
|
-
throw new runtime.RequiredError('org', 'Required parameter requestParameters.org was null or undefined when calling createOrg.');
|
|
52
|
-
}
|
|
53
|
-
const queryParameters = {};
|
|
54
|
-
const headerParameters = {};
|
|
55
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
56
|
-
const response = await this.request({
|
|
57
|
-
path: `/orgs`,
|
|
58
|
-
method: 'POST',
|
|
59
|
-
headers: headerParameters,
|
|
60
|
-
query: queryParameters,
|
|
61
|
-
body: (0, models_1.CreateOrgRequestToJSON)(requestParameters.org),
|
|
62
|
-
}, initOverrides);
|
|
63
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OrgFromJSON)(jsonValue));
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Create a new organization
|
|
67
|
-
*/
|
|
68
|
-
async createOrg(requestParameters, initOverrides) {
|
|
69
|
-
const response = await this.createOrgRaw(requestParameters, initOverrides);
|
|
70
|
-
return await response.value();
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Invite a user to an organization
|
|
74
|
-
*/
|
|
75
|
-
async createOrgInviteRaw(requestParameters, initOverrides) {
|
|
76
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
77
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling createOrgInvite.');
|
|
78
|
-
}
|
|
79
|
-
const queryParameters = {};
|
|
80
|
-
const headerParameters = {};
|
|
81
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
82
|
-
const response = await this.request({
|
|
83
|
-
path: `/orgs/{orgId}/invites`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))),
|
|
84
|
-
method: 'POST',
|
|
85
|
-
headers: headerParameters,
|
|
86
|
-
query: queryParameters,
|
|
87
|
-
body: (0, models_1.CreateOrgInviteRequestToJSON)(requestParameters.createOrgInviteRequest),
|
|
88
|
-
}, initOverrides);
|
|
89
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.InviteFromJSON)(jsonValue));
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Invite a user to an organization
|
|
93
|
-
*/
|
|
94
|
-
async createOrgInvite(requestParameters, initOverrides) {
|
|
95
|
-
const response = await this.createOrgInviteRaw(requestParameters, initOverrides);
|
|
96
|
-
return await response.value();
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Revoke an invite
|
|
100
|
-
*/
|
|
101
|
-
async deleteOrgInviteRaw(requestParameters, initOverrides) {
|
|
102
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
103
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling deleteOrgInvite.');
|
|
104
|
-
}
|
|
105
|
-
if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
|
|
106
|
-
throw new runtime.RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling deleteOrgInvite.');
|
|
107
|
-
}
|
|
108
|
-
const queryParameters = {};
|
|
109
|
-
const headerParameters = {};
|
|
110
|
-
const response = await this.request({
|
|
111
|
-
path: `/orgs/{orgId}/invites/{inviteId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
|
|
112
|
-
method: 'DELETE',
|
|
113
|
-
headers: headerParameters,
|
|
114
|
-
query: queryParameters,
|
|
115
|
-
}, initOverrides);
|
|
116
|
-
return new runtime.VoidApiResponse(response);
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Revoke an invite
|
|
120
|
-
*/
|
|
121
|
-
async deleteOrgInvite(requestParameters, initOverrides) {
|
|
122
|
-
await this.deleteOrgInviteRaw(requestParameters, initOverrides);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Get an organization
|
|
126
|
-
*/
|
|
127
|
-
async getOrgRaw(requestParameters, initOverrides) {
|
|
128
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
129
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling getOrg.');
|
|
130
|
-
}
|
|
131
|
-
const queryParameters = {};
|
|
132
|
-
const headerParameters = {};
|
|
133
|
-
const response = await this.request({
|
|
134
|
-
path: `/orgs/{orgId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))),
|
|
135
|
-
method: 'GET',
|
|
136
|
-
headers: headerParameters,
|
|
137
|
-
query: queryParameters,
|
|
138
|
-
}, initOverrides);
|
|
139
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OrgFromJSON)(jsonValue));
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Get an organization
|
|
143
|
-
*/
|
|
144
|
-
async getOrg(requestParameters, initOverrides) {
|
|
145
|
-
const response = await this.getOrgRaw(requestParameters, initOverrides);
|
|
146
|
-
return await response.value();
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Get an invite
|
|
150
|
-
*/
|
|
151
|
-
async getOrgInviteRaw(requestParameters, initOverrides) {
|
|
152
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
153
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling getOrgInvite.');
|
|
154
|
-
}
|
|
155
|
-
if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
|
|
156
|
-
throw new runtime.RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling getOrgInvite.');
|
|
157
|
-
}
|
|
158
|
-
const queryParameters = {};
|
|
159
|
-
const headerParameters = {};
|
|
160
|
-
const response = await this.request({
|
|
161
|
-
path: `/orgs/{orgId}/invites/{inviteId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
|
|
162
|
-
method: 'GET',
|
|
163
|
-
headers: headerParameters,
|
|
164
|
-
query: queryParameters,
|
|
165
|
-
}, initOverrides);
|
|
166
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.InviteFromJSON)(jsonValue));
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Get an invite
|
|
170
|
-
*/
|
|
171
|
-
async getOrgInvite(requestParameters, initOverrides) {
|
|
172
|
-
const response = await this.getOrgInviteRaw(requestParameters, initOverrides);
|
|
173
|
-
return await response.value();
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* List builders for an organization
|
|
177
|
-
*/
|
|
178
|
-
async listOrgBuildersRaw(requestParameters, initOverrides) {
|
|
179
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
180
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling listOrgBuilders.');
|
|
181
|
-
}
|
|
182
|
-
const queryParameters = {};
|
|
183
|
-
const headerParameters = {};
|
|
184
|
-
const response = await this.request({
|
|
185
|
-
path: `/orgs/{orgId}/builders`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))),
|
|
186
|
-
method: 'GET',
|
|
187
|
-
headers: headerParameters,
|
|
188
|
-
query: queryParameters,
|
|
189
|
-
}, initOverrides);
|
|
190
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.BuilderFromJSON));
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
* List builders for an organization
|
|
194
|
-
*/
|
|
195
|
-
async listOrgBuilders(requestParameters, initOverrides) {
|
|
196
|
-
const response = await this.listOrgBuildersRaw(requestParameters, initOverrides);
|
|
197
|
-
return await response.value();
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* List invites for an organization
|
|
201
|
-
*/
|
|
202
|
-
async listOrgInvitesRaw(requestParameters, initOverrides) {
|
|
203
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
204
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling listOrgInvites.');
|
|
205
|
-
}
|
|
206
|
-
const queryParameters = {};
|
|
207
|
-
const headerParameters = {};
|
|
208
|
-
const response = await this.request({
|
|
209
|
-
path: `/orgs/{orgId}/invites`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))),
|
|
210
|
-
method: 'GET',
|
|
211
|
-
headers: headerParameters,
|
|
212
|
-
query: queryParameters,
|
|
213
|
-
}, initOverrides);
|
|
214
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.InviteFromJSON));
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* List invites for an organization
|
|
218
|
-
*/
|
|
219
|
-
async listOrgInvites(requestParameters, initOverrides) {
|
|
220
|
-
const response = await this.listOrgInvitesRaw(requestParameters, initOverrides);
|
|
221
|
-
return await response.value();
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Update an organization
|
|
225
|
-
*/
|
|
226
|
-
async updateOrgRaw(requestParameters, initOverrides) {
|
|
227
|
-
if (requestParameters.orgId === null || requestParameters.orgId === undefined) {
|
|
228
|
-
throw new runtime.RequiredError('orgId', 'Required parameter requestParameters.orgId was null or undefined when calling updateOrg.');
|
|
229
|
-
}
|
|
230
|
-
if (requestParameters.updateOrgRequest === null || requestParameters.updateOrgRequest === undefined) {
|
|
231
|
-
throw new runtime.RequiredError('updateOrgRequest', 'Required parameter requestParameters.updateOrgRequest was null or undefined when calling updateOrg.');
|
|
232
|
-
}
|
|
233
|
-
const queryParameters = {};
|
|
234
|
-
const headerParameters = {};
|
|
235
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
236
|
-
const response = await this.request({
|
|
237
|
-
path: `/orgs/{orgId}`.replace(`{${"orgId"}}`, encodeURIComponent(String(requestParameters.orgId))),
|
|
238
|
-
method: 'PATCH',
|
|
239
|
-
headers: headerParameters,
|
|
240
|
-
query: queryParameters,
|
|
241
|
-
body: (0, models_1.UpdateOrgRequestToJSON)(requestParameters.updateOrgRequest),
|
|
242
|
-
}, initOverrides);
|
|
243
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OrgFromJSON)(jsonValue));
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Update an organization
|
|
247
|
-
*/
|
|
248
|
-
async updateOrg(requestParameters, initOverrides) {
|
|
249
|
-
const response = await this.updateOrgRaw(requestParameters, initOverrides);
|
|
250
|
-
return await response.value();
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
exports.OrgApi = OrgApi;
|