@amp-labs/react 1.5.3 → 1.7.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 +7854 -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 -144
  28. package/build/generated-sources/api/src/apis/ProjectApi.js +0 -170
  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/ApiKeyOpts.d.ts +0 -63
  48. package/build/generated-sources/api/src/models/ApiKeyOpts.js +0 -66
  49. package/build/generated-sources/api/src/models/ApiKeyRequest.d.ts +0 -31
  50. package/build/generated-sources/api/src/models/ApiKeyRequest.js +0 -50
  51. package/build/generated-sources/api/src/models/ApiProblem.d.ts +0 -130
  52. package/build/generated-sources/api/src/models/ApiProblem.js +0 -82
  53. package/build/generated-sources/api/src/models/AuthType.d.ts +0 -25
  54. package/build/generated-sources/api/src/models/AuthType.js +0 -38
  55. package/build/generated-sources/api/src/models/BaseConfigContent.d.ts +0 -52
  56. package/build/generated-sources/api/src/models/BaseConfigContent.js +0 -59
  57. package/build/generated-sources/api/src/models/BaseProxyConfig.d.ts +0 -31
  58. package/build/generated-sources/api/src/models/BaseProxyConfig.js +0 -50
  59. package/build/generated-sources/api/src/models/BaseReadConfig.d.ts +0 -34
  60. package/build/generated-sources/api/src/models/BaseReadConfig.js +0 -51
  61. package/build/generated-sources/api/src/models/BaseReadConfigObject.d.ts +0 -65
  62. package/build/generated-sources/api/src/models/BaseReadConfigObject.js +0 -60
  63. package/build/generated-sources/api/src/models/BaseWriteConfig.d.ts +0 -34
  64. package/build/generated-sources/api/src/models/BaseWriteConfig.js +0 -51
  65. package/build/generated-sources/api/src/models/BaseWriteConfigObject.d.ts +0 -31
  66. package/build/generated-sources/api/src/models/BaseWriteConfigObject.js +0 -50
  67. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.d.ts +0 -31
  68. package/build/generated-sources/api/src/models/BatchUpsertIntegrationsRequest.js +0 -50
  69. package/build/generated-sources/api/src/models/Builder.d.ts +0 -73
  70. package/build/generated-sources/api/src/models/Builder.js +0 -68
  71. package/build/generated-sources/api/src/models/BuilderInfo.d.ts +0 -48
  72. package/build/generated-sources/api/src/models/BuilderInfo.js +0 -59
  73. package/build/generated-sources/api/src/models/BuilderInfoOrgRole.d.ts +0 -58
  74. package/build/generated-sources/api/src/models/BuilderInfoOrgRole.js +0 -67
  75. package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.d.ts +0 -58
  76. package/build/generated-sources/api/src/models/BuilderInfoProjectRolesValue.js +0 -67
  77. package/build/generated-sources/api/src/models/BulkWriteSupport.d.ts +0 -49
  78. package/build/generated-sources/api/src/models/BulkWriteSupport.js +0 -59
  79. package/build/generated-sources/api/src/models/Config.d.ts +0 -56
  80. package/build/generated-sources/api/src/models/Config.js +0 -63
  81. package/build/generated-sources/api/src/models/ConfigContent.d.ts +0 -50
  82. package/build/generated-sources/api/src/models/ConfigContent.js +0 -58
  83. package/build/generated-sources/api/src/models/ConfigContentAllOf.d.ts +0 -37
  84. package/build/generated-sources/api/src/models/ConfigContentAllOf.js +0 -52
  85. package/build/generated-sources/api/src/models/Connection.d.ts +0 -82
  86. package/build/generated-sources/api/src/models/Connection.js +0 -76
  87. package/build/generated-sources/api/src/models/Consumer.d.ts +0 -55
  88. package/build/generated-sources/api/src/models/Consumer.js +0 -62
  89. package/build/generated-sources/api/src/models/CreateConsumerRequest.d.ts +0 -37
  90. package/build/generated-sources/api/src/models/CreateConsumerRequest.js +0 -53
  91. package/build/generated-sources/api/src/models/CreateDestinationRequest.d.ts +0 -44
  92. package/build/generated-sources/api/src/models/CreateDestinationRequest.js +0 -57
  93. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.d.ts +0 -39
  94. package/build/generated-sources/api/src/models/CreateDestinationRequestMetadata.js +0 -52
  95. package/build/generated-sources/api/src/models/CreateGroupRequest.d.ts +0 -37
  96. package/build/generated-sources/api/src/models/CreateGroupRequest.js +0 -53
  97. package/build/generated-sources/api/src/models/CreateInstallationRequest.d.ts +0 -44
  98. package/build/generated-sources/api/src/models/CreateInstallationRequest.js +0 -57
  99. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.d.ts +0 -44
  100. package/build/generated-sources/api/src/models/CreateInstallationRequestConfig.js +0 -56
  101. package/build/generated-sources/api/src/models/CreateIntegrationRequest.d.ts +0 -44
  102. package/build/generated-sources/api/src/models/CreateIntegrationRequest.js +0 -57
  103. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.d.ts +0 -31
  104. package/build/generated-sources/api/src/models/CreateIntegrationRequestLatestRevision.js +0 -50
  105. package/build/generated-sources/api/src/models/CreateOrgInviteRequest.d.ts +0 -31
  106. package/build/generated-sources/api/src/models/CreateOrgInviteRequest.js +0 -50
  107. package/build/generated-sources/api/src/models/CreateOrgRequest.d.ts +0 -31
  108. package/build/generated-sources/api/src/models/CreateOrgRequest.js +0 -50
  109. package/build/generated-sources/api/src/models/CreateProjectRequest.d.ts +0 -43
  110. package/build/generated-sources/api/src/models/CreateProjectRequest.js +0 -56
  111. package/build/generated-sources/api/src/models/CreateProviderAppRequest.d.ts +0 -55
  112. package/build/generated-sources/api/src/models/CreateProviderAppRequest.js +0 -61
  113. package/build/generated-sources/api/src/models/Destination.d.ts +0 -62
  114. package/build/generated-sources/api/src/models/Destination.js +0 -66
  115. package/build/generated-sources/api/src/models/Group.d.ts +0 -55
  116. package/build/generated-sources/api/src/models/Group.js +0 -62
  117. package/build/generated-sources/api/src/models/HydratedIntegration.d.ts +0 -64
  118. package/build/generated-sources/api/src/models/HydratedIntegration.js +0 -65
  119. package/build/generated-sources/api/src/models/HydratedIntegrationField.d.ts +0 -22
  120. package/build/generated-sources/api/src/models/HydratedIntegrationField.js +0 -45
  121. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.d.ts +0 -37
  122. package/build/generated-sources/api/src/models/HydratedIntegrationFieldExistent.js +0 -53
  123. package/build/generated-sources/api/src/models/HydratedIntegrationObject.d.ts +0 -75
  124. package/build/generated-sources/api/src/models/HydratedIntegrationObject.js +0 -70
  125. package/build/generated-sources/api/src/models/HydratedIntegrationProxy.d.ts +0 -31
  126. package/build/generated-sources/api/src/models/HydratedIntegrationProxy.js +0 -50
  127. package/build/generated-sources/api/src/models/HydratedIntegrationRead.d.ts +0 -32
  128. package/build/generated-sources/api/src/models/HydratedIntegrationRead.js +0 -51
  129. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.d.ts +0 -32
  130. package/build/generated-sources/api/src/models/HydratedIntegrationWrite.js +0 -51
  131. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.d.ts +0 -37
  132. package/build/generated-sources/api/src/models/HydratedIntegrationWriteObject.js +0 -53
  133. package/build/generated-sources/api/src/models/HydratedRevision.d.ts +0 -50
  134. package/build/generated-sources/api/src/models/HydratedRevision.js +0 -60
  135. package/build/generated-sources/api/src/models/ImportConnectionRequest.d.ts +0 -79
  136. package/build/generated-sources/api/src/models/ImportConnectionRequest.js +0 -72
  137. package/build/generated-sources/api/src/models/ImportInstallationRequest.d.ts +0 -45
  138. package/build/generated-sources/api/src/models/ImportInstallationRequest.js +0 -58
  139. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.d.ts +0 -38
  140. package/build/generated-sources/api/src/models/ImportInstallationRequestConfig.js +0 -54
  141. package/build/generated-sources/api/src/models/InputValidationIssue.d.ts +0 -89
  142. package/build/generated-sources/api/src/models/InputValidationIssue.js +0 -75
  143. package/build/generated-sources/api/src/models/InputValidationProblem.d.ts +0 -68
  144. package/build/generated-sources/api/src/models/InputValidationProblem.js +0 -63
  145. package/build/generated-sources/api/src/models/Installation.d.ts +0 -88
  146. package/build/generated-sources/api/src/models/Installation.js +0 -79
  147. package/build/generated-sources/api/src/models/Integration.d.ts +0 -68
  148. package/build/generated-sources/api/src/models/Integration.js +0 -69
  149. package/build/generated-sources/api/src/models/Integration1.d.ts +0 -64
  150. package/build/generated-sources/api/src/models/Integration1.js +0 -65
  151. package/build/generated-sources/api/src/models/IntegrationField.d.ts +0 -22
  152. package/build/generated-sources/api/src/models/IntegrationField.js +0 -45
  153. package/build/generated-sources/api/src/models/IntegrationFieldExistent.d.ts +0 -31
  154. package/build/generated-sources/api/src/models/IntegrationFieldExistent.js +0 -50
  155. package/build/generated-sources/api/src/models/IntegrationFieldMapping.d.ts +0 -49
  156. package/build/generated-sources/api/src/models/IntegrationFieldMapping.js +0 -57
  157. package/build/generated-sources/api/src/models/IntegrationObject.d.ts +0 -63
  158. package/build/generated-sources/api/src/models/IntegrationObject.js +0 -65
  159. package/build/generated-sources/api/src/models/IntegrationProxy.d.ts +0 -31
  160. package/build/generated-sources/api/src/models/IntegrationProxy.js +0 -50
  161. package/build/generated-sources/api/src/models/IntegrationRead.d.ts +0 -32
  162. package/build/generated-sources/api/src/models/IntegrationRead.js +0 -51
  163. package/build/generated-sources/api/src/models/IntegrationWrite.d.ts +0 -32
  164. package/build/generated-sources/api/src/models/IntegrationWrite.js +0 -51
  165. package/build/generated-sources/api/src/models/IntegrationWriteObject.d.ts +0 -31
  166. package/build/generated-sources/api/src/models/IntegrationWriteObject.js +0 -50
  167. package/build/generated-sources/api/src/models/Invite.d.ts +0 -84
  168. package/build/generated-sources/api/src/models/Invite.js +0 -83
  169. package/build/generated-sources/api/src/models/Log.d.ts +0 -44
  170. package/build/generated-sources/api/src/models/Log.js +0 -57
  171. package/build/generated-sources/api/src/models/LogMessage.d.ts +0 -43
  172. package/build/generated-sources/api/src/models/LogMessage.js +0 -55
  173. package/build/generated-sources/api/src/models/Oauth2Opts.d.ts +0 -77
  174. package/build/generated-sources/api/src/models/Oauth2Opts.js +0 -76
  175. package/build/generated-sources/api/src/models/OauthConnectRequest.d.ts +0 -73
  176. package/build/generated-sources/api/src/models/OauthConnectRequest.js +0 -68
  177. package/build/generated-sources/api/src/models/Operation.d.ts +0 -91
  178. package/build/generated-sources/api/src/models/Operation.js +0 -77
  179. package/build/generated-sources/api/src/models/OperationEvent.d.ts +0 -61
  180. package/build/generated-sources/api/src/models/OperationEvent.js +0 -64
  181. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.d.ts +0 -22
  182. package/build/generated-sources/api/src/models/OptionalFieldsAutoOption.js +0 -35
  183. package/build/generated-sources/api/src/models/Org.d.ts +0 -55
  184. package/build/generated-sources/api/src/models/Org.js +0 -62
  185. package/build/generated-sources/api/src/models/PatchApiKeyRequest.d.ts +0 -38
  186. package/build/generated-sources/api/src/models/PatchApiKeyRequest.js +0 -54
  187. package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.d.ts +0 -37
  188. package/build/generated-sources/api/src/models/PatchApiKeyRequestApiKey.js +0 -52
  189. package/build/generated-sources/api/src/models/Problem.d.ts +0 -63
  190. package/build/generated-sources/api/src/models/Problem.js +0 -60
  191. package/build/generated-sources/api/src/models/Project.d.ts +0 -61
  192. package/build/generated-sources/api/src/models/Project.js +0 -64
  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 -85
  196. package/build/generated-sources/api/src/models/ProviderInfo.js +0 -75
  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,54 +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.PatchApiKeyRequestToJSON = exports.PatchApiKeyRequestFromJSONTyped = exports.PatchApiKeyRequestFromJSON = exports.instanceOfPatchApiKeyRequest = void 0;
17
- const PatchApiKeyRequestApiKey_1 = require("./PatchApiKeyRequestApiKey");
18
- /**
19
- * Check if a given object implements the PatchApiKeyRequest interface.
20
- */
21
- function instanceOfPatchApiKeyRequest(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "updateMask" in value;
24
- isInstance = isInstance && "apiKey" in value;
25
- return isInstance;
26
- }
27
- exports.instanceOfPatchApiKeyRequest = instanceOfPatchApiKeyRequest;
28
- function PatchApiKeyRequestFromJSON(json) {
29
- return PatchApiKeyRequestFromJSONTyped(json, false);
30
- }
31
- exports.PatchApiKeyRequestFromJSON = PatchApiKeyRequestFromJSON;
32
- function PatchApiKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if ((json === undefined) || (json === null)) {
34
- return json;
35
- }
36
- return {
37
- 'updateMask': json['updateMask'],
38
- 'apiKey': (0, PatchApiKeyRequestApiKey_1.PatchApiKeyRequestApiKeyFromJSON)(json['apiKey']),
39
- };
40
- }
41
- exports.PatchApiKeyRequestFromJSONTyped = PatchApiKeyRequestFromJSONTyped;
42
- function PatchApiKeyRequestToJSON(value) {
43
- if (value === undefined) {
44
- return undefined;
45
- }
46
- if (value === null) {
47
- return null;
48
- }
49
- return {
50
- 'updateMask': value.updateMask,
51
- 'apiKey': (0, PatchApiKeyRequestApiKey_1.PatchApiKeyRequestApiKeyToJSON)(value.apiKey),
52
- };
53
- }
54
- exports.PatchApiKeyRequestToJSON = PatchApiKeyRequestToJSON;
@@ -1,37 +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 PatchApiKeyRequestApiKey
16
- */
17
- export interface PatchApiKeyRequestApiKey {
18
- /**
19
- * A short name for the API key.
20
- * @type {string}
21
- * @memberof PatchApiKeyRequestApiKey
22
- */
23
- label?: string;
24
- /**
25
- * Whether the API key is active.
26
- * @type {boolean}
27
- * @memberof PatchApiKeyRequestApiKey
28
- */
29
- active?: boolean;
30
- }
31
- /**
32
- * Check if a given object implements the PatchApiKeyRequestApiKey interface.
33
- */
34
- export declare function instanceOfPatchApiKeyRequestApiKey(value: object): boolean;
35
- export declare function PatchApiKeyRequestApiKeyFromJSON(json: any): PatchApiKeyRequestApiKey;
36
- export declare function PatchApiKeyRequestApiKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchApiKeyRequestApiKey;
37
- export declare function PatchApiKeyRequestApiKeyToJSON(value?: PatchApiKeyRequestApiKey | null): any;
@@ -1,52 +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.PatchApiKeyRequestApiKeyToJSON = exports.PatchApiKeyRequestApiKeyFromJSONTyped = exports.PatchApiKeyRequestApiKeyFromJSON = exports.instanceOfPatchApiKeyRequestApiKey = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the PatchApiKeyRequestApiKey interface.
20
- */
21
- function instanceOfPatchApiKeyRequestApiKey(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfPatchApiKeyRequestApiKey = instanceOfPatchApiKeyRequestApiKey;
26
- function PatchApiKeyRequestApiKeyFromJSON(json) {
27
- return PatchApiKeyRequestApiKeyFromJSONTyped(json, false);
28
- }
29
- exports.PatchApiKeyRequestApiKeyFromJSON = PatchApiKeyRequestApiKeyFromJSON;
30
- function PatchApiKeyRequestApiKeyFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'label': !(0, runtime_1.exists)(json, 'label') ? undefined : json['label'],
36
- 'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
37
- };
38
- }
39
- exports.PatchApiKeyRequestApiKeyFromJSONTyped = PatchApiKeyRequestApiKeyFromJSONTyped;
40
- function PatchApiKeyRequestApiKeyToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return {
48
- 'label': value.label,
49
- 'active': value.active,
50
- };
51
- }
52
- exports.PatchApiKeyRequestApiKeyToJSON = PatchApiKeyRequestApiKeyToJSON;
@@ -1,63 +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
- * A Problem Details object (RFC 9457).
14
- *
15
- * Additional properties specific to the problem type may be present.
16
- * @export
17
- * @interface Problem
18
- */
19
- export interface Problem {
20
- /**
21
- * An absolute URI that identifies the problem type
22
- * @type {string}
23
- * @memberof Problem
24
- */
25
- type?: string;
26
- /**
27
- * An absolute URI that, when dereferenced, provides human-readable documentation for the problem type (e.g. using HTML).
28
- * @type {string}
29
- * @memberof Problem
30
- */
31
- href?: string;
32
- /**
33
- * A short summary of the problem type. Written in English and readable for engineers (usually not suited for non technical stakeholders and not localized).
34
- * @type {string}
35
- * @memberof Problem
36
- */
37
- title?: string;
38
- /**
39
- * The HTTP status code generated by the origin server for this occurrence of the problem.
40
- * @type {number}
41
- * @memberof Problem
42
- */
43
- status?: number;
44
- /**
45
- * A human-readable explanation specific to this occurrence of the problem
46
- * @type {string}
47
- * @memberof Problem
48
- */
49
- detail?: string;
50
- /**
51
- * An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
52
- * @type {string}
53
- * @memberof Problem
54
- */
55
- instance?: string;
56
- }
57
- /**
58
- * Check if a given object implements the Problem interface.
59
- */
60
- export declare function instanceOfProblem(value: object): boolean;
61
- export declare function ProblemFromJSON(json: any): Problem;
62
- export declare function ProblemFromJSONTyped(json: any, ignoreDiscriminator: boolean): Problem;
63
- export declare function ProblemToJSON(value?: Problem | null): any;
@@ -1,60 +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.ProblemToJSON = exports.ProblemFromJSONTyped = exports.ProblemFromJSON = exports.instanceOfProblem = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the Problem interface.
20
- */
21
- function instanceOfProblem(value) {
22
- let isInstance = true;
23
- return isInstance;
24
- }
25
- exports.instanceOfProblem = instanceOfProblem;
26
- function ProblemFromJSON(json) {
27
- return ProblemFromJSONTyped(json, false);
28
- }
29
- exports.ProblemFromJSON = ProblemFromJSON;
30
- function ProblemFromJSONTyped(json, ignoreDiscriminator) {
31
- if ((json === undefined) || (json === null)) {
32
- return json;
33
- }
34
- return {
35
- 'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
36
- 'href': !(0, runtime_1.exists)(json, 'href') ? undefined : json['href'],
37
- 'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
38
- 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
39
- 'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
40
- 'instance': !(0, runtime_1.exists)(json, 'instance') ? undefined : json['instance'],
41
- };
42
- }
43
- exports.ProblemFromJSONTyped = ProblemFromJSONTyped;
44
- function ProblemToJSON(value) {
45
- if (value === undefined) {
46
- return undefined;
47
- }
48
- if (value === null) {
49
- return null;
50
- }
51
- return {
52
- 'type': value.type,
53
- 'href': value.href,
54
- 'title': value.title,
55
- 'status': value.status,
56
- 'detail': value.detail,
57
- 'instance': value.instance,
58
- };
59
- }
60
- exports.ProblemToJSON = ProblemToJSON;
@@ -1,61 +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 Project
16
- */
17
- export interface Project {
18
- /**
19
- * The project ID.
20
- * @type {string}
21
- * @memberof Project
22
- */
23
- id: string;
24
- /**
25
- * The project name.
26
- * @type {string}
27
- * @memberof Project
28
- */
29
- name: string;
30
- /**
31
- * The name of the application, which is displayed to end users.
32
- * @type {string}
33
- * @memberof Project
34
- */
35
- appName: string;
36
- /**
37
- * The organization ID that this project belongs to.
38
- * @type {string}
39
- * @memberof Project
40
- */
41
- orgId?: string;
42
- /**
43
- * The time the project was created.
44
- * @type {Date}
45
- * @memberof Project
46
- */
47
- createTime: Date;
48
- /**
49
- * The time the project was updated.
50
- * @type {Date}
51
- * @memberof Project
52
- */
53
- updateTime?: Date;
54
- }
55
- /**
56
- * Check if a given object implements the Project interface.
57
- */
58
- export declare function instanceOfProject(value: object): boolean;
59
- export declare function ProjectFromJSON(json: any): Project;
60
- export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
61
- export declare function ProjectToJSON(value?: Project | null): any;
@@ -1,64 +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.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the Project interface.
20
- */
21
- function instanceOfProject(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "id" in value;
24
- isInstance = isInstance && "name" in value;
25
- isInstance = isInstance && "appName" in value;
26
- isInstance = isInstance && "createTime" in value;
27
- return isInstance;
28
- }
29
- exports.instanceOfProject = instanceOfProject;
30
- function ProjectFromJSON(json) {
31
- return ProjectFromJSONTyped(json, false);
32
- }
33
- exports.ProjectFromJSON = ProjectFromJSON;
34
- function ProjectFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'],
40
- 'name': json['name'],
41
- 'appName': json['appName'],
42
- 'orgId': !(0, runtime_1.exists)(json, 'orgId') ? undefined : json['orgId'],
43
- 'createTime': (new Date(json['createTime'])),
44
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
45
- };
46
- }
47
- exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
48
- function ProjectToJSON(value) {
49
- if (value === undefined) {
50
- return undefined;
51
- }
52
- if (value === null) {
53
- return null;
54
- }
55
- return {
56
- 'id': value.id,
57
- 'name': value.name,
58
- 'appName': value.appName,
59
- 'orgId': value.orgId,
60
- 'createTime': (value.createTime.toISOString()),
61
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
62
- };
63
- }
64
- exports.ProjectToJSON = ProjectToJSON;
@@ -1,73 +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 ProviderApp
16
- */
17
- export interface ProviderApp {
18
- /**
19
- * The provider app ID.
20
- * @type {string}
21
- * @memberof ProviderApp
22
- */
23
- id: string;
24
- /**
25
- * The Ampersand project ID.
26
- * @type {string}
27
- * @memberof ProviderApp
28
- */
29
- projectId: string;
30
- /**
31
- * The ID used by the provider to identify the app (optional).
32
- * @type {string}
33
- * @memberof ProviderApp
34
- */
35
- externalRef?: string;
36
- /**
37
- * The SaaS provider that this app connects to.
38
- * @type {string}
39
- * @memberof ProviderApp
40
- */
41
- provider: string;
42
- /**
43
- * The OAuth client ID for this app.
44
- * @type {string}
45
- * @memberof ProviderApp
46
- */
47
- clientId: string;
48
- /**
49
- * The OAuth scopes for this app.
50
- * @type {Array<string>}
51
- * @memberof ProviderApp
52
- */
53
- scopes?: Array<string>;
54
- /**
55
- * The time the provider app was created.
56
- * @type {Date}
57
- * @memberof ProviderApp
58
- */
59
- createTime: Date;
60
- /**
61
- * The time the provider app was updated.
62
- * @type {Date}
63
- * @memberof ProviderApp
64
- */
65
- updateTime?: Date;
66
- }
67
- /**
68
- * Check if a given object implements the ProviderApp interface.
69
- */
70
- export declare function instanceOfProviderApp(value: object): boolean;
71
- export declare function ProviderAppFromJSON(json: any): ProviderApp;
72
- export declare function ProviderAppFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderApp;
73
- export declare function ProviderAppToJSON(value?: ProviderApp | 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.ProviderAppToJSON = exports.ProviderAppFromJSONTyped = exports.ProviderAppFromJSON = exports.instanceOfProviderApp = void 0;
17
- const runtime_1 = require("../runtime");
18
- /**
19
- * Check if a given object implements the ProviderApp interface.
20
- */
21
- function instanceOfProviderApp(value) {
22
- let isInstance = true;
23
- isInstance = isInstance && "id" in value;
24
- isInstance = isInstance && "projectId" in value;
25
- isInstance = isInstance && "provider" in value;
26
- isInstance = isInstance && "clientId" in value;
27
- isInstance = isInstance && "createTime" in value;
28
- return isInstance;
29
- }
30
- exports.instanceOfProviderApp = instanceOfProviderApp;
31
- function ProviderAppFromJSON(json) {
32
- return ProviderAppFromJSONTyped(json, false);
33
- }
34
- exports.ProviderAppFromJSON = ProviderAppFromJSON;
35
- function ProviderAppFromJSONTyped(json, ignoreDiscriminator) {
36
- if ((json === undefined) || (json === null)) {
37
- return json;
38
- }
39
- return {
40
- 'id': json['id'],
41
- 'projectId': json['projectId'],
42
- 'externalRef': !(0, runtime_1.exists)(json, 'externalRef') ? undefined : json['externalRef'],
43
- 'provider': json['provider'],
44
- 'clientId': json['clientId'],
45
- 'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
46
- 'createTime': (new Date(json['createTime'])),
47
- 'updateTime': !(0, runtime_1.exists)(json, 'updateTime') ? undefined : (new Date(json['updateTime'])),
48
- };
49
- }
50
- exports.ProviderAppFromJSONTyped = ProviderAppFromJSONTyped;
51
- function ProviderAppToJSON(value) {
52
- if (value === undefined) {
53
- return undefined;
54
- }
55
- if (value === null) {
56
- return null;
57
- }
58
- return {
59
- 'id': value.id,
60
- 'projectId': value.projectId,
61
- 'externalRef': value.externalRef,
62
- 'provider': value.provider,
63
- 'clientId': value.clientId,
64
- 'scopes': value.scopes,
65
- 'createTime': (value.createTime.toISOString()),
66
- 'updateTime': value.updateTime === undefined ? undefined : (value.updateTime.toISOString()),
67
- };
68
- }
69
- exports.ProviderAppToJSON = ProviderAppToJSON;
@@ -1,85 +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 { ApiKeyOpts } from './ApiKeyOpts';
13
- import type { AuthType } from './AuthType';
14
- import type { Oauth2Opts } from './Oauth2Opts';
15
- import type { Support } from './Support';
16
- /**
17
- *
18
- * @export
19
- * @interface ProviderInfo
20
- */
21
- export interface ProviderInfo {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ProviderInfo
26
- */
27
- name: string;
28
- /**
29
- *
30
- * @type {AuthType}
31
- * @memberof ProviderInfo
32
- */
33
- authType: AuthType;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof ProviderInfo
38
- */
39
- baseURL: string;
40
- /**
41
- *
42
- * @type {Oauth2Opts}
43
- * @memberof ProviderInfo
44
- */
45
- oauth2Opts?: Oauth2Opts;
46
- /**
47
- *
48
- * @type {ApiKeyOpts}
49
- * @memberof ProviderInfo
50
- */
51
- apiKeyOpts?: ApiKeyOpts;
52
- /**
53
- *
54
- * @type {Support}
55
- * @memberof ProviderInfo
56
- */
57
- support: Support;
58
- /**
59
- *
60
- * @type {{ [key: string]: string; }}
61
- * @memberof ProviderInfo
62
- */
63
- providerOpts: {
64
- [key: string]: string;
65
- };
66
- /**
67
- * The display name of the provider, if omitted, defaults to provider name.
68
- * @type {string}
69
- * @memberof ProviderInfo
70
- */
71
- displayName?: string;
72
- /**
73
- * If true, we require additional information after auth to start making requests.
74
- * @type {boolean}
75
- * @memberof ProviderInfo
76
- */
77
- postAuthInfoNeeded?: boolean;
78
- }
79
- /**
80
- * Check if a given object implements the ProviderInfo interface.
81
- */
82
- export declare function instanceOfProviderInfo(value: object): boolean;
83
- export declare function ProviderInfoFromJSON(json: any): ProviderInfo;
84
- export declare function ProviderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInfo;
85
- export declare function ProviderInfoToJSON(value?: ProviderInfo | null): any;