@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.
Files changed (203) hide show
  1. package/build/generated-sources/api/src/apis/DefaultApi.d.ts +78 -6
  2. package/build/generated-sources/api/src/apis/DefaultApi.js +80 -3
  3. package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +8 -1
  4. package/build/generated-sources/api/src/models/BaseConfigContent.js +4 -1
  5. package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +1 -1
  6. package/build/generated-sources/api/src/models/BaseReadConfig.js +1 -1
  7. package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.d.ts +2 -2
  8. package/build/generated-sources/api/src/models/BaseReadConfigStandardObject.js +1 -1
  9. package/build/generated-sources/api/src/models/BaseWriteConfig.d.ts +34 -0
  10. package/build/generated-sources/api/src/models/BaseWriteConfig.js +51 -0
  11. package/build/generated-sources/api/src/models/BaseWriteConfigObject.d.ts +31 -0
  12. package/build/generated-sources/api/src/models/BaseWriteConfigObject.js +50 -0
  13. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +1 -1
  14. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +1 -1
  15. package/build/generated-sources/api/src/models/Config.d.ts +1 -1
  16. package/build/generated-sources/api/src/models/Config.js +1 -1
  17. package/build/generated-sources/api/src/models/ConfigContent.d.ts +7 -1
  18. package/build/generated-sources/api/src/models/ConfigContent.js +3 -1
  19. package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +7 -1
  20. package/build/generated-sources/api/src/models/ConfigContentAllOf.js +3 -1
  21. package/build/generated-sources/api/src/models/Connection.d.ts +1 -1
  22. package/build/generated-sources/api/src/models/Connection.js +1 -1
  23. package/build/generated-sources/api/src/models/Consumer.d.ts +1 -1
  24. package/build/generated-sources/api/src/models/Consumer.js +1 -1
  25. package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +1 -1
  26. package/build/generated-sources/api/src/models/CreateConsumerRequest.js +1 -1
  27. package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +1 -1
  28. package/build/generated-sources/api/src/models/CreateDestinationRequest.js +1 -1
  29. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +1 -1
  30. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.js +1 -1
  31. package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +1 -1
  32. package/build/generated-sources/api/src/models/CreateGroupRequest.js +1 -1
  33. package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +3 -3
  34. package/build/generated-sources/api/src/models/CreateInstallationRequest.js +3 -3
  35. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +4 -4
  36. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +4 -5
  37. package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +1 -1
  38. package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +1 -1
  39. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +1 -1
  40. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +1 -1
  41. package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +1 -1
  42. package/build/generated-sources/api/src/models/CreateProjectRequest.js +1 -1
  43. package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +7 -1
  44. package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +3 -1
  45. package/build/generated-sources/api/src/models/Group.d.ts +1 -1
  46. package/build/generated-sources/api/src/models/Group.js +1 -1
  47. package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +8 -1
  48. package/build/generated-sources/api/src/models/HydratedIntegration.js +4 -1
  49. package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +1 -1
  50. package/build/generated-sources/api/src/models/HydratedIntegrationField.js +1 -1
  51. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +1 -1
  52. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +1 -1
  53. package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +1 -1
  54. package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +1 -1
  55. package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +1 -1
  56. package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +1 -1
  57. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.d.ts +32 -0
  58. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.js +51 -0
  59. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.d.ts +37 -0
  60. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.js +53 -0
  61. package/build/generated-sources/api/src/models/HydratedRevision.d.ts +1 -1
  62. package/build/generated-sources/api/src/models/HydratedRevision.js +1 -1
  63. package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +1 -7
  64. package/build/generated-sources/api/src/models/ImportConnectionRequest.js +1 -4
  65. package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +7 -1
  66. package/build/generated-sources/api/src/models/ImportInstallationRequest.js +4 -1
  67. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +1 -1
  68. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +1 -1
  69. package/build/generated-sources/api/src/models/Installation.d.ts +1 -1
  70. package/build/generated-sources/api/src/models/Installation.js +1 -1
  71. package/build/generated-sources/api/src/models/Integration.d.ts +1 -1
  72. package/build/generated-sources/api/src/models/Integration.js +1 -1
  73. package/build/generated-sources/api/src/models/Integration1.d.ts +8 -1
  74. package/build/generated-sources/api/src/models/Integration1.js +4 -1
  75. package/build/generated-sources/api/src/models/IntegrationField.d.ts +1 -1
  76. package/build/generated-sources/api/src/models/IntegrationField.js +1 -1
  77. package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +1 -1
  78. package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +1 -1
  79. package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +1 -1
  80. package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +1 -1
  81. package/build/generated-sources/api/src/models/IntegrationObject.d.ts +1 -1
  82. package/build/generated-sources/api/src/models/IntegrationObject.js +1 -1
  83. package/build/generated-sources/api/src/models/IntegrationRead.d.ts +1 -1
  84. package/build/generated-sources/api/src/models/IntegrationRead.js +1 -1
  85. package/build/generated-sources/api/src/models/IntegrationWrite.d.ts +32 -0
  86. package/build/generated-sources/api/src/models/IntegrationWrite.js +51 -0
  87. package/build/generated-sources/api/src/models/IntegrationWriteObject.d.ts +31 -0
  88. package/build/generated-sources/api/src/models/IntegrationWriteObject.js +50 -0
  89. package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +2 -2
  90. package/build/generated-sources/api/src/models/OauthConnectRequest.js +2 -3
  91. package/build/generated-sources/api/src/models/Operation.d.ts +7 -13
  92. package/build/generated-sources/api/src/models/Operation.js +4 -7
  93. package/build/generated-sources/api/src/models/OperationError.d.ts +1 -1
  94. package/build/generated-sources/api/src/models/OperationError.js +1 -1
  95. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +1 -1
  96. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +1 -1
  97. package/build/generated-sources/api/src/models/Project.d.ts +1 -1
  98. package/build/generated-sources/api/src/models/Project.js +1 -1
  99. package/build/generated-sources/api/src/models/ProjectMembership.d.ts +1 -1
  100. package/build/generated-sources/api/src/models/ProjectMembership.js +1 -1
  101. package/build/generated-sources/api/src/models/ProviderApp.d.ts +1 -1
  102. package/build/generated-sources/api/src/models/ProviderApp.js +1 -1
  103. package/build/generated-sources/api/src/models/Revision.d.ts +1 -1
  104. package/build/generated-sources/api/src/models/Revision.js +1 -1
  105. package/build/generated-sources/api/src/models/SignedUrl.d.ts +43 -0
  106. package/build/generated-sources/api/src/models/SignedUrl.js +56 -0
  107. package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +8 -1
  108. package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +4 -1
  109. package/build/generated-sources/api/src/models/UpdateInstallationRequest.d.ts +1 -1
  110. package/build/generated-sources/api/src/models/UpdateInstallationRequest.js +1 -1
  111. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.d.ts +1 -1
  112. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.js +1 -1
  113. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.d.ts +1 -1
  114. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.js +1 -1
  115. package/build/generated-sources/api/src/models/UpdateProjectRequest.d.ts +1 -1
  116. package/build/generated-sources/api/src/models/UpdateProjectRequest.js +1 -1
  117. package/build/generated-sources/api/src/models/UpdateProjectRequestProject.d.ts +1 -1
  118. package/build/generated-sources/api/src/models/UpdateProjectRequestProject.js +1 -1
  119. package/build/generated-sources/api/src/models/UpdateProviderAppRequest.d.ts +1 -1
  120. package/build/generated-sources/api/src/models/UpdateProviderAppRequest.js +1 -1
  121. package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.d.ts +7 -1
  122. package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.js +3 -1
  123. package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.d.ts +1 -1
  124. package/build/generated-sources/api/src/models/UpsertProjectMembershipRequest.js +1 -1
  125. package/build/generated-sources/api/src/models/index.d.ts +7 -0
  126. package/build/generated-sources/api/src/models/index.js +7 -0
  127. package/build/generated-sources/api/src/runtime.d.ts +1 -1
  128. package/build/generated-sources/api/src/runtime.js +1 -1
  129. package/build/src/assets/NavIcon.d.ts +1 -0
  130. package/build/src/assets/NavIcon.js +3 -2
  131. package/build/src/assets/TrashIcon.d.ts +1 -0
  132. package/build/src/assets/TrashIcon.js +9 -0
  133. package/build/src/components/AmpersandProvider/AmpersandProvider.js +2 -2
  134. package/build/src/components/Configure/ConfigureInstallationBase.js +14 -2
  135. package/build/src/components/Configure/CreateInstallation.js +11 -14
  136. package/build/src/components/Configure/InstallIntegration.js +1 -2
  137. package/build/src/components/Configure/ObjectManagementNav/UninstallInstallation.d.ts +7 -0
  138. package/build/src/components/Configure/ObjectManagementNav/UninstallInstallation.js +15 -0
  139. package/build/src/components/Configure/ObjectManagementNav/index.js +17 -9
  140. package/build/src/components/Configure/ProtectedConnectionLayout.d.ts +7 -2
  141. package/build/src/components/Configure/ProtectedConnectionLayout.js +15 -9
  142. package/build/src/components/Configure/UninstallContent.d.ts +1 -0
  143. package/build/src/components/Configure/UninstallContent.js +44 -0
  144. package/build/src/components/Configure/UpdateInstallation.js +10 -21
  145. package/build/src/components/Configure/fields/{FieldMapping.d.ts → FieldMappings/FieldMapping.d.ts} +2 -3
  146. package/build/src/components/Configure/fields/{FieldMapping.js → FieldMappings/FieldMapping.js} +12 -11
  147. package/build/src/components/Configure/fields/{RequiredFieldMappings.js → FieldMappings/RequiredFieldMappings.js} +9 -9
  148. package/build/src/components/Configure/fields/FieldMappings/index.d.ts +3 -0
  149. package/build/src/components/Configure/fields/FieldMappings/index.js +7 -0
  150. package/build/src/components/Configure/fields/FieldMappings/setFieldMapping.d.ts +3 -0
  151. package/build/src/components/Configure/fields/FieldMappings/setFieldMapping.js +18 -0
  152. package/build/src/components/Configure/fields/{OptionalFields.js → OptionalFields/OptionalFields.js} +8 -19
  153. package/build/src/components/Configure/fields/OptionalFields/index.d.ts +2 -0
  154. package/build/src/components/Configure/fields/OptionalFields/index.js +5 -0
  155. package/build/src/components/Configure/fields/OptionalFields/setOptionalField.d.ts +3 -0
  156. package/build/src/components/Configure/fields/OptionalFields/setOptionalField.js +21 -0
  157. package/build/src/components/Configure/state/ConfigurationStateProvider.d.ts +47 -1
  158. package/build/src/components/Configure/state/ConfigurationStateProvider.js +28 -6
  159. package/build/src/components/Configure/state/HydratedRevisionContext.js +3 -6
  160. package/build/src/components/Configure/state/utils.d.ts +4 -16
  161. package/build/src/components/Configure/state/utils.js +28 -63
  162. package/build/src/components/Configure/types.d.ts +6 -9
  163. package/build/src/components/Configure/utils.d.ts +6 -4
  164. package/build/src/components/Configure/utils.js +17 -16
  165. package/build/src/components/Connect/ConnectProvider.d.ts +9 -0
  166. package/build/src/components/Connect/ConnectProvider.js +18 -0
  167. package/build/src/components/{OAuthPopup → Connect}/OAuthPopup.js +3 -3
  168. package/build/src/components/Oauth/Hubspot/HubspotLandingContent.d.ts +7 -0
  169. package/build/src/components/Oauth/Hubspot/HubspotLandingContent.js +10 -0
  170. package/build/src/components/Oauth/Hubspot/HubspotOauthFlow.d.ts +15 -0
  171. package/build/src/components/Oauth/Hubspot/HubspotOauthFlow.js +50 -0
  172. package/build/src/components/Oauth/OAuthErrorAlert.d.ts +5 -0
  173. package/build/src/components/Oauth/OAuthErrorAlert.js +12 -0
  174. package/build/src/components/{Salesforce → Oauth/Salesforce}/SalesforceOauthFlow.d.ts +2 -2
  175. package/build/src/components/Oauth/Salesforce/SalesforceOauthFlow.js +57 -0
  176. package/build/src/components/Oauth/Salesforce/SubdomainEntry.d.ts +8 -0
  177. package/build/src/components/Oauth/Salesforce/SubdomainEntry.js +12 -0
  178. package/build/src/components/Oauth/fetchOAuthCallbackURL.d.ts +1 -0
  179. package/build/src/components/Oauth/fetchOAuthCallbackURL.js +29 -0
  180. package/build/src/components/ThemeProvider/Button/buttonTheme.d.ts +13 -0
  181. package/build/src/components/ThemeProvider/Button/buttonTheme.js +17 -0
  182. package/build/src/components/ThemeProvider/Button/index.d.ts +2 -0
  183. package/build/src/components/ThemeProvider/Button/index.js +5 -0
  184. package/build/src/components/ThemeProvider/index.js +21 -0
  185. package/build/src/components/index.d.ts +1 -0
  186. package/build/src/components/index.js +1 -0
  187. package/build/src/constants.d.ts +1 -0
  188. package/build/src/constants.js +2 -1
  189. package/build/src/context/{ApiKeyContext.d.ts → ApiKeyProvider.d.ts} +1 -0
  190. package/build/src/context/ApiKeyProvider.js +14 -0
  191. package/build/src/context/ConnectionsContext.d.ts +5 -4
  192. package/build/src/context/ConnectionsContext.js +13 -5
  193. package/build/src/context/InstallIntegrationContext.d.ts +1 -0
  194. package/build/src/context/InstallIntegrationContext.js +15 -10
  195. package/build/src/context/IntegrationListContext.js +3 -3
  196. package/build/src/context/ProjectContext.js +3 -3
  197. package/build/src/hooks/useIsIntegrationInstalled.js +2 -2
  198. package/package.json +3 -2
  199. package/build/src/components/Salesforce/SalesforceOauthFlow.js +0 -78
  200. package/build/src/context/ApiKeyContext.js +0 -6
  201. /package/build/src/components/Configure/fields/{RequiredFieldMappings.d.ts → FieldMappings/RequiredFieldMappings.d.ts} +0 -0
  202. /package/build/src/components/Configure/fields/{OptionalFields.d.ts → OptionalFields/OptionalFields.d.ts} +0 -0
  203. /package/build/src/components/{OAuthPopup → Connect}/OAuthPopup.d.ts +0 -0
@@ -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: 0.1.0
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).
@@ -20,7 +20,6 @@ const runtime_1 = require("../runtime");
20
20
  */
21
21
  function instanceOfOauthConnectRequest(value) {
22
22
  let isInstance = true;
23
- isInstance = isInstance && "providerWorkspaceRef" in value;
24
23
  isInstance = isInstance && "projectId" in value;
25
24
  isInstance = isInstance && "groupRef" in value;
26
25
  isInstance = isInstance && "consumerRef" in value;
@@ -38,7 +37,7 @@ function OauthConnectRequestFromJSONTyped(json, ignoreDiscriminator) {
38
37
  return json;
39
38
  }
40
39
  return {
41
- 'providerWorkspaceRef': json['providerWorkspaceRef'],
40
+ 'providerWorkspaceRef': !(0, runtime_1.exists)(json, 'providerWorkspaceRef') ? undefined : json['providerWorkspaceRef'],
42
41
  'projectId': json['projectId'],
43
42
  'groupRef': json['groupRef'],
44
43
  'groupName': !(0, runtime_1.exists)(json, 'groupName') ? undefined : json['groupName'],
@@ -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: 0.1.0
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).
@@ -35,29 +35,23 @@ export interface Operation {
35
35
  */
36
36
  objectName: string;
37
37
  /**
38
- * The Ampersand installation ID.
39
- * @type {string}
40
- * @memberof Operation
41
- */
42
- installationId: string;
43
- /**
44
- * The status of the operation.
38
+ * The operation ID.
45
39
  * @type {string}
46
40
  * @memberof Operation
47
41
  */
48
- status?: string;
42
+ id: string;
49
43
  /**
50
- * The workflow reference.
44
+ * The Ampersand installation ID.
51
45
  * @type {string}
52
46
  * @memberof Operation
53
47
  */
54
- workflowRef: string;
48
+ installationId: string;
55
49
  /**
56
- * The run reference.
50
+ * The status of the operation.
57
51
  * @type {string}
58
52
  * @memberof Operation
59
53
  */
60
- runRef: string;
54
+ status?: string;
61
55
  /**
62
56
  * The error history of the operation.
63
57
  * @type {Array<OperationError>}
@@ -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: 0.1.0
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).
@@ -24,9 +24,8 @@ function instanceOfOperation(value) {
24
24
  isInstance = isInstance && "projectId" in value;
25
25
  isInstance = isInstance && "actionType" in value;
26
26
  isInstance = isInstance && "objectName" in value;
27
+ isInstance = isInstance && "id" in value;
27
28
  isInstance = isInstance && "installationId" in value;
28
- isInstance = isInstance && "workflowRef" in value;
29
- isInstance = isInstance && "runRef" in value;
30
29
  return isInstance;
31
30
  }
32
31
  exports.instanceOfOperation = instanceOfOperation;
@@ -42,10 +41,9 @@ function OperationFromJSONTyped(json, ignoreDiscriminator) {
42
41
  'projectId': json['projectId'],
43
42
  'actionType': json['actionType'],
44
43
  'objectName': json['objectName'],
44
+ 'id': json['id'],
45
45
  'installationId': json['installationId'],
46
46
  'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
47
- 'workflowRef': json['workflowRef'],
48
- 'runRef': json['runRef'],
49
47
  'errorHistory': !(0, runtime_1.exists)(json, 'errorHistory') ? undefined : (json['errorHistory'].map(OperationError_1.OperationErrorFromJSON)),
50
48
  'createTime': !(0, runtime_1.exists)(json, 'createTime') ? undefined : (new Date(json['createTime'])),
51
49
  };
@@ -62,10 +60,9 @@ function OperationToJSON(value) {
62
60
  'projectId': value.projectId,
63
61
  'actionType': value.actionType,
64
62
  'objectName': value.objectName,
63
+ 'id': value.id,
65
64
  'installationId': value.installationId,
66
65
  'status': value.status,
67
- 'workflowRef': value.workflowRef,
68
- 'runRef': value.runRef,
69
66
  'errorHistory': value.errorHistory === undefined ? undefined : (value.errorHistory.map(OperationError_1.OperationErrorToJSON)),
70
67
  'createTime': value.createTime === undefined ? undefined : (value.createTime.toISOString()),
71
68
  };
@@ -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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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,43 @@
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 SignedUrl
16
+ */
17
+ export interface SignedUrl {
18
+ /**
19
+ * The signed URL to upload the zip file to.
20
+ * @type {string}
21
+ * @memberof SignedUrl
22
+ */
23
+ url: string;
24
+ /**
25
+ * The bucket (will match the bucket part of the url).
26
+ * @type {string}
27
+ * @memberof SignedUrl
28
+ */
29
+ bucket: string;
30
+ /**
31
+ * The path (will match the path part of the url).
32
+ * @type {string}
33
+ * @memberof SignedUrl
34
+ */
35
+ path: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SignedUrl interface.
39
+ */
40
+ export declare function instanceOfSignedUrl(value: object): boolean;
41
+ export declare function SignedUrlFromJSON(json: any): SignedUrl;
42
+ export declare function SignedUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignedUrl;
43
+ export declare function SignedUrlToJSON(value?: SignedUrl | null): any;
@@ -0,0 +1,56 @@
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.SignedUrlToJSON = exports.SignedUrlFromJSONTyped = exports.SignedUrlFromJSON = exports.instanceOfSignedUrl = void 0;
17
+ /**
18
+ * Check if a given object implements the SignedUrl interface.
19
+ */
20
+ function instanceOfSignedUrl(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "url" in value;
23
+ isInstance = isInstance && "bucket" in value;
24
+ isInstance = isInstance && "path" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfSignedUrl = instanceOfSignedUrl;
28
+ function SignedUrlFromJSON(json) {
29
+ return SignedUrlFromJSONTyped(json, false);
30
+ }
31
+ exports.SignedUrlFromJSON = SignedUrlFromJSON;
32
+ function SignedUrlFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'url': json['url'],
38
+ 'bucket': json['bucket'],
39
+ 'path': json['path'],
40
+ };
41
+ }
42
+ exports.SignedUrlFromJSONTyped = SignedUrlFromJSONTyped;
43
+ function SignedUrlToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'url': value.url,
52
+ 'bucket': value.bucket,
53
+ 'path': value.path,
54
+ };
55
+ }
56
+ exports.SignedUrlToJSON = SignedUrlToJSON;
@@ -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: 0.1.0
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 UpdateInstallationConfigContent {
28
29
  * @memberof UpdateInstallationConfigContent
29
30
  */
30
31
  read?: BaseReadConfig;
32
+ /**
33
+ *
34
+ * @type {BaseWriteConfig}
35
+ * @memberof UpdateInstallationConfigContent
36
+ */
37
+ write?: BaseWriteConfig;
31
38
  }
32
39
  /**
33
40
  * Check if a given object implements the UpdateInstallationConfigContent 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: 0.1.0
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.UpdateInstallationConfigContentToJSON = exports.UpdateInstallationConfigContentFromJSONTyped = exports.UpdateInstallationConfigContentFromJSON = exports.instanceOfUpdateInstallationConfigContent = 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 UpdateInstallationConfigContent interface.
21
22
  */
@@ -35,6 +36,7 @@ function UpdateInstallationConfigContentFromJSONTyped(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.UpdateInstallationConfigContentFromJSONTyped = UpdateInstallationConfigContentFromJSONTyped;
@@ -48,6 +50,7 @@ function UpdateInstallationConfigContentToJSON(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.UpdateInstallationConfigContentToJSON = UpdateInstallationConfigContentToJSON;
@@ -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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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: 0.1.0
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).
@@ -39,6 +39,12 @@ export interface UpdateProviderAppRequestProviderApp {
39
39
  * @memberof UpdateProviderAppRequestProviderApp
40
40
  */
41
41
  clientSecret?: string;
42
+ /**
43
+ * The OAuth scopes for this app.
44
+ * @type {Array<string>}
45
+ * @memberof UpdateProviderAppRequestProviderApp
46
+ */
47
+ scopes?: Array<string>;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the UpdateProviderAppRequestProviderApp 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: 0.1.0
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).
@@ -36,6 +36,7 @@ function UpdateProviderAppRequestProviderAppFromJSONTyped(json, ignoreDiscrimina
36
36
  'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
37
37
  'clientId': !(0, runtime_1.exists)(json, 'clientId') ? undefined : json['clientId'],
38
38
  'clientSecret': !(0, runtime_1.exists)(json, 'clientSecret') ? undefined : json['clientSecret'],
39
+ 'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
39
40
  };
40
41
  }
41
42
  exports.UpdateProviderAppRequestProviderAppFromJSONTyped = UpdateProviderAppRequestProviderAppFromJSONTyped;
@@ -51,6 +52,7 @@ function UpdateProviderAppRequestProviderAppToJSON(value) {
51
52
  'provider': value.provider,
52
53
  'clientId': value.clientId,
53
54
  'clientSecret': value.clientSecret,
55
+ 'scopes': value.scopes,
54
56
  };
55
57
  }
56
58
  exports.UpdateProviderAppRequestProviderAppToJSON = UpdateProviderAppRequestProviderAppToJSON;
@@ -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: 0.1.0
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: 0.1.0
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).
@@ -1,6 +1,8 @@
1
1
  export * from './BaseConfigContent';
2
2
  export * from './BaseReadConfig';
3
3
  export * from './BaseReadConfigStandardObject';
4
+ export * from './BaseWriteConfig';
5
+ export * from './BaseWriteConfigObject';
4
6
  export * from './BatchUpsertIntegrationsRequest';
5
7
  export * from './Config';
6
8
  export * from './ConfigContent';
@@ -23,6 +25,8 @@ export * from './HydratedIntegrationField';
23
25
  export * from './HydratedIntegrationFieldExistent';
24
26
  export * from './HydratedIntegrationObject';
25
27
  export * from './HydratedIntegrationRead';
28
+ export * from './HydratedIntegrationWrite';
29
+ export * from './HydratedIntegrationWriteObject';
26
30
  export * from './HydratedRevision';
27
31
  export * from './ImportConnectionRequest';
28
32
  export * from './ImportInstallationRequest';
@@ -35,6 +39,8 @@ export * from './IntegrationFieldExistent';
35
39
  export * from './IntegrationFieldMapping';
36
40
  export * from './IntegrationObject';
37
41
  export * from './IntegrationRead';
42
+ export * from './IntegrationWrite';
43
+ export * from './IntegrationWriteObject';
38
44
  export * from './OauthConnectRequest';
39
45
  export * from './Operation';
40
46
  export * from './OperationError';
@@ -43,6 +49,7 @@ export * from './Project';
43
49
  export * from './ProjectMembership';
44
50
  export * from './ProviderApp';
45
51
  export * from './Revision';
52
+ export * from './SignedUrl';
46
53
  export * from './UpdateInstallationConfigContent';
47
54
  export * from './UpdateInstallationRequest';
48
55
  export * from './UpdateInstallationRequestInstallation';