@dynamic-labs/sdk-api 0.0.291 → 0.0.293
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/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +380 -380
- package/src/apis/AllowlistsApi.d.ts +135 -135
- package/src/apis/AllowlistsApi.js +380 -380
- package/src/apis/AnalyticsApi.cjs +85 -85
- package/src/apis/AnalyticsApi.d.ts +42 -42
- package/src/apis/AnalyticsApi.js +85 -85
- package/src/apis/ChainTokensApi.d.ts +29 -29
- package/src/apis/ChainalysisApi.cjs +110 -110
- package/src/apis/ChainalysisApi.d.ts +51 -51
- package/src/apis/ChainalysisApi.js +110 -110
- package/src/apis/ChainsApi.cjs +43 -43
- package/src/apis/ChainsApi.d.ts +30 -30
- package/src/apis/ChainsApi.js +43 -43
- package/src/apis/EnvironmentsApi.cjs +216 -216
- package/src/apis/EnvironmentsApi.d.ts +85 -85
- package/src/apis/EnvironmentsApi.js +216 -216
- package/src/apis/ExportsApi.cjs +135 -135
- package/src/apis/ExportsApi.d.ts +63 -63
- package/src/apis/ExportsApi.js +135 -135
- package/src/apis/GatesApi.cjs +231 -231
- package/src/apis/GatesApi.d.ts +97 -97
- package/src/apis/GatesApi.js +231 -231
- package/src/apis/InvitesApi.cjs +190 -190
- package/src/apis/InvitesApi.d.ts +75 -75
- package/src/apis/InvitesApi.js +190 -190
- package/src/apis/MembersApi.cjs +74 -74
- package/src/apis/MembersApi.d.ts +40 -40
- package/src/apis/MembersApi.js +74 -74
- package/src/apis/OrganizationsApi.cjs +253 -253
- package/src/apis/OrganizationsApi.d.ts +93 -93
- package/src/apis/OrganizationsApi.js +253 -253
- package/src/apis/OriginsApi.cjs +100 -100
- package/src/apis/OriginsApi.d.ts +52 -52
- package/src/apis/OriginsApi.js +100 -100
- package/src/apis/ProjectsApi.cjs +189 -189
- package/src/apis/ProjectsApi.d.ts +75 -75
- package/src/apis/ProjectsApi.js +189 -189
- package/src/apis/SDKApi.cjs +1967 -1967
- package/src/apis/SDKApi.d.ts +763 -763
- package/src/apis/SDKApi.js +1967 -1967
- package/src/apis/SDKViewsApi.cjs +100 -100
- package/src/apis/SDKViewsApi.d.ts +54 -54
- package/src/apis/SDKViewsApi.js +100 -100
- package/src/apis/SessionsApi.cjs +40 -40
- package/src/apis/SessionsApi.d.ts +29 -29
- package/src/apis/SessionsApi.js +40 -40
- package/src/apis/SettingsApi.cjs +259 -259
- package/src/apis/SettingsApi.d.ts +108 -108
- package/src/apis/SettingsApi.js +259 -259
- package/src/apis/TokensApi.cjs +114 -114
- package/src/apis/TokensApi.d.ts +52 -52
- package/src/apis/TokensApi.js +114 -114
- package/src/apis/UsersApi.cjs +201 -201
- package/src/apis/UsersApi.d.ts +79 -79
- package/src/apis/UsersApi.js +201 -201
- package/src/apis/VisitsApi.cjs +52 -52
- package/src/apis/VisitsApi.d.ts +33 -33
- package/src/apis/VisitsApi.js +52 -52
- package/src/apis/WalletsApi.cjs +149 -149
- package/src/apis/WalletsApi.d.ts +63 -63
- package/src/apis/WalletsApi.js +149 -149
- package/src/apis/index.d.ts +20 -20
- package/src/index.d.ts +3 -3
- package/src/models/AccessOutcomeEnum.cjs +31 -31
- package/src/models/AccessOutcomeEnum.d.ts +23 -23
- package/src/models/AccessOutcomeEnum.js +31 -31
- package/src/models/Allowlist.cjs +32 -32
- package/src/models/Allowlist.d.ts +58 -58
- package/src/models/Allowlist.js +32 -32
- package/src/models/AllowlistEntriesResponse.cjs +24 -24
- package/src/models/AllowlistEntriesResponse.d.ts +34 -34
- package/src/models/AllowlistEntriesResponse.js +24 -24
- package/src/models/AllowlistEntry.cjs +30 -30
- package/src/models/AllowlistEntry.d.ts +51 -51
- package/src/models/AllowlistEntry.js +30 -30
- package/src/models/AnalyticsSessionsByDate.cjs +24 -24
- package/src/models/AnalyticsSessionsByDate.d.ts +34 -34
- package/src/models/AnalyticsSessionsByDate.js +24 -24
- package/src/models/AnalyticsSessionsByDateSessions.cjs +24 -24
- package/src/models/AnalyticsSessionsByDateSessions.d.ts +33 -33
- package/src/models/AnalyticsSessionsByDateSessions.js +24 -24
- package/src/models/AnalyticsVisitResponse.cjs +28 -28
- package/src/models/AnalyticsVisitResponse.d.ts +46 -46
- package/src/models/AnalyticsVisitResponse.js +28 -28
- package/src/models/AuthModeEnum.cjs +31 -31
- package/src/models/AuthModeEnum.d.ts +23 -23
- package/src/models/AuthModeEnum.js +31 -31
- package/src/models/AuthenticatorTransportProtocol.cjs +34 -34
- package/src/models/AuthenticatorTransportProtocol.d.ts +26 -26
- package/src/models/AuthenticatorTransportProtocol.js +34 -34
- package/src/models/BadRequest.cjs +22 -22
- package/src/models/BadRequest.d.ts +27 -27
- package/src/models/BadRequest.js +22 -22
- package/src/models/BillingSubscription.cjs +38 -38
- package/src/models/BillingSubscription.d.ts +76 -76
- package/src/models/BillingSubscription.js +38 -38
- package/src/models/BillingSubscriptionPlanTypeEnum.cjs +32 -32
- package/src/models/BillingSubscriptionPlanTypeEnum.d.ts +24 -24
- package/src/models/BillingSubscriptionPlanTypeEnum.js +32 -32
- package/src/models/ChainEnum.cjs +36 -36
- package/src/models/ChainEnum.d.ts +28 -28
- package/src/models/ChainEnum.js +36 -36
- package/src/models/ChainToken.cjs +26 -26
- package/src/models/ChainToken.d.ts +40 -40
- package/src/models/ChainToken.js +26 -26
- package/src/models/ChainalysisCheck.cjs +30 -30
- package/src/models/ChainalysisCheck.d.ts +52 -52
- package/src/models/ChainalysisCheck.js +30 -30
- package/src/models/ChainalysisCheckResultEnum.cjs +32 -32
- package/src/models/ChainalysisCheckResultEnum.d.ts +24 -24
- package/src/models/ChainalysisCheckResultEnum.js +32 -32
- package/src/models/ChainalysisConfiguration.cjs +44 -44
- package/src/models/ChainalysisConfiguration.d.ts +57 -57
- package/src/models/ChainalysisConfiguration.js +44 -44
- package/src/models/ConnectRequest.cjs +30 -30
- package/src/models/ConnectRequest.d.ts +54 -54
- package/src/models/ConnectRequest.js +30 -30
- package/src/models/CreateEmbeddedWalletParams.cjs +26 -26
- package/src/models/CreateEmbeddedWalletParams.d.ts +42 -42
- package/src/models/CreateEmbeddedWalletParams.js +26 -26
- package/src/models/CreateEmbeddedWalletSpecificOpts.cjs +18 -18
- package/src/models/CreateEmbeddedWalletSpecificOpts.d.ts +21 -21
- package/src/models/CreateEmbeddedWalletSpecificOpts.js +18 -18
- package/src/models/CreateEmbeddedWalletsRequest.cjs +22 -22
- package/src/models/CreateEmbeddedWalletsRequest.d.ts +28 -28
- package/src/models/CreateEmbeddedWalletsRequest.js +22 -22
- package/src/models/CreateProjectResponse.cjs +22 -22
- package/src/models/CreateProjectResponse.d.ts +28 -28
- package/src/models/CreateProjectResponse.js +22 -22
- package/src/models/CreateProjectResponseProject.cjs +28 -28
- package/src/models/CreateProjectResponseProject.d.ts +46 -46
- package/src/models/CreateProjectResponseProject.js +28 -28
- package/src/models/CreateProjectResponseProjectProjectEnvironments.cjs +24 -24
- package/src/models/CreateProjectResponseProjectProjectEnvironments.d.ts +33 -33
- package/src/models/CreateProjectResponseProjectProjectEnvironments.js +24 -24
- package/src/models/CreateTokenResponse.cjs +22 -22
- package/src/models/CreateTokenResponse.d.ts +28 -28
- package/src/models/CreateTokenResponse.js +22 -22
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.cjs +24 -24
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.d.ts +34 -34
- package/src/models/CreateTurnkeyEmbeddedWalletSpecificOpts.js +24 -24
- package/src/models/CreateWalletRequest.cjs +28 -28
- package/src/models/CreateWalletRequest.d.ts +47 -47
- package/src/models/CreateWalletRequest.js +28 -28
- package/src/models/Duration.cjs +24 -24
- package/src/models/Duration.d.ts +34 -34
- package/src/models/Duration.js +24 -24
- package/src/models/DynamicJwt.cjs +102 -102
- package/src/models/DynamicJwt.d.ts +271 -271
- package/src/models/DynamicJwt.js +102 -102
- package/src/models/EmailProviderResponse.cjs +22 -22
- package/src/models/EmailProviderResponse.d.ts +28 -28
- package/src/models/EmailProviderResponse.js +22 -22
- package/src/models/EmailVerificationCreateRequest.cjs +24 -24
- package/src/models/EmailVerificationCreateRequest.d.ts +33 -33
- package/src/models/EmailVerificationCreateRequest.js +24 -24
- package/src/models/EmailVerificationCreateResponse.cjs +36 -36
- package/src/models/EmailVerificationCreateResponse.d.ts +33 -33
- package/src/models/EmailVerificationCreateResponse.js +36 -36
- package/src/models/EmailVerificationRetryRequest.cjs +26 -26
- package/src/models/EmailVerificationRetryRequest.d.ts +39 -39
- package/src/models/EmailVerificationRetryRequest.js +26 -26
- package/src/models/EmailVerificationVerifyRequest.cjs +26 -26
- package/src/models/EmailVerificationVerifyRequest.d.ts +39 -39
- package/src/models/EmailVerificationVerifyRequest.js +26 -26
- package/src/models/EmbeddedWalletProviderEnum.cjs +30 -30
- package/src/models/EmbeddedWalletProviderEnum.d.ts +22 -22
- package/src/models/EmbeddedWalletProviderEnum.js +30 -30
- package/src/models/EnvironmentEnum.cjs +31 -31
- package/src/models/EnvironmentEnum.d.ts +23 -23
- package/src/models/EnvironmentEnum.js +31 -31
- package/src/models/EnvironmentVisitorsResponse.cjs +24 -24
- package/src/models/EnvironmentVisitorsResponse.d.ts +34 -34
- package/src/models/EnvironmentVisitorsResponse.js +24 -24
- package/src/models/EnvironmentVisitorsResponseUsers.cjs +22 -22
- package/src/models/EnvironmentVisitorsResponseUsers.d.ts +27 -27
- package/src/models/EnvironmentVisitorsResponseUsers.js +22 -22
- package/src/models/EnvironmentsResponse.cjs +22 -22
- package/src/models/EnvironmentsResponse.d.ts +28 -28
- package/src/models/EnvironmentsResponse.js +22 -22
- package/src/models/EnvironmentsResponseEnvironments.cjs +24 -24
- package/src/models/EnvironmentsResponseEnvironments.d.ts +34 -34
- package/src/models/EnvironmentsResponseEnvironments.js +24 -24
- package/src/models/ErrorMessageWithCode.cjs +24 -24
- package/src/models/ErrorMessageWithCode.d.ts +33 -33
- package/src/models/ErrorMessageWithCode.js +24 -24
- package/src/models/Export.cjs +40 -40
- package/src/models/Export.d.ts +85 -85
- package/src/models/Export.js +40 -40
- package/src/models/ExportCreateRequest.cjs +26 -26
- package/src/models/ExportCreateRequest.d.ts +42 -42
- package/src/models/ExportCreateRequest.js +26 -26
- package/src/models/ExportCreateRequestFilter.cjs +22 -22
- package/src/models/ExportCreateRequestFilter.d.ts +28 -28
- package/src/models/ExportCreateRequestFilter.js +22 -22
- package/src/models/ExportFormatEnum.cjs +30 -30
- package/src/models/ExportFormatEnum.d.ts +22 -22
- package/src/models/ExportFormatEnum.js +30 -30
- package/src/models/ExportModelEnum.cjs +30 -30
- package/src/models/ExportModelEnum.d.ts +22 -22
- package/src/models/ExportModelEnum.js +30 -30
- package/src/models/ExportStatusEnum.cjs +32 -32
- package/src/models/ExportStatusEnum.d.ts +24 -24
- package/src/models/ExportStatusEnum.js +32 -32
- package/src/models/ExportsResponse.cjs +22 -22
- package/src/models/ExportsResponse.d.ts +28 -28
- package/src/models/ExportsResponse.js +22 -22
- package/src/models/Forbidden.cjs +22 -22
- package/src/models/Forbidden.d.ts +27 -27
- package/src/models/Forbidden.js +22 -22
- package/src/models/ForbiddenErrorPayload.cjs +24 -24
- package/src/models/ForbiddenErrorPayload.d.ts +33 -33
- package/src/models/ForbiddenErrorPayload.js +24 -24
- package/src/models/ForbiddenWithErrorAndPayload.cjs +24 -24
- package/src/models/ForbiddenWithErrorAndPayload.d.ts +35 -35
- package/src/models/ForbiddenWithErrorAndPayload.js +24 -24
- package/src/models/Gate.cjs +32 -32
- package/src/models/Gate.d.ts +59 -59
- package/src/models/Gate.js +32 -32
- package/src/models/GateCreateRequest.cjs +28 -28
- package/src/models/GateCreateRequest.d.ts +47 -47
- package/src/models/GateCreateRequest.js +28 -28
- package/src/models/GateRule.cjs +26 -26
- package/src/models/GateRule.d.ts +42 -42
- package/src/models/GateRule.js +26 -26
- package/src/models/GateRuleFilter.cjs +22 -22
- package/src/models/GateRuleFilter.d.ts +27 -27
- package/src/models/GateRuleFilter.js +22 -22
- package/src/models/GateRuleType.cjs +31 -31
- package/src/models/GateRuleType.d.ts +23 -23
- package/src/models/GateRuleType.js +31 -31
- package/src/models/GateUpdateRequest.cjs +28 -28
- package/src/models/GateUpdateRequest.d.ts +47 -47
- package/src/models/GateUpdateRequest.js +28 -28
- package/src/models/GatesResponse.cjs +22 -22
- package/src/models/GatesResponse.d.ts +28 -28
- package/src/models/GatesResponse.js +22 -22
- package/src/models/HCaptchaSettings.cjs +26 -26
- package/src/models/HCaptchaSettings.d.ts +39 -39
- package/src/models/HCaptchaSettings.js +26 -26
- package/src/models/InlineObject.cjs +34 -34
- package/src/models/InlineObject.d.ts +27 -27
- package/src/models/InlineObject.js +34 -34
- package/src/models/InlineResponse201.cjs +22 -22
- package/src/models/InlineResponse201.d.ts +28 -28
- package/src/models/InlineResponse201.js +22 -22
- package/src/models/InlineResponse400.cjs +24 -24
- package/src/models/InlineResponse400.d.ts +33 -33
- package/src/models/InlineResponse400.js +24 -24
- package/src/models/IntegrationSetting.cjs +26 -26
- package/src/models/IntegrationSetting.d.ts +39 -39
- package/src/models/IntegrationSetting.js +26 -26
- package/src/models/InternalServerError.cjs +22 -22
- package/src/models/InternalServerError.d.ts +27 -27
- package/src/models/InternalServerError.js +22 -22
- package/src/models/InternalUserFields.cjs +60 -60
- package/src/models/InternalUserFields.d.ts +141 -141
- package/src/models/InternalUserFields.js +60 -60
- package/src/models/InternalUserFieldsAllOf.d.ts +27 -27
- package/src/models/Invite.cjs +34 -34
- package/src/models/Invite.d.ts +64 -64
- package/src/models/Invite.js +34 -34
- package/src/models/InviteConflictResponse.cjs +22 -22
- package/src/models/InviteConflictResponse.d.ts +27 -27
- package/src/models/InviteConflictResponse.js +22 -22
- package/src/models/InviteSendRequest.cjs +26 -26
- package/src/models/InviteSendRequest.d.ts +39 -39
- package/src/models/InviteSendRequest.js +26 -26
- package/src/models/InviteStatusEnum.cjs +32 -32
- package/src/models/InviteStatusEnum.d.ts +24 -24
- package/src/models/InviteStatusEnum.js +32 -32
- package/src/models/InviteUpdateRequest.cjs +22 -22
- package/src/models/InviteUpdateRequest.d.ts +28 -28
- package/src/models/InviteUpdateRequest.js +22 -22
- package/src/models/InvitesResponse.cjs +24 -24
- package/src/models/InvitesResponse.d.ts +34 -34
- package/src/models/InvitesResponse.js +24 -24
- package/src/models/JwksKey.cjs +32 -32
- package/src/models/JwksKey.d.ts +57 -57
- package/src/models/JwksKey.js +32 -32
- package/src/models/JwksResponse.cjs +22 -22
- package/src/models/JwksResponse.d.ts +28 -28
- package/src/models/JwksResponse.js +22 -22
- package/src/models/JwtBlockchainAccount.cjs +32 -32
- package/src/models/JwtBlockchainAccount.d.ts +59 -59
- package/src/models/JwtBlockchainAccount.js +32 -32
- package/src/models/JwtPayloadDeprecatedInfo.cjs +50 -50
- package/src/models/JwtPayloadDeprecatedInfo.d.ts +113 -113
- package/src/models/JwtPayloadDeprecatedInfo.js +50 -50
- package/src/models/JwtVerifiedCredential.cjs +58 -58
- package/src/models/JwtVerifiedCredential.d.ts +140 -140
- package/src/models/JwtVerifiedCredential.js +58 -58
- package/src/models/JwtVerifiedCredentialFormatEnum.cjs +33 -33
- package/src/models/JwtVerifiedCredentialFormatEnum.d.ts +25 -25
- package/src/models/JwtVerifiedCredentialFormatEnum.js +33 -33
- package/src/models/Key.cjs +24 -24
- package/src/models/Key.d.ts +33 -33
- package/src/models/Key.js +24 -24
- package/src/models/KeyResponse.cjs +22 -22
- package/src/models/KeyResponse.d.ts +28 -28
- package/src/models/KeyResponse.js +22 -22
- package/src/models/MethodNotAllowed.cjs +22 -22
- package/src/models/MethodNotAllowed.d.ts +27 -27
- package/src/models/MethodNotAllowed.js +22 -22
- package/src/models/NameService.cjs +22 -22
- package/src/models/NameService.d.ts +27 -27
- package/src/models/NameService.js +22 -22
- package/src/models/NameServiceData.cjs +24 -24
- package/src/models/NameServiceData.d.ts +33 -33
- package/src/models/NameServiceData.js +24 -24
- package/src/models/NativeCurrency.cjs +28 -28
- package/src/models/NativeCurrency.d.ts +45 -45
- package/src/models/NativeCurrency.js +28 -28
- package/src/models/Network.cjs +28 -28
- package/src/models/Network.d.ts +45 -45
- package/src/models/Network.js +28 -28
- package/src/models/NetworkConfiguration.cjs +48 -48
- package/src/models/NetworkConfiguration.d.ts +107 -107
- package/src/models/NetworkConfiguration.js +48 -48
- package/src/models/NetworkConfigurationResponse.cjs +24 -24
- package/src/models/NetworkConfigurationResponse.d.ts +34 -34
- package/src/models/NetworkConfigurationResponse.js +24 -24
- package/src/models/NextViewEnum.cjs +32 -32
- package/src/models/NextViewEnum.d.ts +24 -24
- package/src/models/NextViewEnum.js +32 -32
- package/src/models/NonceResponse.cjs +22 -22
- package/src/models/NonceResponse.d.ts +27 -27
- package/src/models/NonceResponse.js +22 -22
- package/src/models/OauthProviderLoginUrl.cjs +34 -34
- package/src/models/OauthProviderLoginUrl.d.ts +27 -27
- package/src/models/OauthProviderLoginUrl.js +34 -34
- package/src/models/OauthProviderRequest.cjs +26 -26
- package/src/models/OauthProviderRequest.d.ts +40 -40
- package/src/models/OauthProviderRequest.js +26 -26
- package/src/models/OauthRedirectRequest.d.ts +39 -39
- package/src/models/OauthRequest.cjs +26 -26
- package/src/models/OauthRequest.d.ts +39 -39
- package/src/models/OauthRequest.js +26 -26
- package/src/models/OauthResultRequest.cjs +34 -34
- package/src/models/OauthResultRequest.d.ts +27 -27
- package/src/models/OauthResultRequest.js +34 -34
- package/src/models/OauthResultResponse.cjs +26 -26
- package/src/models/OauthResultResponse.d.ts +40 -40
- package/src/models/OauthResultResponse.js +26 -26
- package/src/models/OauthResultStatus.cjs +31 -31
- package/src/models/OauthResultStatus.d.ts +23 -23
- package/src/models/OauthResultStatus.js +31 -31
- package/src/models/OnrampConfiguration.cjs +28 -28
- package/src/models/OnrampConfiguration.d.ts +46 -46
- package/src/models/OnrampConfiguration.js +28 -28
- package/src/models/Organization.cjs +28 -28
- package/src/models/Organization.d.ts +45 -45
- package/src/models/Organization.js +28 -28
- package/src/models/OrganizationFields.cjs +26 -26
- package/src/models/OrganizationFields.d.ts +39 -39
- package/src/models/OrganizationFields.js +26 -26
- package/src/models/OrganizationMember.cjs +24 -24
- package/src/models/OrganizationMember.d.ts +34 -34
- package/src/models/OrganizationMember.js +24 -24
- package/src/models/OrganizationMembersResponse.cjs +24 -24
- package/src/models/OrganizationMembersResponse.d.ts +34 -34
- package/src/models/OrganizationMembersResponse.js +24 -24
- package/src/models/OrganizationRequest.cjs +28 -28
- package/src/models/OrganizationRequest.d.ts +46 -46
- package/src/models/OrganizationRequest.js +28 -28
- package/src/models/OrganizationResponse.cjs +22 -22
- package/src/models/OrganizationResponse.d.ts +28 -28
- package/src/models/OrganizationResponse.js +22 -22
- package/src/models/OrganizationResponseOrganization.cjs +28 -28
- package/src/models/OrganizationResponseOrganization.d.ts +45 -45
- package/src/models/OrganizationResponseOrganization.js +28 -28
- package/src/models/OrganizationsResponse.cjs +22 -22
- package/src/models/OrganizationsResponse.d.ts +28 -28
- package/src/models/OrganizationsResponse.js +22 -22
- package/src/models/OriginResponse.cjs +28 -28
- package/src/models/OriginResponse.d.ts +45 -45
- package/src/models/OriginResponse.js +28 -28
- package/src/models/OriginsResponse.cjs +22 -22
- package/src/models/OriginsResponse.d.ts +28 -28
- package/src/models/OriginsResponse.js +22 -22
- package/src/models/PasskeyRegistrationCredential.cjs +28 -28
- package/src/models/PasskeyRegistrationCredential.d.ts +46 -46
- package/src/models/PasskeyRegistrationCredential.js +28 -28
- package/src/models/PostAllowlistEntriesRequest.cjs +26 -26
- package/src/models/PostAllowlistEntriesRequest.d.ts +39 -39
- package/src/models/PostAllowlistEntriesRequest.js +26 -26
- package/src/models/PostAllowlistsRequest.cjs +26 -26
- package/src/models/PostAllowlistsRequest.d.ts +40 -40
- package/src/models/PostAllowlistsRequest.js +26 -26
- package/src/models/PostTokenFields.cjs +34 -34
- package/src/models/PostTokenFields.d.ts +27 -27
- package/src/models/PostTokenFields.js +34 -34
- package/src/models/PrefetchRequest.cjs +24 -24
- package/src/models/PrefetchRequest.d.ts +34 -34
- package/src/models/PrefetchRequest.js +24 -24
- package/src/models/Project.cjs +28 -28
- package/src/models/Project.d.ts +46 -46
- package/src/models/Project.js +28 -28
- package/src/models/ProjectDocsResponse.d.ts +27 -27
- package/src/models/ProjectEnvironment.cjs +30 -30
- package/src/models/ProjectEnvironment.d.ts +52 -52
- package/src/models/ProjectEnvironment.js +30 -30
- package/src/models/ProjectProjectEnvironments.cjs +24 -24
- package/src/models/ProjectProjectEnvironments.d.ts +33 -33
- package/src/models/ProjectProjectEnvironments.js +24 -24
- package/src/models/ProjectRequest.cjs +34 -34
- package/src/models/ProjectRequest.d.ts +27 -27
- package/src/models/ProjectRequest.js +34 -34
- package/src/models/ProjectSettings.cjs +36 -36
- package/src/models/ProjectSettings.d.ts +77 -77
- package/src/models/ProjectSettings.js +36 -36
- package/src/models/ProjectSettingsChains.cjs +26 -26
- package/src/models/ProjectSettingsChains.d.ts +40 -40
- package/src/models/ProjectSettingsChains.js +26 -26
- package/src/models/ProjectSettingsDesign.cjs +26 -26
- package/src/models/ProjectSettingsDesign.d.ts +42 -42
- package/src/models/ProjectSettingsDesign.js +26 -26
- package/src/models/ProjectSettingsDesignButton.cjs +30 -30
- package/src/models/ProjectSettingsDesignButton.d.ts +51 -51
- package/src/models/ProjectSettingsDesignButton.js +30 -30
- package/src/models/ProjectSettingsDesignModal.cjs +46 -44
- package/src/models/ProjectSettingsDesignModal.d.ts +99 -93
- package/src/models/ProjectSettingsDesignModal.js +46 -44
- package/src/models/ProjectSettingsDesignWidget.cjs +30 -30
- package/src/models/ProjectSettingsDesignWidget.d.ts +51 -51
- package/src/models/ProjectSettingsDesignWidget.js +30 -30
- package/src/models/ProjectSettingsGeneral.cjs +40 -40
- package/src/models/ProjectSettingsGeneral.d.ts +83 -83
- package/src/models/ProjectSettingsGeneral.js +40 -40
- package/src/models/ProjectSettingsKyc.cjs +42 -42
- package/src/models/ProjectSettingsKyc.d.ts +51 -51
- package/src/models/ProjectSettingsKyc.js +42 -42
- package/src/models/ProjectSettingsPrivacy.cjs +22 -22
- package/src/models/ProjectSettingsPrivacy.d.ts +27 -27
- package/src/models/ProjectSettingsPrivacy.js +22 -22
- package/src/models/ProjectSettingsRequest.d.ts +27 -27
- package/src/models/ProjectSettingsSdk.cjs +44 -44
- package/src/models/ProjectSettingsSdk.d.ts +96 -96
- package/src/models/ProjectSettingsSdk.js +44 -44
- package/src/models/ProjectSettingsSdkSocialSignIn.cjs +24 -24
- package/src/models/ProjectSettingsSdkSocialSignIn.d.ts +35 -35
- package/src/models/ProjectSettingsSdkSocialSignIn.js +24 -24
- package/src/models/ProjectSettingsSdkWalletConnect.cjs +24 -24
- package/src/models/ProjectSettingsSdkWalletConnect.d.ts +33 -33
- package/src/models/ProjectSettingsSdkWalletConnect.js +24 -24
- package/src/models/ProjectSettingsSecurity.cjs +24 -24
- package/src/models/ProjectSettingsSecurity.d.ts +35 -35
- package/src/models/ProjectSettingsSecurity.js +24 -24
- package/src/models/ProjectsResponse.cjs +22 -22
- package/src/models/ProjectsResponse.d.ts +28 -28
- package/src/models/ProjectsResponse.js +22 -22
- package/src/models/Provider.cjs +46 -46
- package/src/models/Provider.d.ts +101 -101
- package/src/models/Provider.js +46 -46
- package/src/models/ProviderAgreement.cjs +40 -40
- package/src/models/ProviderAgreement.d.ts +45 -45
- package/src/models/ProviderAgreement.js +40 -40
- package/src/models/ProviderCreateRequest.cjs +38 -38
- package/src/models/ProviderCreateRequest.d.ts +76 -76
- package/src/models/ProviderCreateRequest.js +38 -38
- package/src/models/ProviderEnum.cjs +49 -49
- package/src/models/ProviderEnum.d.ts +41 -41
- package/src/models/ProviderEnum.js +49 -49
- package/src/models/ProviderUpdateRequest.cjs +34 -34
- package/src/models/ProviderUpdateRequest.d.ts +63 -63
- package/src/models/ProviderUpdateRequest.js +34 -34
- package/src/models/ProviderUrl.cjs +26 -26
- package/src/models/ProviderUrl.d.ts +40 -40
- package/src/models/ProviderUrl.js +26 -26
- package/src/models/ProviderUrlsResponse.cjs +22 -22
- package/src/models/ProviderUrlsResponse.d.ts +28 -28
- package/src/models/ProviderUrlsResponse.js +22 -22
- package/src/models/ProvidersResponse.cjs +22 -22
- package/src/models/ProvidersResponse.d.ts +28 -28
- package/src/models/ProvidersResponse.js +22 -22
- package/src/models/PublishEvents.cjs +22 -22
- package/src/models/PublishEvents.d.ts +28 -28
- package/src/models/PublishEvents.js +22 -22
- package/src/models/PublishEventsEvents.cjs +48 -48
- package/src/models/PublishEventsEvents.d.ts +54 -54
- package/src/models/PublishEventsEvents.js +48 -48
- package/src/models/RoleEnum.cjs +31 -31
- package/src/models/RoleEnum.d.ts +23 -23
- package/src/models/RoleEnum.js +31 -31
- package/src/models/SdkSettingsRequest.cjs +24 -24
- package/src/models/SdkSettingsRequest.d.ts +33 -33
- package/src/models/SdkSettingsRequest.js +24 -24
- package/src/models/SdkUser.cjs +74 -74
- package/src/models/SdkUser.d.ts +184 -184
- package/src/models/SdkUser.js +74 -74
- package/src/models/SdkView.cjs +24 -24
- package/src/models/SdkView.d.ts +35 -35
- package/src/models/SdkView.js +24 -24
- package/src/models/SdkViewSection.cjs +28 -28
- package/src/models/SdkViewSection.d.ts +46 -46
- package/src/models/SdkViewSection.js +28 -28
- package/src/models/SdkViewSectionType.cjs +33 -33
- package/src/models/SdkViewSectionType.d.ts +25 -25
- package/src/models/SdkViewSectionType.js +33 -33
- package/src/models/SdkViewType.cjs +30 -30
- package/src/models/SdkViewType.d.ts +22 -22
- package/src/models/SdkViewType.js +30 -30
- package/src/models/SdkViewUpdateRequest.cjs +22 -22
- package/src/models/SdkViewUpdateRequest.d.ts +28 -28
- package/src/models/SdkViewUpdateRequest.js +22 -22
- package/src/models/SdkViewsResponse.cjs +22 -22
- package/src/models/SdkViewsResponse.d.ts +28 -28
- package/src/models/SdkViewsResponse.js +22 -22
- package/src/models/Session.cjs +28 -28
- package/src/models/Session.d.ts +45 -45
- package/src/models/Session.js +28 -28
- package/src/models/ShortChainNameEnum.d.ts +22 -22
- package/src/models/SignInProviderEnum.cjs +33 -33
- package/src/models/SignInProviderEnum.d.ts +25 -25
- package/src/models/SignInProviderEnum.js +33 -33
- package/src/models/SocialSignInProvider.cjs +24 -24
- package/src/models/SocialSignInProvider.d.ts +34 -34
- package/src/models/SocialSignInProvider.js +24 -24
- package/src/models/SocialSignInProviderEnum.cjs +41 -41
- package/src/models/SocialSignInProviderEnum.d.ts +33 -33
- package/src/models/SocialSignInProviderEnum.js +41 -41
- package/src/models/SubscriptionAdvancedScopeEnum.cjs +41 -41
- package/src/models/SubscriptionAdvancedScopeEnum.d.ts +33 -33
- package/src/models/SubscriptionAdvancedScopeEnum.js +41 -41
- package/src/models/SubscriptionFreeScopeEnum.cjs +40 -40
- package/src/models/SubscriptionFreeScopeEnum.d.ts +32 -32
- package/src/models/SubscriptionFreeScopeEnum.js +40 -40
- package/src/models/SupportedOnrampsResponse.cjs +22 -22
- package/src/models/SupportedOnrampsResponse.d.ts +28 -28
- package/src/models/SupportedOnrampsResponse.js +22 -22
- package/src/models/TimeUnitEnum.cjs +31 -31
- package/src/models/TimeUnitEnum.d.ts +23 -23
- package/src/models/TimeUnitEnum.js +31 -31
- package/src/models/Token.cjs +34 -34
- package/src/models/Token.d.ts +65 -65
- package/src/models/Token.js +34 -34
- package/src/models/TokenAddress.cjs +36 -36
- package/src/models/TokenAddress.d.ts +33 -33
- package/src/models/TokenAddress.js +36 -36
- package/src/models/TokenCreatedBy.cjs +30 -30
- package/src/models/TokenCreatedBy.d.ts +51 -51
- package/src/models/TokenCreatedBy.js +30 -30
- package/src/models/TokenWithRaw.cjs +38 -38
- package/src/models/TokenWithRaw.d.ts +77 -77
- package/src/models/TokenWithRaw.js +38 -38
- package/src/models/TokenWithRawProjectEnvironment.cjs +22 -22
- package/src/models/TokenWithRawProjectEnvironment.d.ts +27 -27
- package/src/models/TokenWithRawProjectEnvironment.js +22 -22
- package/src/models/TokensResponse.cjs +22 -22
- package/src/models/TokensResponse.d.ts +28 -28
- package/src/models/TokensResponse.js +22 -22
- package/src/models/TurnkeyWalletProperties.cjs +36 -36
- package/src/models/TurnkeyWalletProperties.d.ts +33 -33
- package/src/models/TurnkeyWalletProperties.js +36 -36
- package/src/models/Unauthorized.cjs +22 -22
- package/src/models/Unauthorized.d.ts +27 -27
- package/src/models/Unauthorized.js +22 -22
- package/src/models/UnprocessableEntity.cjs +26 -26
- package/src/models/UnprocessableEntity.d.ts +41 -41
- package/src/models/UnprocessableEntity.js +26 -26
- package/src/models/UnprocessableEntityErrorCode.cjs +66 -65
- package/src/models/UnprocessableEntityErrorCode.d.ts +58 -57
- package/src/models/UnprocessableEntityErrorCode.js +66 -65
- package/src/models/UnprocessableEntityErrorPayload.cjs +28 -28
- package/src/models/UnprocessableEntityErrorPayload.d.ts +46 -46
- package/src/models/UnprocessableEntityErrorPayload.js +28 -28
- package/src/models/UpdateProjectRequest.cjs +34 -34
- package/src/models/UpdateProjectRequest.d.ts +27 -27
- package/src/models/UpdateProjectRequest.js +34 -34
- package/src/models/UpdateProjectResponse.cjs +24 -24
- package/src/models/UpdateProjectResponse.d.ts +33 -33
- package/src/models/UpdateProjectResponse.js +24 -24
- package/src/models/UpdateSelfResponse.cjs +28 -28
- package/src/models/UpdateSelfResponse.d.ts +48 -48
- package/src/models/UpdateSelfResponse.js +28 -28
- package/src/models/User.cjs +90 -90
- package/src/models/User.d.ts +236 -236
- package/src/models/User.js +90 -90
- package/src/models/UserAllOf.cjs +36 -36
- package/src/models/UserAllOf.d.ts +73 -73
- package/src/models/UserAllOf.js +36 -36
- package/src/models/UserFields.cjs +64 -64
- package/src/models/UserFields.d.ts +153 -153
- package/src/models/UserFields.js +64 -64
- package/src/models/UserFilterableFieldsEnum.cjs +40 -40
- package/src/models/UserFilterableFieldsEnum.d.ts +32 -32
- package/src/models/UserFilterableFieldsEnum.js +40 -40
- package/src/models/UserResponse.cjs +22 -22
- package/src/models/UserResponse.d.ts +28 -28
- package/src/models/UserResponse.js +22 -22
- package/src/models/UserSearchFilterParams.cjs +26 -26
- package/src/models/UserSearchFilterParams.d.ts +41 -41
- package/src/models/UserSearchFilterParams.js +26 -26
- package/src/models/UserWalletsResponse.cjs +24 -24
- package/src/models/UserWalletsResponse.d.ts +34 -34
- package/src/models/UserWalletsResponse.js +24 -24
- package/src/models/UsersResponse.cjs +24 -24
- package/src/models/UsersResponse.d.ts +34 -34
- package/src/models/UsersResponse.js +24 -24
- package/src/models/VerifyRequest.cjs +40 -40
- package/src/models/VerifyRequest.d.ts +84 -84
- package/src/models/VerifyRequest.js +40 -40
- package/src/models/VerifyResponse.cjs +24 -24
- package/src/models/VerifyResponse.d.ts +34 -34
- package/src/models/VerifyResponse.js +24 -24
- package/src/models/VerifyUnlinkRequest.cjs +26 -26
- package/src/models/VerifyUnlinkRequest.d.ts +39 -39
- package/src/models/VerifyUnlinkRequest.js +26 -26
- package/src/models/Visitor.cjs +34 -34
- package/src/models/Visitor.d.ts +65 -65
- package/src/models/Visitor.js +34 -34
- package/src/models/VisitorFilterableFieldsEnum.cjs +32 -32
- package/src/models/VisitorFilterableFieldsEnum.d.ts +24 -24
- package/src/models/VisitorFilterableFieldsEnum.js +32 -32
- package/src/models/VisitorSearchFilterParams.cjs +26 -26
- package/src/models/VisitorSearchFilterParams.d.ts +41 -41
- package/src/models/VisitorSearchFilterParams.js +26 -26
- package/src/models/VisitorsResponse.cjs +24 -24
- package/src/models/VisitorsResponse.d.ts +34 -34
- package/src/models/VisitorsResponse.js +24 -24
- package/src/models/Wallet.cjs +32 -32
- package/src/models/Wallet.d.ts +60 -60
- package/src/models/Wallet.js +32 -32
- package/src/models/WalletProperties.cjs +18 -18
- package/src/models/WalletProperties.d.ts +21 -21
- package/src/models/WalletProperties.js +18 -18
- package/src/models/WalletProviderEnum.cjs +35 -35
- package/src/models/WalletProviderEnum.d.ts +27 -27
- package/src/models/WalletProviderEnum.js +35 -35
- package/src/models/WhenToImplementEnum.cjs +33 -33
- package/src/models/WhenToImplementEnum.d.ts +25 -25
- package/src/models/WhenToImplementEnum.js +33 -33
- package/src/models/index.d.ts +188 -188
- package/src/runtime.cjs +214 -214
- package/src/runtime.d.ts +140 -140
- package/src/runtime.js +214 -214
|
@@ -42,259 +42,259 @@ require('../models/UnprocessableEntityErrorCode.cjs');
|
|
|
42
42
|
require('../models/VisitorFilterableFieldsEnum.cjs');
|
|
43
43
|
require('../models/WhenToImplementEnum.cjs');
|
|
44
44
|
|
|
45
|
-
/* tslint:disable */
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
class OrganizationsApi extends runtime.BaseAPI {
|
|
50
|
-
/**
|
|
51
|
-
* Creates organization
|
|
52
|
-
*/
|
|
53
|
-
createOrganizationRaw(requestParameters, initOverrides) {
|
|
54
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
55
|
-
if (requestParameters.organizationRequest === null || requestParameters.organizationRequest === undefined) {
|
|
56
|
-
throw new runtime.RequiredError('organizationRequest', 'Required parameter requestParameters.organizationRequest was null or undefined when calling createOrganization.');
|
|
57
|
-
}
|
|
58
|
-
const queryParameters = {};
|
|
59
|
-
const headerParameters = {};
|
|
60
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
61
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
62
|
-
const token = this.configuration.accessToken;
|
|
63
|
-
const tokenString = yield token("bearerAuth", []);
|
|
64
|
-
if (tokenString) {
|
|
65
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
const response = yield this.request({
|
|
69
|
-
path: `/organizations`,
|
|
70
|
-
method: 'POST',
|
|
71
|
-
headers: headerParameters,
|
|
72
|
-
query: queryParameters,
|
|
73
|
-
body: OrganizationRequest.OrganizationRequestToJSON(requestParameters.organizationRequest),
|
|
74
|
-
}, initOverrides);
|
|
75
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationResponse.OrganizationResponseFromJSON(jsonValue));
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Creates organization
|
|
80
|
-
*/
|
|
81
|
-
createOrganization(requestParameters, initOverrides) {
|
|
82
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
83
|
-
const response = yield this.createOrganizationRaw(requestParameters, initOverrides);
|
|
84
|
-
return yield response.value();
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Deletes an organization by ID
|
|
89
|
-
*/
|
|
90
|
-
deleteOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
91
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
92
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
93
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
|
|
94
|
-
}
|
|
95
|
-
const queryParameters = {};
|
|
96
|
-
const headerParameters = {};
|
|
97
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
98
|
-
const token = this.configuration.accessToken;
|
|
99
|
-
const tokenString = yield token("bearerAuth", []);
|
|
100
|
-
if (tokenString) {
|
|
101
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
const response = yield this.request({
|
|
105
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
106
|
-
method: 'DELETE',
|
|
107
|
-
headers: headerParameters,
|
|
108
|
-
query: queryParameters,
|
|
109
|
-
}, initOverrides);
|
|
110
|
-
return new runtime.VoidApiResponse(response);
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Deletes an organization by ID
|
|
115
|
-
*/
|
|
116
|
-
deleteOrganizationById(requestParameters, initOverrides) {
|
|
117
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Find the subscription of an organization using its ID
|
|
123
|
-
*/
|
|
124
|
-
getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides) {
|
|
125
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
126
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
127
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getBillingSubscriptionByOrganization.');
|
|
128
|
-
}
|
|
129
|
-
const queryParameters = {};
|
|
130
|
-
const headerParameters = {};
|
|
131
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
132
|
-
const token = this.configuration.accessToken;
|
|
133
|
-
const tokenString = yield token("bearerAuth", []);
|
|
134
|
-
if (tokenString) {
|
|
135
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
const response = yield this.request({
|
|
139
|
-
path: `/organizations/{organizationId}/billing/subscription`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
140
|
-
method: 'GET',
|
|
141
|
-
headers: headerParameters,
|
|
142
|
-
query: queryParameters,
|
|
143
|
-
}, initOverrides);
|
|
144
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => BillingSubscription.BillingSubscriptionFromJSON(jsonValue));
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Find the subscription of an organization using its ID
|
|
149
|
-
*/
|
|
150
|
-
getBillingSubscriptionByOrganization(requestParameters, initOverrides) {
|
|
151
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
152
|
-
const response = yield this.getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides);
|
|
153
|
-
return yield response.value();
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Find an organization by ID
|
|
158
|
-
*/
|
|
159
|
-
getOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
160
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
161
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
162
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getOrganizationById.');
|
|
163
|
-
}
|
|
164
|
-
const queryParameters = {};
|
|
165
|
-
const headerParameters = {};
|
|
166
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
167
|
-
const token = this.configuration.accessToken;
|
|
168
|
-
const tokenString = yield token("bearerAuth", []);
|
|
169
|
-
if (tokenString) {
|
|
170
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
const response = yield this.request({
|
|
174
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
175
|
-
method: 'GET',
|
|
176
|
-
headers: headerParameters,
|
|
177
|
-
query: queryParameters,
|
|
178
|
-
}, initOverrides);
|
|
179
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => Organization.OrganizationFromJSON(jsonValue));
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Find an organization by ID
|
|
184
|
-
*/
|
|
185
|
-
getOrganizationById(requestParameters, initOverrides) {
|
|
186
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
187
|
-
const response = yield this.getOrganizationByIdRaw(requestParameters, initOverrides);
|
|
188
|
-
return yield response.value();
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Fetches all the active organizations that the user has access to
|
|
193
|
-
*/
|
|
194
|
-
getOrganizationsForMemberRaw(initOverrides) {
|
|
195
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
196
|
-
const queryParameters = {};
|
|
197
|
-
const headerParameters = {};
|
|
198
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
199
|
-
const token = this.configuration.accessToken;
|
|
200
|
-
const tokenString = yield token("bearerAuth", []);
|
|
201
|
-
if (tokenString) {
|
|
202
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
const response = yield this.request({
|
|
206
|
-
path: `/organizations`,
|
|
207
|
-
method: 'GET',
|
|
208
|
-
headers: headerParameters,
|
|
209
|
-
query: queryParameters,
|
|
210
|
-
}, initOverrides);
|
|
211
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsResponse.OrganizationsResponseFromJSON(jsonValue));
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Fetches all the active organizations that the user has access to
|
|
216
|
-
*/
|
|
217
|
-
getOrganizationsForMember(initOverrides) {
|
|
218
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
219
|
-
const response = yield this.getOrganizationsForMemberRaw(initOverrides);
|
|
220
|
-
return yield response.value();
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Update an organization by ID
|
|
225
|
-
*/
|
|
226
|
-
updateOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
227
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
228
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
229
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling updateOrganizationById.');
|
|
230
|
-
}
|
|
231
|
-
if (requestParameters.organizationFields === null || requestParameters.organizationFields === undefined) {
|
|
232
|
-
throw new runtime.RequiredError('organizationFields', 'Required parameter requestParameters.organizationFields was null or undefined when calling updateOrganizationById.');
|
|
233
|
-
}
|
|
234
|
-
const queryParameters = {};
|
|
235
|
-
const headerParameters = {};
|
|
236
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
237
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
238
|
-
const token = this.configuration.accessToken;
|
|
239
|
-
const tokenString = yield token("bearerAuth", []);
|
|
240
|
-
if (tokenString) {
|
|
241
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
const response = yield this.request({
|
|
245
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
246
|
-
method: 'PUT',
|
|
247
|
-
headers: headerParameters,
|
|
248
|
-
query: queryParameters,
|
|
249
|
-
body: OrganizationFields.OrganizationFieldsToJSON(requestParameters.organizationFields),
|
|
250
|
-
}, initOverrides);
|
|
251
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationResponse.OrganizationResponseFromJSON(jsonValue));
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* Update an organization by ID
|
|
256
|
-
*/
|
|
257
|
-
updateOrganizationById(requestParameters, initOverrides) {
|
|
258
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
259
|
-
const response = yield this.updateOrganizationByIdRaw(requestParameters, initOverrides);
|
|
260
|
-
return yield response.value();
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* Upgrade organziation to advanced plan
|
|
265
|
-
*/
|
|
266
|
-
upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides) {
|
|
267
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
268
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
269
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling upgradeSubscriptionForOrganization.');
|
|
270
|
-
}
|
|
271
|
-
const queryParameters = {};
|
|
272
|
-
const headerParameters = {};
|
|
273
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
274
|
-
const token = this.configuration.accessToken;
|
|
275
|
-
const tokenString = yield token("bearerAuth", []);
|
|
276
|
-
if (tokenString) {
|
|
277
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
const response = yield this.request({
|
|
281
|
-
path: `/organizations/{organizationId}/billing/upgrade`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
282
|
-
method: 'PUT',
|
|
283
|
-
headers: headerParameters,
|
|
284
|
-
query: queryParameters,
|
|
285
|
-
}, initOverrides);
|
|
286
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => BillingSubscription.BillingSubscriptionFromJSON(jsonValue));
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* Upgrade organziation to advanced plan
|
|
291
|
-
*/
|
|
292
|
-
upgradeSubscriptionForOrganization(requestParameters, initOverrides) {
|
|
293
|
-
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
294
|
-
const response = yield this.upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides);
|
|
295
|
-
return yield response.value();
|
|
296
|
-
});
|
|
297
|
-
}
|
|
45
|
+
/* tslint:disable */
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
class OrganizationsApi extends runtime.BaseAPI {
|
|
50
|
+
/**
|
|
51
|
+
* Creates organization
|
|
52
|
+
*/
|
|
53
|
+
createOrganizationRaw(requestParameters, initOverrides) {
|
|
54
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
if (requestParameters.organizationRequest === null || requestParameters.organizationRequest === undefined) {
|
|
56
|
+
throw new runtime.RequiredError('organizationRequest', 'Required parameter requestParameters.organizationRequest was null or undefined when calling createOrganization.');
|
|
57
|
+
}
|
|
58
|
+
const queryParameters = {};
|
|
59
|
+
const headerParameters = {};
|
|
60
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
61
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
62
|
+
const token = this.configuration.accessToken;
|
|
63
|
+
const tokenString = yield token("bearerAuth", []);
|
|
64
|
+
if (tokenString) {
|
|
65
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const response = yield this.request({
|
|
69
|
+
path: `/organizations`,
|
|
70
|
+
method: 'POST',
|
|
71
|
+
headers: headerParameters,
|
|
72
|
+
query: queryParameters,
|
|
73
|
+
body: OrganizationRequest.OrganizationRequestToJSON(requestParameters.organizationRequest),
|
|
74
|
+
}, initOverrides);
|
|
75
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationResponse.OrganizationResponseFromJSON(jsonValue));
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates organization
|
|
80
|
+
*/
|
|
81
|
+
createOrganization(requestParameters, initOverrides) {
|
|
82
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
const response = yield this.createOrganizationRaw(requestParameters, initOverrides);
|
|
84
|
+
return yield response.value();
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an organization by ID
|
|
89
|
+
*/
|
|
90
|
+
deleteOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
91
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
93
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
|
|
94
|
+
}
|
|
95
|
+
const queryParameters = {};
|
|
96
|
+
const headerParameters = {};
|
|
97
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
98
|
+
const token = this.configuration.accessToken;
|
|
99
|
+
const tokenString = yield token("bearerAuth", []);
|
|
100
|
+
if (tokenString) {
|
|
101
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
const response = yield this.request({
|
|
105
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
106
|
+
method: 'DELETE',
|
|
107
|
+
headers: headerParameters,
|
|
108
|
+
query: queryParameters,
|
|
109
|
+
}, initOverrides);
|
|
110
|
+
return new runtime.VoidApiResponse(response);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Deletes an organization by ID
|
|
115
|
+
*/
|
|
116
|
+
deleteOrganizationById(requestParameters, initOverrides) {
|
|
117
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
118
|
+
yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Find the subscription of an organization using its ID
|
|
123
|
+
*/
|
|
124
|
+
getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides) {
|
|
125
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
127
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getBillingSubscriptionByOrganization.');
|
|
128
|
+
}
|
|
129
|
+
const queryParameters = {};
|
|
130
|
+
const headerParameters = {};
|
|
131
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
132
|
+
const token = this.configuration.accessToken;
|
|
133
|
+
const tokenString = yield token("bearerAuth", []);
|
|
134
|
+
if (tokenString) {
|
|
135
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const response = yield this.request({
|
|
139
|
+
path: `/organizations/{organizationId}/billing/subscription`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
140
|
+
method: 'GET',
|
|
141
|
+
headers: headerParameters,
|
|
142
|
+
query: queryParameters,
|
|
143
|
+
}, initOverrides);
|
|
144
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BillingSubscription.BillingSubscriptionFromJSON(jsonValue));
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Find the subscription of an organization using its ID
|
|
149
|
+
*/
|
|
150
|
+
getBillingSubscriptionByOrganization(requestParameters, initOverrides) {
|
|
151
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
const response = yield this.getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides);
|
|
153
|
+
return yield response.value();
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Find an organization by ID
|
|
158
|
+
*/
|
|
159
|
+
getOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
160
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
162
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getOrganizationById.');
|
|
163
|
+
}
|
|
164
|
+
const queryParameters = {};
|
|
165
|
+
const headerParameters = {};
|
|
166
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
167
|
+
const token = this.configuration.accessToken;
|
|
168
|
+
const tokenString = yield token("bearerAuth", []);
|
|
169
|
+
if (tokenString) {
|
|
170
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
const response = yield this.request({
|
|
174
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
175
|
+
method: 'GET',
|
|
176
|
+
headers: headerParameters,
|
|
177
|
+
query: queryParameters,
|
|
178
|
+
}, initOverrides);
|
|
179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => Organization.OrganizationFromJSON(jsonValue));
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Find an organization by ID
|
|
184
|
+
*/
|
|
185
|
+
getOrganizationById(requestParameters, initOverrides) {
|
|
186
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
187
|
+
const response = yield this.getOrganizationByIdRaw(requestParameters, initOverrides);
|
|
188
|
+
return yield response.value();
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Fetches all the active organizations that the user has access to
|
|
193
|
+
*/
|
|
194
|
+
getOrganizationsForMemberRaw(initOverrides) {
|
|
195
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
196
|
+
const queryParameters = {};
|
|
197
|
+
const headerParameters = {};
|
|
198
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
199
|
+
const token = this.configuration.accessToken;
|
|
200
|
+
const tokenString = yield token("bearerAuth", []);
|
|
201
|
+
if (tokenString) {
|
|
202
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
const response = yield this.request({
|
|
206
|
+
path: `/organizations`,
|
|
207
|
+
method: 'GET',
|
|
208
|
+
headers: headerParameters,
|
|
209
|
+
query: queryParameters,
|
|
210
|
+
}, initOverrides);
|
|
211
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsResponse.OrganizationsResponseFromJSON(jsonValue));
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Fetches all the active organizations that the user has access to
|
|
216
|
+
*/
|
|
217
|
+
getOrganizationsForMember(initOverrides) {
|
|
218
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
const response = yield this.getOrganizationsForMemberRaw(initOverrides);
|
|
220
|
+
return yield response.value();
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Update an organization by ID
|
|
225
|
+
*/
|
|
226
|
+
updateOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
227
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
229
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling updateOrganizationById.');
|
|
230
|
+
}
|
|
231
|
+
if (requestParameters.organizationFields === null || requestParameters.organizationFields === undefined) {
|
|
232
|
+
throw new runtime.RequiredError('organizationFields', 'Required parameter requestParameters.organizationFields was null or undefined when calling updateOrganizationById.');
|
|
233
|
+
}
|
|
234
|
+
const queryParameters = {};
|
|
235
|
+
const headerParameters = {};
|
|
236
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
237
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
238
|
+
const token = this.configuration.accessToken;
|
|
239
|
+
const tokenString = yield token("bearerAuth", []);
|
|
240
|
+
if (tokenString) {
|
|
241
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
const response = yield this.request({
|
|
245
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
246
|
+
method: 'PUT',
|
|
247
|
+
headers: headerParameters,
|
|
248
|
+
query: queryParameters,
|
|
249
|
+
body: OrganizationFields.OrganizationFieldsToJSON(requestParameters.organizationFields),
|
|
250
|
+
}, initOverrides);
|
|
251
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationResponse.OrganizationResponseFromJSON(jsonValue));
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Update an organization by ID
|
|
256
|
+
*/
|
|
257
|
+
updateOrganizationById(requestParameters, initOverrides) {
|
|
258
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
259
|
+
const response = yield this.updateOrganizationByIdRaw(requestParameters, initOverrides);
|
|
260
|
+
return yield response.value();
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Upgrade organziation to advanced plan
|
|
265
|
+
*/
|
|
266
|
+
upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides) {
|
|
267
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
268
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
269
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling upgradeSubscriptionForOrganization.');
|
|
270
|
+
}
|
|
271
|
+
const queryParameters = {};
|
|
272
|
+
const headerParameters = {};
|
|
273
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
274
|
+
const token = this.configuration.accessToken;
|
|
275
|
+
const tokenString = yield token("bearerAuth", []);
|
|
276
|
+
if (tokenString) {
|
|
277
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
const response = yield this.request({
|
|
281
|
+
path: `/organizations/{organizationId}/billing/upgrade`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
282
|
+
method: 'PUT',
|
|
283
|
+
headers: headerParameters,
|
|
284
|
+
query: queryParameters,
|
|
285
|
+
}, initOverrides);
|
|
286
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BillingSubscription.BillingSubscriptionFromJSON(jsonValue));
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Upgrade organziation to advanced plan
|
|
291
|
+
*/
|
|
292
|
+
upgradeSubscriptionForOrganization(requestParameters, initOverrides) {
|
|
293
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
const response = yield this.upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides);
|
|
295
|
+
return yield response.value();
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
exports.OrganizationsApi = OrganizationsApi;
|