@shapediver/sdk.platform-api-sdk-v1 2.12.7 → 2.12.8
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/LICENSE +7 -7
- package/README.md +61 -61
- package/dist/SdPlatformErrors.d.ts +134 -134
- package/dist/SdPlatformSdk.d.ts +185 -185
- package/dist/SdPlatformSdkContext.d.ts +71 -71
- package/dist/SdPlatformSdkCreate.d.ts +7 -7
- package/dist/api/SdPlatformRequestId.d.ts +136 -136
- package/dist/api/SdPlatformSdkApi.d.ts +66 -66
- package/dist/api/SdPlatformSdkConfig.d.ts +18 -18
- package/dist/api/SdPlatformSdkErrorMapping.d.ts +6 -6
- package/dist/auth/SdPlatformAuthServiceApi.d.ts +77 -77
- package/dist/bundle.js +3486 -3366
- package/dist/bundle.node.js +3525 -3381
- package/dist/index.d.ts +27 -27
- package/dist/resources/SdPlatformApiClientsApi.d.ts +16 -16
- package/dist/resources/SdPlatformApiTokenApi.d.ts +44 -18
- package/dist/resources/SdPlatformApiTokenApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBackendSystemApi.d.ts +35 -17
- package/dist/resources/SdPlatformBackendSystemApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformBookmarkApi.d.ts +21 -16
- package/dist/resources/SdPlatformBookmarkApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformChargebeeApi.d.ts +20 -20
- package/dist/resources/SdPlatformDocumentApi.d.ts +83 -83
- package/dist/resources/SdPlatformDomainApi.d.ts +44 -44
- package/dist/resources/SdPlatformHttpLogApi.d.ts +15 -15
- package/dist/resources/SdPlatformImageApi.d.ts +36 -36
- package/dist/resources/SdPlatformModelApi.d.ts +76 -76
- package/dist/resources/SdPlatformModelApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformModelSharingApi.d.ts +64 -64
- package/dist/resources/SdPlatformModelTokenApi.d.ts +10 -10
- package/dist/resources/SdPlatformModelTransferApi.d.ts +47 -47
- package/dist/resources/SdPlatformNotificationApi.d.ts +65 -33
- package/dist/resources/SdPlatformNotificationApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformOpenIDProviderApi.d.ts +41 -41
- package/dist/resources/SdPlatformOrganizationAnalyticsApi.d.ts +15 -15
- package/dist/resources/SdPlatformOrganizationApi.d.ts +92 -92
- package/dist/resources/SdPlatformPolicyApi.d.ts +43 -17
- package/dist/resources/SdPlatformPolicyApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformSavedStateApi.d.ts +51 -50
- package/dist/resources/SdPlatformSavedStateApi.d.ts.map +1 -1
- package/dist/resources/SdPlatformSavedStateSharingApi.d.ts +66 -66
- package/dist/resources/SdPlatformTagApi.d.ts +15 -15
- package/dist/resources/SdPlatformUserAnalyticsApi.d.ts +15 -15
- package/dist/resources/SdPlatformUserApi.d.ts +86 -86
- package/dist/resources/SdPlatformWebhookApi.d.ts +52 -52
- package/dist/resources/commons/FilterBuilder.d.ts +54 -54
- package/dist/resources/commons/ResourcesApi.d.ts +42 -42
- package/package.json +2 -2
- package/dist/ShapeDiverErrors.d.ts +0 -79
- package/dist/ShapeDiverErrors.d.ts.map +0 -1
- package/dist/ShapeDiverSDK.d.ts +0 -9
- package/dist/ShapeDiverSDK.d.ts.map +0 -1
- package/dist/ShapeDiverSDKContext.d.ts +0 -47
- package/dist/ShapeDiverSDKContext.d.ts.map +0 -1
- package/dist/ShapeDiverSDKInstance.d.ts +0 -91
- package/dist/ShapeDiverSDKInstance.d.ts.map +0 -1
- package/dist/api/RequestId.d.ts +0 -105
- package/dist/api/RequestId.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKApi.d.ts +0 -40
- package/dist/api/ShapeDiverSDKApi.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKApiErrors.d.ts +0 -7
- package/dist/api/ShapeDiverSDKApiErrors.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKConfig.d.ts +0 -7
- package/dist/api/ShapeDiverSDKConfig.d.ts.map +0 -1
- package/dist/api/ShapeDiverSDKRequestConfig.d.ts +0 -8
- package/dist/api/ShapeDiverSDKRequestConfig.d.ts.map +0 -1
- package/dist/auth/AuthServiceApi.d.ts +0 -34
- package/dist/auth/AuthServiceApi.d.ts.map +0 -1
- package/dist/auth/models/AuthRequest.d.ts +0 -13
- package/dist/auth/models/AuthRequest.d.ts.map +0 -1
- package/dist/auth/models/AuthResponse.d.ts +0 -12
- package/dist/auth/models/AuthResponse.d.ts.map +0 -1
- package/dist/common/FailedRequestError.d.ts +0 -4
- package/dist/common/FailedRequestError.d.ts.map +0 -1
- package/dist/common/Filter.d.ts +0 -52
- package/dist/common/Filter.d.ts.map +0 -1
- package/dist/common/FilterBuilder.d.ts +0 -55
- package/dist/common/FilterBuilder.d.ts.map +0 -1
- package/dist/common/Parameters.d.ts +0 -29
- package/dist/common/Parameters.d.ts.map +0 -1
- package/dist/common/QueryRequestParameters.d.ts +0 -46
- package/dist/common/QueryRequestParameters.d.ts.map +0 -1
- package/dist/common/RequestId.d.ts +0 -106
- package/dist/common/RequestId.d.ts.map +0 -1
- package/dist/common/ShapeDiverSDKContext.d.ts +0 -32
- package/dist/common/ShapeDiverSDKContext.d.ts.map +0 -1
- package/dist/config/ShapeDiverSDKConfig.d.ts +0 -7
- package/dist/config/ShapeDiverSDKConfig.d.ts.map +0 -1
- package/dist/resources/ResourcesApi.d.ts +0 -84
- package/dist/resources/ResourcesApi.d.ts.map +0 -1
- package/dist/resources/chargebee/ChargebeeApi.d.ts +0 -18
- package/dist/resources/chargebee/ChargebeeApi.d.ts.map +0 -1
- package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts +0 -45
- package/dist/resources/chargebee/models/ChargebeeRequestsAndModels.d.ts.map +0 -1
- package/dist/resources/commons/QueryRequestParameters.d.ts +0 -46
- package/dist/resources/commons/QueryRequestParameters.d.ts.map +0 -1
- package/dist/resources/httplogs/HttpLogApi.d.ts +0 -16
- package/dist/resources/httplogs/HttpLogApi.d.ts.map +0 -1
- package/dist/resources/httplogs/models.d.ts +0 -15
- package/dist/resources/httplogs/models.d.ts.map +0 -1
- package/dist/resources/modelSharing/ModelSharingApi.d.ts +0 -50
- package/dist/resources/modelSharing/ModelSharingApi.d.ts.map +0 -1
- package/dist/resources/modelSharing/models/ModelSharing.d.ts +0 -29
- package/dist/resources/modelSharing/models/ModelSharing.d.ts.map +0 -1
- package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts +0 -15
- package/dist/resources/modelSharing/models/ModelSharingCreate.d.ts.map +0 -1
- package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts +0 -8
- package/dist/resources/modelTransfers/CreateModelTransferRequest.d.ts.map +0 -1
- package/dist/resources/modelTransfers/ModelTransferApi.d.ts +0 -45
- package/dist/resources/modelTransfers/ModelTransferApi.d.ts.map +0 -1
- package/dist/resources/models/ModelApi.d.ts +0 -17
- package/dist/resources/models/ModelApi.d.ts.map +0 -1
- package/dist/resources/models/models/CreateModelTransferRequest.d.ts +0 -8
- package/dist/resources/models/models/CreateModelTransferRequest.d.ts.map +0 -1
- package/dist/resources/models/models/Model.d.ts +0 -166
- package/dist/resources/models/models/Model.d.ts.map +0 -1
- package/dist/resources/models/models/ModelCreate.d.ts +0 -21
- package/dist/resources/models/models/ModelCreate.d.ts.map +0 -1
- package/dist/resources/models/models/ModelPatch.d.ts +0 -25
- package/dist/resources/models/models/ModelPatch.d.ts.map +0 -1
- package/dist/resources/notifications/NotificationsApi.d.ts +0 -13
- package/dist/resources/notifications/NotificationsApi.d.ts.map +0 -1
- package/dist/resources/notifications/models/Notification.d.ts +0 -62
- package/dist/resources/notifications/models/Notification.d.ts.map +0 -1
- package/dist/resources/notifications/models/Requests.d.ts +0 -19
- package/dist/resources/notifications/models/Requests.d.ts.map +0 -1
- package/dist/resources/organizations/OrganizationsApi.d.ts +0 -73
- package/dist/resources/organizations/OrganizationsApi.d.ts.map +0 -1
- package/dist/resources/organizations/models/Organization.d.ts +0 -79
- package/dist/resources/organizations/models/Organization.d.ts.map +0 -1
- package/dist/resources/organizations/models/Requests.d.ts +0 -22
- package/dist/resources/organizations/models/Requests.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts +0 -50
- package/dist/resources/savedStateSharing/SavedStateSharingsApi.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts +0 -15
- package/dist/resources/savedStateSharing/models/SavedStateSharingsModels.d.ts.map +0 -1
- package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts +0 -6
- package/dist/resources/savedStateSharing/models/SavedStatesSharingsRequests.d.ts.map +0 -1
- package/dist/resources/savedStates/SavedStatesApi.d.ts +0 -44
- package/dist/resources/savedStates/SavedStatesApi.d.ts.map +0 -1
- package/dist/resources/savedStates/models/SavedStatesModels.d.ts +0 -33
- package/dist/resources/savedStates/models/SavedStatesModels.d.ts.map +0 -1
- package/dist/resources/savedStates/models/SavedStatesRequests.d.ts +0 -29
- package/dist/resources/savedStates/models/SavedStatesRequests.d.ts.map +0 -1
- package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts +0 -15
- package/dist/resources/userModelSessions/UserModelSessionsApi.d.ts.map +0 -1
- package/dist/resources/userModelSessions/models/UserModelSession.d.ts +0 -54
- package/dist/resources/userModelSessions/models/UserModelSession.d.ts.map +0 -1
- package/dist/resources/webhooks/WebhooksApi.d.ts +0 -51
- package/dist/resources/webhooks/WebhooksApi.d.ts.map +0 -1
- package/dist/resources/webhooks/models/Requests.d.ts +0 -17
- package/dist/resources/webhooks/models/Requests.d.ts.map +0 -1
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Identifier for type of request to the ShapeDiver Platform Backend.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum RequestId {
|
|
5
|
-
/**
|
|
6
|
-
* Platform Authentication API
|
|
7
|
-
*/
|
|
8
|
-
PasswordGrant = "password_grant",
|
|
9
|
-
RefreshToken = "refresh_token",
|
|
10
|
-
AuthorizationCode = "authorization_code",
|
|
11
|
-
Logout = "logout",
|
|
12
|
-
RequestAuthorizationCode = "request_authorization_code",
|
|
13
|
-
/**
|
|
14
|
-
* Platform Backend API
|
|
15
|
-
*/
|
|
16
|
-
ApiTokenGet = "api_token_get",
|
|
17
|
-
ApiTokenQuery = "api_token_query",
|
|
18
|
-
ApiTokenCreate = "api_token_create",
|
|
19
|
-
ApiTokenPatch = "api_token_patch",
|
|
20
|
-
ApiTokenDelete = "api_token_delete",
|
|
21
|
-
ApiClientQuery = "api_client_query",
|
|
22
|
-
ApiClientCreate = "api_client_create",
|
|
23
|
-
ApiClientPatch = "api_client_patch",
|
|
24
|
-
ApiClientDelete = "api_client_delete",
|
|
25
|
-
BackendSystemQuery = "backend_system_query",
|
|
26
|
-
BackendSystemCreate = "backend_system_create",
|
|
27
|
-
BackendSystemPatch = "backend_system_patch",
|
|
28
|
-
BackendSystemToken = "backend_system_token",
|
|
29
|
-
BookmarkCreate = "bookmark_create",
|
|
30
|
-
BookmarkDelete = "bookmark_delete",
|
|
31
|
-
ImageGet = "image_get",
|
|
32
|
-
ImageQuery = "image_query",
|
|
33
|
-
ImageCreate = "image_create",
|
|
34
|
-
ImagesDelete = "image_delete",
|
|
35
|
-
PolicyGet = "policy_get",
|
|
36
|
-
PolicyQuery = "policy_query",
|
|
37
|
-
PolicyCreate = "policy_create",
|
|
38
|
-
PolicyPatch = "policy_patch",
|
|
39
|
-
PolicyDelete = "policy_delete",
|
|
40
|
-
TagGet = "tag_get",
|
|
41
|
-
TagQuery = "tag_query",
|
|
42
|
-
TokenCreate = "token_create",
|
|
43
|
-
UserGet = "user_get",
|
|
44
|
-
UserQuery = "user_query",
|
|
45
|
-
UserPatch = "user_patch",
|
|
46
|
-
UserDelete = "user_delete",
|
|
47
|
-
UserRegister = "user_register",
|
|
48
|
-
UserConfirm = "user_confirm",
|
|
49
|
-
UserRefreshToken = "user_refresh_token",
|
|
50
|
-
UserDeleteRefreshToken = "user_delete_refresh_token",
|
|
51
|
-
PasswordReset = "password_reset",
|
|
52
|
-
PasswordResetConfirm = "password_reset_confirm",
|
|
53
|
-
ModelGet = "model_get",
|
|
54
|
-
ModelQuery = "model_query",
|
|
55
|
-
ModelCreate = "model_create",
|
|
56
|
-
ModelPatch = "model_patch",
|
|
57
|
-
ModelDelete = "model_delete",
|
|
58
|
-
DecryptTicket = "decrypt_ticket",
|
|
59
|
-
ModelIframeData = "model_iframe_data",
|
|
60
|
-
SavedStateGet = "saved_state_get",
|
|
61
|
-
SavedStateQuery = "saved_state_query",
|
|
62
|
-
SavedStatePatch = "saved_state_patch",
|
|
63
|
-
SavedStateCreate = "saved_state_create",
|
|
64
|
-
SavedStateDelete = "saved_state_delete",
|
|
65
|
-
DomainGet = "domain_get",
|
|
66
|
-
DomainQuery = "domain_query",
|
|
67
|
-
DomainCreate = "domain_create",
|
|
68
|
-
DomainPatch = "domain_patch",
|
|
69
|
-
DomainDelete = "domain_delete",
|
|
70
|
-
OpenIDProviderGet = "openid_provider_get",
|
|
71
|
-
OpenIDProviderCreate = "openid_provider_create",
|
|
72
|
-
OpenIDProviderQuery = "openid_provider_query",
|
|
73
|
-
OpenIDProviderPatch = "openid_provider_patch",
|
|
74
|
-
OpenIDPRoviderDelete = "openid_provider_delete",
|
|
75
|
-
OrganizationGet = "organization_get",
|
|
76
|
-
OrganizationQuery = "organization_query",
|
|
77
|
-
OrganizationCreate = "organization_create",
|
|
78
|
-
OrganizationDelete = "organization_delete",
|
|
79
|
-
OrganizationPatch = "organization_patch",
|
|
80
|
-
OrganizationInvitationCreate = "organization_invitation_create",
|
|
81
|
-
OrganizationInvitationDelete = "organization_invitation_delete",
|
|
82
|
-
OrganizationInvitationsGet = "organization_invitation_get",
|
|
83
|
-
OrganizationInvitationAccept = "organization_invitation_accept",
|
|
84
|
-
OrganizationInvitationDeny = "organization_invitation_deny",
|
|
85
|
-
OrganizationPatchMemberRole = "organization_patch_member_role",
|
|
86
|
-
OrganizationInvitationByEmail = "organization_invitation_by_email",
|
|
87
|
-
NotificationGet = "notification_get",
|
|
88
|
-
NotificationQuery = "notification_query",
|
|
89
|
-
NotificationCreate = "notification_create",
|
|
90
|
-
NotificationPatch = "notification_patch",
|
|
91
|
-
NotificationDelete = "notification_delete",
|
|
92
|
-
NotificationSummary = "notification_summary",
|
|
93
|
-
NotificationReadAll = "notification_read_all",
|
|
94
|
-
UserModelSessionsQuery = "user_model_sessions_query",
|
|
95
|
-
OrganizationModelSessionsQuery = "organization_model_sessions_query",
|
|
96
|
-
ChargebeeHostedPage = "chargebee_hosted_page",
|
|
97
|
-
ChargebeeHostedPageUpdatePaymentMethod = "chargebee_hosted_page_update_payment_method",
|
|
98
|
-
ChargebeePortalSession = "chargebee_portal_session",
|
|
99
|
-
ChargebeeConfig = "chargebee_config",
|
|
100
|
-
ChargebeeQueryPlan = "chargebee_query_plan",
|
|
101
|
-
HttpLogQuery = "http_log_query",
|
|
102
|
-
ModelSharingCreate = "model_sharing_create",
|
|
103
|
-
ModelSharingCreateMultiple = "model_sharing_create_multiple",
|
|
104
|
-
ModelSharingQuery = "model_sharing_query",
|
|
105
|
-
ModelSharingQueryByModel = "model_sharing_query_by_model",
|
|
106
|
-
ModelSharingQueryByUser = "model_sharing_query_by_user",
|
|
107
|
-
ModelSharingGetByModelAndUser = "model_sharing_get_by_model_and_user",
|
|
108
|
-
ModelSharingDelete = "model_sharing_delete",
|
|
109
|
-
ModelSharingGroupedByuser = "model_sharing_grouped_by_user",
|
|
110
|
-
SavedStateSharingCreate = "saved_state_sharing_create",
|
|
111
|
-
SavedStateSharingCreateMultiple = "saved_state_sharing_create_multiple",
|
|
112
|
-
SavedStateSharingQuery = "saved_state_sharing_query",
|
|
113
|
-
SavedStateSharingQueryBySavedState = "saved_state_sharing_query_by_saved_state",
|
|
114
|
-
SavedStateSharingQueryByUser = "saved_state_sharing_query_by_user",
|
|
115
|
-
SavedStateSharingGetBySavedStateAndUser = "saved_state_sharing_get_by_saved_state_and_user",
|
|
116
|
-
SavedStateSharingDelete = "saved_state_sharing_delete",
|
|
117
|
-
SavedStateSharingGroupedByuser = "saved_state_sharing_grouped_by_user",
|
|
118
|
-
WebhookChargebeeEvent = "webhook_chargebee_event",
|
|
119
|
-
WebhookModelMessage = "webhook_model_message",
|
|
120
|
-
WebhookNotification = "webhook_notification",
|
|
121
|
-
ModelTransferRequestCreate = "model_transfer_request_create",
|
|
122
|
-
ModelTransferRequestDelete = "model_transfer_request_delete",
|
|
123
|
-
ModelTransferRequestList = "model_transfer_request_list",
|
|
124
|
-
ModelTransferRequestGet = "model_transfer_request_get",
|
|
125
|
-
ModelTransferRequestAccept = "model_transfer_request_accept",
|
|
126
|
-
ModelTransferRequestDeny = "model_transfer_request_deny",
|
|
127
|
-
DocumentCreate = "document_create",
|
|
128
|
-
DocumentQuery = "document_query",
|
|
129
|
-
DocumentDelete = "document_delete",
|
|
130
|
-
DocumentList = "document_list",
|
|
131
|
-
DocumentDownload = "document_download",
|
|
132
|
-
DocumentView = "document_view",
|
|
133
|
-
DocumentAccept = "document_accept",
|
|
134
|
-
DocumentBrowserDownload = "document_browser_download",
|
|
135
|
-
DocumentBrowserView = "document_browser_view"
|
|
136
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Identifier for type of request to the ShapeDiver Platform Backend.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RequestId {
|
|
5
|
+
/**
|
|
6
|
+
* Platform Authentication API
|
|
7
|
+
*/
|
|
8
|
+
PasswordGrant = "password_grant",
|
|
9
|
+
RefreshToken = "refresh_token",
|
|
10
|
+
AuthorizationCode = "authorization_code",
|
|
11
|
+
Logout = "logout",
|
|
12
|
+
RequestAuthorizationCode = "request_authorization_code",
|
|
13
|
+
/**
|
|
14
|
+
* Platform Backend API
|
|
15
|
+
*/
|
|
16
|
+
ApiTokenGet = "api_token_get",
|
|
17
|
+
ApiTokenQuery = "api_token_query",
|
|
18
|
+
ApiTokenCreate = "api_token_create",
|
|
19
|
+
ApiTokenPatch = "api_token_patch",
|
|
20
|
+
ApiTokenDelete = "api_token_delete",
|
|
21
|
+
ApiClientQuery = "api_client_query",
|
|
22
|
+
ApiClientCreate = "api_client_create",
|
|
23
|
+
ApiClientPatch = "api_client_patch",
|
|
24
|
+
ApiClientDelete = "api_client_delete",
|
|
25
|
+
BackendSystemQuery = "backend_system_query",
|
|
26
|
+
BackendSystemCreate = "backend_system_create",
|
|
27
|
+
BackendSystemPatch = "backend_system_patch",
|
|
28
|
+
BackendSystemToken = "backend_system_token",
|
|
29
|
+
BookmarkCreate = "bookmark_create",
|
|
30
|
+
BookmarkDelete = "bookmark_delete",
|
|
31
|
+
ImageGet = "image_get",
|
|
32
|
+
ImageQuery = "image_query",
|
|
33
|
+
ImageCreate = "image_create",
|
|
34
|
+
ImagesDelete = "image_delete",
|
|
35
|
+
PolicyGet = "policy_get",
|
|
36
|
+
PolicyQuery = "policy_query",
|
|
37
|
+
PolicyCreate = "policy_create",
|
|
38
|
+
PolicyPatch = "policy_patch",
|
|
39
|
+
PolicyDelete = "policy_delete",
|
|
40
|
+
TagGet = "tag_get",
|
|
41
|
+
TagQuery = "tag_query",
|
|
42
|
+
TokenCreate = "token_create",
|
|
43
|
+
UserGet = "user_get",
|
|
44
|
+
UserQuery = "user_query",
|
|
45
|
+
UserPatch = "user_patch",
|
|
46
|
+
UserDelete = "user_delete",
|
|
47
|
+
UserRegister = "user_register",
|
|
48
|
+
UserConfirm = "user_confirm",
|
|
49
|
+
UserRefreshToken = "user_refresh_token",
|
|
50
|
+
UserDeleteRefreshToken = "user_delete_refresh_token",
|
|
51
|
+
PasswordReset = "password_reset",
|
|
52
|
+
PasswordResetConfirm = "password_reset_confirm",
|
|
53
|
+
ModelGet = "model_get",
|
|
54
|
+
ModelQuery = "model_query",
|
|
55
|
+
ModelCreate = "model_create",
|
|
56
|
+
ModelPatch = "model_patch",
|
|
57
|
+
ModelDelete = "model_delete",
|
|
58
|
+
DecryptTicket = "decrypt_ticket",
|
|
59
|
+
ModelIframeData = "model_iframe_data",
|
|
60
|
+
SavedStateGet = "saved_state_get",
|
|
61
|
+
SavedStateQuery = "saved_state_query",
|
|
62
|
+
SavedStatePatch = "saved_state_patch",
|
|
63
|
+
SavedStateCreate = "saved_state_create",
|
|
64
|
+
SavedStateDelete = "saved_state_delete",
|
|
65
|
+
DomainGet = "domain_get",
|
|
66
|
+
DomainQuery = "domain_query",
|
|
67
|
+
DomainCreate = "domain_create",
|
|
68
|
+
DomainPatch = "domain_patch",
|
|
69
|
+
DomainDelete = "domain_delete",
|
|
70
|
+
OpenIDProviderGet = "openid_provider_get",
|
|
71
|
+
OpenIDProviderCreate = "openid_provider_create",
|
|
72
|
+
OpenIDProviderQuery = "openid_provider_query",
|
|
73
|
+
OpenIDProviderPatch = "openid_provider_patch",
|
|
74
|
+
OpenIDPRoviderDelete = "openid_provider_delete",
|
|
75
|
+
OrganizationGet = "organization_get",
|
|
76
|
+
OrganizationQuery = "organization_query",
|
|
77
|
+
OrganizationCreate = "organization_create",
|
|
78
|
+
OrganizationDelete = "organization_delete",
|
|
79
|
+
OrganizationPatch = "organization_patch",
|
|
80
|
+
OrganizationInvitationCreate = "organization_invitation_create",
|
|
81
|
+
OrganizationInvitationDelete = "organization_invitation_delete",
|
|
82
|
+
OrganizationInvitationsGet = "organization_invitation_get",
|
|
83
|
+
OrganizationInvitationAccept = "organization_invitation_accept",
|
|
84
|
+
OrganizationInvitationDeny = "organization_invitation_deny",
|
|
85
|
+
OrganizationPatchMemberRole = "organization_patch_member_role",
|
|
86
|
+
OrganizationInvitationByEmail = "organization_invitation_by_email",
|
|
87
|
+
NotificationGet = "notification_get",
|
|
88
|
+
NotificationQuery = "notification_query",
|
|
89
|
+
NotificationCreate = "notification_create",
|
|
90
|
+
NotificationPatch = "notification_patch",
|
|
91
|
+
NotificationDelete = "notification_delete",
|
|
92
|
+
NotificationSummary = "notification_summary",
|
|
93
|
+
NotificationReadAll = "notification_read_all",
|
|
94
|
+
UserModelSessionsQuery = "user_model_sessions_query",
|
|
95
|
+
OrganizationModelSessionsQuery = "organization_model_sessions_query",
|
|
96
|
+
ChargebeeHostedPage = "chargebee_hosted_page",
|
|
97
|
+
ChargebeeHostedPageUpdatePaymentMethod = "chargebee_hosted_page_update_payment_method",
|
|
98
|
+
ChargebeePortalSession = "chargebee_portal_session",
|
|
99
|
+
ChargebeeConfig = "chargebee_config",
|
|
100
|
+
ChargebeeQueryPlan = "chargebee_query_plan",
|
|
101
|
+
HttpLogQuery = "http_log_query",
|
|
102
|
+
ModelSharingCreate = "model_sharing_create",
|
|
103
|
+
ModelSharingCreateMultiple = "model_sharing_create_multiple",
|
|
104
|
+
ModelSharingQuery = "model_sharing_query",
|
|
105
|
+
ModelSharingQueryByModel = "model_sharing_query_by_model",
|
|
106
|
+
ModelSharingQueryByUser = "model_sharing_query_by_user",
|
|
107
|
+
ModelSharingGetByModelAndUser = "model_sharing_get_by_model_and_user",
|
|
108
|
+
ModelSharingDelete = "model_sharing_delete",
|
|
109
|
+
ModelSharingGroupedByuser = "model_sharing_grouped_by_user",
|
|
110
|
+
SavedStateSharingCreate = "saved_state_sharing_create",
|
|
111
|
+
SavedStateSharingCreateMultiple = "saved_state_sharing_create_multiple",
|
|
112
|
+
SavedStateSharingQuery = "saved_state_sharing_query",
|
|
113
|
+
SavedStateSharingQueryBySavedState = "saved_state_sharing_query_by_saved_state",
|
|
114
|
+
SavedStateSharingQueryByUser = "saved_state_sharing_query_by_user",
|
|
115
|
+
SavedStateSharingGetBySavedStateAndUser = "saved_state_sharing_get_by_saved_state_and_user",
|
|
116
|
+
SavedStateSharingDelete = "saved_state_sharing_delete",
|
|
117
|
+
SavedStateSharingGroupedByuser = "saved_state_sharing_grouped_by_user",
|
|
118
|
+
WebhookChargebeeEvent = "webhook_chargebee_event",
|
|
119
|
+
WebhookModelMessage = "webhook_model_message",
|
|
120
|
+
WebhookNotification = "webhook_notification",
|
|
121
|
+
ModelTransferRequestCreate = "model_transfer_request_create",
|
|
122
|
+
ModelTransferRequestDelete = "model_transfer_request_delete",
|
|
123
|
+
ModelTransferRequestList = "model_transfer_request_list",
|
|
124
|
+
ModelTransferRequestGet = "model_transfer_request_get",
|
|
125
|
+
ModelTransferRequestAccept = "model_transfer_request_accept",
|
|
126
|
+
ModelTransferRequestDeny = "model_transfer_request_deny",
|
|
127
|
+
DocumentCreate = "document_create",
|
|
128
|
+
DocumentQuery = "document_query",
|
|
129
|
+
DocumentDelete = "document_delete",
|
|
130
|
+
DocumentList = "document_list",
|
|
131
|
+
DocumentDownload = "document_download",
|
|
132
|
+
DocumentView = "document_view",
|
|
133
|
+
DocumentAccept = "document_accept",
|
|
134
|
+
DocumentBrowserDownload = "document_browser_download",
|
|
135
|
+
DocumentBrowserView = "document_browser_view"
|
|
136
|
+
}
|
|
137
137
|
//# sourceMappingURL=SdPlatformRequestId.d.ts.map
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { RequestId } from "./SdPlatformRequestId";
|
|
2
|
-
import { SdPlatformSdkConfig } from "./SdPlatformSdkConfig";
|
|
3
|
-
export interface SdPlatformSdkRequestConfig {
|
|
4
|
-
/** Bearer token for "Authorization: Bearer {access_token}" header, takes precedence over basic_access_token */
|
|
5
|
-
access_token?: string | null;
|
|
6
|
-
/** Basic HTTP authentication token used for "Authorization: Basic {basic_access_token}" header, used by some webhooks */
|
|
7
|
-
basic_access_token?: string | null;
|
|
8
|
-
/** Client id to be set as X-ShapeDiver-Client header */
|
|
9
|
-
client_id?: string | null;
|
|
10
|
-
/** Username for basic HTTP authentication, takes precedence over basic_access_token */
|
|
11
|
-
username?: string | null | undefined;
|
|
12
|
-
/** Password for basic HTTP authentication, takes precedence over basic_access_token */
|
|
13
|
-
password?: string | null | undefined;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Event type for request start event callbacks.
|
|
17
|
-
*/
|
|
18
|
-
export interface SdPlatformRequestStartEvent {
|
|
19
|
-
/** Identifier for type of request */
|
|
20
|
-
readonly id: RequestId;
|
|
21
|
-
readonly requestParams: {
|
|
22
|
-
method?: string;
|
|
23
|
-
url?: string;
|
|
24
|
-
data?: any;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Event type for request finished event callbacks.
|
|
29
|
-
*/
|
|
30
|
-
export interface SdPlatformRequestFinishedEvent extends SdPlatformRequestStartEvent {
|
|
31
|
-
readonly response: {
|
|
32
|
-
status: number;
|
|
33
|
-
data: any;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Base API used by the authentication API and the ShapeDiver Platform resource APIs.
|
|
38
|
-
*/
|
|
39
|
-
export declare class SdPlatformSdkApi {
|
|
40
|
-
private __config;
|
|
41
|
-
private __onRequestStart;
|
|
42
|
-
private __onRequestFinished;
|
|
43
|
-
constructor(__config: SdPlatformSdkConfig);
|
|
44
|
-
private __toQueryString;
|
|
45
|
-
private __resolveRequest;
|
|
46
|
-
private __afterRequest;
|
|
47
|
-
private __fetch;
|
|
48
|
-
/**
|
|
49
|
-
* Register callbacks for request start events.
|
|
50
|
-
* @param cb
|
|
51
|
-
*/
|
|
52
|
-
onRequestStart(cb: (event: SdPlatformRequestStartEvent) => void): void;
|
|
53
|
-
/**
|
|
54
|
-
* Register callbacks for request finished events.
|
|
55
|
-
* @param cb
|
|
56
|
-
*/
|
|
57
|
-
onRequestFinished(cb: (event: SdPlatformRequestFinishedEvent) => void): void;
|
|
58
|
-
get<T>(id: RequestId, url: string, config: SdPlatformSdkRequestConfig, queryParams?: object): Promise<T>;
|
|
59
|
-
post<T>(id: RequestId, url: string, data: any, config: SdPlatformSdkRequestConfig, headers?: {
|
|
60
|
-
[id: string]: string;
|
|
61
|
-
}): Promise<T>;
|
|
62
|
-
patch<T>(id: RequestId, url: string, data: any, config: SdPlatformSdkRequestConfig, headers?: {
|
|
63
|
-
[id: string]: string;
|
|
64
|
-
}): Promise<T>;
|
|
65
|
-
delete<T>(id: RequestId, url: string, config: SdPlatformSdkRequestConfig): Promise<T>;
|
|
66
|
-
}
|
|
1
|
+
import { RequestId } from "./SdPlatformRequestId";
|
|
2
|
+
import { SdPlatformSdkConfig } from "./SdPlatformSdkConfig";
|
|
3
|
+
export interface SdPlatformSdkRequestConfig {
|
|
4
|
+
/** Bearer token for "Authorization: Bearer {access_token}" header, takes precedence over basic_access_token */
|
|
5
|
+
access_token?: string | null;
|
|
6
|
+
/** Basic HTTP authentication token used for "Authorization: Basic {basic_access_token}" header, used by some webhooks */
|
|
7
|
+
basic_access_token?: string | null;
|
|
8
|
+
/** Client id to be set as X-ShapeDiver-Client header */
|
|
9
|
+
client_id?: string | null;
|
|
10
|
+
/** Username for basic HTTP authentication, takes precedence over basic_access_token */
|
|
11
|
+
username?: string | null | undefined;
|
|
12
|
+
/** Password for basic HTTP authentication, takes precedence over basic_access_token */
|
|
13
|
+
password?: string | null | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Event type for request start event callbacks.
|
|
17
|
+
*/
|
|
18
|
+
export interface SdPlatformRequestStartEvent {
|
|
19
|
+
/** Identifier for type of request */
|
|
20
|
+
readonly id: RequestId;
|
|
21
|
+
readonly requestParams: {
|
|
22
|
+
method?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
data?: any;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Event type for request finished event callbacks.
|
|
29
|
+
*/
|
|
30
|
+
export interface SdPlatformRequestFinishedEvent extends SdPlatformRequestStartEvent {
|
|
31
|
+
readonly response: {
|
|
32
|
+
status: number;
|
|
33
|
+
data: any;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Base API used by the authentication API and the ShapeDiver Platform resource APIs.
|
|
38
|
+
*/
|
|
39
|
+
export declare class SdPlatformSdkApi {
|
|
40
|
+
private __config;
|
|
41
|
+
private __onRequestStart;
|
|
42
|
+
private __onRequestFinished;
|
|
43
|
+
constructor(__config: SdPlatformSdkConfig);
|
|
44
|
+
private __toQueryString;
|
|
45
|
+
private __resolveRequest;
|
|
46
|
+
private __afterRequest;
|
|
47
|
+
private __fetch;
|
|
48
|
+
/**
|
|
49
|
+
* Register callbacks for request start events.
|
|
50
|
+
* @param cb
|
|
51
|
+
*/
|
|
52
|
+
onRequestStart(cb: (event: SdPlatformRequestStartEvent) => void): void;
|
|
53
|
+
/**
|
|
54
|
+
* Register callbacks for request finished events.
|
|
55
|
+
* @param cb
|
|
56
|
+
*/
|
|
57
|
+
onRequestFinished(cb: (event: SdPlatformRequestFinishedEvent) => void): void;
|
|
58
|
+
get<T>(id: RequestId, url: string, config: SdPlatformSdkRequestConfig, queryParams?: object): Promise<T>;
|
|
59
|
+
post<T>(id: RequestId, url: string, data: any, config: SdPlatformSdkRequestConfig, headers?: {
|
|
60
|
+
[id: string]: string;
|
|
61
|
+
}): Promise<T>;
|
|
62
|
+
patch<T>(id: RequestId, url: string, data: any, config: SdPlatformSdkRequestConfig, headers?: {
|
|
63
|
+
[id: string]: string;
|
|
64
|
+
}): Promise<T>;
|
|
65
|
+
delete<T>(id: RequestId, url: string, config: SdPlatformSdkRequestConfig): Promise<T>;
|
|
66
|
+
}
|
|
67
67
|
//# sourceMappingURL=SdPlatformSdkApi.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configuration of an instance of the platform SDK.
|
|
3
|
-
*/
|
|
4
|
-
export declare class SdPlatformSdkConfig {
|
|
5
|
-
/** Client id to use */
|
|
6
|
-
clientId?: string | null | undefined;
|
|
7
|
-
/** Client secret to use */
|
|
8
|
-
clientSecret?: string | null | undefined;
|
|
9
|
-
/** Base URL of the ShapeDiver Platform Backend */
|
|
10
|
-
baseUrl?: string | null | undefined;
|
|
11
|
-
constructor(
|
|
12
|
-
/** Client id to use */
|
|
13
|
-
clientId?: string | null | undefined,
|
|
14
|
-
/** Client secret to use */
|
|
15
|
-
clientSecret?: string | null | undefined,
|
|
16
|
-
/** Base URL of the ShapeDiver Platform Backend */
|
|
17
|
-
baseUrl?: string | null | undefined);
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Configuration of an instance of the platform SDK.
|
|
3
|
+
*/
|
|
4
|
+
export declare class SdPlatformSdkConfig {
|
|
5
|
+
/** Client id to use */
|
|
6
|
+
clientId?: string | null | undefined;
|
|
7
|
+
/** Client secret to use */
|
|
8
|
+
clientSecret?: string | null | undefined;
|
|
9
|
+
/** Base URL of the ShapeDiver Platform Backend */
|
|
10
|
+
baseUrl?: string | null | undefined;
|
|
11
|
+
constructor(
|
|
12
|
+
/** Client id to use */
|
|
13
|
+
clientId?: string | null | undefined,
|
|
14
|
+
/** Client secret to use */
|
|
15
|
+
clientSecret?: string | null | undefined,
|
|
16
|
+
/** Base URL of the ShapeDiver Platform Backend */
|
|
17
|
+
baseUrl?: string | null | undefined);
|
|
18
|
+
}
|
|
19
19
|
//# sourceMappingURL=SdPlatformSdkConfig.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AxiosError } from "axios";
|
|
2
|
-
import { SdPlatformError } from "../SdPlatformErrors";
|
|
3
|
-
/**
|
|
4
|
-
* Maps the given error into a ShapeDiver API response error object.
|
|
5
|
-
*/
|
|
6
|
-
export declare function mapToApiError(error: Error | AxiosError): SdPlatformError;
|
|
1
|
+
import { AxiosError } from "axios";
|
|
2
|
+
import { SdPlatformError } from "../SdPlatformErrors";
|
|
3
|
+
/**
|
|
4
|
+
* Maps the given error into a ShapeDiver API response error object.
|
|
5
|
+
*/
|
|
6
|
+
export declare function mapToApiError(error: Error | AxiosError): SdPlatformError;
|
|
7
7
|
//# sourceMappingURL=SdPlatformSdkErrorMapping.d.ts.map
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { SdPlatformSdkContext, SdPlatformAuthenticationStatus } from '../SdPlatformSdkContext';
|
|
2
|
-
import { SdPlatformResponseError } from "../SdPlatformErrors";
|
|
3
|
-
import { SdPlatformAuthResponse, SdPlatformAuthLogoutResponse, SdPlatformRequestAuthorizationCode, SdPlatformAuthorizationCodeResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
-
/**
|
|
5
|
-
* Authentication service for ShapeDiver Platform.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SdPlatformAuthServiceApi {
|
|
8
|
-
private __context;
|
|
9
|
-
private __api;
|
|
10
|
-
private __config;
|
|
11
|
-
private __refreshTokenFailedEvents;
|
|
12
|
-
private __passwordGrantFailedEvents;
|
|
13
|
-
private __authorizationCodeFailedEvents;
|
|
14
|
-
/** instance of token request which is used in order to not spam with token requests */
|
|
15
|
-
private __refreshTokenRequestMeta;
|
|
16
|
-
constructor(__context: SdPlatformSdkContext);
|
|
17
|
-
private __resolveConfig;
|
|
18
|
-
private __request;
|
|
19
|
-
/**
|
|
20
|
-
* Convert "expires_in" number of seconds to an absolute expiration date.
|
|
21
|
-
* @param seconds
|
|
22
|
-
*/
|
|
23
|
-
private convertToExpirationDate;
|
|
24
|
-
/**
|
|
25
|
-
* Set details of access token in context.
|
|
26
|
-
* @param data auth response
|
|
27
|
-
*/
|
|
28
|
-
private setAccessTokenDetails;
|
|
29
|
-
get authData(): SdPlatformAuthenticationStatus;
|
|
30
|
-
/**
|
|
31
|
-
* Register callbacks for "refresh_token" grant failed events.
|
|
32
|
-
* @param fn
|
|
33
|
-
*/
|
|
34
|
-
onRefreshTokenRequestFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
35
|
-
/**
|
|
36
|
-
* Register callbacks for "password" grant failed events.
|
|
37
|
-
* @param fn
|
|
38
|
-
*/
|
|
39
|
-
onPasswordGrantFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
40
|
-
/**
|
|
41
|
-
* Register callbacks for "code" grant failed events.
|
|
42
|
-
* @param fn
|
|
43
|
-
*/
|
|
44
|
-
onAuthorizationCodeFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
45
|
-
/**
|
|
46
|
-
* Try to get a fresh access token using the current refresh token. OAuth 2.0 "refresh_token" grant.
|
|
47
|
-
* @returns
|
|
48
|
-
*/
|
|
49
|
-
refreshToken(): Promise<SdPlatformAuthResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* Authenticate using credentials. OAuth 2.0 "password" grant.
|
|
52
|
-
* @param username
|
|
53
|
-
* @param password
|
|
54
|
-
* @returns
|
|
55
|
-
*/
|
|
56
|
-
passwordGrant(username: string, password: string): Promise<SdPlatformAuthResponse>;
|
|
57
|
-
/**
|
|
58
|
-
* Authenticate using authorization code. Open Id providers.
|
|
59
|
-
* @param code
|
|
60
|
-
* @param state
|
|
61
|
-
* @returns
|
|
62
|
-
*/
|
|
63
|
-
authorizationCode(code: string, state: string): Promise<SdPlatformAuthResponse>;
|
|
64
|
-
/**
|
|
65
|
-
* Clean the authentication data, unset the "refresh_token" cookie.
|
|
66
|
-
* @returns
|
|
67
|
-
*/
|
|
68
|
-
logout(): Promise<SdPlatformAuthLogoutResponse>;
|
|
69
|
-
/**
|
|
70
|
-
* Create and get authorization code.
|
|
71
|
-
* @param params
|
|
72
|
-
* @returns
|
|
73
|
-
*/
|
|
74
|
-
requestAuthorizationCode(params: SdPlatformRequestAuthorizationCode): Promise<SdPlatformAuthorizationCodeResponse>;
|
|
75
|
-
private __decodeToken;
|
|
76
|
-
private __cleanAuthData;
|
|
77
|
-
}
|
|
1
|
+
import { SdPlatformSdkContext, SdPlatformAuthenticationStatus } from '../SdPlatformSdkContext';
|
|
2
|
+
import { SdPlatformResponseError } from "../SdPlatformErrors";
|
|
3
|
+
import { SdPlatformAuthResponse, SdPlatformAuthLogoutResponse, SdPlatformRequestAuthorizationCode, SdPlatformAuthorizationCodeResponse } from "@shapediver/api.platform-api-dto-v1";
|
|
4
|
+
/**
|
|
5
|
+
* Authentication service for ShapeDiver Platform.
|
|
6
|
+
*/
|
|
7
|
+
export declare class SdPlatformAuthServiceApi {
|
|
8
|
+
private __context;
|
|
9
|
+
private __api;
|
|
10
|
+
private __config;
|
|
11
|
+
private __refreshTokenFailedEvents;
|
|
12
|
+
private __passwordGrantFailedEvents;
|
|
13
|
+
private __authorizationCodeFailedEvents;
|
|
14
|
+
/** instance of token request which is used in order to not spam with token requests */
|
|
15
|
+
private __refreshTokenRequestMeta;
|
|
16
|
+
constructor(__context: SdPlatformSdkContext);
|
|
17
|
+
private __resolveConfig;
|
|
18
|
+
private __request;
|
|
19
|
+
/**
|
|
20
|
+
* Convert "expires_in" number of seconds to an absolute expiration date.
|
|
21
|
+
* @param seconds
|
|
22
|
+
*/
|
|
23
|
+
private convertToExpirationDate;
|
|
24
|
+
/**
|
|
25
|
+
* Set details of access token in context.
|
|
26
|
+
* @param data auth response
|
|
27
|
+
*/
|
|
28
|
+
private setAccessTokenDetails;
|
|
29
|
+
get authData(): SdPlatformAuthenticationStatus;
|
|
30
|
+
/**
|
|
31
|
+
* Register callbacks for "refresh_token" grant failed events.
|
|
32
|
+
* @param fn
|
|
33
|
+
*/
|
|
34
|
+
onRefreshTokenRequestFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
35
|
+
/**
|
|
36
|
+
* Register callbacks for "password" grant failed events.
|
|
37
|
+
* @param fn
|
|
38
|
+
*/
|
|
39
|
+
onPasswordGrantFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* Register callbacks for "code" grant failed events.
|
|
42
|
+
* @param fn
|
|
43
|
+
*/
|
|
44
|
+
onAuthorizationCodeFailed(fn: (responseError: SdPlatformResponseError) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* Try to get a fresh access token using the current refresh token. OAuth 2.0 "refresh_token" grant.
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
refreshToken(): Promise<SdPlatformAuthResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Authenticate using credentials. OAuth 2.0 "password" grant.
|
|
52
|
+
* @param username
|
|
53
|
+
* @param password
|
|
54
|
+
* @returns
|
|
55
|
+
*/
|
|
56
|
+
passwordGrant(username: string, password: string): Promise<SdPlatformAuthResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Authenticate using authorization code. Open Id providers.
|
|
59
|
+
* @param code
|
|
60
|
+
* @param state
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
authorizationCode(code: string, state: string): Promise<SdPlatformAuthResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* Clean the authentication data, unset the "refresh_token" cookie.
|
|
66
|
+
* @returns
|
|
67
|
+
*/
|
|
68
|
+
logout(): Promise<SdPlatformAuthLogoutResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Create and get authorization code.
|
|
71
|
+
* @param params
|
|
72
|
+
* @returns
|
|
73
|
+
*/
|
|
74
|
+
requestAuthorizationCode(params: SdPlatformRequestAuthorizationCode): Promise<SdPlatformAuthorizationCodeResponse>;
|
|
75
|
+
private __decodeToken;
|
|
76
|
+
private __cleanAuthData;
|
|
77
|
+
}
|
|
78
78
|
//# sourceMappingURL=SdPlatformAuthServiceApi.d.ts.map
|