@amp-labs/react 1.5.2 → 1.6.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 (404) hide show
  1. package/build/amp-react.cjs.js +2 -0
  2. package/build/amp-react.es.js +7816 -0
  3. package/build/index.d.ts +51 -0
  4. package/package.json +22 -9
  5. package/build/generated-sources/api/src/apis/APIKeyApi.d.ts +0 -158
  6. package/build/generated-sources/api/src/apis/APIKeyApi.js +0 -188
  7. package/build/generated-sources/api/src/apis/ConnectionApi.d.ts +0 -82
  8. package/build/generated-sources/api/src/apis/ConnectionApi.js +0 -107
  9. package/build/generated-sources/api/src/apis/ConsumerApi.d.ts +0 -52
  10. package/build/generated-sources/api/src/apis/ConsumerApi.js +0 -75
  11. package/build/generated-sources/api/src/apis/DestinationApi.d.ts +0 -156
  12. package/build/generated-sources/api/src/apis/DestinationApi.js +0 -185
  13. package/build/generated-sources/api/src/apis/GroupApi.d.ts +0 -52
  14. package/build/generated-sources/api/src/apis/GroupApi.js +0 -75
  15. package/build/generated-sources/api/src/apis/InstallationApi.d.ts +0 -196
  16. package/build/generated-sources/api/src/apis/InstallationApi.js +0 -235
  17. package/build/generated-sources/api/src/apis/IntegrationApi.d.ts +0 -128
  18. package/build/generated-sources/api/src/apis/IntegrationApi.js +0 -151
  19. package/build/generated-sources/api/src/apis/OAuthApi.d.ts +0 -76
  20. package/build/generated-sources/api/src/apis/OAuthApi.js +0 -102
  21. package/build/generated-sources/api/src/apis/OperationApi.d.ts +0 -106
  22. package/build/generated-sources/api/src/apis/OperationApi.js +0 -131
  23. package/build/generated-sources/api/src/apis/OperationEventApi.d.ts +0 -112
  24. package/build/generated-sources/api/src/apis/OperationEventApi.js +0 -140
  25. package/build/generated-sources/api/src/apis/OrgApi.d.ts +0 -226
  26. package/build/generated-sources/api/src/apis/OrgApi.js +0 -253
  27. package/build/generated-sources/api/src/apis/ProjectApi.d.ts +0 -124
  28. package/build/generated-sources/api/src/apis/ProjectApi.js +0 -149
  29. package/build/generated-sources/api/src/apis/ProviderApi.d.ts +0 -78
  30. package/build/generated-sources/api/src/apis/ProviderApi.js +0 -92
  31. package/build/generated-sources/api/src/apis/ProviderAppApi.d.ts +0 -130
  32. package/build/generated-sources/api/src/apis/ProviderAppApi.js +0 -158
  33. package/build/generated-sources/api/src/apis/RevisionApi.d.ts +0 -87
  34. package/build/generated-sources/api/src/apis/RevisionApi.js +0 -113
  35. package/build/generated-sources/api/src/apis/UploadURLApi.d.ts +0 -46
  36. package/build/generated-sources/api/src/apis/UploadURLApi.js +0 -68
  37. package/build/generated-sources/api/src/apis/UserApi.d.ts +0 -70
  38. package/build/generated-sources/api/src/apis/UserApi.js +0 -94
  39. package/build/generated-sources/api/src/apis/index.d.ts +0 -17
  40. package/build/generated-sources/api/src/apis/index.js +0 -35
  41. package/build/generated-sources/api/src/index.d.ts +0 -3
  42. package/build/generated-sources/api/src/index.js +0 -21
  43. package/build/generated-sources/api/src/models/AcceptInviteRequest.d.ts +0 -31
  44. package/build/generated-sources/api/src/models/AcceptInviteRequest.js +0 -50
  45. package/build/generated-sources/api/src/models/ApiKey.d.ts +0 -49
  46. package/build/generated-sources/api/src/models/ApiKey.js +0 -59
  47. package/build/generated-sources/api/src/models/ApiKeyRequest.d.ts +0 -31
  48. package/build/generated-sources/api/src/models/ApiKeyRequest.js +0 -50
  49. package/build/generated-sources/api/src/models/ApiProblem.d.ts +0 -130
  50. package/build/generated-sources/api/src/models/ApiProblem.js +0 -82
  51. package/build/generated-sources/api/src/models/AuthType.d.ts +0 -23
  52. package/build/generated-sources/api/src/models/AuthType.js +0 -36
  53. package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +0 -52
  54. package/build/generated-sources/api/src/models/BaseConfigContent.js +0 -59
  55. package/build/generated-sources/api/src/models/BaseProxyConfig.d.ts +0 -31
  56. package/build/generated-sources/api/src/models/BaseProxyConfig.js +0 -50
  57. package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +0 -34
  58. package/build/generated-sources/api/src/models/BaseReadConfig.js +0 -51
  59. package/build/generated-sources/api/src/models/BaseReadConfigObject.d.ts +0 -59
  60. package/build/generated-sources/api/src/models/BaseReadConfigObject.js +0 -58
  61. package/build/generated-sources/api/src/models/BaseWriteConfig.d.ts +0 -34
  62. package/build/generated-sources/api/src/models/BaseWriteConfig.js +0 -51
  63. package/build/generated-sources/api/src/models/BaseWriteConfigObject.d.ts +0 -31
  64. package/build/generated-sources/api/src/models/BaseWriteConfigObject.js +0 -50
  65. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +0 -31
  66. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +0 -50
  67. package/build/generated-sources/api/src/models/Builder.d.ts +0 -73
  68. package/build/generated-sources/api/src/models/Builder.js +0 -68
  69. package/build/generated-sources/api/src/models/BuilderInfo.d.ts +0 -48
  70. package/build/generated-sources/api/src/models/BuilderInfo.js +0 -59
  71. package/build/generated-sources/api/src/models/BuilderInfoOrgRole.d.ts +0 -58
  72. package/build/generated-sources/api/src/models/BuilderInfoOrgRole.js +0 -67
  73. package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.d.ts +0 -58
  74. package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.js +0 -67
  75. package/build/generated-sources/api/src/models/BulkWriteSupport.d.ts +0 -49
  76. package/build/generated-sources/api/src/models/BulkWriteSupport.js +0 -59
  77. package/build/generated-sources/api/src/models/Config.d.ts +0 -56
  78. package/build/generated-sources/api/src/models/Config.js +0 -63
  79. package/build/generated-sources/api/src/models/ConfigContent.d.ts +0 -50
  80. package/build/generated-sources/api/src/models/ConfigContent.js +0 -58
  81. package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +0 -37
  82. package/build/generated-sources/api/src/models/ConfigContentAllOf.js +0 -52
  83. package/build/generated-sources/api/src/models/Connection.d.ts +0 -82
  84. package/build/generated-sources/api/src/models/Connection.js +0 -76
  85. package/build/generated-sources/api/src/models/Consumer.d.ts +0 -55
  86. package/build/generated-sources/api/src/models/Consumer.js +0 -62
  87. package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +0 -37
  88. package/build/generated-sources/api/src/models/CreateConsumerRequest.js +0 -53
  89. package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +0 -44
  90. package/build/generated-sources/api/src/models/CreateDestinationRequest.js +0 -57
  91. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +0 -39
  92. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.js +0 -52
  93. package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +0 -37
  94. package/build/generated-sources/api/src/models/CreateGroupRequest.js +0 -53
  95. package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +0 -44
  96. package/build/generated-sources/api/src/models/CreateInstallationRequest.js +0 -57
  97. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +0 -44
  98. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +0 -56
  99. package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +0 -44
  100. package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +0 -57
  101. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +0 -31
  102. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +0 -50
  103. package/build/generated-sources/api/src/models/CreateOrgInviteRequest.d.ts +0 -31
  104. package/build/generated-sources/api/src/models/CreateOrgInviteRequest.js +0 -50
  105. package/build/generated-sources/api/src/models/CreateOrgRequest.d.ts +0 -31
  106. package/build/generated-sources/api/src/models/CreateOrgRequest.js +0 -50
  107. package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +0 -43
  108. package/build/generated-sources/api/src/models/CreateProjectRequest.js +0 -56
  109. package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +0 -55
  110. package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +0 -61
  111. package/build/generated-sources/api/src/models/Destination.d.ts +0 -62
  112. package/build/generated-sources/api/src/models/Destination.js +0 -66
  113. package/build/generated-sources/api/src/models/Group.d.ts +0 -55
  114. package/build/generated-sources/api/src/models/Group.js +0 -62
  115. package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +0 -64
  116. package/build/generated-sources/api/src/models/HydratedIntegration.js +0 -65
  117. package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +0 -22
  118. package/build/generated-sources/api/src/models/HydratedIntegrationField.js +0 -45
  119. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +0 -37
  120. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +0 -53
  121. package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +0 -75
  122. package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +0 -70
  123. package/build/generated-sources/api/src/models/HydratedIntegrationProxy.d.ts +0 -31
  124. package/build/generated-sources/api/src/models/HydratedIntegrationProxy.js +0 -50
  125. package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +0 -32
  126. package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +0 -51
  127. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.d.ts +0 -32
  128. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.js +0 -51
  129. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.d.ts +0 -37
  130. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.js +0 -53
  131. package/build/generated-sources/api/src/models/HydratedRevision.d.ts +0 -50
  132. package/build/generated-sources/api/src/models/HydratedRevision.js +0 -60
  133. package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +0 -79
  134. package/build/generated-sources/api/src/models/ImportConnectionRequest.js +0 -72
  135. package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +0 -45
  136. package/build/generated-sources/api/src/models/ImportInstallationRequest.js +0 -58
  137. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +0 -38
  138. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +0 -54
  139. package/build/generated-sources/api/src/models/InputValidationIssue.d.ts +0 -89
  140. package/build/generated-sources/api/src/models/InputValidationIssue.js +0 -75
  141. package/build/generated-sources/api/src/models/InputValidationProblem.d.ts +0 -68
  142. package/build/generated-sources/api/src/models/InputValidationProblem.js +0 -63
  143. package/build/generated-sources/api/src/models/Installation.d.ts +0 -88
  144. package/build/generated-sources/api/src/models/Installation.js +0 -79
  145. package/build/generated-sources/api/src/models/Integration.d.ts +0 -68
  146. package/build/generated-sources/api/src/models/Integration.js +0 -69
  147. package/build/generated-sources/api/src/models/Integration1.d.ts +0 -64
  148. package/build/generated-sources/api/src/models/Integration1.js +0 -65
  149. package/build/generated-sources/api/src/models/IntegrationField.d.ts +0 -22
  150. package/build/generated-sources/api/src/models/IntegrationField.js +0 -45
  151. package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +0 -31
  152. package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +0 -50
  153. package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +0 -49
  154. package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +0 -57
  155. package/build/generated-sources/api/src/models/IntegrationObject.d.ts +0 -63
  156. package/build/generated-sources/api/src/models/IntegrationObject.js +0 -65
  157. package/build/generated-sources/api/src/models/IntegrationProxy.d.ts +0 -31
  158. package/build/generated-sources/api/src/models/IntegrationProxy.js +0 -50
  159. package/build/generated-sources/api/src/models/IntegrationRead.d.ts +0 -32
  160. package/build/generated-sources/api/src/models/IntegrationRead.js +0 -51
  161. package/build/generated-sources/api/src/models/IntegrationWrite.d.ts +0 -32
  162. package/build/generated-sources/api/src/models/IntegrationWrite.js +0 -51
  163. package/build/generated-sources/api/src/models/IntegrationWriteObject.d.ts +0 -31
  164. package/build/generated-sources/api/src/models/IntegrationWriteObject.js +0 -50
  165. package/build/generated-sources/api/src/models/Invite.d.ts +0 -84
  166. package/build/generated-sources/api/src/models/Invite.js +0 -83
  167. package/build/generated-sources/api/src/models/Log.d.ts +0 -44
  168. package/build/generated-sources/api/src/models/Log.js +0 -57
  169. package/build/generated-sources/api/src/models/LogMessage.d.ts +0 -43
  170. package/build/generated-sources/api/src/models/LogMessage.js +0 -55
  171. package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +0 -73
  172. package/build/generated-sources/api/src/models/OauthConnectRequest.js +0 -68
  173. package/build/generated-sources/api/src/models/OauthOpts.d.ts +0 -71
  174. package/build/generated-sources/api/src/models/OauthOpts.js +0 -74
  175. package/build/generated-sources/api/src/models/Operation.d.ts +0 -91
  176. package/build/generated-sources/api/src/models/Operation.js +0 -77
  177. package/build/generated-sources/api/src/models/OperationEvent.d.ts +0 -61
  178. package/build/generated-sources/api/src/models/OperationEvent.js +0 -64
  179. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +0 -22
  180. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +0 -35
  181. package/build/generated-sources/api/src/models/Org.d.ts +0 -55
  182. package/build/generated-sources/api/src/models/Org.js +0 -62
  183. package/build/generated-sources/api/src/models/PatchApiKeyRequest.d.ts +0 -38
  184. package/build/generated-sources/api/src/models/PatchApiKeyRequest.js +0 -54
  185. package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.d.ts +0 -37
  186. package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.js +0 -52
  187. package/build/generated-sources/api/src/models/Problem.d.ts +0 -63
  188. package/build/generated-sources/api/src/models/Problem.js +0 -60
  189. package/build/generated-sources/api/src/models/Project.d.ts +0 -61
  190. package/build/generated-sources/api/src/models/Project.js +0 -64
  191. package/build/generated-sources/api/src/models/ProjectMembership.d.ts +0 -56
  192. package/build/generated-sources/api/src/models/ProjectMembership.js +0 -63
  193. package/build/generated-sources/api/src/models/ProviderApp.d.ts +0 -73
  194. package/build/generated-sources/api/src/models/ProviderApp.js +0 -69
  195. package/build/generated-sources/api/src/models/ProviderInfo.d.ts +0 -72
  196. package/build/generated-sources/api/src/models/ProviderInfo.js +0 -70
  197. package/build/generated-sources/api/src/models/Revision.d.ts +0 -50
  198. package/build/generated-sources/api/src/models/Revision.js +0 -60
  199. package/build/generated-sources/api/src/models/SignedUrl.d.ts +0 -43
  200. package/build/generated-sources/api/src/models/SignedUrl.js +0 -56
  201. package/build/generated-sources/api/src/models/Support.d.ts +0 -56
  202. package/build/generated-sources/api/src/models/Support.js +0 -63
  203. package/build/generated-sources/api/src/models/TokenMetadataFields.d.ts +0 -43
  204. package/build/generated-sources/api/src/models/TokenMetadataFields.js +0 -54
  205. package/build/generated-sources/api/src/models/UpdateDestinationRequest.d.ts +0 -38
  206. package/build/generated-sources/api/src/models/UpdateDestinationRequest.js +0 -54
  207. package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.d.ts +0 -38
  208. package/build/generated-sources/api/src/models/UpdateDestinationRequestDestination.js +0 -53
  209. package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.d.ts +0 -39
  210. package/build/generated-sources/api/src/models/UpdateDestinationRequestDestinationMetadata.js +0 -52
  211. package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.d.ts +0 -52
  212. package/build/generated-sources/api/src/models/UpdateInstallationConfigContent.js +0 -59
  213. package/build/generated-sources/api/src/models/UpdateInstallationRequest.d.ts +0 -38
  214. package/build/generated-sources/api/src/models/UpdateInstallationRequest.js +0 -54
  215. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.d.ts +0 -38
  216. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallation.js +0 -53
  217. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.d.ts +0 -44
  218. package/build/generated-sources/api/src/models/UpdateInstallationRequestInstallationConfig.js +0 -55
  219. package/build/generated-sources/api/src/models/UpdateOrgRequest.d.ts +0 -38
  220. package/build/generated-sources/api/src/models/UpdateOrgRequest.js +0 -54
  221. package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.d.ts +0 -31
  222. package/build/generated-sources/api/src/models/UpdateOrgRequestOrg.js +0 -50
  223. package/build/generated-sources/api/src/models/UpdateProjectRequest.d.ts +0 -38
  224. package/build/generated-sources/api/src/models/UpdateProjectRequest.js +0 -54
  225. package/build/generated-sources/api/src/models/UpdateProjectRequestProject.d.ts +0 -37
  226. package/build/generated-sources/api/src/models/UpdateProjectRequestProject.js +0 -52
  227. package/build/generated-sources/api/src/models/UpdateProviderAppRequest.d.ts +0 -38
  228. package/build/generated-sources/api/src/models/UpdateProviderAppRequest.js +0 -54
  229. package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.d.ts +0 -55
  230. package/build/generated-sources/api/src/models/UpdateProviderAppRequestProviderApp.js +0 -58
  231. package/build/generated-sources/api/src/models/index.d.ts +0 -94
  232. package/build/generated-sources/api/src/models/index.js +0 -112
  233. package/build/generated-sources/api/src/runtime.d.ts +0 -182
  234. package/build/generated-sources/api/src/runtime.js +0 -317
  235. package/build/src/assets/LoadingIcon.d.ts +0 -5
  236. package/build/src/assets/LoadingIcon.js +0 -9
  237. package/build/src/assets/NavIcon.d.ts +0 -2
  238. package/build/src/assets/NavIcon.js +0 -24
  239. package/build/src/assets/SuccessIcon.d.ts +0 -1
  240. package/build/src/assets/SuccessIcon.js +0 -8
  241. package/build/src/assets/TrashIcon.d.ts +0 -1
  242. package/build/src/assets/TrashIcon.js +0 -11
  243. package/build/src/components/Configure/InstallIntegration.d.ts +0 -12
  244. package/build/src/components/Configure/InstallIntegration.js +0 -27
  245. package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.d.ts +0 -15
  246. package/build/src/components/Configure/actions/mutateAndSetState/createInstallationAndSetState.js +0 -30
  247. package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.d.ts +0 -15
  248. package/build/src/components/Configure/actions/mutateAndSetState/updateInstallationAndSetState.js +0 -33
  249. package/build/src/components/Configure/actions/proxy/isProxyEnabled.d.ts +0 -2
  250. package/build/src/components/Configure/actions/proxy/isProxyEnabled.js +0 -8
  251. package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.d.ts +0 -8
  252. package/build/src/components/Configure/actions/proxy/onCreateInstallationProxyOnly.js +0 -44
  253. package/build/src/components/Configure/actions/read/onSaveReadCreateInstallation.d.ts +0 -3
  254. package/build/src/components/Configure/actions/read/onSaveReadCreateInstallation.js +0 -84
  255. package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.d.ts +0 -3
  256. package/build/src/components/Configure/actions/read/onSaveReadUpdateInstallation.js +0 -71
  257. package/build/src/components/Configure/actions/write/generateConfigWriteObjects.d.ts +0 -26
  258. package/build/src/components/Configure/actions/write/generateConfigWriteObjects.js +0 -41
  259. package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.d.ts +0 -3
  260. package/build/src/components/Configure/actions/write/onSaveWriteCreateInstallation.js +0 -79
  261. package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.d.ts +0 -3
  262. package/build/src/components/Configure/actions/write/onSaveWriteUpdateInstallation.js +0 -68
  263. package/build/src/components/Configure/content/ConfigureInstallationBase.d.ts +0 -9
  264. package/build/src/components/Configure/content/ConfigureInstallationBase.js +0 -36
  265. package/build/src/components/Configure/content/CreateInstallation.d.ts +0 -1
  266. package/build/src/components/Configure/content/CreateInstallation.js +0 -83
  267. package/build/src/components/Configure/content/InstallationContent.d.ts +0 -1
  268. package/build/src/components/Configure/content/InstallationContent.js +0 -20
  269. package/build/src/components/Configure/content/UninstallContent.d.ts +0 -1
  270. package/build/src/components/Configure/content/UninstallContent.js +0 -45
  271. package/build/src/components/Configure/content/UpdateInstallation.d.ts +0 -7
  272. package/build/src/components/Configure/content/UpdateInstallation.js +0 -90
  273. package/build/src/components/Configure/content/fields/FieldHeader.d.ts +0 -5
  274. package/build/src/components/Configure/content/fields/FieldHeader.js +0 -9
  275. package/build/src/components/Configure/content/fields/FieldMappings/FieldMapping.d.ts +0 -9
  276. package/build/src/components/Configure/content/fields/FieldMappings/FieldMapping.js +0 -26
  277. package/build/src/components/Configure/content/fields/FieldMappings/RequiredFieldMappings.d.ts +0 -1
  278. package/build/src/components/Configure/content/fields/FieldMappings/RequiredFieldMappings.js +0 -39
  279. package/build/src/components/Configure/content/fields/FieldMappings/index.d.ts +0 -3
  280. package/build/src/components/Configure/content/fields/FieldMappings/index.js +0 -7
  281. package/build/src/components/Configure/content/fields/FieldMappings/setFieldMapping.d.ts +0 -3
  282. package/build/src/components/Configure/content/fields/FieldMappings/setFieldMapping.js +0 -21
  283. package/build/src/components/Configure/content/fields/OptionalFields/OptionalFields.d.ts +0 -1
  284. package/build/src/components/Configure/content/fields/OptionalFields/OptionalFields.js +0 -41
  285. package/build/src/components/Configure/content/fields/OptionalFields/index.d.ts +0 -2
  286. package/build/src/components/Configure/content/fields/OptionalFields/index.js +0 -5
  287. package/build/src/components/Configure/content/fields/OptionalFields/setOptionalField.d.ts +0 -3
  288. package/build/src/components/Configure/content/fields/OptionalFields/setOptionalField.js +0 -27
  289. package/build/src/components/Configure/content/fields/ReadFields.d.ts +0 -1
  290. package/build/src/components/Configure/content/fields/ReadFields.js +0 -11
  291. package/build/src/components/Configure/content/fields/RequiredFields.d.ts +0 -1
  292. package/build/src/components/Configure/content/fields/RequiredFields.js +0 -23
  293. package/build/src/components/Configure/content/fields/WriteFields/WriteFields.d.ts +0 -1
  294. package/build/src/components/Configure/content/fields/WriteFields/WriteFields.js +0 -34
  295. package/build/src/components/Configure/content/fields/WriteFields/index.d.ts +0 -2
  296. package/build/src/components/Configure/content/fields/WriteFields/index.js +0 -5
  297. package/build/src/components/Configure/content/fields/WriteFields/setNonConfigurableWriteField.d.ts +0 -3
  298. package/build/src/components/Configure/content/fields/WriteFields/setNonConfigurableWriteField.js +0 -32
  299. package/build/src/components/Configure/content/useMutateInstallation.d.ts +0 -23
  300. package/build/src/components/Configure/content/useMutateInstallation.js +0 -47
  301. package/build/src/components/Configure/content/useSelectedConfigureState.d.ts +0 -72
  302. package/build/src/components/Configure/content/useSelectedConfigureState.js +0 -24
  303. package/build/src/components/Configure/index.d.ts +0 -1
  304. package/build/src/components/Configure/index.js +0 -5
  305. package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.d.ts +0 -11
  306. package/build/src/components/Configure/layout/ConditionalProxyLayout/ConditionalProxyLayout.js +0 -68
  307. package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.d.ts +0 -5
  308. package/build/src/components/Configure/layout/ConditionalProxyLayout/InstalledSuccessBox.js +0 -11
  309. package/build/src/components/Configure/layout/ProtectedConnectionLayout.d.ts +0 -12
  310. package/build/src/components/Configure/layout/ProtectedConnectionLayout.js +0 -29
  311. package/build/src/components/Configure/nav/ObjectManagementNav/NavObjectItem.d.ts +0 -9
  312. package/build/src/components/Configure/nav/ObjectManagementNav/NavObjectItem.js +0 -14
  313. package/build/src/components/Configure/nav/ObjectManagementNav/OtherTab.d.ts +0 -7
  314. package/build/src/components/Configure/nav/ObjectManagementNav/OtherTab.js +0 -11
  315. package/build/src/components/Configure/nav/ObjectManagementNav/UninstallInstallation.d.ts +0 -7
  316. package/build/src/components/Configure/nav/ObjectManagementNav/UninstallInstallation.js +0 -15
  317. package/build/src/components/Configure/nav/ObjectManagementNav/constant.d.ts +0 -1
  318. package/build/src/components/Configure/nav/ObjectManagementNav/constant.js +0 -4
  319. package/build/src/components/Configure/nav/ObjectManagementNav/index.d.ts +0 -10
  320. package/build/src/components/Configure/nav/ObjectManagementNav/index.js +0 -61
  321. package/build/src/components/Configure/state/ConfigurationStateProvider.d.ts +0 -87
  322. package/build/src/components/Configure/state/ConfigurationStateProvider.js +0 -98
  323. package/build/src/components/Configure/state/HydratedRevisionContext.d.ts +0 -14
  324. package/build/src/components/Configure/state/HydratedRevisionContext.js +0 -81
  325. package/build/src/components/Configure/state/utils.d.ts +0 -22
  326. package/build/src/components/Configure/state/utils.js +0 -137
  327. package/build/src/components/Configure/types.d.ts +0 -44
  328. package/build/src/components/Configure/types.js +0 -2
  329. package/build/src/components/Configure/utils.d.ts +0 -34
  330. package/build/src/components/Configure/utils.js +0 -110
  331. package/build/src/components/Connect/ConnectProvider.d.ts +0 -11
  332. package/build/src/components/Connect/ConnectProvider.js +0 -12
  333. package/build/src/components/Connect/ConnectedSuccessBox.d.ts +0 -5
  334. package/build/src/components/Connect/ConnectedSuccessBox.js +0 -13
  335. package/build/src/components/Connect/useConnectionHandler.d.ts +0 -10
  336. package/build/src/components/Connect/useConnectionHandler.js +0 -24
  337. package/build/src/components/ErrorTextBox.d.ts +0 -5
  338. package/build/src/components/ErrorTextBox.js +0 -11
  339. package/build/src/components/Oauth/NoWorkspaceEntry/LandingContent.d.ts +0 -8
  340. package/build/src/components/Oauth/NoWorkspaceEntry/LandingContent.js +0 -12
  341. package/build/src/components/Oauth/NoWorkspaceEntry/NoWorkspaceOauthFlow.d.ts +0 -16
  342. package/build/src/components/Oauth/NoWorkspaceEntry/NoWorkspaceOauthFlow.js +0 -43
  343. package/build/src/components/Oauth/OAuthErrorAlert.d.ts +0 -5
  344. package/build/src/components/Oauth/OAuthErrorAlert.js +0 -12
  345. package/build/src/components/Oauth/OAuthWindow/OAuthWindow.d.ts +0 -14
  346. package/build/src/components/Oauth/OAuthWindow/OAuthWindow.js +0 -65
  347. package/build/src/components/Oauth/OAuthWindow/windowHelpers.d.ts +0 -24
  348. package/build/src/components/Oauth/OAuthWindow/windowHelpers.js +0 -77
  349. package/build/src/components/Oauth/OauthCardLayout.d.ts +0 -6
  350. package/build/src/components/Oauth/OauthCardLayout.js +0 -9
  351. package/build/src/components/Oauth/OauthFlow/OauthFlow.d.ts +0 -9
  352. package/build/src/components/Oauth/OauthFlow/OauthFlow.js +0 -33
  353. package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.d.ts +0 -13
  354. package/build/src/components/Oauth/Salesforce/SalesforceSubdomainEntry.js +0 -18
  355. package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.d.ts +0 -9
  356. package/build/src/components/Oauth/WorkspaceEntry/WorkspaceEntry.js +0 -12
  357. package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.d.ts +0 -14
  358. package/build/src/components/Oauth/WorkspaceEntry/WorkspaceOauthFlow.js +0 -53
  359. package/build/src/components/Oauth/fetchOAuthPopupURL.d.ts +0 -1
  360. package/build/src/components/Oauth/fetchOAuthPopupURL.js +0 -29
  361. package/build/src/components/RedirectHandler/RedirectHandler.d.ts +0 -15
  362. package/build/src/components/RedirectHandler/RedirectHandler.js +0 -31
  363. package/build/src/components/RedirectHandler/index.d.ts +0 -1
  364. package/build/src/components/RedirectHandler/index.js +0 -5
  365. package/build/src/components/SuccessTextBox.d.ts +0 -5
  366. package/build/src/components/SuccessTextBox.js +0 -10
  367. package/build/src/components/ThemeProvider/Button/buttonTheme.d.ts +0 -13
  368. package/build/src/components/ThemeProvider/Button/buttonTheme.js +0 -17
  369. package/build/src/components/ThemeProvider/Button/index.d.ts +0 -2
  370. package/build/src/components/ThemeProvider/Button/index.js +0 -5
  371. package/build/src/components/ThemeProvider/index.d.ts +0 -6
  372. package/build/src/components/ThemeProvider/index.js +0 -58
  373. package/build/src/context/AmpersandContextProvider/AmpersandContextProvider.d.ts +0 -19
  374. package/build/src/context/AmpersandContextProvider/AmpersandContextProvider.js +0 -31
  375. package/build/src/context/AmpersandContextProvider/index.d.ts +0 -1
  376. package/build/src/context/AmpersandContextProvider/index.js +0 -17
  377. package/build/src/context/ApiKeyContextProvider.d.ts +0 -4
  378. package/build/src/context/ApiKeyContextProvider.js +0 -14
  379. package/build/src/context/ConnectionsContextProvider.d.ts +0 -17
  380. package/build/src/context/ConnectionsContextProvider.js +0 -66
  381. package/build/src/context/ErrorContextProvider.d.ts +0 -37
  382. package/build/src/context/ErrorContextProvider.js +0 -72
  383. package/build/src/context/InstallIntegrationContextProvider.d.ts +0 -30
  384. package/build/src/context/InstallIntegrationContextProvider.js +0 -110
  385. package/build/src/context/IntegrationListContextProvider.d.ts +0 -13
  386. package/build/src/context/IntegrationListContextProvider.js +0 -48
  387. package/build/src/context/ProjectContextProvider.d.ts +0 -15
  388. package/build/src/context/ProjectContextProvider.js +0 -50
  389. package/build/src/hooks/index.d.ts +0 -1
  390. package/build/src/hooks/index.js +0 -17
  391. package/build/src/hooks/useIsIntegrationInstalled.d.ts +0 -6
  392. package/build/src/hooks/useIsIntegrationInstalled.js +0 -48
  393. package/build/src/index.d.ts +0 -1
  394. package/build/src/index.js +0 -17
  395. package/build/src/public/index.d.ts +0 -7
  396. package/build/src/public/index.js +0 -23
  397. package/build/src/services/ApiService.d.ts +0 -25
  398. package/build/src/services/ApiService.js +0 -32
  399. package/build/src/services/api.d.ts +0 -10
  400. package/build/src/services/api.js +0 -76
  401. package/build/src/services/version.d.ts +0 -1
  402. package/build/src/services/version.js +0 -4
  403. package/build/src/utils/index.d.ts +0 -10
  404. package/build/src/utils/index.js +0 -21
@@ -1,68 +0,0 @@
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 { InputValidationIssue } from './InputValidationIssue';
13
- /**
14
- *
15
- * @export
16
- * @interface InputValidationProblem
17
- */
18
- export interface InputValidationProblem {
19
- /**
20
- *
21
- * @type {Array<InputValidationIssue>}
22
- * @memberof InputValidationProblem
23
- */
24
- issues?: Array<InputValidationIssue>;
25
- /**
26
- * An absolute URI that identifies the problem type
27
- * @type {string}
28
- * @memberof InputValidationProblem
29
- */
30
- type?: string;
31
- /**
32
- * An absolute URI that, when dereferenced, provides human-readable documentation for the problem type (e.g. using HTML).
33
- * @type {string}
34
- * @memberof InputValidationProblem
35
- */
36
- href?: string;
37
- /**
38
- * A short summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized).
39
- * @type {string}
40
- * @memberof InputValidationProblem
41
- */
42
- title?: string;
43
- /**
44
- * The HTTP status code generated by the origin server for this occurrence of the problem.
45
- * @type {number}
46
- * @memberof InputValidationProblem
47
- */
48
- status?: number;
49
- /**
50
- * A human-readable explanation specific to this occurrence of the problem
51
- * @type {string}
52
- * @memberof InputValidationProblem
53
- */
54
- detail?: string;
55
- /**
56
- * An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
57
- * @type {string}
58
- * @memberof InputValidationProblem
59
- */
60
- instance?: string;
61
- }
62
- /**
63
- * Check if a given object implements the InputValidationProblem interface.
64
- */
65
- export declare function instanceOfInputValidationProblem(value: object): boolean;
66
- export declare function InputValidationProblemFromJSON(json: any): InputValidationProblem;
67
- export declare function InputValidationProblemFromJSONTyped(json: any, ignoreDiscriminator: boolean): InputValidationProblem;
68
- export declare function InputValidationProblemToJSON(value?: InputValidationProblem | null): any;
@@ -1,63 +0,0 @@
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.InputValidationProblemToJSON = exports.InputValidationProblemFromJSONTyped = exports.InputValidationProblemFromJSON = exports.instanceOfInputValidationProblem = void 0;
17
- const runtime_1 = require("../runtime");
18
- const InputValidationIssue_1 = require("./InputValidationIssue");
19
- /**
20
- * Check if a given object implements the InputValidationProblem interface.
21
- */
22
- function instanceOfInputValidationProblem(value) {
23
- let isInstance = true;
24
- return isInstance;
25
- }
26
- exports.instanceOfInputValidationProblem = instanceOfInputValidationProblem;
27
- function InputValidationProblemFromJSON(json) {
28
- return InputValidationProblemFromJSONTyped(json, false);
29
- }
30
- exports.InputValidationProblemFromJSON = InputValidationProblemFromJSON;
31
- function InputValidationProblemFromJSONTyped(json, ignoreDiscriminator) {
32
- if ((json === undefined) || (json === null)) {
33
- return json;
34
- }
35
- return {
36
- 'issues': !(0, runtime_1.exists)(json, 'issues') ? undefined : (json['issues'].map(InputValidationIssue_1.InputValidationIssueFromJSON)),
37
- 'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
38
- 'href': !(0, runtime_1.exists)(json, 'href') ? undefined : json['href'],
39
- 'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
40
- 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
41
- 'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
42
- 'instance': !(0, runtime_1.exists)(json, 'instance') ? undefined : json['instance'],
43
- };
44
- }
45
- exports.InputValidationProblemFromJSONTyped = InputValidationProblemFromJSONTyped;
46
- function InputValidationProblemToJSON(value) {
47
- if (value === undefined) {
48
- return undefined;
49
- }
50
- if (value === null) {
51
- return null;
52
- }
53
- return {
54
- 'issues': value.issues === undefined ? undefined : (value.issues.map(InputValidationIssue_1.InputValidationIssueToJSON)),
55
- 'type': value.type,
56
- 'href': value.href,
57
- 'title': value.title,
58
- 'status': value.status,
59
- 'detail': value.detail,
60
- 'instance': value.instance,
61
- };
62
- }
63
- exports.InputValidationProblemToJSON = InputValidationProblemToJSON;
@@ -1,88 +0,0 @@
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 { Config } from './Config';
13
- import type { Connection } from './Connection';
14
- import type { Group } from './Group';
15
- /**
16
- *
17
- * @export
18
- * @interface Installation
19
- */
20
- export interface Installation {
21
- /**
22
- * The installation ID.
23
- * @type {string}
24
- * @memberof Installation
25
- */
26
- id: string;
27
- /**
28
- * The Ampersand project ID.
29
- * @type {string}
30
- * @memberof Installation
31
- */
32
- projectId: string;
33
- /**
34
- * The integration ID.
35
- * @type {string}
36
- * @memberof Installation
37
- */
38
- integrationId: string;
39
- /**
40
- *
41
- * @type {Group}
42
- * @memberof Installation
43
- */
44
- group?: Group;
45
- /**
46
- * The health status of the installation ("healthy", "unhealthy").
47
- * @type {string}
48
- * @memberof Installation
49
- */
50
- healthStatus: string;
51
- /**
52
- *
53
- * @type {Connection}
54
- * @memberof Installation
55
- */
56
- connection: Connection;
57
- /**
58
- * The time the integration was first installed.
59
- * @type {Date}
60
- * @memberof Installation
61
- */
62
- createTime: Date;
63
- /**
64
- * The person who did the installation, in the format of "consumer:{consumer-id}".
65
- * @type {string}
66
- * @memberof Installation
67
- */
68
- createdBy: string;
69
- /**
70
- * The time the installation was last updated with a new config.
71
- * @type {Date}
72
- * @memberof Installation
73
- */
74
- updateTime?: Date;
75
- /**
76
- *
77
- * @type {Config}
78
- * @memberof Installation
79
- */
80
- config: Config;
81
- }
82
- /**
83
- * Check if a given object implements the Installation interface.
84
- */
85
- export declare function instanceOfInstallation(value: object): boolean;
86
- export declare function InstallationFromJSON(json: any): Installation;
87
- export declare function InstallationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Installation;
88
- export declare function InstallationToJSON(value?: Installation | null): any;
@@ -1,79 +0,0 @@
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.InstallationToJSON = exports.InstallationFromJSONTyped = exports.InstallationFromJSON = exports.instanceOfInstallation = void 0;
17
- const runtime_1 = require("../runtime");
18
- const Config_1 = require("./Config");
19
- const Connection_1 = require("./Connection");
20
- const Group_1 = require("./Group");
21
- /**
22
- * Check if a given object implements the Installation interface.
23
- */
24
- function instanceOfInstallation(value) {
25
- let isInstance = true;
26
- isInstance = isInstance && "id" in value;
27
- isInstance = isInstance && "projectId" in value;
28
- isInstance = isInstance && "integrationId" in value;
29
- isInstance = isInstance && "healthStatus" in value;
30
- isInstance = isInstance && "connection" in value;
31
- isInstance = isInstance && "createTime" in value;
32
- isInstance = isInstance && "createdBy" in value;
33
- isInstance = isInstance && "config" in value;
34
- return isInstance;
35
- }
36
- exports.instanceOfInstallation = instanceOfInstallation;
37
- function InstallationFromJSON(json) {
38
- return InstallationFromJSONTyped(json, false);
39
- }
40
- exports.InstallationFromJSON = InstallationFromJSON;
41
- function InstallationFromJSONTyped(json, ignoreDiscriminator) {
42
- if ((json === undefined) || (json === null)) {
43
- return json;
44
- }
45
- return {
46
- 'id': json['id'],
47
- 'projectId': json['projectId'],
48
- 'integrationId': json['integrationId'],
49
- 'group': !(0, runtime_1.exists)(json, 'group') ? undefined : (0, Group_1.GroupFromJSON)(json['group']),
50
- 'healthStatus': json['healthStatus'],
51
- 'connection': (0, Connection_1.ConnectionFromJSON)(json['connection']),
52
- 'createTime': (new Date(json['createTime'])),
53
- 'createdBy': json['createdBy'],
54
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
55
- 'config': (0, Config_1.ConfigFromJSON)(json['config']),
56
- };
57
- }
58
- exports.InstallationFromJSONTyped = InstallationFromJSONTyped;
59
- function InstallationToJSON(value) {
60
- if (value === undefined) {
61
- return undefined;
62
- }
63
- if (value === null) {
64
- return null;
65
- }
66
- return {
67
- 'id': value.id,
68
- 'projectId': value.projectId,
69
- 'integrationId': value.integrationId,
70
- 'group': (0, Group_1.GroupToJSON)(value.group),
71
- 'healthStatus': value.healthStatus,
72
- 'connection': (0, Connection_1.ConnectionToJSON)(value.connection),
73
- 'createTime': (value.createTime.toISOString()),
74
- 'createdBy': value.createdBy,
75
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
76
- 'config': (0, Config_1.ConfigToJSON)(value.config),
77
- };
78
- }
79
- exports.InstallationToJSON = InstallationToJSON;
@@ -1,68 +0,0 @@
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 { Revision } from './Revision';
13
- /**
14
- *
15
- * @export
16
- * @interface Integration
17
- */
18
- export interface Integration {
19
- /**
20
- * The integration ID.
21
- * @type {string}
22
- * @memberof Integration
23
- */
24
- id: string;
25
- /**
26
- * The Ampersand project ID.
27
- * @type {string}
28
- * @memberof Integration
29
- */
30
- projectId: string;
31
- /**
32
- * The integration name.
33
- * @type {string}
34
- * @memberof Integration
35
- */
36
- name: string;
37
- /**
38
- * The SaaS provider that this integration connects to.
39
- * @type {string}
40
- * @memberof Integration
41
- */
42
- provider: string;
43
- /**
44
- * The time the integration was created.
45
- * @type {Date}
46
- * @memberof Integration
47
- */
48
- createTime: Date;
49
- /**
50
- * The time the integration was last updated.
51
- * @type {Date}
52
- * @memberof Integration
53
- */
54
- updateTime?: Date;
55
- /**
56
- *
57
- * @type {Revision}
58
- * @memberof Integration
59
- */
60
- latestRevision: Revision;
61
- }
62
- /**
63
- * Check if a given object implements the Integration interface.
64
- */
65
- export declare function instanceOfIntegration(value: object): boolean;
66
- export declare function IntegrationFromJSON(json: any): Integration;
67
- export declare function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration;
68
- export declare function IntegrationToJSON(value?: Integration | null): any;
@@ -1,69 +0,0 @@
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.IntegrationToJSON = exports.IntegrationFromJSONTyped = exports.IntegrationFromJSON = exports.instanceOfIntegration = void 0;
17
- const runtime_1 = require("../runtime");
18
- const Revision_1 = require("./Revision");
19
- /**
20
- * Check if a given object implements the Integration interface.
21
- */
22
- function instanceOfIntegration(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "id" in value;
25
- isInstance = isInstance && "projectId" in value;
26
- isInstance = isInstance && "name" in value;
27
- isInstance = isInstance && "provider" in value;
28
- isInstance = isInstance && "createTime" in value;
29
- isInstance = isInstance && "latestRevision" in value;
30
- return isInstance;
31
- }
32
- exports.instanceOfIntegration = instanceOfIntegration;
33
- function IntegrationFromJSON(json) {
34
- return IntegrationFromJSONTyped(json, false);
35
- }
36
- exports.IntegrationFromJSON = IntegrationFromJSON;
37
- function IntegrationFromJSONTyped(json, ignoreDiscriminator) {
38
- if ((json === undefined) || (json === null)) {
39
- return json;
40
- }
41
- return {
42
- 'id': json['id'],
43
- 'projectId': json['projectId'],
44
- 'name': json['name'],
45
- 'provider': json['provider'],
46
- 'createTime': (new Date(json['createTime'])),
47
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
48
- 'latestRevision': (0, Revision_1.RevisionFromJSON)(json['latestRevision']),
49
- };
50
- }
51
- exports.IntegrationFromJSONTyped = IntegrationFromJSONTyped;
52
- function IntegrationToJSON(value) {
53
- if (value === undefined) {
54
- return undefined;
55
- }
56
- if (value === null) {
57
- return null;
58
- }
59
- return {
60
- 'id': value.id,
61
- 'projectId': value.projectId,
62
- 'name': value.name,
63
- 'provider': value.provider,
64
- 'createTime': (value.createTime.toISOString()),
65
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
66
- 'latestRevision': (0, Revision_1.RevisionToJSON)(value.latestRevision),
67
- };
68
- }
69
- exports.IntegrationToJSON = IntegrationToJSON;
@@ -1,64 +0,0 @@
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 { IntegrationProxy } from './IntegrationProxy';
13
- import type { IntegrationRead } from './IntegrationRead';
14
- import type { IntegrationWrite } from './IntegrationWrite';
15
- /**
16
- *
17
- * @export
18
- * @interface Integration1
19
- */
20
- export interface Integration1 {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof Integration1
25
- */
26
- name: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof Integration1
31
- */
32
- displayName?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof Integration1
37
- */
38
- provider: string;
39
- /**
40
- *
41
- * @type {IntegrationRead}
42
- * @memberof Integration1
43
- */
44
- read?: IntegrationRead;
45
- /**
46
- *
47
- * @type {IntegrationWrite}
48
- * @memberof Integration1
49
- */
50
- write?: IntegrationWrite;
51
- /**
52
- *
53
- * @type {IntegrationProxy}
54
- * @memberof Integration1
55
- */
56
- proxy?: IntegrationProxy;
57
- }
58
- /**
59
- * Check if a given object implements the Integration1 interface.
60
- */
61
- export declare function instanceOfIntegration1(value: object): boolean;
62
- export declare function Integration1FromJSON(json: any): Integration1;
63
- export declare function Integration1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Integration1;
64
- export declare function Integration1ToJSON(value?: Integration1 | null): any;
@@ -1,65 +0,0 @@
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.Integration1ToJSON = exports.Integration1FromJSONTyped = exports.Integration1FromJSON = exports.instanceOfIntegration1 = void 0;
17
- const runtime_1 = require("../runtime");
18
- const IntegrationProxy_1 = require("./IntegrationProxy");
19
- const IntegrationRead_1 = require("./IntegrationRead");
20
- const IntegrationWrite_1 = require("./IntegrationWrite");
21
- /**
22
- * Check if a given object implements the Integration1 interface.
23
- */
24
- function instanceOfIntegration1(value) {
25
- let isInstance = true;
26
- isInstance = isInstance && "name" in value;
27
- isInstance = isInstance && "provider" in value;
28
- return isInstance;
29
- }
30
- exports.instanceOfIntegration1 = instanceOfIntegration1;
31
- function Integration1FromJSON(json) {
32
- return Integration1FromJSONTyped(json, false);
33
- }
34
- exports.Integration1FromJSON = Integration1FromJSON;
35
- function Integration1FromJSONTyped(json, ignoreDiscriminator) {
36
- if ((json === undefined) || (json === null)) {
37
- return json;
38
- }
39
- return {
40
- 'name': json['name'],
41
- 'displayName': !(0, runtime_1.exists)(json, 'displayName') ? undefined : json['displayName'],
42
- 'provider': json['provider'],
43
- 'read': !(0, runtime_1.exists)(json, 'read') ? undefined : (0, IntegrationRead_1.IntegrationReadFromJSON)(json['read']),
44
- 'write': !(0, runtime_1.exists)(json, 'write') ? undefined : (0, IntegrationWrite_1.IntegrationWriteFromJSON)(json['write']),
45
- 'proxy': !(0, runtime_1.exists)(json, 'proxy') ? undefined : (0, IntegrationProxy_1.IntegrationProxyFromJSON)(json['proxy']),
46
- };
47
- }
48
- exports.Integration1FromJSONTyped = Integration1FromJSONTyped;
49
- function Integration1ToJSON(value) {
50
- if (value === undefined) {
51
- return undefined;
52
- }
53
- if (value === null) {
54
- return null;
55
- }
56
- return {
57
- 'name': value.name,
58
- 'displayName': value.displayName,
59
- 'provider': value.provider,
60
- 'read': (0, IntegrationRead_1.IntegrationReadToJSON)(value.read),
61
- 'write': (0, IntegrationWrite_1.IntegrationWriteToJSON)(value.write),
62
- 'proxy': (0, IntegrationProxy_1.IntegrationProxyToJSON)(value.proxy),
63
- };
64
- }
65
- exports.Integration1ToJSON = Integration1ToJSON;
@@ -1,22 +0,0 @@
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 { IntegrationFieldExistent } from './IntegrationFieldExistent';
13
- import { IntegrationFieldMapping } from './IntegrationFieldMapping';
14
- /**
15
- * @type IntegrationField
16
- *
17
- * @export
18
- */
19
- export type IntegrationField = IntegrationFieldExistent | IntegrationFieldMapping;
20
- export declare function IntegrationFieldFromJSON(json: any): IntegrationField;
21
- export declare function IntegrationFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationField;
22
- export declare function IntegrationFieldToJSON(value?: IntegrationField | null): any;
@@ -1,45 +0,0 @@
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.IntegrationFieldToJSON = exports.IntegrationFieldFromJSONTyped = exports.IntegrationFieldFromJSON = void 0;
17
- const IntegrationFieldExistent_1 = require("./IntegrationFieldExistent");
18
- const IntegrationFieldMapping_1 = require("./IntegrationFieldMapping");
19
- function IntegrationFieldFromJSON(json) {
20
- return IntegrationFieldFromJSONTyped(json, false);
21
- }
22
- exports.IntegrationFieldFromJSON = IntegrationFieldFromJSON;
23
- function IntegrationFieldFromJSONTyped(json, ignoreDiscriminator) {
24
- if ((json === undefined) || (json === null)) {
25
- return json;
26
- }
27
- return Object.assign(Object.assign({}, (0, IntegrationFieldExistent_1.IntegrationFieldExistentFromJSONTyped)(json, true)), (0, IntegrationFieldMapping_1.IntegrationFieldMappingFromJSONTyped)(json, true));
28
- }
29
- exports.IntegrationFieldFromJSONTyped = IntegrationFieldFromJSONTyped;
30
- function IntegrationFieldToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- if ((0, IntegrationFieldExistent_1.instanceOfIntegrationFieldExistent)(value)) {
38
- return (0, IntegrationFieldExistent_1.IntegrationFieldExistentToJSON)(value);
39
- }
40
- if ((0, IntegrationFieldMapping_1.instanceOfIntegrationFieldMapping)(value)) {
41
- return (0, IntegrationFieldMapping_1.IntegrationFieldMappingToJSON)(value);
42
- }
43
- return {};
44
- }
45
- exports.IntegrationFieldToJSON = IntegrationFieldToJSON;
@@ -1,31 +0,0 @@
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 IntegrationFieldExistent
16
- */
17
- export interface IntegrationFieldExistent {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof IntegrationFieldExistent
22
- */
23
- fieldName: string;
24
- }
25
- /**
26
- * Check if a given object implements the IntegrationFieldExistent interface.
27
- */
28
- export declare function instanceOfIntegrationFieldExistent(value: object): boolean;
29
- export declare function IntegrationFieldExistentFromJSON(json: any): IntegrationFieldExistent;
30
- export declare function IntegrationFieldExistentFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationFieldExistent;
31
- export declare function IntegrationFieldExistentToJSON(value?: IntegrationFieldExistent | null): any;