@widgetic/api-sdk-ts 1.11.111 → 2.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/README.md +1 -1
- package/dist/apis/BrandKitApi.d.ts +40 -40
- package/dist/apis/BrandKitApi.js +40 -40
- package/dist/apis/CanvasesApi.d.ts +15 -15
- package/dist/apis/CompositionsApi.d.ts +255 -155
- package/dist/apis/CompositionsApi.js +333 -133
- package/dist/apis/CreditsApi.d.ts +7 -7
- package/dist/apis/CreditsApi.js +1 -1
- package/dist/apis/EntitlementsApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +97 -63
- package/dist/apis/ManagedUsersApi.js +106 -39
- package/dist/apis/OperationsApi.d.ts +4 -4
- package/dist/apis/OperationsApi.js +5 -5
- package/dist/apis/PartnersApi.d.ts +125 -125
- package/dist/apis/PartnersApi.js +11 -11
- package/dist/apis/PublicEmbedApi.d.ts +42 -42
- package/dist/apis/PublicEmbedApi.js +29 -29
- package/dist/apis/UploadsApi.d.ts +38 -38
- package/dist/apis/UploadsApi.js +60 -60
- package/dist/apis/UsersApi.d.ts +40 -40
- package/dist/apis/UsersApi.js +4 -4
- package/dist/apis/WidgetsApi.d.ts +23 -23
- package/dist/apis/WidgetsApi.js +36 -36
- package/dist/apis/WorkflowsApi.d.ts +85 -127
- package/dist/apis/WorkflowsApi.js +82 -192
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -2
- package/dist/esm/apis/BrandKitApi.js +39 -39
- package/dist/esm/apis/CompositionsApi.js +333 -133
- package/dist/esm/apis/CreditsApi.js +2 -2
- package/dist/esm/apis/InvoicesApi.js +1 -1
- package/dist/esm/apis/ManagedUsersApi.js +106 -39
- package/dist/esm/apis/OperationsApi.js +6 -6
- package/dist/esm/apis/PartnersApi.js +12 -12
- package/dist/esm/apis/PublicEmbedApi.js +30 -30
- package/dist/esm/apis/UploadsApi.js +60 -60
- package/dist/esm/apis/UsersApi.js +5 -5
- package/dist/esm/apis/WidgetsApi.js +37 -37
- package/dist/esm/apis/WorkflowsApi.js +82 -192
- package/dist/esm/apis/index.js +0 -2
- package/dist/esm/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +8 -8
- package/dist/esm/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +8 -8
- package/dist/esm/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +8 -8
- package/dist/esm/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +8 -8
- package/dist/esm/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +8 -8
- package/dist/esm/models/{CreateCompositionDatabaseRecord201Response.js → CompositionDatabaseRecordResponse.js} +8 -8
- package/dist/esm/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +8 -8
- package/dist/esm/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +11 -11
- package/dist/esm/models/{UploadsIdDelete200ResponseData.js → DeleteUpload200ResponseData.js} +8 -8
- package/dist/esm/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +8 -8
- package/dist/esm/models/GetOperationResponse.js +51 -0
- package/dist/esm/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +9 -9
- package/dist/esm/models/{UploadsGet200Response.js → ListUploads200Response.js} +8 -8
- package/dist/esm/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +8 -8
- package/dist/esm/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +8 -8
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +11 -0
- package/dist/esm/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +8 -8
- package/dist/esm/models/{CreateWorkspaceWorkflowFromPreset201Response.js → WorkflowDetailResponse.js} +8 -8
- package/dist/esm/models/WorkflowFailureReason.js +49 -0
- package/dist/esm/models/WorkflowFailureReasonCounter.js +52 -0
- package/dist/esm/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +8 -8
- package/dist/esm/models/WorkflowStats.js +3 -0
- package/dist/esm/models/index.js +20 -19
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AccountCreditTransactionListResponse.d.ts +46 -0
- package/dist/models/{GetPartnerCreditTransactions200Response.js → AccountCreditTransactionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionListResponse.d.ts +46 -0
- package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js} +13 -13
- package/dist/models/AdapterConnectionRemovalResponse.d.ts +46 -0
- package/dist/models/{RemoveUserAdapterConnection200Response.js → AdapterConnectionRemovalResponse.js} +13 -13
- package/dist/models/AdapterConnectionResponse.d.ts +46 -0
- package/dist/models/{SetUserAdapterConnection200Response.js → AdapterConnectionResponse.js} +13 -13
- package/dist/models/AiAnswersKnowledgeDocumentResponse.d.ts +46 -0
- package/dist/models/{AddAiAnswersKnowledgeDocument201Response.js → AiAnswersKnowledgeDocumentResponse.js} +13 -13
- package/dist/models/CompositionDatabaseRecordResponse.d.ts +48 -0
- package/dist/models/CompositionDatabaseRecordResponse.js +57 -0
- package/dist/models/ContentItemWriteResultResponse.d.ts +46 -0
- package/dist/models/{CreateCompositionContentItem201Response.js → ContentItemWriteResultResponse.js} +13 -13
- package/dist/models/DeleteUpload200Response.d.ts +46 -0
- package/dist/models/{OperationsIdGetResponse.js → DeleteUpload200Response.js} +16 -16
- package/dist/models/DeleteUpload200ResponseData.d.ts +32 -0
- package/dist/models/DeleteUpload200ResponseData.js +48 -0
- package/dist/models/DesignDefaultsResponse.d.ts +46 -0
- package/dist/models/{GetPartnerDesignDefaults200Response.js → DesignDefaultsResponse.js} +13 -13
- package/dist/models/GetOperationResponse.d.ts +46 -0
- package/dist/models/GetOperationResponse.js +58 -0
- package/dist/models/{OperationsIdGetResponseData.d.ts → GetOperationResponseData.d.ts} +19 -19
- package/dist/models/{OperationsIdGetResponseData.js → GetOperationResponseData.js} +15 -15
- package/dist/models/ListUploads200Response.d.ts +46 -0
- package/dist/models/{UploadsGet200Response.js → ListUploads200Response.js} +13 -13
- package/dist/models/ManagedUserLimitsResponse.d.ts +46 -0
- package/dist/models/{GetManagedUserLimits200Response.js → ManagedUserLimitsResponse.js} +13 -13
- package/dist/models/ManagedUserRemovalResponse.d.ts +46 -0
- package/dist/models/{DeleteManagedUser200Response.js → ManagedUserRemovalResponse.js} +13 -13
- package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +21 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.js +12 -1
- package/dist/models/PublicWorkflowResponse.d.ts +46 -0
- package/dist/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +13 -13
- package/dist/models/Upload.d.ts +1 -1
- package/dist/models/UploadLimits.d.ts +3 -3
- package/dist/models/WorkflowDetailResponse.d.ts +46 -0
- package/dist/models/WorkflowDetailResponse.js +58 -0
- package/dist/models/WorkflowFailureReason.d.ts +31 -0
- package/dist/models/WorkflowFailureReason.js +57 -0
- package/dist/models/WorkflowFailureReasonCounter.d.ts +45 -0
- package/dist/models/WorkflowFailureReasonCounter.js +59 -0
- package/dist/models/WorkflowResponse.d.ts +46 -0
- package/dist/models/{SaveWorkspaceWorkflow200Response.js → WorkflowResponse.js} +13 -13
- package/dist/models/WorkflowStats.d.ts +16 -1
- package/dist/models/WorkflowStats.js +3 -0
- package/dist/models/index.d.ts +20 -19
- package/dist/models/index.js +20 -19
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/apis/PartnerApi.d.ts +0 -2707
- package/dist/apis/PartnerApi.js +0 -7073
- package/dist/apis/WorkspacesApi.d.ts +0 -352
- package/dist/apis/WorkspacesApi.js +0 -946
- package/dist/esm/apis/PartnerApi.js +0 -7036
- package/dist/esm/apis/WorkspacesApi.js +0 -909
- package/dist/esm/models/CreateCompositionFromWidget201Response.js +0 -51
- package/dist/esm/models/UploadsIdDelete200Response.js +0 -51
- package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +0 -46
- package/dist/models/CreateCompositionContentItem201Response.d.ts +0 -46
- package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +0 -48
- package/dist/models/CreateCompositionDatabaseRecord201Response.js +0 -57
- package/dist/models/CreateCompositionFromWidget201Response.d.ts +0 -46
- package/dist/models/CreateCompositionFromWidget201Response.js +0 -58
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +0 -46
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +0 -58
- package/dist/models/DeleteManagedUser200Response.d.ts +0 -46
- package/dist/models/GetManagedUserLimits200Response.d.ts +0 -46
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +0 -46
- package/dist/models/GetPartnerDesignDefaults200Response.d.ts +0 -46
- package/dist/models/GetPublicWorkflow200Response.d.ts +0 -46
- package/dist/models/GetUserAdapterConnections200Response.d.ts +0 -46
- package/dist/models/OperationsIdGetResponse.d.ts +0 -46
- package/dist/models/RemoveUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/SaveWorkspaceWorkflow200Response.d.ts +0 -46
- package/dist/models/SetUserAdapterConnection200Response.d.ts +0 -46
- package/dist/models/UploadsGet200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.d.ts +0 -46
- package/dist/models/UploadsIdDelete200Response.js +0 -58
- package/dist/models/UploadsIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/UploadsIdDelete200ResponseData.js +0 -48
|
@@ -0,0 +1,52 @@
|
|
|
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 { WorkflowFailureReasonFromJSON, WorkflowFailureReasonToJSON, } from './WorkflowFailureReason.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the WorkflowFailureReasonCounter interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfWorkflowFailureReasonCounter(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function WorkflowFailureReasonCounterFromJSON(json) {
|
|
28
|
+
return WorkflowFailureReasonCounterFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function WorkflowFailureReasonCounterFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'reason': WorkflowFailureReasonFromJSON(json['reason']),
|
|
37
|
+
'total': json['total'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function WorkflowFailureReasonCounterToJSON(json) {
|
|
41
|
+
return WorkflowFailureReasonCounterToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function WorkflowFailureReasonCounterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'reason': WorkflowFailureReasonToJSON(value['reason']),
|
|
50
|
+
'total': value['total'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
15
|
import { WorkflowFromJSON, WorkflowToJSON, } from './Workflow.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the WorkflowResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfWorkflowResponse(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 WorkflowResponseFromJSON(json) {
|
|
27
|
+
return WorkflowResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function WorkflowResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
@@ -36,10 +36,10 @@ export function SaveWorkspaceWorkflow200ResponseFromJSONTyped(json, ignoreDiscri
|
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function WorkflowResponseToJSON(json) {
|
|
40
|
+
return WorkflowResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function WorkflowResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { WorkflowFailureReasonCounterFromJSON, WorkflowFailureReasonCounterToJSON, } from './WorkflowFailureReasonCounter.js';
|
|
14
15
|
import { WorkflowCounterFromJSON, WorkflowCounterToJSON, } from './WorkflowCounter.js';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the WorkflowStats interface.
|
|
@@ -46,6 +47,7 @@ export function WorkflowStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'nodes': (json['nodes'].map(WorkflowCounterFromJSON)),
|
|
47
48
|
'edges': (json['edges'].map(WorkflowCounterFromJSON)),
|
|
48
49
|
'failed': (json['failed'].map(WorkflowCounterFromJSON)),
|
|
50
|
+
'failedReasons': json['failedReasons'] == null ? undefined : (json['failedReasons'].map(WorkflowFailureReasonCounterFromJSON)),
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
export function WorkflowStatsToJSON(json) {
|
|
@@ -64,5 +66,6 @@ export function WorkflowStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
66
|
'nodes': (value['nodes'].map(WorkflowCounterToJSON)),
|
|
65
67
|
'edges': (value['edges'].map(WorkflowCounterToJSON)),
|
|
66
68
|
'failed': (value['failed'].map(WorkflowCounterToJSON)),
|
|
69
|
+
'failedReasons': value['failedReasons'] == null ? undefined : (value['failedReasons'].map(WorkflowFailureReasonCounterToJSON)),
|
|
67
70
|
};
|
|
68
71
|
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
export * from './AccountCreditBalance.js';
|
|
4
4
|
export * from './AccountCreditBalanceResponse.js';
|
|
5
5
|
export * from './AccountCreditTransaction.js';
|
|
6
|
+
export * from './AccountCreditTransactionListResponse.js';
|
|
6
7
|
export * from './AdapterConnection.js';
|
|
8
|
+
export * from './AdapterConnectionListResponse.js';
|
|
7
9
|
export * from './AdapterConnectionRemoval.js';
|
|
8
|
-
export * from './
|
|
10
|
+
export * from './AdapterConnectionRemovalResponse.js';
|
|
11
|
+
export * from './AdapterConnectionResponse.js';
|
|
9
12
|
export * from './AddAiAnswersKnowledgeDocumentRequest.js';
|
|
10
13
|
export * from './AddDomainRequest.js';
|
|
11
14
|
export * from './AiAnswersKnowledge.js';
|
|
12
15
|
export * from './AiAnswersKnowledgeDocument.js';
|
|
16
|
+
export * from './AiAnswersKnowledgeDocumentResponse.js';
|
|
13
17
|
export * from './AiAnswersKnowledgeRemoval.js';
|
|
14
18
|
export * from './AiAnswersKnowledgeTotals.js';
|
|
15
19
|
export * from './ApiKeyScope.js';
|
|
@@ -30,6 +34,7 @@ export * from './CheckCompositionAccessResponseData.js';
|
|
|
30
34
|
export * from './Composition.js';
|
|
31
35
|
export * from './CompositionDataSource.js';
|
|
32
36
|
export * from './CompositionDataSourceResponse.js';
|
|
37
|
+
export * from './CompositionDatabaseRecordResponse.js';
|
|
33
38
|
export * from './CompositionEntriesDescription.js';
|
|
34
39
|
export * from './CompositionEntriesDescriptionResponse.js';
|
|
35
40
|
export * from './CompositionEntriesReading.js';
|
|
@@ -50,19 +55,16 @@ export * from './CompositionVersion.js';
|
|
|
50
55
|
export * from './ConfirmAdapterConnectionRequest.js';
|
|
51
56
|
export * from './ContentCheckFinding.js';
|
|
52
57
|
export * from './ContentItemWriteResult.js';
|
|
58
|
+
export * from './ContentItemWriteResultResponse.js';
|
|
53
59
|
export * from './ContentItemWriteResultValidationResult.js';
|
|
54
60
|
export * from './CopyPartnerPresetRequest.js';
|
|
55
61
|
export * from './CreateCanvasRequest.js';
|
|
56
|
-
export * from './CreateCompositionContentItem201Response.js';
|
|
57
62
|
export * from './CreateCompositionContentItemRequest.js';
|
|
58
|
-
export * from './CreateCompositionDatabaseRecord201Response.js';
|
|
59
63
|
export * from './CreateCompositionFromPresetRequest.js';
|
|
60
|
-
export * from './CreateCompositionFromWidget201Response.js';
|
|
61
64
|
export * from './CreateCompositionFromWidgetRequest.js';
|
|
62
65
|
export * from './CreateUserApiKeyRequest.js';
|
|
63
66
|
export * from './CreateWidget201Response.js';
|
|
64
67
|
export * from './CreateWidget201ResponseData.js';
|
|
65
|
-
export * from './CreateWorkspaceWorkflowFromPreset201Response.js';
|
|
66
68
|
export * from './CreateWorkspaceWorkflowFromPresetRequest.js';
|
|
67
69
|
export * from './CreateWorkspaceWorkflowRequest.js';
|
|
68
70
|
export * from './CreatedUserApiKey.js';
|
|
@@ -71,13 +73,15 @@ export * from './DeleteCompositionContentItemResponse.js';
|
|
|
71
73
|
export * from './DeleteCompositionContentItemResponseData.js';
|
|
72
74
|
export * from './DeleteCompositionDataSourceResponse.js';
|
|
73
75
|
export * from './DeleteCompositionDataSourceResponseData.js';
|
|
74
|
-
export * from './DeleteManagedUser200Response.js';
|
|
75
76
|
export * from './DeletePersonalWorkspaceDomainResponse.js';
|
|
76
77
|
export * from './DeletePersonalWorkspaceDomainResponseData.js';
|
|
78
|
+
export * from './DeleteUpload200Response.js';
|
|
79
|
+
export * from './DeleteUpload200ResponseData.js';
|
|
77
80
|
export * from './DeleteUserApiKeyResponse.js';
|
|
78
81
|
export * from './DeleteUserApiKeyResponseData.js';
|
|
79
82
|
export * from './DeleteWorkspaceWorkflow200Response.js';
|
|
80
83
|
export * from './DesignDefaults.js';
|
|
84
|
+
export * from './DesignDefaultsResponse.js';
|
|
81
85
|
export * from './DuplicateComposition202Response.js';
|
|
82
86
|
export * from './DuplicateComposition202ResponseData.js';
|
|
83
87
|
export * from './DuplicateCompositionRequest.js';
|
|
@@ -113,15 +117,14 @@ export * from './GetCompositionsBatchResponseData.js';
|
|
|
113
117
|
export * from './GetInvoicesByPartnerId200Response.js';
|
|
114
118
|
export * from './GetManagedUserEntitlementsResponse.js';
|
|
115
119
|
export * from './GetManagedUserEntitlementsResponseData.js';
|
|
116
|
-
export * from './GetManagedUserLimits200Response.js';
|
|
117
120
|
export * from './GetManagedUserStorageUsage200Response.js';
|
|
118
121
|
export * from './GetManagedUserStorageUsage200ResponseData.js';
|
|
119
122
|
export * from './GetManagedUserStorageUsage200ResponseDataByPurpose.js';
|
|
120
123
|
export * from './GetManagedUsersByManagerIdResponse.js';
|
|
121
124
|
export * from './GetManagedUsersByManagerIdResponseData.js';
|
|
125
|
+
export * from './GetOperationResponse.js';
|
|
126
|
+
export * from './GetOperationResponseData.js';
|
|
122
127
|
export * from './GetPartnerBillingOverview200Response.js';
|
|
123
|
-
export * from './GetPartnerCreditTransactions200Response.js';
|
|
124
|
-
export * from './GetPartnerDesignDefaults200Response.js';
|
|
125
128
|
export * from './GetPartnerEntitlementsResponse.js';
|
|
126
129
|
export * from './GetPartnerEntitlementsResponseData.js';
|
|
127
130
|
export * from './GetPersonalWorkspaceDomains200Response.js';
|
|
@@ -132,8 +135,6 @@ export * from './GetPublicCompositionEmbed200ResponseDataSource.js';
|
|
|
132
135
|
export * from './GetPublicCompositionEmbed200ResponseDirect.js';
|
|
133
136
|
export * from './GetPublicCompositionEmbed200ResponseEntries.js';
|
|
134
137
|
export * from './GetPublicCompositionEmbed200ResponseMedia.js';
|
|
135
|
-
export * from './GetPublicWorkflow200Response.js';
|
|
136
|
-
export * from './GetUserAdapterConnections200Response.js';
|
|
137
138
|
export * from './GetUserApiKeyUsageLogsResponse.js';
|
|
138
139
|
export * from './GetUserApiKeyUsageLogsResponseData.js';
|
|
139
140
|
export * from './GetUserApiKeys200Response.js';
|
|
@@ -146,6 +147,7 @@ export * from './GetWorkspaceWorkflowStats200Response.js';
|
|
|
146
147
|
export * from './GetWorkspaceWorkflowVersion200Response.js';
|
|
147
148
|
export * from './ListPartnerPresets200Response.js';
|
|
148
149
|
export * from './ListPartnerWorkflowPresets200Response.js';
|
|
150
|
+
export * from './ListUploads200Response.js';
|
|
149
151
|
export * from './ListWorkspaceWorkflowCompositionOptions200Response.js';
|
|
150
152
|
export * from './ListWorkspaceWorkflowPresets200Response.js';
|
|
151
153
|
export * from './ListWorkspaceWorkflowVersions200Response.js';
|
|
@@ -155,8 +157,10 @@ export * from './ManagedUserEntriesMeta.js';
|
|
|
155
157
|
export * from './ManagedUserEntriesPageSuccess.js';
|
|
156
158
|
export * from './ManagedUserEntryItem.js';
|
|
157
159
|
export * from './ManagedUserLimits.js';
|
|
160
|
+
export * from './ManagedUserLimitsResponse.js';
|
|
158
161
|
export * from './ManagedUserOperationUsage.js';
|
|
159
162
|
export * from './ManagedUserRemoval.js';
|
|
163
|
+
export * from './ManagedUserRemovalResponse.js';
|
|
160
164
|
export * from './ManagedUserResponse.js';
|
|
161
165
|
export * from './ManagedUserUsage.js';
|
|
162
166
|
export * from './ManagedUserUsageResponse.js';
|
|
@@ -172,8 +176,6 @@ export * from './OfferWorkflowPresetRequest.js';
|
|
|
172
176
|
export * from './OfferedWorkflowPreset.js';
|
|
173
177
|
export * from './OfferedWorkflowPresetList.js';
|
|
174
178
|
export * from './OfferedWorkflowPresetWidget.js';
|
|
175
|
-
export * from './OperationsIdGetResponse.js';
|
|
176
|
-
export * from './OperationsIdGetResponseData.js';
|
|
177
179
|
export * from './PartnerAnalyticsByManagedUser.js';
|
|
178
180
|
export * from './PartnerAnalyticsByManagedUserResponse.js';
|
|
179
181
|
export * from './PartnerAnalyticsOfDay.js';
|
|
@@ -265,6 +267,7 @@ export * from './PublicWorkflowEventsAccepted.js';
|
|
|
265
267
|
export * from './PublicWorkflowEventsRequest.js';
|
|
266
268
|
export * from './PublicWorkflowEventsRequestEventsInner.js';
|
|
267
269
|
export * from './PublicWorkflowEventsRequestHeightsInner.js';
|
|
270
|
+
export * from './PublicWorkflowResponse.js';
|
|
268
271
|
export * from './PublicWorkflowTranslation.js';
|
|
269
272
|
export * from './PublishWorkspaceWorkflow200Response.js';
|
|
270
273
|
export * from './PublishWorkspaceWorkflowRequest.js';
|
|
@@ -272,13 +275,11 @@ export * from './PurposeStorageBucket.js';
|
|
|
272
275
|
export * from './PutBrandKitRequest.js';
|
|
273
276
|
export * from './RemoveAiAnswersKnowledgeDocument200Response.js';
|
|
274
277
|
export * from './RemovePartnerWorkflowPreset200Response.js';
|
|
275
|
-
export * from './RemoveUserAdapterConnection200Response.js';
|
|
276
278
|
export * from './ReportPublicWorkflowEvents200Response.js';
|
|
277
279
|
export * from './RequestExtraCredits.js';
|
|
278
280
|
export * from './ResponseMeta.js';
|
|
279
281
|
export * from './RevokeManagedUserEditorSessionsResponse.js';
|
|
280
282
|
export * from './RevokeManagedUserEditorSessionsResponseData.js';
|
|
281
|
-
export * from './SaveWorkspaceWorkflow200Response.js';
|
|
282
283
|
export * from './SaveWorkspaceWorkflowRequest.js';
|
|
283
284
|
export * from './SetAdapterConnectionRequest.js';
|
|
284
285
|
export * from './SetCompositionDataSourceRequest.js';
|
|
@@ -292,7 +293,6 @@ export * from './SetPartnerDesignDefaultsRequest.js';
|
|
|
292
293
|
export * from './SetPartnerPresetRequest.js';
|
|
293
294
|
export * from './SetPartnerStorageDestinationRequest.js';
|
|
294
295
|
export * from './SetPartnerWorkflowPreset200Response.js';
|
|
295
|
-
export * from './SetUserAdapterConnection200Response.js';
|
|
296
296
|
export * from './SuccessResponse.js';
|
|
297
297
|
export * from './UpdateCanvasRequest.js';
|
|
298
298
|
export * from './UpdateComposition.js';
|
|
@@ -306,9 +306,6 @@ export * from './Upload.js';
|
|
|
306
306
|
export * from './UploadLimits.js';
|
|
307
307
|
export * from './UploadLimitsResponse.js';
|
|
308
308
|
export * from './UploadResponse.js';
|
|
309
|
-
export * from './UploadsGet200Response.js';
|
|
310
|
-
export * from './UploadsIdDelete200Response.js';
|
|
311
|
-
export * from './UploadsIdDelete200ResponseData.js';
|
|
312
309
|
export * from './UserApiKey.js';
|
|
313
310
|
export * from './UserApiKeyResponse.js';
|
|
314
311
|
export * from './UserApiKeyUsageLog.js';
|
|
@@ -329,7 +326,10 @@ export * from './WorkflowConditionTest.js';
|
|
|
329
326
|
export * from './WorkflowCounter.js';
|
|
330
327
|
export * from './WorkflowDetail.js';
|
|
331
328
|
export * from './WorkflowDetailAllOfLastEditedBy.js';
|
|
329
|
+
export * from './WorkflowDetailResponse.js';
|
|
332
330
|
export * from './WorkflowEdge.js';
|
|
331
|
+
export * from './WorkflowFailureReason.js';
|
|
332
|
+
export * from './WorkflowFailureReasonCounter.js';
|
|
333
333
|
export * from './WorkflowFieldReference.js';
|
|
334
334
|
export * from './WorkflowGraph.js';
|
|
335
335
|
export * from './WorkflowIssue.js';
|
|
@@ -342,6 +342,7 @@ export * from './WorkflowPresetRemoval.js';
|
|
|
342
342
|
export * from './WorkflowPresetWidget.js';
|
|
343
343
|
export * from './WorkflowPublishResult.js';
|
|
344
344
|
export * from './WorkflowRemoved.js';
|
|
345
|
+
export * from './WorkflowResponse.js';
|
|
345
346
|
export * from './WorkflowSchedule.js';
|
|
346
347
|
export * from './WorkflowStats.js';
|
|
347
348
|
export * from './WorkflowStatus.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 = "2.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 {
|
|
@@ -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 { AccountCreditTransaction } from './AccountCreditTransaction';
|
|
13
|
+
import type { ResponseMeta } from './ResponseMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AccountCreditTransactionListResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AccountCreditTransactionListResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AccountCreditTransactionListResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AccountCreditTransaction>}
|
|
29
|
+
* @memberof AccountCreditTransactionListResponse
|
|
30
|
+
*/
|
|
31
|
+
data: Array<AccountCreditTransaction>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AccountCreditTransactionListResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AccountCreditTransactionListResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAccountCreditTransactionListResponse(value: object): value is AccountCreditTransactionListResponse;
|
|
43
|
+
export declare function AccountCreditTransactionListResponseFromJSON(json: any): AccountCreditTransactionListResponse;
|
|
44
|
+
export declare function AccountCreditTransactionListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountCreditTransactionListResponse;
|
|
45
|
+
export declare function AccountCreditTransactionListResponseToJSON(json: any): AccountCreditTransactionListResponse;
|
|
46
|
+
export declare function AccountCreditTransactionListResponseToJSONTyped(value?: AccountCreditTransactionListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAccountCreditTransactionListResponse = instanceOfAccountCreditTransactionListResponse;
|
|
17
|
+
exports.AccountCreditTransactionListResponseFromJSON = AccountCreditTransactionListResponseFromJSON;
|
|
18
|
+
exports.AccountCreditTransactionListResponseFromJSONTyped = AccountCreditTransactionListResponseFromJSONTyped;
|
|
19
|
+
exports.AccountCreditTransactionListResponseToJSON = AccountCreditTransactionListResponseToJSON;
|
|
20
|
+
exports.AccountCreditTransactionListResponseToJSONTyped = AccountCreditTransactionListResponseToJSONTyped;
|
|
21
21
|
const AccountCreditTransaction_1 = require("./AccountCreditTransaction");
|
|
22
22
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AccountCreditTransactionListResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAccountCreditTransactionListResponse(value) {
|
|
27
27
|
if (!('success' in value) || value['success'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('data' in value) || value['data'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function AccountCreditTransactionListResponseFromJSON(json) {
|
|
34
|
+
return AccountCreditTransactionListResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AccountCreditTransactionListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function GetPartnerCreditTransactions200ResponseFromJSONTyped(json, ignoreDiscri
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AccountCreditTransactionListResponseToJSON(json) {
|
|
47
|
+
return AccountCreditTransactionListResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AccountCreditTransactionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
@@ -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 { AdapterConnection } from './AdapterConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdapterConnectionListResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AdapterConnectionListResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AdapterConnectionListResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AdapterConnection>}
|
|
29
|
+
* @memberof AdapterConnectionListResponse
|
|
30
|
+
*/
|
|
31
|
+
data: Array<AdapterConnection>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AdapterConnectionListResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdapterConnectionListResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAdapterConnectionListResponse(value: object): value is AdapterConnectionListResponse;
|
|
43
|
+
export declare function AdapterConnectionListResponseFromJSON(json: any): AdapterConnectionListResponse;
|
|
44
|
+
export declare function AdapterConnectionListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdapterConnectionListResponse;
|
|
45
|
+
export declare function AdapterConnectionListResponseToJSON(json: any): AdapterConnectionListResponse;
|
|
46
|
+
export declare function AdapterConnectionListResponseToJSONTyped(value?: AdapterConnectionListResponse | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{GetUserAdapterConnections200Response.js → AdapterConnectionListResponse.js}
RENAMED
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAdapterConnectionListResponse = instanceOfAdapterConnectionListResponse;
|
|
17
|
+
exports.AdapterConnectionListResponseFromJSON = AdapterConnectionListResponseFromJSON;
|
|
18
|
+
exports.AdapterConnectionListResponseFromJSONTyped = AdapterConnectionListResponseFromJSONTyped;
|
|
19
|
+
exports.AdapterConnectionListResponseToJSON = AdapterConnectionListResponseToJSON;
|
|
20
|
+
exports.AdapterConnectionListResponseToJSONTyped = AdapterConnectionListResponseToJSONTyped;
|
|
21
21
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
22
|
const AdapterConnection_1 = require("./AdapterConnection");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AdapterConnectionListResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAdapterConnectionListResponse(value) {
|
|
27
27
|
if (!('success' in value) || value['success'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('data' in value) || value['data'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function AdapterConnectionListResponseFromJSON(json) {
|
|
34
|
+
return AdapterConnectionListResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AdapterConnectionListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function GetUserAdapterConnections200ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AdapterConnectionListResponseToJSON(json) {
|
|
47
|
+
return AdapterConnectionListResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AdapterConnectionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
@@ -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 { AdapterConnectionRemoval } from './AdapterConnectionRemoval';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdapterConnectionRemovalResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AdapterConnectionRemovalResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AdapterConnectionRemovalResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AdapterConnectionRemoval}
|
|
29
|
+
* @memberof AdapterConnectionRemovalResponse
|
|
30
|
+
*/
|
|
31
|
+
data: AdapterConnectionRemoval;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AdapterConnectionRemovalResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdapterConnectionRemovalResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAdapterConnectionRemovalResponse(value: object): value is AdapterConnectionRemovalResponse;
|
|
43
|
+
export declare function AdapterConnectionRemovalResponseFromJSON(json: any): AdapterConnectionRemovalResponse;
|
|
44
|
+
export declare function AdapterConnectionRemovalResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdapterConnectionRemovalResponse;
|
|
45
|
+
export declare function AdapterConnectionRemovalResponseToJSON(json: any): AdapterConnectionRemovalResponse;
|
|
46
|
+
export declare function AdapterConnectionRemovalResponseToJSONTyped(value?: AdapterConnectionRemovalResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAdapterConnectionRemovalResponse = instanceOfAdapterConnectionRemovalResponse;
|
|
17
|
+
exports.AdapterConnectionRemovalResponseFromJSON = AdapterConnectionRemovalResponseFromJSON;
|
|
18
|
+
exports.AdapterConnectionRemovalResponseFromJSONTyped = AdapterConnectionRemovalResponseFromJSONTyped;
|
|
19
|
+
exports.AdapterConnectionRemovalResponseToJSON = AdapterConnectionRemovalResponseToJSON;
|
|
20
|
+
exports.AdapterConnectionRemovalResponseToJSONTyped = AdapterConnectionRemovalResponseToJSONTyped;
|
|
21
21
|
const ResponseMeta_1 = require("./ResponseMeta");
|
|
22
22
|
const AdapterConnectionRemoval_1 = require("./AdapterConnectionRemoval");
|
|
23
23
|
/**
|
|
24
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the AdapterConnectionRemovalResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAdapterConnectionRemovalResponse(value) {
|
|
27
27
|
if (!('success' in value) || value['success'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('data' in value) || value['data'] === undefined)
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function AdapterConnectionRemovalResponseFromJSON(json) {
|
|
34
|
+
return AdapterConnectionRemovalResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AdapterConnectionRemovalResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function RemoveUserAdapterConnection200ResponseFromJSONTyped(json, ignoreDiscrim
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AdapterConnectionRemovalResponseToJSON(json) {
|
|
47
|
+
return AdapterConnectionRemovalResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AdapterConnectionRemovalResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
@@ -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 { AdapterConnection } from './AdapterConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AdapterConnectionResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface AdapterConnectionResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof AdapterConnectionResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {AdapterConnection}
|
|
29
|
+
* @memberof AdapterConnectionResponse
|
|
30
|
+
*/
|
|
31
|
+
data: AdapterConnection;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ResponseMeta}
|
|
35
|
+
* @memberof AdapterConnectionResponse
|
|
36
|
+
*/
|
|
37
|
+
meta?: ResponseMeta;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the AdapterConnectionResponse interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfAdapterConnectionResponse(value: object): value is AdapterConnectionResponse;
|
|
43
|
+
export declare function AdapterConnectionResponseFromJSON(json: any): AdapterConnectionResponse;
|
|
44
|
+
export declare function AdapterConnectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdapterConnectionResponse;
|
|
45
|
+
export declare function AdapterConnectionResponseToJSON(json: any): AdapterConnectionResponse;
|
|
46
|
+
export declare function AdapterConnectionResponseToJSONTyped(value?: AdapterConnectionResponse | null, ignoreDiscriminator?: boolean): any;
|