@amp-labs/react 1.0.1 → 1.1.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/build/generated-sources/api/src/apis/DefaultApi.d.ts +78 -6
- package/build/generated-sources/api/src/apis/DefaultApi.js +80 -3
- package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +8 -1
- package/build/generated-sources/api/src/models/BaseConfigContent.js +4 -1
- package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +1 -1
- package/build/generated-sources/api/src/models/BaseReadConfig.js +1 -1
- package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.d.ts +2 -2
- package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.js +1 -1
- package/build/generated-sources/api/src/models/BaseWriteConfig.d.ts +34 -0
- package/build/generated-sources/api/src/models/BaseWriteConfig.js +51 -0
- package/build/generated-sources/api/src/models/BaseWriteConfigObject.d.ts +31 -0
- package/build/generated-sources/api/src/models/BaseWriteConfigObject.js +50 -0
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +1 -1
- package/build/generated-sources/api/src/models/Config.d.ts +1 -1
- package/build/generated-sources/api/src/models/Config.js +1 -1
- package/build/generated-sources/api/src/models/ConfigContent.d.ts +7 -1
- package/build/generated-sources/api/src/models/ConfigContent.js +3 -1
- package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +7 -1
- package/build/generated-sources/api/src/models/ConfigContentAllOf.js +3 -1
- package/build/generated-sources/api/src/models/Connection.d.ts +1 -1
- package/build/generated-sources/api/src/models/Connection.js +1 -1
- package/build/generated-sources/api/src/models/Consumer.d.ts +1 -1
- package/build/generated-sources/api/src/models/Consumer.js +1 -1
- package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateConsumerRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateDestinationRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.js +1 -1
- package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateGroupRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +3 -3
- package/build/generated-sources/api/src/models/CreateInstallationRequest.js +3 -3
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +4 -4
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +4 -5
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +1 -1
- package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateProjectRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +7 -1
- package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +3 -1
- package/build/generated-sources/api/src/models/Group.d.ts +1 -1
- package/build/generated-sources/api/src/models/Group.js +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +8 -1
- package/build/generated-sources/api/src/models/HydratedIntegration.js +4 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationField.js +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +1 -1
- package/build/generated-sources/api/src/models/HydratedIntegrationWrite.d.ts +32 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationWrite.js +51 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.d.ts +37 -0
- package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.js +53 -0
- package/build/generated-sources/api/src/models/HydratedRevision.d.ts +1 -1
- package/build/generated-sources/api/src/models/HydratedRevision.js +1 -1
- package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +1 -7
- package/build/generated-sources/api/src/models/ImportConnectionRequest.js +1 -4
- package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +7 -1
- package/build/generated-sources/api/src/models/ImportInstallationRequest.js +4 -1
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +1 -1
- package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +1 -1
- package/build/generated-sources/api/src/models/Installation.d.ts +1 -1
- package/build/generated-sources/api/src/models/Installation.js +1 -1
- package/build/generated-sources/api/src/models/Integration.d.ts +1 -1
- package/build/generated-sources/api/src/models/Integration.js +1 -1
- package/build/generated-sources/api/src/models/Integration1.d.ts +8 -1
- package/build/generated-sources/api/src/models/Integration1.js +4 -1
- package/build/generated-sources/api/src/models/IntegrationField.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationField.js +1 -1
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +1 -1
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +1 -1
- package/build/generated-sources/api/src/models/IntegrationObject.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationObject.js +1 -1
- package/build/generated-sources/api/src/models/IntegrationRead.d.ts +1 -1
- package/build/generated-sources/api/src/models/IntegrationRead.js +1 -1
- package/build/generated-sources/api/src/models/IntegrationWrite.d.ts +32 -0
- package/build/generated-sources/api/src/models/IntegrationWrite.js +51 -0
- package/build/generated-sources/api/src/models/IntegrationWriteObject.d.ts +31 -0
- package/build/generated-sources/api/src/models/IntegrationWriteObject.js +50 -0
- package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +2 -2
- package/build/generated-sources/api/src/models/OauthConnectRequest.js +2 -3
- package/build/generated-sources/api/src/models/Operation.d.ts +7 -13
- package/build/generated-sources/api/src/models/Operation.js +4 -7
- package/build/generated-sources/api/src/models/OperationError.d.ts +1 -1
- package/build/generated-sources/api/src/models/OperationError.js +1 -1
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +1 -1
- package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +1 -1
- package/build/generated-sources/api/src/models/Project.d.ts +1 -1
- package/build/generated-sources/api/src/models/Project.js +1 -1
- package/build/generated-sources/api/src/models/ProjectMembership.d.ts +1 -1
- package/build/generated-sources/api/src/models/ProjectMembership.js +1 -1
- package/build/generated-sources/api/src/models/ProviderApp.d.ts +1 -1
- package/build/generated-sources/api/src/models/ProviderApp.js +1 -1
- package/build/generated-sources/api/src/models/Revision.d.ts +1 -1
- package/build/generated-sources/api/src/models/Revision.js +1 -1
- package/build/generated-sources/api/src/models/SignedUrl.d.ts +43 -0
- package/build/generated-sources/api/src/models/SignedUrl.js +56 -0
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +8 -1
- package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +4 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequest.js +1 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.js +1 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.js +1 -1
- package/build/generated-sources/api/src/models/UpdateProjectRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateProjectRequest.js +1 -1
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateProjectRequestProject.js +1 -1
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpdateProviderAppRequest.js +1 -1
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.d.ts +7 -1
- package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.js +3 -1
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.d.ts +1 -1
- package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.js +1 -1
- package/build/generated-sources/api/src/models/index.d.ts +7 -0
- package/build/generated-sources/api/src/models/index.js +7 -0
- package/build/generated-sources/api/src/runtime.d.ts +1 -1
- package/build/generated-sources/api/src/runtime.js +1 -1
- package/build/src/assets/NavIcon.d.ts +1 -0
- package/build/src/assets/NavIcon.js +3 -2
- package/build/src/assets/TrashIcon.d.ts +1 -0
- package/build/src/assets/TrashIcon.js +9 -0
- package/build/src/components/AmpersandProvider/AmpersandProvider.js +2 -2
- package/build/src/components/Configure/ConfigureInstallationBase.js +14 -2
- package/build/src/components/Configure/CreateInstallation.js +11 -14
- package/build/src/components/Configure/InstallIntegration.js +1 -2
- package/build/src/components/Configure/ObjectManagementNav/UninstallInstallation.d.ts +7 -0
- package/build/src/components/Configure/ObjectManagementNav/UninstallInstallation.js +15 -0
- package/build/src/components/Configure/ObjectManagementNav/index.js +17 -9
- package/build/src/components/Configure/ProtectedConnectionLayout.d.ts +7 -2
- package/build/src/components/Configure/ProtectedConnectionLayout.js +15 -9
- package/build/src/components/Configure/UninstallContent.d.ts +1 -0
- package/build/src/components/Configure/UninstallContent.js +44 -0
- package/build/src/components/Configure/UpdateInstallation.js +10 -21
- package/build/src/components/Configure/fields/{FieldMapping.d.ts → FieldMappings/FieldMapping.d.ts} +2 -3
- package/build/src/components/Configure/fields/{FieldMapping.js → FieldMappings/FieldMapping.js} +12 -11
- package/build/src/components/Configure/fields/{RequiredFieldMappings.js → FieldMappings/RequiredFieldMappings.js} +9 -9
- package/build/src/components/Configure/fields/FieldMappings/index.d.ts +3 -0
- package/build/src/components/Configure/fields/FieldMappings/index.js +7 -0
- package/build/src/components/Configure/fields/FieldMappings/setFieldMapping.d.ts +3 -0
- package/build/src/components/Configure/fields/FieldMappings/setFieldMapping.js +18 -0
- package/build/src/components/Configure/fields/{OptionalFields.js → OptionalFields/OptionalFields.js} +8 -19
- package/build/src/components/Configure/fields/OptionalFields/index.d.ts +2 -0
- package/build/src/components/Configure/fields/OptionalFields/index.js +5 -0
- package/build/src/components/Configure/fields/OptionalFields/setOptionalField.d.ts +3 -0
- package/build/src/components/Configure/fields/OptionalFields/setOptionalField.js +21 -0
- package/build/src/components/Configure/state/ConfigurationStateProvider.d.ts +47 -1
- package/build/src/components/Configure/state/ConfigurationStateProvider.js +28 -6
- package/build/src/components/Configure/state/HydratedRevisionContext.js +3 -6
- package/build/src/components/Configure/state/utils.d.ts +4 -16
- package/build/src/components/Configure/state/utils.js +28 -63
- package/build/src/components/Configure/types.d.ts +6 -9
- package/build/src/components/Configure/utils.d.ts +6 -4
- package/build/src/components/Configure/utils.js +17 -16
- package/build/src/components/Connect/ConnectProvider.d.ts +9 -0
- package/build/src/components/Connect/ConnectProvider.js +18 -0
- package/build/src/components/{OAuthPopup → Connect}/OAuthPopup.js +3 -3
- package/build/src/components/Oauth/Hubspot/HubspotLandingContent.d.ts +7 -0
- package/build/src/components/Oauth/Hubspot/HubspotLandingContent.js +10 -0
- package/build/src/components/Oauth/Hubspot/HubspotOauthFlow.d.ts +15 -0
- package/build/src/components/Oauth/Hubspot/HubspotOauthFlow.js +50 -0
- package/build/src/components/Oauth/OAuthErrorAlert.d.ts +5 -0
- package/build/src/components/Oauth/OAuthErrorAlert.js +12 -0
- package/build/src/components/{Salesforce → Oauth/Salesforce}/SalesforceOauthFlow.d.ts +2 -2
- package/build/src/components/Oauth/Salesforce/SalesforceOauthFlow.js +57 -0
- package/build/src/components/Oauth/Salesforce/SubdomainEntry.d.ts +8 -0
- package/build/src/components/Oauth/Salesforce/SubdomainEntry.js +12 -0
- package/build/src/components/Oauth/fetchOAuthCallbackURL.d.ts +1 -0
- package/build/src/components/Oauth/fetchOAuthCallbackURL.js +29 -0
- package/build/src/components/ThemeProvider/Button/buttonTheme.d.ts +13 -0
- package/build/src/components/ThemeProvider/Button/buttonTheme.js +17 -0
- package/build/src/components/ThemeProvider/Button/index.d.ts +2 -0
- package/build/src/components/ThemeProvider/Button/index.js +5 -0
- package/build/src/components/ThemeProvider/index.js +21 -0
- package/build/src/components/index.d.ts +1 -0
- package/build/src/components/index.js +1 -0
- package/build/src/constants.d.ts +1 -0
- package/build/src/constants.js +2 -1
- package/build/src/context/{ApiKeyContext.d.ts → ApiKeyProvider.d.ts} +1 -0
- package/build/src/context/ApiKeyProvider.js +14 -0
- package/build/src/context/ConnectionsContext.d.ts +5 -4
- package/build/src/context/ConnectionsContext.js +13 -5
- package/build/src/context/InstallIntegrationContext.d.ts +1 -0
- package/build/src/context/InstallIntegrationContext.js +15 -10
- package/build/src/context/IntegrationListContext.js +3 -3
- package/build/src/context/ProjectContext.js +3 -3
- package/build/src/hooks/useIsIntegrationInstalled.js +2 -2
- package/package.json +3 -2
- package/build/src/components/Salesforce/SalesforceOauthFlow.js +0 -78
- package/build/src/context/ApiKeyContext.js +0 -6
- /package/build/src/components/Configure/fields/{RequiredFieldMappings.d.ts → FieldMappings/RequiredFieldMappings.d.ts} +0 -0
- /package/build/src/components/Configure/fields/{OptionalFields.d.ts → OptionalFields/OptionalFields.d.ts} +0 -0
- /package/build/src/components/{OAuthPopup → Connect}/OAuthPopup.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchUpsertIntegrationsRequest, Connection, CreateConsumerRequest, CreateDestinationRequest, CreateGroupRequest, CreateInstallationRequest, CreateIntegrationRequest, CreateProjectRequest, CreateProviderAppRequest, HydratedRevision, ImportInstallationRequest, Installation, Integration, OauthConnectRequest, Operation, Project, ProjectMembership, ProviderApp, UpdateInstallationRequest, UpdateProjectRequest, UpdateProviderAppRequest, UpsertProjectMembershipRequest } from '../models';
|
|
13
|
+
import type { BatchUpsertIntegrationsRequest, Connection, CreateConsumerRequest, CreateDestinationRequest, CreateGroupRequest, CreateInstallationRequest, CreateIntegrationRequest, CreateProjectRequest, CreateProviderAppRequest, HydratedRevision, ImportInstallationRequest, Installation, Integration, OauthConnectRequest, Operation, Project, ProjectMembership, ProviderApp, SignedUrl, UpdateInstallationRequest, UpdateProjectRequest, UpdateProviderAppRequest, UpsertProjectMembershipRequest } from '../models';
|
|
14
14
|
export interface BatchUpsertIntegrationsOperationRequest {
|
|
15
15
|
projectId: string;
|
|
16
16
|
batchUpsertIntegrationsRequest?: BatchUpsertIntegrationsRequest;
|
|
@@ -53,6 +53,10 @@ export interface DeleteInstallationRequest {
|
|
|
53
53
|
integrationId: string;
|
|
54
54
|
installationId: string;
|
|
55
55
|
}
|
|
56
|
+
export interface DeleteIntegrationRequest {
|
|
57
|
+
projectId: string;
|
|
58
|
+
integrationId: string;
|
|
59
|
+
}
|
|
56
60
|
export interface DeleteProjectRequest {
|
|
57
61
|
projectId: string;
|
|
58
62
|
}
|
|
@@ -70,6 +74,10 @@ export interface GetHydratedRevisionRequest {
|
|
|
70
74
|
revisionId: string;
|
|
71
75
|
connectionId: string;
|
|
72
76
|
}
|
|
77
|
+
export interface GetOperationRequest {
|
|
78
|
+
projectId: string;
|
|
79
|
+
operationId: string;
|
|
80
|
+
}
|
|
73
81
|
export interface GetProjectRequest {
|
|
74
82
|
projectId: string;
|
|
75
83
|
}
|
|
@@ -287,6 +295,20 @@ export interface DefaultApiInterface {
|
|
|
287
295
|
* Delete an installation
|
|
288
296
|
*/
|
|
289
297
|
deleteInstallation(requestParameters: DeleteInstallationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary Delete an integration
|
|
301
|
+
* @param {string} projectId
|
|
302
|
+
* @param {string} integrationId
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
* @memberof DefaultApiInterface
|
|
306
|
+
*/
|
|
307
|
+
deleteIntegrationRaw(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
308
|
+
/**
|
|
309
|
+
* Delete an integration
|
|
310
|
+
*/
|
|
311
|
+
deleteIntegration(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
290
312
|
/**
|
|
291
313
|
*
|
|
292
314
|
* @summary Delete a project
|
|
@@ -316,7 +338,19 @@ export interface DefaultApiInterface {
|
|
|
316
338
|
deleteProviderApp(requestParameters: DeleteProviderAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
317
339
|
/**
|
|
318
340
|
*
|
|
319
|
-
* @summary
|
|
341
|
+
* @summary Generate a signed URL to upload a zip file to.
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
* @memberof DefaultApiInterface
|
|
345
|
+
*/
|
|
346
|
+
generateUploadUrlRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignedUrl>>;
|
|
347
|
+
/**
|
|
348
|
+
* Generate a signed URL to upload a zip file to.
|
|
349
|
+
*/
|
|
350
|
+
generateUploadUrl(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignedUrl>;
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @summary Get a connection
|
|
320
354
|
* @param {string} projectId
|
|
321
355
|
* @param {string} connectionId
|
|
322
356
|
* @param {*} [options] Override http request option.
|
|
@@ -325,7 +359,7 @@ export interface DefaultApiInterface {
|
|
|
325
359
|
*/
|
|
326
360
|
getConnectionRaw(requestParameters: GetConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Connection>>;
|
|
327
361
|
/**
|
|
328
|
-
*
|
|
362
|
+
* Get a connection
|
|
329
363
|
*/
|
|
330
364
|
getConnection(requestParameters: GetConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Connection>;
|
|
331
365
|
/**
|
|
@@ -344,6 +378,20 @@ export interface DefaultApiInterface {
|
|
|
344
378
|
* Hydrate a revision with information from the consumer\'s SaaS instance.
|
|
345
379
|
*/
|
|
346
380
|
getHydratedRevision(requestParameters: GetHydratedRevisionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HydratedRevision>;
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @summary Get an operation
|
|
384
|
+
* @param {string} projectId
|
|
385
|
+
* @param {string} operationId
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
* @memberof DefaultApiInterface
|
|
389
|
+
*/
|
|
390
|
+
getOperationRaw(requestParameters: GetOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Operation>>;
|
|
391
|
+
/**
|
|
392
|
+
* Get an operation
|
|
393
|
+
*/
|
|
394
|
+
getOperation(requestParameters: GetOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Operation>;
|
|
347
395
|
/**
|
|
348
396
|
*
|
|
349
397
|
* @summary Get a project
|
|
@@ -679,6 +727,14 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
679
727
|
* Delete an installation
|
|
680
728
|
*/
|
|
681
729
|
deleteInstallation(requestParameters: DeleteInstallationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
730
|
+
/**
|
|
731
|
+
* Delete an integration
|
|
732
|
+
*/
|
|
733
|
+
deleteIntegrationRaw(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
734
|
+
/**
|
|
735
|
+
* Delete an integration
|
|
736
|
+
*/
|
|
737
|
+
deleteIntegration(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
682
738
|
/**
|
|
683
739
|
* Delete a project
|
|
684
740
|
*/
|
|
@@ -696,11 +752,19 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
696
752
|
*/
|
|
697
753
|
deleteProviderApp(requestParameters: DeleteProviderAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
698
754
|
/**
|
|
699
|
-
*
|
|
755
|
+
* Generate a signed URL to upload a zip file to.
|
|
756
|
+
*/
|
|
757
|
+
generateUploadUrlRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignedUrl>>;
|
|
758
|
+
/**
|
|
759
|
+
* Generate a signed URL to upload a zip file to.
|
|
760
|
+
*/
|
|
761
|
+
generateUploadUrl(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignedUrl>;
|
|
762
|
+
/**
|
|
763
|
+
* Get a connection
|
|
700
764
|
*/
|
|
701
765
|
getConnectionRaw(requestParameters: GetConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Connection>>;
|
|
702
766
|
/**
|
|
703
|
-
*
|
|
767
|
+
* Get a connection
|
|
704
768
|
*/
|
|
705
769
|
getConnection(requestParameters: GetConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Connection>;
|
|
706
770
|
/**
|
|
@@ -711,6 +775,14 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
711
775
|
* Hydrate a revision with information from the consumer\'s SaaS instance.
|
|
712
776
|
*/
|
|
713
777
|
getHydratedRevision(requestParameters: GetHydratedRevisionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HydratedRevision>;
|
|
778
|
+
/**
|
|
779
|
+
* Get an operation
|
|
780
|
+
*/
|
|
781
|
+
getOperationRaw(requestParameters: GetOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Operation>>;
|
|
782
|
+
/**
|
|
783
|
+
* Get an operation
|
|
784
|
+
*/
|
|
785
|
+
getOperation(requestParameters: GetOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Operation>;
|
|
714
786
|
/**
|
|
715
787
|
* Get a project
|
|
716
788
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -324,6 +324,35 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
324
324
|
async deleteInstallation(requestParameters, initOverrides) {
|
|
325
325
|
await this.deleteInstallationRaw(requestParameters, initOverrides);
|
|
326
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* Delete an integration
|
|
329
|
+
*/
|
|
330
|
+
async deleteIntegrationRaw(requestParameters, initOverrides) {
|
|
331
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
332
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling deleteIntegration.');
|
|
333
|
+
}
|
|
334
|
+
if (requestParameters.integrationId === null || requestParameters.integrationId === undefined) {
|
|
335
|
+
throw new runtime.RequiredError('integrationId', 'Required parameter requestParameters.integrationId was null or undefined when calling deleteIntegration.');
|
|
336
|
+
}
|
|
337
|
+
const queryParameters = {};
|
|
338
|
+
if (requestParameters.integrationId !== undefined) {
|
|
339
|
+
queryParameters['integrationId'] = requestParameters.integrationId;
|
|
340
|
+
}
|
|
341
|
+
const headerParameters = {};
|
|
342
|
+
const response = await this.request({
|
|
343
|
+
path: `/projects/{projectId}/integrations`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))),
|
|
344
|
+
method: 'DELETE',
|
|
345
|
+
headers: headerParameters,
|
|
346
|
+
query: queryParameters,
|
|
347
|
+
}, initOverrides);
|
|
348
|
+
return new runtime.VoidApiResponse(response);
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Delete an integration
|
|
352
|
+
*/
|
|
353
|
+
async deleteIntegration(requestParameters, initOverrides) {
|
|
354
|
+
await this.deleteIntegrationRaw(requestParameters, initOverrides);
|
|
355
|
+
}
|
|
327
356
|
/**
|
|
328
357
|
* Delete a project
|
|
329
358
|
*/
|
|
@@ -374,7 +403,28 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
374
403
|
await this.deleteProviderAppRaw(requestParameters, initOverrides);
|
|
375
404
|
}
|
|
376
405
|
/**
|
|
377
|
-
*
|
|
406
|
+
* Generate a signed URL to upload a zip file to.
|
|
407
|
+
*/
|
|
408
|
+
async generateUploadUrlRaw(initOverrides) {
|
|
409
|
+
const queryParameters = {};
|
|
410
|
+
const headerParameters = {};
|
|
411
|
+
const response = await this.request({
|
|
412
|
+
path: `/generate-upload-url`,
|
|
413
|
+
method: 'GET',
|
|
414
|
+
headers: headerParameters,
|
|
415
|
+
query: queryParameters,
|
|
416
|
+
}, initOverrides);
|
|
417
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SignedUrlFromJSON)(jsonValue));
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Generate a signed URL to upload a zip file to.
|
|
421
|
+
*/
|
|
422
|
+
async generateUploadUrl(initOverrides) {
|
|
423
|
+
const response = await this.generateUploadUrlRaw(initOverrides);
|
|
424
|
+
return await response.value();
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Get a connection
|
|
378
428
|
*/
|
|
379
429
|
async getConnectionRaw(requestParameters, initOverrides) {
|
|
380
430
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
@@ -394,7 +444,7 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
394
444
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.ConnectionFromJSON)(jsonValue));
|
|
395
445
|
}
|
|
396
446
|
/**
|
|
397
|
-
*
|
|
447
|
+
* Get a connection
|
|
398
448
|
*/
|
|
399
449
|
async getConnection(requestParameters, initOverrides) {
|
|
400
450
|
const response = await this.getConnectionRaw(requestParameters, initOverrides);
|
|
@@ -436,6 +486,33 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
436
486
|
const response = await this.getHydratedRevisionRaw(requestParameters, initOverrides);
|
|
437
487
|
return await response.value();
|
|
438
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
* Get an operation
|
|
491
|
+
*/
|
|
492
|
+
async getOperationRaw(requestParameters, initOverrides) {
|
|
493
|
+
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
494
|
+
throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getOperation.');
|
|
495
|
+
}
|
|
496
|
+
if (requestParameters.operationId === null || requestParameters.operationId === undefined) {
|
|
497
|
+
throw new runtime.RequiredError('operationId', 'Required parameter requestParameters.operationId was null or undefined when calling getOperation.');
|
|
498
|
+
}
|
|
499
|
+
const queryParameters = {};
|
|
500
|
+
const headerParameters = {};
|
|
501
|
+
const response = await this.request({
|
|
502
|
+
path: `/projects/{projectId}/operations/{operationId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"operationId"}}`, encodeURIComponent(String(requestParameters.operationId))),
|
|
503
|
+
method: 'GET',
|
|
504
|
+
headers: headerParameters,
|
|
505
|
+
query: queryParameters,
|
|
506
|
+
}, initOverrides);
|
|
507
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OperationFromJSON)(jsonValue));
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Get an operation
|
|
511
|
+
*/
|
|
512
|
+
async getOperation(requestParameters, initOverrides) {
|
|
513
|
+
const response = await this.getOperationRaw(requestParameters, initOverrides);
|
|
514
|
+
return await response.value();
|
|
515
|
+
}
|
|
439
516
|
/**
|
|
440
517
|
* Get a project
|
|
441
518
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { BaseReadConfig } from './BaseReadConfig';
|
|
13
|
+
import type { BaseWriteConfig } from './BaseWriteConfig';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface BaseConfigContent {
|
|
|
28
29
|
* @memberof BaseConfigContent
|
|
29
30
|
*/
|
|
30
31
|
read?: BaseReadConfig;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {BaseWriteConfig}
|
|
35
|
+
* @memberof BaseConfigContent
|
|
36
|
+
*/
|
|
37
|
+
write?: BaseWriteConfig;
|
|
31
38
|
}
|
|
32
39
|
/**
|
|
33
40
|
* Check if a given object implements the BaseConfigContent interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.BaseConfigContentToJSON = exports.BaseConfigContentFromJSONTyped = exports.BaseConfigContentFromJSON = exports.instanceOfBaseConfigContent = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const BaseReadConfig_1 = require("./BaseReadConfig");
|
|
19
|
+
const BaseWriteConfig_1 = require("./BaseWriteConfig");
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the BaseConfigContent interface.
|
|
21
22
|
*/
|
|
@@ -35,6 +36,7 @@ function BaseConfigContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
return {
|
|
36
37
|
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
37
38
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : (0, BaseReadConfig_1.BaseReadConfigFromJSON)(json['read']),
|
|
39
|
+
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : (0, BaseWriteConfig_1.BaseWriteConfigFromJSON)(json['write']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.BaseConfigContentFromJSONTyped = BaseConfigContentFromJSONTyped;
|
|
@@ -48,6 +50,7 @@ function BaseConfigContentToJSON(value) {
|
|
|
48
50
|
return {
|
|
49
51
|
'provider': value.provider,
|
|
50
52
|
'read': (0, BaseReadConfig_1.BaseReadConfigToJSON)(value.read),
|
|
53
|
+
'write': (0, BaseWriteConfig_1.BaseWriteConfigToJSON)(value.write),
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
exports.BaseConfigContentToJSON = BaseConfigContentToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ export interface BaseReadConfigStandardObject {
|
|
|
22
22
|
*/
|
|
23
23
|
objectName?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* The schedule for reading the object, in cron syntax.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof BaseReadConfigStandardObject
|
|
28
28
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 { BaseWriteConfigObject } from './BaseWriteConfigObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BaseWriteConfig
|
|
17
|
+
*/
|
|
18
|
+
export interface BaseWriteConfig {
|
|
19
|
+
/**
|
|
20
|
+
* This is a map of object names to their configuration.
|
|
21
|
+
* @type {{ [key: string]: BaseWriteConfigObject; }}
|
|
22
|
+
* @memberof BaseWriteConfig
|
|
23
|
+
*/
|
|
24
|
+
objects?: {
|
|
25
|
+
[key: string]: BaseWriteConfigObject;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the BaseWriteConfig interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfBaseWriteConfig(value: object): boolean;
|
|
32
|
+
export declare function BaseWriteConfigFromJSON(json: any): BaseWriteConfig;
|
|
33
|
+
export declare function BaseWriteConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseWriteConfig;
|
|
34
|
+
export declare function BaseWriteConfigToJSON(value?: BaseWriteConfig | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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.BaseWriteConfigToJSON = exports.BaseWriteConfigFromJSONTyped = exports.BaseWriteConfigFromJSON = exports.instanceOfBaseWriteConfig = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const BaseWriteConfigObject_1 = require("./BaseWriteConfigObject");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the BaseWriteConfig interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfBaseWriteConfig(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfBaseWriteConfig = instanceOfBaseWriteConfig;
|
|
27
|
+
function BaseWriteConfigFromJSON(json) {
|
|
28
|
+
return BaseWriteConfigFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.BaseWriteConfigFromJSON = BaseWriteConfigFromJSON;
|
|
31
|
+
function BaseWriteConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'objects': !(0, runtime_1.exists)(json, 'objects') ? undefined : ((0, runtime_1.mapValues)(json['objects'], BaseWriteConfigObject_1.BaseWriteConfigObjectFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.BaseWriteConfigFromJSONTyped = BaseWriteConfigFromJSONTyped;
|
|
40
|
+
function BaseWriteConfigToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'objects': value.objects === undefined ? undefined : ((0, runtime_1.mapValues)(value.objects, BaseWriteConfigObject_1.BaseWriteConfigObjectToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.BaseWriteConfigToJSON = BaseWriteConfigToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ampersand public API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BaseWriteConfigObject
|
|
16
|
+
*/
|
|
17
|
+
export interface BaseWriteConfigObject {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the object to write to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BaseWriteConfigObject
|
|
22
|
+
*/
|
|
23
|
+
objectName?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BaseWriteConfigObject interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBaseWriteConfigObject(value: object): boolean;
|
|
29
|
+
export declare function BaseWriteConfigObjectFromJSON(json: any): BaseWriteConfigObject;
|
|
30
|
+
export declare function BaseWriteConfigObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseWriteConfigObject;
|
|
31
|
+
export declare function BaseWriteConfigObjectToJSON(value?: BaseWriteConfigObject | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ampersand public API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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.BaseWriteConfigObjectToJSON = exports.BaseWriteConfigObjectFromJSONTyped = exports.BaseWriteConfigObjectFromJSON = exports.instanceOfBaseWriteConfigObject = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the BaseWriteConfigObject interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfBaseWriteConfigObject(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfBaseWriteConfigObject = instanceOfBaseWriteConfigObject;
|
|
26
|
+
function BaseWriteConfigObjectFromJSON(json) {
|
|
27
|
+
return BaseWriteConfigObjectFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.BaseWriteConfigObjectFromJSON = BaseWriteConfigObjectFromJSON;
|
|
30
|
+
function BaseWriteConfigObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'objectName': !(0, runtime_1.exists)(json, 'objectName') ? undefined : json['objectName'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.BaseWriteConfigObjectFromJSONTyped = BaseWriteConfigObjectFromJSONTyped;
|
|
39
|
+
function BaseWriteConfigObjectToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'objectName': value.objectName,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.BaseWriteConfigObjectToJSON = BaseWriteConfigObjectToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,12 @@ export interface ConfigContent {
|
|
|
27
27
|
* @memberof ConfigContent
|
|
28
28
|
*/
|
|
29
29
|
read?: any | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof ConfigContent
|
|
34
|
+
*/
|
|
35
|
+
write?: any | null;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the ConfigContent interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Ampersand public API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,6 +35,7 @@ function ConfigContentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return {
|
|
36
36
|
'provider': json['provider'],
|
|
37
37
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : json['read'],
|
|
38
|
+
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : json['write'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
exports.ConfigContentFromJSONTyped = ConfigContentFromJSONTyped;
|
|
@@ -48,6 +49,7 @@ function ConfigContentToJSON(value) {
|
|
|
48
49
|
return {
|
|
49
50
|
'provider': value.provider,
|
|
50
51
|
'read': value.read,
|
|
52
|
+
'write': value.write,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
53
55
|
exports.ConfigContentToJSON = ConfigContentToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Ampersand public API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,6 +21,12 @@ export interface ConfigContentAllOf {
|
|
|
21
21
|
* @memberof ConfigContentAllOf
|
|
22
22
|
*/
|
|
23
23
|
read?: any | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {any}
|
|
27
|
+
* @memberof ConfigContentAllOf
|
|
28
|
+
*/
|
|
29
|
+
write?: any | null;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the ConfigContentAllOf interface.
|