@widgetic/api-sdk-ts 2.0.3 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/CreditsApi.d.ts +2 -2
- package/dist/apis/CreditsApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +2 -2
- package/dist/apis/ManagedUsersApi.js +2 -2
- package/dist/apis/OrganizationsApi.d.ts +74 -0
- package/dist/apis/OrganizationsApi.js +205 -0
- package/dist/apis/PartnersApi.d.ts +8 -8
- package/dist/apis/PartnersApi.js +8 -8
- package/dist/apis/TokensApi.d.ts +2 -2
- package/dist/apis/TokensApi.js +2 -2
- package/dist/apis/UploadsApi.d.ts +2 -2
- package/dist/apis/UploadsApi.js +2 -2
- package/dist/apis/UsersApi.d.ts +3 -59
- package/dist/apis/UsersApi.js +2 -150
- package/dist/apis/WidgetsApi.d.ts +2 -2
- package/dist/apis/WidgetsApi.js +2 -2
- package/dist/apis/WorkflowsApi.d.ts +38 -38
- package/dist/apis/WorkflowsApi.js +38 -38
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CreditsApi.js +2 -2
- package/dist/esm/apis/ManagedUsersApi.js +2 -2
- package/dist/esm/apis/OrganizationsApi.js +168 -0
- package/dist/esm/apis/PartnersApi.js +8 -8
- package/dist/esm/apis/TokensApi.js +2 -2
- package/dist/esm/apis/UploadsApi.js +2 -2
- package/dist/esm/apis/UsersApi.js +3 -151
- package/dist/esm/apis/WidgetsApi.js +2 -2
- package/dist/esm/apis/WorkflowsApi.js +38 -38
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/{GetPersonalWorkspaceDomains200Response.js → AddOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/AddOrganizationDomainResponseData.js +44 -0
- package/dist/esm/models/{PersonalWorkspaceDomainResultResponse.js → DeleteOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/DeleteOrganizationDomainResponseData.js +41 -0
- package/dist/esm/models/EditorSession.js +4 -0
- package/dist/esm/models/GetOrganizationDomains200Response.js +51 -0
- package/dist/esm/models/NewWidget.js +0 -1
- package/dist/esm/models/{PersonalWorkspaceDomain.js → OrganizationDomain.js} +12 -18
- package/dist/esm/models/{DeletePersonalWorkspaceDomainResponse.js → UpdateOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/UserApiKey.js +2 -0
- package/dist/esm/models/ValidateToken200ResponseData.js +3 -0
- package/dist/esm/models/ValidateToken200ResponseDataWorkspace.js +43 -0
- package/dist/esm/models/index.js +8 -6
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AccountCreditBalance.d.ts +1 -1
- package/dist/models/AddOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/AddOrganizationDomainResponse.js +58 -0
- package/dist/models/AddOrganizationDomainResponseData.d.ts +39 -0
- package/dist/models/AddOrganizationDomainResponseData.js +51 -0
- package/dist/models/DeleteOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/DeleteOrganizationDomainResponse.js +58 -0
- package/dist/models/DeleteOrganizationDomainResponseData.d.ts +32 -0
- package/dist/models/DeleteOrganizationDomainResponseData.js +48 -0
- package/dist/models/EditorSession.d.ts +7 -0
- package/dist/models/EditorSession.js +4 -0
- package/dist/models/GetOrganizationDomains200Response.d.ts +46 -0
- package/dist/models/GetOrganizationDomains200Response.js +58 -0
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/NewWidget.d.ts +2 -3
- package/dist/models/NewWidget.js +0 -1
- package/dist/models/OrganizationDomain.d.ts +56 -0
- package/dist/models/OrganizationDomain.js +56 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +1 -1
- package/dist/models/UpdateOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/UpdateOrganizationDomainResponse.js +58 -0
- package/dist/models/UserApiKey.d.ts +6 -0
- package/dist/models/UserApiKey.js +2 -0
- package/dist/models/ValidateToken200ResponseData.d.ts +7 -0
- package/dist/models/ValidateToken200ResponseData.js +3 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.d.ts +38 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.js +50 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +2 -2
- package/dist/models/index.d.ts +8 -6
- package/dist/models/index.js +8 -6
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +0 -41
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +0 -48
- package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.js +0 -58
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +0 -32
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +0 -48
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +0 -58
- package/dist/models/PersonalWorkspaceDomain.d.ts +0 -56
- package/dist/models/PersonalWorkspaceDomain.js +0 -62
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +0 -39
- package/dist/models/PersonalWorkspaceDomainResult.js +0 -55
- package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +0 -46
- package/dist/models/PersonalWorkspaceDomainResultResponse.js +0 -58
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
|
+
import { OrganizationDomainFromJSON, OrganizationDomainToJSON, } from './OrganizationDomain.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GetOrganizationDomains200Response interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGetOrganizationDomains200Response(value) {
|
|
20
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function GetOrganizationDomains200ResponseFromJSON(json) {
|
|
27
|
+
return GetOrganizationDomains200ResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function GetOrganizationDomains200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'success': json['success'],
|
|
35
|
+
'data': (json['data'].map(OrganizationDomainFromJSON)),
|
|
36
|
+
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function GetOrganizationDomains200ResponseToJSON(json) {
|
|
40
|
+
return GetOrganizationDomains200ResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function GetOrganizationDomains200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'success': value['success'],
|
|
48
|
+
'data': (value['data'].map(OrganizationDomainToJSON)),
|
|
49
|
+
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -12,43 +12,37 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the OrganizationDomain interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
18
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('userId' in value) || value['userId'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('domain' in value) || value['domain'] === undefined)
|
|
23
|
-
return false;
|
|
17
|
+
export function instanceOfOrganizationDomain(value) {
|
|
24
18
|
return true;
|
|
25
19
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
20
|
+
export function OrganizationDomainFromJSON(json) {
|
|
21
|
+
return OrganizationDomainFromJSONTyped(json, false);
|
|
28
22
|
}
|
|
29
|
-
export function
|
|
23
|
+
export function OrganizationDomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
24
|
if (json == null) {
|
|
31
25
|
return json;
|
|
32
26
|
}
|
|
33
27
|
return {
|
|
34
|
-
'id': json['id'],
|
|
35
|
-
'
|
|
36
|
-
'
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'domain': json['domain'] == null ? undefined : json['domain'],
|
|
30
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
37
31
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
38
32
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
39
33
|
};
|
|
40
34
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
35
|
+
export function OrganizationDomainToJSON(json) {
|
|
36
|
+
return OrganizationDomainToJSONTyped(json, false);
|
|
43
37
|
}
|
|
44
|
-
export function
|
|
38
|
+
export function OrganizationDomainToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
39
|
if (value == null) {
|
|
46
40
|
return value;
|
|
47
41
|
}
|
|
48
42
|
return {
|
|
49
43
|
'id': value['id'],
|
|
50
|
-
'userId': value['userId'],
|
|
51
44
|
'domain': value['domain'],
|
|
45
|
+
'organizationId': value['organizationId'],
|
|
52
46
|
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
53
47
|
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
54
48
|
};
|
|
@@ -12,40 +12,40 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
|
-
import {
|
|
15
|
+
import { AddOrganizationDomainResponseDataFromJSON, AddOrganizationDomainResponseDataToJSON, } from './AddOrganizationDomainResponseData.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the UpdateOrganizationDomainResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfUpdateOrganizationDomainResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function UpdateOrganizationDomainResponseFromJSON(json) {
|
|
27
|
+
return UpdateOrganizationDomainResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function UpdateOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'success': json['success'],
|
|
35
|
-
'data':
|
|
35
|
+
'data': AddOrganizationDomainResponseDataFromJSON(json['data']),
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function UpdateOrganizationDomainResponseToJSON(json) {
|
|
40
|
+
return UpdateOrganizationDomainResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function UpdateOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'success': value['success'],
|
|
48
|
-
'data':
|
|
48
|
+
'data': AddOrganizationDomainResponseDataToJSON(value['data']),
|
|
49
49
|
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -56,6 +56,7 @@ export function UserApiKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
57
57
|
'lastUsedAt': json['lastUsedAt'] == null ? undefined : (new Date(json['lastUsedAt'])),
|
|
58
58
|
'isActive': json['isActive'],
|
|
59
|
+
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
59
60
|
'scopes': (json['scopes'].map(ApiKeyScopeFromJSON)),
|
|
60
61
|
'preset': json['preset'],
|
|
61
62
|
};
|
|
@@ -75,6 +76,7 @@ export function UserApiKeyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
76
|
'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
|
|
76
77
|
'lastUsedAt': value['lastUsedAt'] == null ? undefined : (value['lastUsedAt'].toISOString()),
|
|
77
78
|
'isActive': value['isActive'],
|
|
79
|
+
'organizationId': value['organizationId'],
|
|
78
80
|
'scopes': (value['scopes'].map(ApiKeyScopeToJSON)),
|
|
79
81
|
'preset': value['preset'],
|
|
80
82
|
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ValidateToken200ResponseDataWorkspaceFromJSON, ValidateToken200ResponseDataWorkspaceToJSON, } from './ValidateToken200ResponseDataWorkspace.js';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -38,6 +39,7 @@ export function ValidateToken200ResponseDataFromJSONTyped(json, ignoreDiscrimina
|
|
|
38
39
|
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
39
40
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
40
41
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
42
|
+
'workspace': json['workspace'] == null ? undefined : ValidateToken200ResponseDataWorkspaceFromJSON(json['workspace']),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export function ValidateToken200ResponseDataToJSON(json) {
|
|
@@ -53,5 +55,6 @@ export function ValidateToken200ResponseDataToJSONTyped(value, ignoreDiscriminat
|
|
|
53
55
|
'scopes': value['scopes'],
|
|
54
56
|
'userId': value['userId'],
|
|
55
57
|
'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
|
|
58
|
+
'workspace': ValidateToken200ResponseDataWorkspaceToJSON(value['workspace']),
|
|
56
59
|
};
|
|
57
60
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ValidateToken200ResponseDataWorkspace interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfValidateToken200ResponseDataWorkspace(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ValidateToken200ResponseDataWorkspaceFromJSON(json) {
|
|
21
|
+
return ValidateToken200ResponseDataWorkspaceFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ValidateToken200ResponseDataWorkspaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ValidateToken200ResponseDataWorkspaceToJSON(json) {
|
|
33
|
+
return ValidateToken200ResponseDataWorkspaceToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ValidateToken200ResponseDataWorkspaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value['id'],
|
|
41
|
+
'name': value['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -11,6 +11,8 @@ export * from './AdapterConnectionRemovalResponse.js';
|
|
|
11
11
|
export * from './AdapterConnectionResponse.js';
|
|
12
12
|
export * from './AddAiAnswersKnowledgeDocumentRequest.js';
|
|
13
13
|
export * from './AddDomainRequest.js';
|
|
14
|
+
export * from './AddOrganizationDomainResponse.js';
|
|
15
|
+
export * from './AddOrganizationDomainResponseData.js';
|
|
14
16
|
export * from './AiAnswersKnowledge.js';
|
|
15
17
|
export * from './AiAnswersKnowledgeDocument.js';
|
|
16
18
|
export * from './AiAnswersKnowledgeDocumentResponse.js';
|
|
@@ -75,8 +77,8 @@ export * from './DeleteCompositionContentItemResponse.js';
|
|
|
75
77
|
export * from './DeleteCompositionContentItemResponseData.js';
|
|
76
78
|
export * from './DeleteCompositionDataSourceResponse.js';
|
|
77
79
|
export * from './DeleteCompositionDataSourceResponseData.js';
|
|
78
|
-
export * from './
|
|
79
|
-
export * from './
|
|
80
|
+
export * from './DeleteOrganizationDomainResponse.js';
|
|
81
|
+
export * from './DeleteOrganizationDomainResponseData.js';
|
|
80
82
|
export * from './DeleteUpload200Response.js';
|
|
81
83
|
export * from './DeleteUpload200ResponseData.js';
|
|
82
84
|
export * from './DeleteUserApiKeyResponse.js';
|
|
@@ -127,10 +129,10 @@ export * from './GetManagedUsersByManagerIdResponseData.js';
|
|
|
127
129
|
export * from './GetOperationResponse.js';
|
|
128
130
|
export * from './GetOperationResponseData.js';
|
|
129
131
|
export * from './GetOperationResponseDataMetadata.js';
|
|
132
|
+
export * from './GetOrganizationDomains200Response.js';
|
|
130
133
|
export * from './GetPartnerBillingOverview200Response.js';
|
|
131
134
|
export * from './GetPartnerEntitlementsResponse.js';
|
|
132
135
|
export * from './GetPartnerEntitlementsResponseData.js';
|
|
133
|
-
export * from './GetPersonalWorkspaceDomains200Response.js';
|
|
134
136
|
export * from './GetPublicCompositionEmbed200Response.js';
|
|
135
137
|
export * from './GetPublicCompositionEmbed200ResponseAdapters.js';
|
|
136
138
|
export * from './GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js';
|
|
@@ -179,6 +181,7 @@ export * from './OfferWorkflowPresetRequest.js';
|
|
|
179
181
|
export * from './OfferedWorkflowPreset.js';
|
|
180
182
|
export * from './OfferedWorkflowPresetList.js';
|
|
181
183
|
export * from './OfferedWorkflowPresetWidget.js';
|
|
184
|
+
export * from './OrganizationDomain.js';
|
|
182
185
|
export * from './PartnerAnalyticsByManagedUser.js';
|
|
183
186
|
export * from './PartnerAnalyticsByManagedUserResponse.js';
|
|
184
187
|
export * from './PartnerAnalyticsOfDay.js';
|
|
@@ -245,9 +248,6 @@ export * from './PatchBrandKitAssetRequest.js';
|
|
|
245
248
|
export * from './PatchBrandKitRequest.js';
|
|
246
249
|
export * from './PatchBrandKitRequestFonts.js';
|
|
247
250
|
export * from './PatchBrandKitRequestSpacing.js';
|
|
248
|
-
export * from './PersonalWorkspaceDomain.js';
|
|
249
|
-
export * from './PersonalWorkspaceDomainResult.js';
|
|
250
|
-
export * from './PersonalWorkspaceDomainResultResponse.js';
|
|
251
251
|
export * from './PostBrandKitIconRequest.js';
|
|
252
252
|
export * from './PostPublicCompositionEmbedStatus200Response.js';
|
|
253
253
|
export * from './PostPublicCompositionEmbedStatus200ResponseData.js';
|
|
@@ -302,6 +302,7 @@ export * from './UpdateComposition.js';
|
|
|
302
302
|
export * from './UpdateCompositionStatusRequest.js';
|
|
303
303
|
export * from './UpdateDomainRequest.js';
|
|
304
304
|
export * from './UpdateManagedUser.js';
|
|
305
|
+
export * from './UpdateOrganizationDomainResponse.js';
|
|
305
306
|
export * from './UpdatePartnerEntryContextSigningRequest.js';
|
|
306
307
|
export * from './UpdatePartnerNotificationSettingsRequest.js';
|
|
307
308
|
export * from './UpdateUserApiKeyRequest.js';
|
|
@@ -316,6 +317,7 @@ export * from './ValidateCompositionContentResponse.js';
|
|
|
316
317
|
export * from './ValidateCompositionContentResponseData.js';
|
|
317
318
|
export * from './ValidateToken200Response.js';
|
|
318
319
|
export * from './ValidateToken200ResponseData.js';
|
|
320
|
+
export * from './ValidateToken200ResponseDataWorkspace.js';
|
|
319
321
|
export * from './Widget.js';
|
|
320
322
|
export * from './WidgetClarification.js';
|
|
321
323
|
export * from './WidgetClarificationOption.js';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -29,7 +29,7 @@ export const BASE_PATH = "https://api.widgetic.com/v1".replace(/\/+$/, "");
|
|
|
29
29
|
// runs. The version is the one in this package's package.json: `scripts/deploy-sdk.sh` reads it and hands it to the
|
|
30
30
|
// generator as `npmVersion`, so the number a call reports is the number on npm.
|
|
31
31
|
export const SDK_NAME = "@widgetic/api-sdk-ts";
|
|
32
|
-
export const SDK_VERSION = "
|
|
32
|
+
export const SDK_VERSION = "3.0.0";
|
|
33
33
|
export const SDK_VERSION_HEADER = "X-SDK-Version";
|
|
34
34
|
export const SDK_VERSION_HEADER_VALUE = `${SDK_NAME}/${SDK_VERSION}`;
|
|
35
35
|
export class Configuration {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The credits an account holds in one workspace. A workspace's credits are its own
|
|
13
|
+
* The credits an account holds in one workspace. A workspace's credits are its own and can be spent in that workspace only, so the same person reads a different balance in each workspace they belong to, and a workspace nobody subscribed holds none.
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
16
|
* @interface AccountCreditBalance
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ResponseMeta } from './ResponseMeta';
|
|
13
|
+
import type { AddOrganizationDomainResponseData } from './AddOrganizationDomainResponseData';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AddOrganizationDomainResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AddOrganizationDomainResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Always `true` on a success.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AddOrganizationDomainResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AddOrganizationDomainResponseData}
|
|
29
|
+
* @memberof AddOrganizationDomainResponse
|
|
30
|
+
*/
|
|
31
|
+
data: AddOrganizationDomainResponseData;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AddOrganizationDomainResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AddOrganizationDomainResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAddOrganizationDomainResponse(value: object): value is AddOrganizationDomainResponse;
|
|
43
|
+
export declare function AddOrganizationDomainResponseFromJSON(json: any): AddOrganizationDomainResponse;
|
|
44
|
+
export declare function AddOrganizationDomainResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddOrganizationDomainResponse;
|
|
45
|
+
export declare function AddOrganizationDomainResponseToJSON(json: any): AddOrganizationDomainResponse;
|
|
46
|
+
export declare function AddOrganizationDomainResponseToJSONTyped(value?: AddOrganizationDomainResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAddOrganizationDomainResponse = instanceOfAddOrganizationDomainResponse;
|
|
17
|
+
exports.AddOrganizationDomainResponseFromJSON = AddOrganizationDomainResponseFromJSON;
|
|
18
|
+
exports.AddOrganizationDomainResponseFromJSONTyped = AddOrganizationDomainResponseFromJSONTyped;
|
|
19
|
+
exports.AddOrganizationDomainResponseToJSON = AddOrganizationDomainResponseToJSON;
|
|
20
|
+
exports.AddOrganizationDomainResponseToJSONTyped = AddOrganizationDomainResponseToJSONTyped;
|
|
21
|
+
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
|
+
const AddOrganizationDomainResponseData_1 = require("./AddOrganizationDomainResponseData");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AddOrganizationDomainResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAddOrganizationDomainResponse(value) {
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AddOrganizationDomainResponseFromJSON(json) {
|
|
34
|
+
return AddOrganizationDomainResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AddOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': json['success'],
|
|
42
|
+
'data': (0, AddOrganizationDomainResponseData_1.AddOrganizationDomainResponseDataFromJSON)(json['data']),
|
|
43
|
+
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AddOrganizationDomainResponseToJSON(json) {
|
|
47
|
+
return AddOrganizationDomainResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AddOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'success': value['success'],
|
|
55
|
+
'data': (0, AddOrganizationDomainResponseData_1.AddOrganizationDomainResponseDataToJSON)(value['data']),
|
|
56
|
+
'meta': (0, ResponseMeta_1.ResponseMetaToJSON)(value['meta']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OrganizationDomain } from './OrganizationDomain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddOrganizationDomainResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface AddOrganizationDomainResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AddOrganizationDomainResponseData
|
|
23
|
+
*/
|
|
24
|
+
message?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrganizationDomain}
|
|
28
|
+
* @memberof AddOrganizationDomainResponseData
|
|
29
|
+
*/
|
|
30
|
+
domain?: OrganizationDomain;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AddOrganizationDomainResponseData interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAddOrganizationDomainResponseData(value: object): value is AddOrganizationDomainResponseData;
|
|
36
|
+
export declare function AddOrganizationDomainResponseDataFromJSON(json: any): AddOrganizationDomainResponseData;
|
|
37
|
+
export declare function AddOrganizationDomainResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddOrganizationDomainResponseData;
|
|
38
|
+
export declare function AddOrganizationDomainResponseDataToJSON(json: any): AddOrganizationDomainResponseData;
|
|
39
|
+
export declare function AddOrganizationDomainResponseDataToJSONTyped(value?: AddOrganizationDomainResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAddOrganizationDomainResponseData = instanceOfAddOrganizationDomainResponseData;
|
|
17
|
+
exports.AddOrganizationDomainResponseDataFromJSON = AddOrganizationDomainResponseDataFromJSON;
|
|
18
|
+
exports.AddOrganizationDomainResponseDataFromJSONTyped = AddOrganizationDomainResponseDataFromJSONTyped;
|
|
19
|
+
exports.AddOrganizationDomainResponseDataToJSON = AddOrganizationDomainResponseDataToJSON;
|
|
20
|
+
exports.AddOrganizationDomainResponseDataToJSONTyped = AddOrganizationDomainResponseDataToJSONTyped;
|
|
21
|
+
const OrganizationDomain_1 = require("./OrganizationDomain");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AddOrganizationDomainResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAddOrganizationDomainResponseData(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AddOrganizationDomainResponseDataFromJSON(json) {
|
|
29
|
+
return AddOrganizationDomainResponseDataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AddOrganizationDomainResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
37
|
+
'domain': json['domain'] == null ? undefined : (0, OrganizationDomain_1.OrganizationDomainFromJSON)(json['domain']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AddOrganizationDomainResponseDataToJSON(json) {
|
|
41
|
+
return AddOrganizationDomainResponseDataToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AddOrganizationDomainResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'message': value['message'],
|
|
49
|
+
'domain': (0, OrganizationDomain_1.OrganizationDomainToJSON)(value['domain']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DeleteOrganizationDomainResponseData } from './DeleteOrganizationDomainResponseData';
|
|
13
|
+
import type { ResponseMeta } from './ResponseMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DeleteOrganizationDomainResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteOrganizationDomainResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Always `true` on a success.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof DeleteOrganizationDomainResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DeleteOrganizationDomainResponseData}
|
|
29
|
+
* @memberof DeleteOrganizationDomainResponse
|
|
30
|
+
*/
|
|
31
|
+
data: DeleteOrganizationDomainResponseData;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof DeleteOrganizationDomainResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the DeleteOrganizationDomainResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfDeleteOrganizationDomainResponse(value: object): value is DeleteOrganizationDomainResponse;
|
|
43
|
+
export declare function DeleteOrganizationDomainResponseFromJSON(json: any): DeleteOrganizationDomainResponse;
|
|
44
|
+
export declare function DeleteOrganizationDomainResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteOrganizationDomainResponse;
|
|
45
|
+
export declare function DeleteOrganizationDomainResponseToJSON(json: any): DeleteOrganizationDomainResponse;
|
|
46
|
+
export declare function DeleteOrganizationDomainResponseToJSONTyped(value?: DeleteOrganizationDomainResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDeleteOrganizationDomainResponse = instanceOfDeleteOrganizationDomainResponse;
|
|
17
|
+
exports.DeleteOrganizationDomainResponseFromJSON = DeleteOrganizationDomainResponseFromJSON;
|
|
18
|
+
exports.DeleteOrganizationDomainResponseFromJSONTyped = DeleteOrganizationDomainResponseFromJSONTyped;
|
|
19
|
+
exports.DeleteOrganizationDomainResponseToJSON = DeleteOrganizationDomainResponseToJSON;
|
|
20
|
+
exports.DeleteOrganizationDomainResponseToJSONTyped = DeleteOrganizationDomainResponseToJSONTyped;
|
|
21
|
+
const DeleteOrganizationDomainResponseData_1 = require("./DeleteOrganizationDomainResponseData");
|
|
22
|
+
const ResponseMeta_1 = require("./ResponseMeta");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DeleteOrganizationDomainResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfDeleteOrganizationDomainResponse(value) {
|
|
27
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DeleteOrganizationDomainResponseFromJSON(json) {
|
|
34
|
+
return DeleteOrganizationDomainResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DeleteOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': json['success'],
|
|
42
|
+
'data': (0, DeleteOrganizationDomainResponseData_1.DeleteOrganizationDomainResponseDataFromJSON)(json['data']),
|
|
43
|
+
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DeleteOrganizationDomainResponseToJSON(json) {
|
|
47
|
+
return DeleteOrganizationDomainResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DeleteOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'success': value['success'],
|
|
55
|
+
'data': (0, DeleteOrganizationDomainResponseData_1.DeleteOrganizationDomainResponseDataToJSON)(value['data']),
|
|
56
|
+
'meta': (0, ResponseMeta_1.ResponseMetaToJSON)(value['meta']),
|
|
57
|
+
};
|
|
58
|
+
}
|