@amp-labs/react 1.0.1 → 1.0.2
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/build/generated-sources/api/src/apis/DefaultApi.d.ts +48 -2
- package/build/generated-sources/api/src/apis/DefaultApi.js +51 -1
- 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 +1 -1
- package/build/generated-sources/api/src/models/CreateInstallationRequest.js +1 -1
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +1 -1
- package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +1 -1
- 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 +1 -1
- package/build/generated-sources/api/src/models/OauthConnectRequest.js +1 -1
- package/build/generated-sources/api/src/models/Operation.d.ts +1 -1
- package/build/generated-sources/api/src/models/Operation.js +1 -1
- 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 +13 -6
- package/build/src/components/Configure/ProtectedConnectionLayout.d.ts +7 -2
- package/build/src/components/Configure/ProtectedConnectionLayout.js +10 -5
- package/build/src/components/Configure/UninstallContent.d.ts +1 -0
- package/build/src/components/Configure/UninstallContent.js +37 -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/Salesforce/SalesforceOauthFlow.js +41 -30
- 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/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 +4 -3
- 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
package/README.md
CHANGED
|
@@ -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
|
}
|
|
@@ -287,6 +291,20 @@ export interface DefaultApiInterface {
|
|
|
287
291
|
* Delete an installation
|
|
288
292
|
*/
|
|
289
293
|
deleteInstallation(requestParameters: DeleteInstallationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @summary Delete an integration
|
|
297
|
+
* @param {string} projectId
|
|
298
|
+
* @param {string} integrationId
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
* @memberof DefaultApiInterface
|
|
302
|
+
*/
|
|
303
|
+
deleteIntegrationRaw(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
304
|
+
/**
|
|
305
|
+
* Delete an integration
|
|
306
|
+
*/
|
|
307
|
+
deleteIntegration(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
290
308
|
/**
|
|
291
309
|
*
|
|
292
310
|
* @summary Delete a project
|
|
@@ -314,6 +332,18 @@ export interface DefaultApiInterface {
|
|
|
314
332
|
* Delete a provider app
|
|
315
333
|
*/
|
|
316
334
|
deleteProviderApp(requestParameters: DeleteProviderAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @summary Generate a signed URL to upload a zip file to.
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
* @memberof DefaultApiInterface
|
|
341
|
+
*/
|
|
342
|
+
generateUploadUrlRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignedUrl>>;
|
|
343
|
+
/**
|
|
344
|
+
* Generate a signed URL to upload a zip file to.
|
|
345
|
+
*/
|
|
346
|
+
generateUploadUrl(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignedUrl>;
|
|
317
347
|
/**
|
|
318
348
|
*
|
|
319
349
|
* @summary get a connection
|
|
@@ -679,6 +709,14 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
679
709
|
* Delete an installation
|
|
680
710
|
*/
|
|
681
711
|
deleteInstallation(requestParameters: DeleteInstallationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
712
|
+
/**
|
|
713
|
+
* Delete an integration
|
|
714
|
+
*/
|
|
715
|
+
deleteIntegrationRaw(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
716
|
+
/**
|
|
717
|
+
* Delete an integration
|
|
718
|
+
*/
|
|
719
|
+
deleteIntegration(requestParameters: DeleteIntegrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
682
720
|
/**
|
|
683
721
|
* Delete a project
|
|
684
722
|
*/
|
|
@@ -695,6 +733,14 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
695
733
|
* Delete a provider app
|
|
696
734
|
*/
|
|
697
735
|
deleteProviderApp(requestParameters: DeleteProviderAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
736
|
+
/**
|
|
737
|
+
* Generate a signed URL to upload a zip file to.
|
|
738
|
+
*/
|
|
739
|
+
generateUploadUrlRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignedUrl>>;
|
|
740
|
+
/**
|
|
741
|
+
* Generate a signed URL to upload a zip file to.
|
|
742
|
+
*/
|
|
743
|
+
generateUploadUrl(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignedUrl>;
|
|
698
744
|
/**
|
|
699
745
|
* get a connection
|
|
700
746
|
*/
|
|
@@ -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
|
*/
|
|
@@ -373,6 +402,27 @@ class DefaultApi extends runtime.BaseAPI {
|
|
|
373
402
|
async deleteProviderApp(requestParameters, initOverrides) {
|
|
374
403
|
await this.deleteProviderAppRaw(requestParameters, initOverrides);
|
|
375
404
|
}
|
|
405
|
+
/**
|
|
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
|
+
}
|
|
376
426
|
/**
|
|
377
427
|
* get a connection
|
|
378
428
|
*/
|
|
@@ -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.
|
|
@@ -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).
|
|
@@ -33,6 +33,7 @@ function ConfigContentAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'read': !(0, runtime_1.exists)(json, 'read') ? undefined : json['read'],
|
|
36
|
+
'write': !(0, runtime_1.exists)(json, 'write') ? undefined : json['write'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
exports.ConfigContentAllOfFromJSONTyped = ConfigContentAllOfFromJSONTyped;
|
|
@@ -45,6 +46,7 @@ function ConfigContentAllOfToJSON(value) {
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'read': value.read,
|
|
49
|
+
'write': value.write,
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
exports.ConfigContentAllOfToJSON = ConfigContentAllOfToJSON;
|
|
@@ -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).
|
|
@@ -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).
|