@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,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 CreateOrgRequest
16
- */
17
- export interface CreateOrgRequest {
18
- /**
19
- * The organization label.
20
- * @type {string}
21
- * @memberof CreateOrgRequest
22
- */
23
- label: string;
24
- }
25
- /**
26
- * Check if a given object implements the CreateOrgRequest interface.
27
- */
28
- export declare function instanceOfCreateOrgRequest(value: object): boolean;
29
- export declare function CreateOrgRequestFromJSON(json: any): CreateOrgRequest;
30
- export declare function CreateOrgRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrgRequest;
31
- export declare function CreateOrgRequestToJSON(value?: CreateOrgRequest | null): any;
@@ -1,50 +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.CreateOrgRequestToJSON = exports.CreateOrgRequestFromJSONTyped = exports.CreateOrgRequestFromJSON = exports.instanceOfCreateOrgRequest = void 0;
17
- /**
18
- * Check if a given object implements the CreateOrgRequest interface.
19
- */
20
- function instanceOfCreateOrgRequest(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "label" in value;
23
- return isInstance;
24
- }
25
- exports.instanceOfCreateOrgRequest = instanceOfCreateOrgRequest;
26
- function CreateOrgRequestFromJSON(json) {
27
- return CreateOrgRequestFromJSONTyped(json, false);
28
- }
29
- exports.CreateOrgRequestFromJSON = CreateOrgRequestFromJSON;
30
- function CreateOrgRequestFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'label': json['label'],
36
- };
37
- }
38
- exports.CreateOrgRequestFromJSONTyped = CreateOrgRequestFromJSONTyped;
39
- function CreateOrgRequestToJSON(value) {
40
- if (value === undefined) {
41
- return undefined;
42
- }
43
- if (value === null) {
44
- return null;
45
- }
46
- return {
47
- 'label': value.label,
48
- };
49
- }
50
- exports.CreateOrgRequestToJSON = CreateOrgRequestToJSON;
@@ -1,43 +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 CreateProjectRequest
16
- */
17
- export interface CreateProjectRequest {
18
- /**
19
- * The app name.
20
- * @type {string}
21
- * @memberof CreateProjectRequest
22
- */
23
- appName: string;
24
- /**
25
- * The project name.
26
- * @type {string}
27
- * @memberof CreateProjectRequest
28
- */
29
- name: string;
30
- /**
31
- * The organization ID.
32
- * @type {string}
33
- * @memberof CreateProjectRequest
34
- */
35
- orgId: string;
36
- }
37
- /**
38
- * Check if a given object implements the CreateProjectRequest interface.
39
- */
40
- export declare function instanceOfCreateProjectRequest(value: object): boolean;
41
- export declare function CreateProjectRequestFromJSON(json: any): CreateProjectRequest;
42
- export declare function CreateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectRequest;
43
- export declare function CreateProjectRequestToJSON(value?: CreateProjectRequest | null): any;
@@ -1,56 +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.CreateProjectRequestToJSON = exports.CreateProjectRequestFromJSONTyped = exports.CreateProjectRequestFromJSON = exports.instanceOfCreateProjectRequest = void 0;
17
- /**
18
- * Check if a given object implements the CreateProjectRequest interface.
19
- */
20
- function instanceOfCreateProjectRequest(value) {
21
- let isInstance = true;
22
- isInstance = isInstance && "appName" in value;
23
- isInstance = isInstance && "name" in value;
24
- isInstance = isInstance && "orgId" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfCreateProjectRequest = instanceOfCreateProjectRequest;
28
- function CreateProjectRequestFromJSON(json) {
29
- return CreateProjectRequestFromJSONTyped(json, false);
30
- }
31
- exports.CreateProjectRequestFromJSON = CreateProjectRequestFromJSON;
32
- function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'appName': json['appName'],
38
- 'name': json['name'],
39
- 'orgId': json['orgId'],
40
- };
41
- }
42
- exports.CreateProjectRequestFromJSONTyped = CreateProjectRequestFromJSONTyped;
43
- function CreateProjectRequestToJSON(value) {
44
- if (value === undefined) {
45
- return undefined;
46
- }
47
- if (value === null) {
48
- return null;
49
- }
50
- return {
51
- 'appName': value.appName,
52
- 'name': value.name,
53
- 'orgId': value.orgId,
54
- };
55
- }
56
- exports.CreateProjectRequestToJSON = CreateProjectRequestToJSON;
@@ -1,55 +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 CreateProviderAppRequest
16
- */
17
- export interface CreateProviderAppRequest {
18
- /**
19
- * The ID used by the provider to identify the app (optional).
20
- * @type {string}
21
- * @memberof CreateProviderAppRequest
22
- */
23
- externalRef?: string;
24
- /**
25
- * The SaaS provider that this app connects to.
26
- * @type {string}
27
- * @memberof CreateProviderAppRequest
28
- */
29
- provider: string;
30
- /**
31
- * The OAuth client ID for this app.
32
- * @type {string}
33
- * @memberof CreateProviderAppRequest
34
- */
35
- clientId: string;
36
- /**
37
- * The OAuth client secret for this app.
38
- * @type {string}
39
- * @memberof CreateProviderAppRequest
40
- */
41
- clientSecret: string;
42
- /**
43
- * The OAuth scopes for this app.
44
- * @type {Array<string>}
45
- * @memberof CreateProviderAppRequest
46
- */
47
- scopes?: Array<string>;
48
- }
49
- /**
50
- * Check if a given object implements the CreateProviderAppRequest interface.
51
- */
52
- export declare function instanceOfCreateProviderAppRequest(value: object): boolean;
53
- export declare function CreateProviderAppRequestFromJSON(json: any): CreateProviderAppRequest;
54
- export declare function CreateProviderAppRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProviderAppRequest;
55
- export declare function CreateProviderAppRequestToJSON(value?: CreateProviderAppRequest | null): any;
@@ -1,61 +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.CreateProviderAppRequestToJSON = exports.CreateProviderAppRequestFromJSONTyped = exports.CreateProviderAppRequestFromJSON = exports.instanceOfCreateProviderAppRequest = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the CreateProviderAppRequest interface.
20
- */
21
- function instanceOfCreateProviderAppRequest(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "provider" in value;
24
- isInstance = isInstance && "clientId" in value;
25
- isInstance = isInstance && "clientSecret" in value;
26
- return isInstance;
27
- }
28
- exports.instanceOfCreateProviderAppRequest = instanceOfCreateProviderAppRequest;
29
- function CreateProviderAppRequestFromJSON(json) {
30
- return CreateProviderAppRequestFromJSONTyped(json, false);
31
- }
32
- exports.CreateProviderAppRequestFromJSON = CreateProviderAppRequestFromJSON;
33
- function CreateProviderAppRequestFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return {
38
- 'externalRef': !(0, runtime_1.exists)(json, 'externalRef') ? undefined : json['externalRef'],
39
- 'provider': json['provider'],
40
- 'clientId': json['clientId'],
41
- 'clientSecret': json['clientSecret'],
42
- 'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
43
- };
44
- }
45
- exports.CreateProviderAppRequestFromJSONTyped = CreateProviderAppRequestFromJSONTyped;
46
- function CreateProviderAppRequestToJSON(value) {
47
- if (value === undefined) {
48
- return undefined;
49
- }
50
- if (value === null) {
51
- return null;
52
- }
53
- return {
54
- 'externalRef': value.externalRef,
55
- 'provider': value.provider,
56
- 'clientId': value.clientId,
57
- 'clientSecret': value.clientSecret,
58
- 'scopes': value.scopes,
59
- };
60
- }
61
- exports.CreateProviderAppRequestToJSON = CreateProviderAppRequestToJSON;
@@ -1,62 +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 { UpdateDestinationRequestDestinationMetadata } from './UpdateDestinationRequestDestinationMetadata';
13
- /**
14
- *
15
- * @export
16
- * @interface Destination
17
- */
18
- export interface Destination {
19
- /**
20
- * The destination ID.
21
- * @type {string}
22
- * @memberof Destination
23
- */
24
- id: string;
25
- /**
26
- * User-defined name for the destination
27
- * @type {string}
28
- * @memberof Destination
29
- */
30
- name: string;
31
- /**
32
- * The type of the destination
33
- * @type {string}
34
- * @memberof Destination
35
- */
36
- type: string;
37
- /**
38
- *
39
- * @type {UpdateDestinationRequestDestinationMetadata}
40
- * @memberof Destination
41
- */
42
- metadata: UpdateDestinationRequestDestinationMetadata;
43
- /**
44
- * The time the destination was created.
45
- * @type {Date}
46
- * @memberof Destination
47
- */
48
- createTime: Date;
49
- /**
50
- * The time the destination was updated.
51
- * @type {Date}
52
- * @memberof Destination
53
- */
54
- updateTime?: Date;
55
- }
56
- /**
57
- * Check if a given object implements the Destination interface.
58
- */
59
- export declare function instanceOfDestination(value: object): boolean;
60
- export declare function DestinationFromJSON(json: any): Destination;
61
- export declare function DestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Destination;
62
- export declare function DestinationToJSON(value?: Destination | null): any;
@@ -1,66 +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.DestinationToJSON = exports.DestinationFromJSONTyped = exports.DestinationFromJSON = exports.instanceOfDestination = void 0;
17
- const runtime_1 = require("../runtime");
18
- const UpdateDestinationRequestDestinationMetadata_1 = require("./UpdateDestinationRequestDestinationMetadata");
19
- /**
20
- * Check if a given object implements the Destination interface.
21
- */
22
- function instanceOfDestination(value) {
23
- let isInstance = true;
24
- isInstance = isInstance && "id" in value;
25
- isInstance = isInstance && "name" in value;
26
- isInstance = isInstance && "type" in value;
27
- isInstance = isInstance && "metadata" in value;
28
- isInstance = isInstance && "createTime" in value;
29
- return isInstance;
30
- }
31
- exports.instanceOfDestination = instanceOfDestination;
32
- function DestinationFromJSON(json) {
33
- return DestinationFromJSONTyped(json, false);
34
- }
35
- exports.DestinationFromJSON = DestinationFromJSON;
36
- function DestinationFromJSONTyped(json, ignoreDiscriminator) {
37
- if ((json === undefined) || (json === null)) {
38
- return json;
39
- }
40
- return {
41
- 'id': json['id'],
42
- 'name': json['name'],
43
- 'type': json['type'],
44
- 'metadata': (0, UpdateDestinationRequestDestinationMetadata_1.UpdateDestinationRequestDestinationMetadataFromJSON)(json['metadata']),
45
- 'createTime': (new Date(json['createTime'])),
46
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
47
- };
48
- }
49
- exports.DestinationFromJSONTyped = DestinationFromJSONTyped;
50
- function DestinationToJSON(value) {
51
- if (value === undefined) {
52
- return undefined;
53
- }
54
- if (value === null) {
55
- return null;
56
- }
57
- return {
58
- 'id': value.id,
59
- 'name': value.name,
60
- 'type': value.type,
61
- 'metadata': (0, UpdateDestinationRequestDestinationMetadata_1.UpdateDestinationRequestDestinationMetadataToJSON)(value.metadata),
62
- 'createTime': (value.createTime.toISOString()),
63
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
64
- };
65
- }
66
- exports.DestinationToJSON = DestinationToJSON;
@@ -1,55 +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 Group
16
- */
17
- export interface Group {
18
- /**
19
- * The ID of the user group that has access to this installation.
20
- * @type {string}
21
- * @memberof Group
22
- */
23
- groupRef: string;
24
- /**
25
- * The name of the user group that has access to this installation.
26
- * @type {string}
27
- * @memberof Group
28
- */
29
- groupName: string;
30
- /**
31
- * The Ampersand project ID.
32
- * @type {string}
33
- * @memberof Group
34
- */
35
- projectId: string;
36
- /**
37
- * The time the group was created.
38
- * @type {Date}
39
- * @memberof Group
40
- */
41
- createTime: Date;
42
- /**
43
- * The time the group was last updated.
44
- * @type {Date}
45
- * @memberof Group
46
- */
47
- updateTime?: Date;
48
- }
49
- /**
50
- * Check if a given object implements the Group interface.
51
- */
52
- export declare function instanceOfGroup(value: object): boolean;
53
- export declare function GroupFromJSON(json: any): Group;
54
- export declare function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Group;
55
- export declare function GroupToJSON(value?: Group | null): any;
@@ -1,62 +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.GroupToJSON = exports.GroupFromJSONTyped = exports.GroupFromJSON = exports.instanceOfGroup = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the Group interface.
20
- */
21
- function instanceOfGroup(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "groupRef" in value;
24
- isInstance = isInstance && "groupName" in value;
25
- isInstance = isInstance && "projectId" in value;
26
- isInstance = isInstance && "createTime" in value;
27
- return isInstance;
28
- }
29
- exports.instanceOfGroup = instanceOfGroup;
30
- function GroupFromJSON(json) {
31
- return GroupFromJSONTyped(json, false);
32
- }
33
- exports.GroupFromJSON = GroupFromJSON;
34
- function GroupFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- return {
39
- 'groupRef': json['groupRef'],
40
- 'groupName': json['groupName'],
41
- 'projectId': json['projectId'],
42
- 'createTime': (new Date(json['createTime'])),
43
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
44
- };
45
- }
46
- exports.GroupFromJSONTyped = GroupFromJSONTyped;
47
- function GroupToJSON(value) {
48
- if (value === undefined) {
49
- return undefined;
50
- }
51
- if (value === null) {
52
- return null;
53
- }
54
- return {
55
- 'groupRef': value.groupRef,
56
- 'groupName': value.groupName,
57
- 'projectId': value.projectId,
58
- 'createTime': (value.createTime.toISOString()),
59
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
60
- };
61
- }
62
- exports.GroupToJSON = GroupToJSON;
@@ -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 { HydratedIntegrationProxy } from './HydratedIntegrationProxy';
13
- import type { HydratedIntegrationRead } from './HydratedIntegrationRead';
14
- import type { HydratedIntegrationWrite } from './HydratedIntegrationWrite';
15
- /**
16
- *
17
- * @export
18
- * @interface HydratedIntegration
19
- */
20
- export interface HydratedIntegration {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof HydratedIntegration
25
- */
26
- name: string;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof HydratedIntegration
31
- */
32
- displayName?: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof HydratedIntegration
37
- */
38
- provider: string;
39
- /**
40
- *
41
- * @type {HydratedIntegrationRead}
42
- * @memberof HydratedIntegration
43
- */
44
- read?: HydratedIntegrationRead;
45
- /**
46
- *
47
- * @type {HydratedIntegrationWrite}
48
- * @memberof HydratedIntegration
49
- */
50
- write?: HydratedIntegrationWrite;
51
- /**
52
- *
53
- * @type {HydratedIntegrationProxy}
54
- * @memberof HydratedIntegration
55
- */
56
- proxy?: HydratedIntegrationProxy;
57
- }
58
- /**
59
- * Check if a given object implements the HydratedIntegration interface.
60
- */
61
- export declare function instanceOfHydratedIntegration(value: object): boolean;
62
- export declare function HydratedIntegrationFromJSON(json: any): HydratedIntegration;
63
- export declare function HydratedIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): HydratedIntegration;
64
- export declare function HydratedIntegrationToJSON(value?: HydratedIntegration | 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.HydratedIntegrationToJSON = exports.HydratedIntegrationFromJSONTyped = exports.HydratedIntegrationFromJSON = exports.instanceOfHydratedIntegration = void 0;
17
- const runtime_1 = require("../runtime");
18
- const HydratedIntegrationProxy_1 = require("./HydratedIntegrationProxy");
19
- const HydratedIntegrationRead_1 = require("./HydratedIntegrationRead");
20
- const HydratedIntegrationWrite_1 = require("./HydratedIntegrationWrite");
21
- /**
22
- * Check if a given object implements the HydratedIntegration interface.
23
- */
24
- function instanceOfHydratedIntegration(value) {
25
- let isInstance = true;
26
- isInstance = isInstance && "name" in value;
27
- isInstance = isInstance && "provider" in value;
28
- return isInstance;
29
- }
30
- exports.instanceOfHydratedIntegration = instanceOfHydratedIntegration;
31
- function HydratedIntegrationFromJSON(json) {
32
- return HydratedIntegrationFromJSONTyped(json, false);
33
- }
34
- exports.HydratedIntegrationFromJSON = HydratedIntegrationFromJSON;
35
- function HydratedIntegrationFromJSONTyped(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, HydratedIntegrationRead_1.HydratedIntegrationReadFromJSON)(json['read']),
44
- 'write': !(0, runtime_1.exists)(json, 'write') ? undefined : (0, HydratedIntegrationWrite_1.HydratedIntegrationWriteFromJSON)(json['write']),
45
- 'proxy': !(0, runtime_1.exists)(json, 'proxy') ? undefined : (0, HydratedIntegrationProxy_1.HydratedIntegrationProxyFromJSON)(json['proxy']),
46
- };
47
- }
48
- exports.HydratedIntegrationFromJSONTyped = HydratedIntegrationFromJSONTyped;
49
- function HydratedIntegrationToJSON(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, HydratedIntegrationRead_1.HydratedIntegrationReadToJSON)(value.read),
61
- 'write': (0, HydratedIntegrationWrite_1.HydratedIntegrationWriteToJSON)(value.write),
62
- 'proxy': (0, HydratedIntegrationProxy_1.HydratedIntegrationProxyToJSON)(value.proxy),
63
- };
64
- }
65
- exports.HydratedIntegrationToJSON = HydratedIntegrationToJSON;