@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
|
@@ -38,259 +38,259 @@ import '../models/UnprocessableEntityErrorCode.js';
|
|
|
38
38
|
import '../models/VisitorFilterableFieldsEnum.js';
|
|
39
39
|
import '../models/WhenToImplementEnum.js';
|
|
40
40
|
|
|
41
|
-
/* tslint:disable */
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
class OrganizationsApi extends BaseAPI {
|
|
46
|
-
/**
|
|
47
|
-
* Creates organization
|
|
48
|
-
*/
|
|
49
|
-
createOrganizationRaw(requestParameters, initOverrides) {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
-
if (requestParameters.organizationRequest === null || requestParameters.organizationRequest === undefined) {
|
|
52
|
-
throw new RequiredError('organizationRequest', 'Required parameter requestParameters.organizationRequest was null or undefined when calling createOrganization.');
|
|
53
|
-
}
|
|
54
|
-
const queryParameters = {};
|
|
55
|
-
const headerParameters = {};
|
|
56
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
57
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
58
|
-
const token = this.configuration.accessToken;
|
|
59
|
-
const tokenString = yield token("bearerAuth", []);
|
|
60
|
-
if (tokenString) {
|
|
61
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
const response = yield this.request({
|
|
65
|
-
path: `/organizations`,
|
|
66
|
-
method: 'POST',
|
|
67
|
-
headers: headerParameters,
|
|
68
|
-
query: queryParameters,
|
|
69
|
-
body: OrganizationRequestToJSON(requestParameters.organizationRequest),
|
|
70
|
-
}, initOverrides);
|
|
71
|
-
return new JSONApiResponse(response, (jsonValue) => OrganizationResponseFromJSON(jsonValue));
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Creates organization
|
|
76
|
-
*/
|
|
77
|
-
createOrganization(requestParameters, initOverrides) {
|
|
78
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
const response = yield this.createOrganizationRaw(requestParameters, initOverrides);
|
|
80
|
-
return yield response.value();
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Deletes an organization by ID
|
|
85
|
-
*/
|
|
86
|
-
deleteOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
87
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
89
|
-
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
|
|
90
|
-
}
|
|
91
|
-
const queryParameters = {};
|
|
92
|
-
const headerParameters = {};
|
|
93
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
94
|
-
const token = this.configuration.accessToken;
|
|
95
|
-
const tokenString = yield token("bearerAuth", []);
|
|
96
|
-
if (tokenString) {
|
|
97
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
const response = yield this.request({
|
|
101
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
102
|
-
method: 'DELETE',
|
|
103
|
-
headers: headerParameters,
|
|
104
|
-
query: queryParameters,
|
|
105
|
-
}, initOverrides);
|
|
106
|
-
return new VoidApiResponse(response);
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Deletes an organization by ID
|
|
111
|
-
*/
|
|
112
|
-
deleteOrganizationById(requestParameters, initOverrides) {
|
|
113
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Find the subscription of an organization using its ID
|
|
119
|
-
*/
|
|
120
|
-
getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
123
|
-
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getBillingSubscriptionByOrganization.');
|
|
124
|
-
}
|
|
125
|
-
const queryParameters = {};
|
|
126
|
-
const headerParameters = {};
|
|
127
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
128
|
-
const token = this.configuration.accessToken;
|
|
129
|
-
const tokenString = yield token("bearerAuth", []);
|
|
130
|
-
if (tokenString) {
|
|
131
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
const response = yield this.request({
|
|
135
|
-
path: `/organizations/{organizationId}/billing/subscription`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
136
|
-
method: 'GET',
|
|
137
|
-
headers: headerParameters,
|
|
138
|
-
query: queryParameters,
|
|
139
|
-
}, initOverrides);
|
|
140
|
-
return new JSONApiResponse(response, (jsonValue) => BillingSubscriptionFromJSON(jsonValue));
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Find the subscription of an organization using its ID
|
|
145
|
-
*/
|
|
146
|
-
getBillingSubscriptionByOrganization(requestParameters, initOverrides) {
|
|
147
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
-
const response = yield this.getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides);
|
|
149
|
-
return yield response.value();
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Find an organization by ID
|
|
154
|
-
*/
|
|
155
|
-
getOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
156
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
158
|
-
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getOrganizationById.');
|
|
159
|
-
}
|
|
160
|
-
const queryParameters = {};
|
|
161
|
-
const headerParameters = {};
|
|
162
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
163
|
-
const token = this.configuration.accessToken;
|
|
164
|
-
const tokenString = yield token("bearerAuth", []);
|
|
165
|
-
if (tokenString) {
|
|
166
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
const response = yield this.request({
|
|
170
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
171
|
-
method: 'GET',
|
|
172
|
-
headers: headerParameters,
|
|
173
|
-
query: queryParameters,
|
|
174
|
-
}, initOverrides);
|
|
175
|
-
return new JSONApiResponse(response, (jsonValue) => OrganizationFromJSON(jsonValue));
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Find an organization by ID
|
|
180
|
-
*/
|
|
181
|
-
getOrganizationById(requestParameters, initOverrides) {
|
|
182
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
-
const response = yield this.getOrganizationByIdRaw(requestParameters, initOverrides);
|
|
184
|
-
return yield response.value();
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Fetches all the active organizations that the user has access to
|
|
189
|
-
*/
|
|
190
|
-
getOrganizationsForMemberRaw(initOverrides) {
|
|
191
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
-
const queryParameters = {};
|
|
193
|
-
const headerParameters = {};
|
|
194
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
195
|
-
const token = this.configuration.accessToken;
|
|
196
|
-
const tokenString = yield token("bearerAuth", []);
|
|
197
|
-
if (tokenString) {
|
|
198
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
const response = yield this.request({
|
|
202
|
-
path: `/organizations`,
|
|
203
|
-
method: 'GET',
|
|
204
|
-
headers: headerParameters,
|
|
205
|
-
query: queryParameters,
|
|
206
|
-
}, initOverrides);
|
|
207
|
-
return new JSONApiResponse(response, (jsonValue) => OrganizationsResponseFromJSON(jsonValue));
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Fetches all the active organizations that the user has access to
|
|
212
|
-
*/
|
|
213
|
-
getOrganizationsForMember(initOverrides) {
|
|
214
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
-
const response = yield this.getOrganizationsForMemberRaw(initOverrides);
|
|
216
|
-
return yield response.value();
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
* Update an organization by ID
|
|
221
|
-
*/
|
|
222
|
-
updateOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
223
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
224
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
225
|
-
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling updateOrganizationById.');
|
|
226
|
-
}
|
|
227
|
-
if (requestParameters.organizationFields === null || requestParameters.organizationFields === undefined) {
|
|
228
|
-
throw new RequiredError('organizationFields', 'Required parameter requestParameters.organizationFields was null or undefined when calling updateOrganizationById.');
|
|
229
|
-
}
|
|
230
|
-
const queryParameters = {};
|
|
231
|
-
const headerParameters = {};
|
|
232
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
233
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
234
|
-
const token = this.configuration.accessToken;
|
|
235
|
-
const tokenString = yield token("bearerAuth", []);
|
|
236
|
-
if (tokenString) {
|
|
237
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
const response = yield this.request({
|
|
241
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
242
|
-
method: 'PUT',
|
|
243
|
-
headers: headerParameters,
|
|
244
|
-
query: queryParameters,
|
|
245
|
-
body: OrganizationFieldsToJSON(requestParameters.organizationFields),
|
|
246
|
-
}, initOverrides);
|
|
247
|
-
return new JSONApiResponse(response, (jsonValue) => OrganizationResponseFromJSON(jsonValue));
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* Update an organization by ID
|
|
252
|
-
*/
|
|
253
|
-
updateOrganizationById(requestParameters, initOverrides) {
|
|
254
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
-
const response = yield this.updateOrganizationByIdRaw(requestParameters, initOverrides);
|
|
256
|
-
return yield response.value();
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Upgrade organziation to advanced plan
|
|
261
|
-
*/
|
|
262
|
-
upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides) {
|
|
263
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
-
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
265
|
-
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling upgradeSubscriptionForOrganization.');
|
|
266
|
-
}
|
|
267
|
-
const queryParameters = {};
|
|
268
|
-
const headerParameters = {};
|
|
269
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
270
|
-
const token = this.configuration.accessToken;
|
|
271
|
-
const tokenString = yield token("bearerAuth", []);
|
|
272
|
-
if (tokenString) {
|
|
273
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
const response = yield this.request({
|
|
277
|
-
path: `/organizations/{organizationId}/billing/upgrade`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
278
|
-
method: 'PUT',
|
|
279
|
-
headers: headerParameters,
|
|
280
|
-
query: queryParameters,
|
|
281
|
-
}, initOverrides);
|
|
282
|
-
return new JSONApiResponse(response, (jsonValue) => BillingSubscriptionFromJSON(jsonValue));
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Upgrade organziation to advanced plan
|
|
287
|
-
*/
|
|
288
|
-
upgradeSubscriptionForOrganization(requestParameters, initOverrides) {
|
|
289
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
290
|
-
const response = yield this.upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides);
|
|
291
|
-
return yield response.value();
|
|
292
|
-
});
|
|
293
|
-
}
|
|
41
|
+
/* tslint:disable */
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
class OrganizationsApi extends BaseAPI {
|
|
46
|
+
/**
|
|
47
|
+
* Creates organization
|
|
48
|
+
*/
|
|
49
|
+
createOrganizationRaw(requestParameters, initOverrides) {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
if (requestParameters.organizationRequest === null || requestParameters.organizationRequest === undefined) {
|
|
52
|
+
throw new RequiredError('organizationRequest', 'Required parameter requestParameters.organizationRequest was null or undefined when calling createOrganization.');
|
|
53
|
+
}
|
|
54
|
+
const queryParameters = {};
|
|
55
|
+
const headerParameters = {};
|
|
56
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
57
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
58
|
+
const token = this.configuration.accessToken;
|
|
59
|
+
const tokenString = yield token("bearerAuth", []);
|
|
60
|
+
if (tokenString) {
|
|
61
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const response = yield this.request({
|
|
65
|
+
path: `/organizations`,
|
|
66
|
+
method: 'POST',
|
|
67
|
+
headers: headerParameters,
|
|
68
|
+
query: queryParameters,
|
|
69
|
+
body: OrganizationRequestToJSON(requestParameters.organizationRequest),
|
|
70
|
+
}, initOverrides);
|
|
71
|
+
return new JSONApiResponse(response, (jsonValue) => OrganizationResponseFromJSON(jsonValue));
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates organization
|
|
76
|
+
*/
|
|
77
|
+
createOrganization(requestParameters, initOverrides) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const response = yield this.createOrganizationRaw(requestParameters, initOverrides);
|
|
80
|
+
return yield response.value();
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Deletes an organization by ID
|
|
85
|
+
*/
|
|
86
|
+
deleteOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
89
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
|
|
90
|
+
}
|
|
91
|
+
const queryParameters = {};
|
|
92
|
+
const headerParameters = {};
|
|
93
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
94
|
+
const token = this.configuration.accessToken;
|
|
95
|
+
const tokenString = yield token("bearerAuth", []);
|
|
96
|
+
if (tokenString) {
|
|
97
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const response = yield this.request({
|
|
101
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
102
|
+
method: 'DELETE',
|
|
103
|
+
headers: headerParameters,
|
|
104
|
+
query: queryParameters,
|
|
105
|
+
}, initOverrides);
|
|
106
|
+
return new VoidApiResponse(response);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Deletes an organization by ID
|
|
111
|
+
*/
|
|
112
|
+
deleteOrganizationById(requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Find the subscription of an organization using its ID
|
|
119
|
+
*/
|
|
120
|
+
getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
123
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getBillingSubscriptionByOrganization.');
|
|
124
|
+
}
|
|
125
|
+
const queryParameters = {};
|
|
126
|
+
const headerParameters = {};
|
|
127
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
128
|
+
const token = this.configuration.accessToken;
|
|
129
|
+
const tokenString = yield token("bearerAuth", []);
|
|
130
|
+
if (tokenString) {
|
|
131
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const response = yield this.request({
|
|
135
|
+
path: `/organizations/{organizationId}/billing/subscription`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
136
|
+
method: 'GET',
|
|
137
|
+
headers: headerParameters,
|
|
138
|
+
query: queryParameters,
|
|
139
|
+
}, initOverrides);
|
|
140
|
+
return new JSONApiResponse(response, (jsonValue) => BillingSubscriptionFromJSON(jsonValue));
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Find the subscription of an organization using its ID
|
|
145
|
+
*/
|
|
146
|
+
getBillingSubscriptionByOrganization(requestParameters, initOverrides) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
const response = yield this.getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides);
|
|
149
|
+
return yield response.value();
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Find an organization by ID
|
|
154
|
+
*/
|
|
155
|
+
getOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
158
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getOrganizationById.');
|
|
159
|
+
}
|
|
160
|
+
const queryParameters = {};
|
|
161
|
+
const headerParameters = {};
|
|
162
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
163
|
+
const token = this.configuration.accessToken;
|
|
164
|
+
const tokenString = yield token("bearerAuth", []);
|
|
165
|
+
if (tokenString) {
|
|
166
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const response = yield this.request({
|
|
170
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
171
|
+
method: 'GET',
|
|
172
|
+
headers: headerParameters,
|
|
173
|
+
query: queryParameters,
|
|
174
|
+
}, initOverrides);
|
|
175
|
+
return new JSONApiResponse(response, (jsonValue) => OrganizationFromJSON(jsonValue));
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Find an organization by ID
|
|
180
|
+
*/
|
|
181
|
+
getOrganizationById(requestParameters, initOverrides) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
const response = yield this.getOrganizationByIdRaw(requestParameters, initOverrides);
|
|
184
|
+
return yield response.value();
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Fetches all the active organizations that the user has access to
|
|
189
|
+
*/
|
|
190
|
+
getOrganizationsForMemberRaw(initOverrides) {
|
|
191
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
192
|
+
const queryParameters = {};
|
|
193
|
+
const headerParameters = {};
|
|
194
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
195
|
+
const token = this.configuration.accessToken;
|
|
196
|
+
const tokenString = yield token("bearerAuth", []);
|
|
197
|
+
if (tokenString) {
|
|
198
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
const response = yield this.request({
|
|
202
|
+
path: `/organizations`,
|
|
203
|
+
method: 'GET',
|
|
204
|
+
headers: headerParameters,
|
|
205
|
+
query: queryParameters,
|
|
206
|
+
}, initOverrides);
|
|
207
|
+
return new JSONApiResponse(response, (jsonValue) => OrganizationsResponseFromJSON(jsonValue));
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Fetches all the active organizations that the user has access to
|
|
212
|
+
*/
|
|
213
|
+
getOrganizationsForMember(initOverrides) {
|
|
214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
+
const response = yield this.getOrganizationsForMemberRaw(initOverrides);
|
|
216
|
+
return yield response.value();
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Update an organization by ID
|
|
221
|
+
*/
|
|
222
|
+
updateOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
224
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
225
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling updateOrganizationById.');
|
|
226
|
+
}
|
|
227
|
+
if (requestParameters.organizationFields === null || requestParameters.organizationFields === undefined) {
|
|
228
|
+
throw new RequiredError('organizationFields', 'Required parameter requestParameters.organizationFields was null or undefined when calling updateOrganizationById.');
|
|
229
|
+
}
|
|
230
|
+
const queryParameters = {};
|
|
231
|
+
const headerParameters = {};
|
|
232
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
233
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
234
|
+
const token = this.configuration.accessToken;
|
|
235
|
+
const tokenString = yield token("bearerAuth", []);
|
|
236
|
+
if (tokenString) {
|
|
237
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
const response = yield this.request({
|
|
241
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
242
|
+
method: 'PUT',
|
|
243
|
+
headers: headerParameters,
|
|
244
|
+
query: queryParameters,
|
|
245
|
+
body: OrganizationFieldsToJSON(requestParameters.organizationFields),
|
|
246
|
+
}, initOverrides);
|
|
247
|
+
return new JSONApiResponse(response, (jsonValue) => OrganizationResponseFromJSON(jsonValue));
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Update an organization by ID
|
|
252
|
+
*/
|
|
253
|
+
updateOrganizationById(requestParameters, initOverrides) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
const response = yield this.updateOrganizationByIdRaw(requestParameters, initOverrides);
|
|
256
|
+
return yield response.value();
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Upgrade organziation to advanced plan
|
|
261
|
+
*/
|
|
262
|
+
upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
265
|
+
throw new RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling upgradeSubscriptionForOrganization.');
|
|
266
|
+
}
|
|
267
|
+
const queryParameters = {};
|
|
268
|
+
const headerParameters = {};
|
|
269
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
270
|
+
const token = this.configuration.accessToken;
|
|
271
|
+
const tokenString = yield token("bearerAuth", []);
|
|
272
|
+
if (tokenString) {
|
|
273
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
const response = yield this.request({
|
|
277
|
+
path: `/organizations/{organizationId}/billing/upgrade`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
278
|
+
method: 'PUT',
|
|
279
|
+
headers: headerParameters,
|
|
280
|
+
query: queryParameters,
|
|
281
|
+
}, initOverrides);
|
|
282
|
+
return new JSONApiResponse(response, (jsonValue) => BillingSubscriptionFromJSON(jsonValue));
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Upgrade organziation to advanced plan
|
|
287
|
+
*/
|
|
288
|
+
upgradeSubscriptionForOrganization(requestParameters, initOverrides) {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
290
|
+
const response = yield this.upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides);
|
|
291
|
+
return yield response.value();
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
export { OrganizationsApi };
|