@widgetic/api-sdk-ts 1.11.109 → 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 +130 -0
- package/dist/apis/BrandKitApi.js +381 -0
- 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 +1 -2
- package/dist/apis/index.js +1 -2
- package/dist/esm/apis/BrandKitApi.js +344 -0
- 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 +1 -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/BrandColor.js +64 -0
- package/dist/esm/models/BrandFont.js +72 -0
- package/dist/esm/models/BrandKitAssetView.js +96 -0
- package/dist/esm/models/BrandKitFigmaSource.js +59 -0
- package/dist/esm/models/BrandKitTokens.js +56 -0
- package/dist/esm/models/BrandKitTokensFonts.js +48 -0
- package/dist/esm/models/BrandKitView.js +75 -0
- package/dist/esm/models/BrandKitViewOwner.js +54 -0
- package/dist/esm/models/BrandKitViewResponse.js +51 -0
- package/dist/esm/models/BrandSpacing.js +71 -0
- 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/PatchBrandKitAssetRequest.js +68 -0
- package/dist/esm/models/PatchBrandKitRequest.js +54 -0
- package/dist/esm/models/PatchBrandKitRequestFonts.js +48 -0
- package/dist/esm/models/PatchBrandKitRequestSpacing.js +55 -0
- package/dist/esm/models/PostBrandKitIconRequest.js +47 -0
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +11 -0
- package/dist/esm/models/{GetPublicWorkflow200Response.js → PublicWorkflowResponse.js} +8 -8
- package/dist/esm/models/PutBrandKitRequest.js +49 -0
- 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 +36 -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/BrandColor.d.ts +60 -0
- package/dist/models/BrandColor.js +72 -0
- package/dist/models/BrandFont.d.ts +73 -0
- package/dist/models/BrandFont.js +80 -0
- package/dist/models/BrandKitAssetView.d.ts +130 -0
- package/dist/models/BrandKitAssetView.js +104 -0
- package/dist/models/BrandKitFigmaSource.d.ts +56 -0
- package/dist/models/BrandKitFigmaSource.js +66 -0
- package/dist/models/BrandKitTokens.d.ts +53 -0
- package/dist/models/BrandKitTokens.js +63 -0
- package/dist/models/BrandKitTokensFonts.d.ts +51 -0
- package/dist/models/BrandKitTokensFonts.js +55 -0
- package/dist/models/BrandKitView.d.ts +90 -0
- package/dist/models/BrandKitView.js +82 -0
- package/dist/models/BrandKitViewOwner.d.ts +46 -0
- package/dist/models/BrandKitViewOwner.js +62 -0
- package/dist/models/BrandKitViewResponse.d.ts +46 -0
- package/dist/models/BrandKitViewResponse.js +58 -0
- package/dist/models/BrandSpacing.d.ts +74 -0
- package/dist/models/BrandSpacing.js +78 -0
- 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/PatchBrandKitAssetRequest.d.ts +73 -0
- package/dist/models/PatchBrandKitAssetRequest.js +76 -0
- package/dist/models/PatchBrandKitRequest.d.ts +65 -0
- package/dist/models/PatchBrandKitRequest.js +61 -0
- package/dist/models/PatchBrandKitRequestFonts.d.ts +51 -0
- package/dist/models/PatchBrandKitRequestFonts.js +55 -0
- package/dist/models/PatchBrandKitRequestSpacing.d.ts +74 -0
- package/dist/models/PatchBrandKitRequestSpacing.js +62 -0
- package/dist/models/PostBrandKitIconRequest.d.ts +38 -0
- package/dist/models/PostBrandKitIconRequest.js +54 -0
- 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/PutBrandKitRequest.d.ts +46 -0
- package/dist/models/PutBrandKitRequest.js +56 -0
- 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 +36 -19
- package/dist/models/index.js +36 -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 -2595
- package/dist/apis/PartnerApi.js +0 -6749
- package/dist/apis/WorkspacesApi.d.ts +0 -352
- package/dist/apis/WorkspacesApi.js +0 -946
- package/dist/esm/apis/PartnerApi.js +0 -6712
- 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
package/dist/esm/models/index.js
CHANGED
|
@@ -3,16 +3,30 @@
|
|
|
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';
|
|
20
|
+
export * from './BrandColor.js';
|
|
21
|
+
export * from './BrandFont.js';
|
|
22
|
+
export * from './BrandKitAssetView.js';
|
|
23
|
+
export * from './BrandKitFigmaSource.js';
|
|
24
|
+
export * from './BrandKitTokens.js';
|
|
25
|
+
export * from './BrandKitTokensFonts.js';
|
|
26
|
+
export * from './BrandKitView.js';
|
|
27
|
+
export * from './BrandKitViewOwner.js';
|
|
28
|
+
export * from './BrandKitViewResponse.js';
|
|
29
|
+
export * from './BrandSpacing.js';
|
|
16
30
|
export * from './Canvas.js';
|
|
17
31
|
export * from './CanvasResponse.js';
|
|
18
32
|
export * from './CheckCompositionAccessResponse.js';
|
|
@@ -20,6 +34,7 @@ export * from './CheckCompositionAccessResponseData.js';
|
|
|
20
34
|
export * from './Composition.js';
|
|
21
35
|
export * from './CompositionDataSource.js';
|
|
22
36
|
export * from './CompositionDataSourceResponse.js';
|
|
37
|
+
export * from './CompositionDatabaseRecordResponse.js';
|
|
23
38
|
export * from './CompositionEntriesDescription.js';
|
|
24
39
|
export * from './CompositionEntriesDescriptionResponse.js';
|
|
25
40
|
export * from './CompositionEntriesReading.js';
|
|
@@ -40,19 +55,16 @@ export * from './CompositionVersion.js';
|
|
|
40
55
|
export * from './ConfirmAdapterConnectionRequest.js';
|
|
41
56
|
export * from './ContentCheckFinding.js';
|
|
42
57
|
export * from './ContentItemWriteResult.js';
|
|
58
|
+
export * from './ContentItemWriteResultResponse.js';
|
|
43
59
|
export * from './ContentItemWriteResultValidationResult.js';
|
|
44
60
|
export * from './CopyPartnerPresetRequest.js';
|
|
45
61
|
export * from './CreateCanvasRequest.js';
|
|
46
|
-
export * from './CreateCompositionContentItem201Response.js';
|
|
47
62
|
export * from './CreateCompositionContentItemRequest.js';
|
|
48
|
-
export * from './CreateCompositionDatabaseRecord201Response.js';
|
|
49
63
|
export * from './CreateCompositionFromPresetRequest.js';
|
|
50
|
-
export * from './CreateCompositionFromWidget201Response.js';
|
|
51
64
|
export * from './CreateCompositionFromWidgetRequest.js';
|
|
52
65
|
export * from './CreateUserApiKeyRequest.js';
|
|
53
66
|
export * from './CreateWidget201Response.js';
|
|
54
67
|
export * from './CreateWidget201ResponseData.js';
|
|
55
|
-
export * from './CreateWorkspaceWorkflowFromPreset201Response.js';
|
|
56
68
|
export * from './CreateWorkspaceWorkflowFromPresetRequest.js';
|
|
57
69
|
export * from './CreateWorkspaceWorkflowRequest.js';
|
|
58
70
|
export * from './CreatedUserApiKey.js';
|
|
@@ -61,13 +73,15 @@ export * from './DeleteCompositionContentItemResponse.js';
|
|
|
61
73
|
export * from './DeleteCompositionContentItemResponseData.js';
|
|
62
74
|
export * from './DeleteCompositionDataSourceResponse.js';
|
|
63
75
|
export * from './DeleteCompositionDataSourceResponseData.js';
|
|
64
|
-
export * from './DeleteManagedUser200Response.js';
|
|
65
76
|
export * from './DeletePersonalWorkspaceDomainResponse.js';
|
|
66
77
|
export * from './DeletePersonalWorkspaceDomainResponseData.js';
|
|
78
|
+
export * from './DeleteUpload200Response.js';
|
|
79
|
+
export * from './DeleteUpload200ResponseData.js';
|
|
67
80
|
export * from './DeleteUserApiKeyResponse.js';
|
|
68
81
|
export * from './DeleteUserApiKeyResponseData.js';
|
|
69
82
|
export * from './DeleteWorkspaceWorkflow200Response.js';
|
|
70
83
|
export * from './DesignDefaults.js';
|
|
84
|
+
export * from './DesignDefaultsResponse.js';
|
|
71
85
|
export * from './DuplicateComposition202Response.js';
|
|
72
86
|
export * from './DuplicateComposition202ResponseData.js';
|
|
73
87
|
export * from './DuplicateCompositionRequest.js';
|
|
@@ -103,15 +117,14 @@ export * from './GetCompositionsBatchResponseData.js';
|
|
|
103
117
|
export * from './GetInvoicesByPartnerId200Response.js';
|
|
104
118
|
export * from './GetManagedUserEntitlementsResponse.js';
|
|
105
119
|
export * from './GetManagedUserEntitlementsResponseData.js';
|
|
106
|
-
export * from './GetManagedUserLimits200Response.js';
|
|
107
120
|
export * from './GetManagedUserStorageUsage200Response.js';
|
|
108
121
|
export * from './GetManagedUserStorageUsage200ResponseData.js';
|
|
109
122
|
export * from './GetManagedUserStorageUsage200ResponseDataByPurpose.js';
|
|
110
123
|
export * from './GetManagedUsersByManagerIdResponse.js';
|
|
111
124
|
export * from './GetManagedUsersByManagerIdResponseData.js';
|
|
125
|
+
export * from './GetOperationResponse.js';
|
|
126
|
+
export * from './GetOperationResponseData.js';
|
|
112
127
|
export * from './GetPartnerBillingOverview200Response.js';
|
|
113
|
-
export * from './GetPartnerCreditTransactions200Response.js';
|
|
114
|
-
export * from './GetPartnerDesignDefaults200Response.js';
|
|
115
128
|
export * from './GetPartnerEntitlementsResponse.js';
|
|
116
129
|
export * from './GetPartnerEntitlementsResponseData.js';
|
|
117
130
|
export * from './GetPersonalWorkspaceDomains200Response.js';
|
|
@@ -122,8 +135,6 @@ export * from './GetPublicCompositionEmbed200ResponseDataSource.js';
|
|
|
122
135
|
export * from './GetPublicCompositionEmbed200ResponseDirect.js';
|
|
123
136
|
export * from './GetPublicCompositionEmbed200ResponseEntries.js';
|
|
124
137
|
export * from './GetPublicCompositionEmbed200ResponseMedia.js';
|
|
125
|
-
export * from './GetPublicWorkflow200Response.js';
|
|
126
|
-
export * from './GetUserAdapterConnections200Response.js';
|
|
127
138
|
export * from './GetUserApiKeyUsageLogsResponse.js';
|
|
128
139
|
export * from './GetUserApiKeyUsageLogsResponseData.js';
|
|
129
140
|
export * from './GetUserApiKeys200Response.js';
|
|
@@ -136,6 +147,7 @@ export * from './GetWorkspaceWorkflowStats200Response.js';
|
|
|
136
147
|
export * from './GetWorkspaceWorkflowVersion200Response.js';
|
|
137
148
|
export * from './ListPartnerPresets200Response.js';
|
|
138
149
|
export * from './ListPartnerWorkflowPresets200Response.js';
|
|
150
|
+
export * from './ListUploads200Response.js';
|
|
139
151
|
export * from './ListWorkspaceWorkflowCompositionOptions200Response.js';
|
|
140
152
|
export * from './ListWorkspaceWorkflowPresets200Response.js';
|
|
141
153
|
export * from './ListWorkspaceWorkflowVersions200Response.js';
|
|
@@ -145,8 +157,10 @@ export * from './ManagedUserEntriesMeta.js';
|
|
|
145
157
|
export * from './ManagedUserEntriesPageSuccess.js';
|
|
146
158
|
export * from './ManagedUserEntryItem.js';
|
|
147
159
|
export * from './ManagedUserLimits.js';
|
|
160
|
+
export * from './ManagedUserLimitsResponse.js';
|
|
148
161
|
export * from './ManagedUserOperationUsage.js';
|
|
149
162
|
export * from './ManagedUserRemoval.js';
|
|
163
|
+
export * from './ManagedUserRemovalResponse.js';
|
|
150
164
|
export * from './ManagedUserResponse.js';
|
|
151
165
|
export * from './ManagedUserUsage.js';
|
|
152
166
|
export * from './ManagedUserUsageResponse.js';
|
|
@@ -162,8 +176,6 @@ export * from './OfferWorkflowPresetRequest.js';
|
|
|
162
176
|
export * from './OfferedWorkflowPreset.js';
|
|
163
177
|
export * from './OfferedWorkflowPresetList.js';
|
|
164
178
|
export * from './OfferedWorkflowPresetWidget.js';
|
|
165
|
-
export * from './OperationsIdGetResponse.js';
|
|
166
|
-
export * from './OperationsIdGetResponseData.js';
|
|
167
179
|
export * from './PartnerAnalyticsByManagedUser.js';
|
|
168
180
|
export * from './PartnerAnalyticsByManagedUserResponse.js';
|
|
169
181
|
export * from './PartnerAnalyticsOfDay.js';
|
|
@@ -226,9 +238,14 @@ export * from './PartnerStorageUsage.js';
|
|
|
226
238
|
export * from './PartnerStorageUsageOfManagedUser.js';
|
|
227
239
|
export * from './PartnerStorageUsageResponse.js';
|
|
228
240
|
export * from './PartnerStorageUsageTotals.js';
|
|
241
|
+
export * from './PatchBrandKitAssetRequest.js';
|
|
242
|
+
export * from './PatchBrandKitRequest.js';
|
|
243
|
+
export * from './PatchBrandKitRequestFonts.js';
|
|
244
|
+
export * from './PatchBrandKitRequestSpacing.js';
|
|
229
245
|
export * from './PersonalWorkspaceDomain.js';
|
|
230
246
|
export * from './PersonalWorkspaceDomainResult.js';
|
|
231
247
|
export * from './PersonalWorkspaceDomainResultResponse.js';
|
|
248
|
+
export * from './PostBrandKitIconRequest.js';
|
|
232
249
|
export * from './PostPublicCompositionEmbedStatus200Response.js';
|
|
233
250
|
export * from './PostPublicCompositionEmbedStatus200ResponseData.js';
|
|
234
251
|
export * from './PostPublicCompositionEmbedStatusRequest.js';
|
|
@@ -250,19 +267,19 @@ export * from './PublicWorkflowEventsAccepted.js';
|
|
|
250
267
|
export * from './PublicWorkflowEventsRequest.js';
|
|
251
268
|
export * from './PublicWorkflowEventsRequestEventsInner.js';
|
|
252
269
|
export * from './PublicWorkflowEventsRequestHeightsInner.js';
|
|
270
|
+
export * from './PublicWorkflowResponse.js';
|
|
253
271
|
export * from './PublicWorkflowTranslation.js';
|
|
254
272
|
export * from './PublishWorkspaceWorkflow200Response.js';
|
|
255
273
|
export * from './PublishWorkspaceWorkflowRequest.js';
|
|
256
274
|
export * from './PurposeStorageBucket.js';
|
|
275
|
+
export * from './PutBrandKitRequest.js';
|
|
257
276
|
export * from './RemoveAiAnswersKnowledgeDocument200Response.js';
|
|
258
277
|
export * from './RemovePartnerWorkflowPreset200Response.js';
|
|
259
|
-
export * from './RemoveUserAdapterConnection200Response.js';
|
|
260
278
|
export * from './ReportPublicWorkflowEvents200Response.js';
|
|
261
279
|
export * from './RequestExtraCredits.js';
|
|
262
280
|
export * from './ResponseMeta.js';
|
|
263
281
|
export * from './RevokeManagedUserEditorSessionsResponse.js';
|
|
264
282
|
export * from './RevokeManagedUserEditorSessionsResponseData.js';
|
|
265
|
-
export * from './SaveWorkspaceWorkflow200Response.js';
|
|
266
283
|
export * from './SaveWorkspaceWorkflowRequest.js';
|
|
267
284
|
export * from './SetAdapterConnectionRequest.js';
|
|
268
285
|
export * from './SetCompositionDataSourceRequest.js';
|
|
@@ -276,7 +293,6 @@ export * from './SetPartnerDesignDefaultsRequest.js';
|
|
|
276
293
|
export * from './SetPartnerPresetRequest.js';
|
|
277
294
|
export * from './SetPartnerStorageDestinationRequest.js';
|
|
278
295
|
export * from './SetPartnerWorkflowPreset200Response.js';
|
|
279
|
-
export * from './SetUserAdapterConnection200Response.js';
|
|
280
296
|
export * from './SuccessResponse.js';
|
|
281
297
|
export * from './UpdateCanvasRequest.js';
|
|
282
298
|
export * from './UpdateComposition.js';
|
|
@@ -290,9 +306,6 @@ export * from './Upload.js';
|
|
|
290
306
|
export * from './UploadLimits.js';
|
|
291
307
|
export * from './UploadLimitsResponse.js';
|
|
292
308
|
export * from './UploadResponse.js';
|
|
293
|
-
export * from './UploadsGet200Response.js';
|
|
294
|
-
export * from './UploadsIdDelete200Response.js';
|
|
295
|
-
export * from './UploadsIdDelete200ResponseData.js';
|
|
296
309
|
export * from './UserApiKey.js';
|
|
297
310
|
export * from './UserApiKeyResponse.js';
|
|
298
311
|
export * from './UserApiKeyUsageLog.js';
|
|
@@ -313,7 +326,10 @@ export * from './WorkflowConditionTest.js';
|
|
|
313
326
|
export * from './WorkflowCounter.js';
|
|
314
327
|
export * from './WorkflowDetail.js';
|
|
315
328
|
export * from './WorkflowDetailAllOfLastEditedBy.js';
|
|
329
|
+
export * from './WorkflowDetailResponse.js';
|
|
316
330
|
export * from './WorkflowEdge.js';
|
|
331
|
+
export * from './WorkflowFailureReason.js';
|
|
332
|
+
export * from './WorkflowFailureReasonCounter.js';
|
|
317
333
|
export * from './WorkflowFieldReference.js';
|
|
318
334
|
export * from './WorkflowGraph.js';
|
|
319
335
|
export * from './WorkflowIssue.js';
|
|
@@ -326,6 +342,7 @@ export * from './WorkflowPresetRemoval.js';
|
|
|
326
342
|
export * from './WorkflowPresetWidget.js';
|
|
327
343
|
export * from './WorkflowPublishResult.js';
|
|
328
344
|
export * from './WorkflowRemoved.js';
|
|
345
|
+
export * from './WorkflowResponse.js';
|
|
329
346
|
export * from './WorkflowSchedule.js';
|
|
330
347
|
export * from './WorkflowStats.js';
|
|
331
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;
|
|
@@ -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.instanceOfAdapterConnectionResponse = instanceOfAdapterConnectionResponse;
|
|
17
|
+
exports.AdapterConnectionResponseFromJSON = AdapterConnectionResponseFromJSON;
|
|
18
|
+
exports.AdapterConnectionResponseFromJSONTyped = AdapterConnectionResponseFromJSONTyped;
|
|
19
|
+
exports.AdapterConnectionResponseToJSON = AdapterConnectionResponseToJSON;
|
|
20
|
+
exports.AdapterConnectionResponseToJSONTyped = AdapterConnectionResponseToJSONTyped;
|
|
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 AdapterConnectionResponse interface.
|
|
25
25
|
*/
|
|
26
|
-
function
|
|
26
|
+
function instanceOfAdapterConnectionResponse(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 AdapterConnectionResponseFromJSON(json) {
|
|
34
|
+
return AdapterConnectionResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function AdapterConnectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function SetUserAdapterConnection200ResponseFromJSONTyped(json, ignoreDiscrimina
|
|
|
43
43
|
'meta': json['meta'] == null ? undefined : (0, ResponseMeta_1.ResponseMetaFromJSON)(json['meta']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function AdapterConnectionResponseToJSON(json) {
|
|
47
|
+
return AdapterConnectionResponseToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function AdapterConnectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|