@epilot/customer-portal-client 0.2.5 → 0.2.7

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.
@@ -1 +1 @@
1
- !function(e,t){for(var r in t)e[r]=t[r];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(exports,(()=>{"use strict";var e={914:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=s(r(279));t.default=i.default},279:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"Customer Portal API","description":"Backend for epilot end customer portals","version":"1.0.0"},"tags":[{"name":"ECP","description":"ECP"},{"name":"ECP Admin","description":"ECP Admin"}],"security":[{"CustomerPortalAuth":[]},{"AsOrganization":[]},{"AsBrand":[]},{"AsCustomer":[]}],"paths":{"/v1/customer-portal/portal":{"post":{"operationId":"createPortal","summary":"creates a portal","description":"Creates a portal and db item","security":[{"EpilotAuth":[]}],"tags":["ECP Admin"],"requestBody":{"description":"Portal payload","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"testing-pool"},"organization_id":{"type":"string","example":15434},"domain":{"type":"string","example":"example.com"},"design_id":{"type":"string","example":"123e4567-e89b-12d3-a456-426614174000"}}}}}},"responses":{"201":{"description":"Success - portal created with success.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"400":{"description":"Validation Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Authentication Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Other errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/v1/customer-portal/public/user":{"post":{"operationId":"createUser","summary":"creates a user","description":"Creates a user in cognito pool and db item","security":[],"tags":["ECP Admin"],"requestBody":{"description":"Portal payload","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"email@test.com"},"domain":{"type":"string","example":"example.com"}}}}}},"responses":{"201":{"description":"Success - user created with success.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"400":{"description":"Validation Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Authentication Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Other errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/v1/customer-portal/public/activate":{"post":{"operationId":"activateUser","summary":"activateUser","description":"Activates the user","security":[],"tags":["ECP Admin"],"parameters":[{"in":"query","name":"token","schema":{"type":"string"},"required":true,"description":"Invite Token"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"type":"string","description":"User\'s display name (default: email address)","example":"Example User"},"password":{"type":"string","description":"User\'s password","example":"AKjhdakjsdh@!34"}}}}}},"responses":{"200":{"description":"Activated successfully"},"404":{"description":"Token not found for the user"}}}},"/v1/customer-portal/auth":{"get":{"operationId":"testAuth","summary":"testAuth","description":"TODO","tags":["ECP"],"responses":{"200":{"description":"ok"}}}},"/v1/customer-portal/public/config":{"get":{"operationId":"getPortalConfigByDomain","summary":"getPortalConfigByDomain","description":"TODO","tags":["ECP"],"security":[],"parameters":[{"in":"query","name":"domain","required":true,"schema":{"type":"string","example":"example.com"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}}}}}}}},"/v1/customer-portal/config":{"get":{"operationId":"getPortalConfig","summary":"getPortalConfig","description":"TODO","tags":["ECP Admin"],"security":[{"EpilotAuth":[]}],"parameters":[{"in":"query","name":"brand_id","required":true,"schema":{"type":"string","example":12324}},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":2342}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}}}}}}}},"/v1/customer-portal/contact/{id}":{"get":{"operationId":"getContact","summary":"getContact","description":"Get the Contact by id","tags":["ECP"],"security":[{"EpilotAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of contact"}],"responses":{"200":{"description":"The returned contact","content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}},"patch":{"operationId":"updateContact","summary":"updateContact","description":"Update the contact details","tags":["ECP"],"security":[{"EpilotAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of contact"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}},"responses":{"200":{"description":"The returned contact","content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}}},"/v1/customer-portal/user/{id}":{"get":{"operationId":"getPortalUser","summary":"getPortalUser","description":"TODO","tags":["ECP"],"security":[{"EpilotAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of portal user id"}],"responses":{"200":{"description":"The returned portal user","content":{"application/json":{"schema":{"type":"object","properties":{"user_number":{"type":"string","example":12454},"mapped_contact":{"type":"string","example":"xyz"},"mapping_status":{"type":"boolean","example":true},"registration_status":{"type":"string","example":"user_created"},"org_id":{"type":"string","example":123},"brand_id":{"type":"string","example":789},"user_pool_id":{"type":"string","example":"eu-central-1_AJ183HA10"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}}},"/v1/customer-portal/public/register/exists":{"get":{"operationId":"userExists","summary":"userExists","description":"Checks whether a user exists in the customer portal","tags":["ECP"],"security":[],"parameters":[{"in":"query","name":"username","required":false,"schema":{"type":"string","example":"user@example.com"}},{"in":"query","name":"customerId","required":false,"schema":{"type":"string","example":12345678}}],"responses":{"200":{"description":"User exists in the portal","content":{"application/json":{"schema":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}}}}},"404":{"description":"User does not exist in the portal","content":{"application/json":{"schema":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}}}}}}}}},"components":{"securitySchemes":{"CustomerPortalAuth":{"type":"http","scheme":"bearer","description":"Customer Portal Cognito Token"},"EpilotAuth":{"type":"http","scheme":"bearer","description":"Epilot Bearer Token"},"AsOrganization":{"type":"apiKey","in":"header","name":"x-ivy-org-id","description":"Set organization id as internal user"},"AsBrand":{"type":"apiKey","in":"header","name":"x-ivy-brand-id","description":"Set brand id as internal user"},"AsContact":{"type":"apiKey","in":"header","name":"x-contact-id","description":"Set contact id as internal user"},"AsCustomer":{"type":"apiKey","in":"header","name":"x-portal-id","description":"Set portal id as customer"}},"schemas":{"InviteToken":{"type":"string"},"ContactId":{"type":"string"},"PortalUserId":{"type":"string"},"UserActivationPayload":{"type":"object","properties":{"display_name":{"type":"string","description":"User\'s display name (default: email address)","example":"Example User"},"password":{"type":"string","description":"User\'s password","example":"AKjhdakjsdh@!34"}}},"PortalConfig":{"type":"object","properties":{"auth_config":{"type":"object","properties":{"user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"},"user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"user_pool_identity_pool_id":{"type":"string","example":"eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1"},"portal_id":{"type":"string","example":"7h2hwdj7hhjsdcjkq03eidna3ep"}},"required":["user_pool_id","user_pool_client_id","portal_id"]}}},"ErrorResp":{"type":"object","properties":{"message":{"type":"string"}}},"AddPortalResp":{"type":"object","properties":{"message":{"type":"string"}}},"Brand":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}},"AuthConfig":{"type":"object","properties":{"user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"},"user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"user_pool_identity_pool_id":{"type":"string","example":"eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1"},"portal_id":{"type":"string","example":"7h2hwdj7hhjsdcjkq03eidna3ep"}},"required":["user_pool_id","user_pool_client_id","portal_id"]},"Exists":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}},"Contact":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}},"PortalUser":{"type":"object","properties":{"user_number":{"type":"string","example":12454},"mapped_contact":{"type":"string","example":"xyz"},"mapping_status":{"type":"boolean","example":true},"registration_status":{"type":"string","example":"user_created"},"org_id":{"type":"string","example":123},"brand_id":{"type":"string","example":789},"user_pool_id":{"type":"string","example":"eu-central-1_AJ183HA10"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}')}},t={};return function r(s){if(t[s])return t[s].exports;var i=t[s]={exports:{}};return e[s].call(i.exports,i,i.exports,r),i.exports}(914)})());
1
+ !function(e,t){for(var r in t)e[r]=t[r];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(exports,(()=>{"use strict";var e={914:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=s(r(279));t.default=i.default},279:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"Customer Portal API","description":"Backend for epilot end customer portals","version":"1.0.0"},"tags":[{"name":"ECP","description":"ECP"},{"name":"ECP Admin","description":"ECP Admin"}],"security":[{"CustomerPortalAuth":[]},{"AsOrganization":[]},{"AsBrand":[]},{"AsCustomer":[]}],"paths":{"/v1/customer-portal/portal":{"post":{"operationId":"createPortal","summary":"creates a portal","description":"Creates a portal and db item","security":[{"EpilotAuth":[]}],"tags":["ECP Admin"],"requestBody":{"description":"Portal payload","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"testing-pool"},"organization_id":{"type":"string","example":15434},"domain":{"type":"string","example":"example.com"},"design_id":{"type":"string","example":"123e4567-e89b-12d3-a456-426614174000"}}}}}},"responses":{"201":{"description":"Success - portal created with success.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"400":{"description":"Validation Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Authentication Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Other errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/v1/customer-portal/public/user":{"post":{"operationId":"createUser","summary":"creates a user","description":"Creates a user in cognito pool and db item","security":[],"tags":["ECP Admin"],"requestBody":{"description":"Portal payload","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"testemail921@yopmail.com"},"password":{"type":"string","example":"Pass1234!"},"orgId":{"type":"string","example":728},"userPoolId":{"type":"string","example":"eu-central-1_391JDA1HFO"},"clientId":{"type":"string","example":"aj123jfoavnashf2fj"},"brandId":{"type":"string","example":123456}}}}}},"responses":{"201":{"description":"Success - user created with success.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"400":{"description":"Validation Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"401":{"description":"Authentication Errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}},"500":{"description":"Other errors","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}}}}}},"/v1/customer-portal/public/activate":{"post":{"operationId":"activateUser","summary":"activateUser","description":"Activates the user","security":[],"tags":["ECP Admin"],"parameters":[{"in":"query","name":"token","schema":{"type":"string"},"required":true,"description":"Invite Token"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"display_name":{"type":"string","description":"User\'s display name (default: email address)","example":"Example User"},"password":{"type":"string","description":"User\'s password","example":"AKjhdakjsdh@!34"}}}}}},"responses":{"200":{"description":"Activated successfully"},"404":{"description":"Token not found for the user"}}}},"/v1/customer-portal/auth":{"get":{"operationId":"testAuth","summary":"testAuth","description":"TODO","tags":["ECP"],"responses":{"200":{"description":"ok"}}}},"/v1/customer-portal/public/config":{"get":{"operationId":"getPortalConfigByDomain","summary":"getPortalConfigByDomain","description":"TODO","tags":["ECP"],"security":[],"parameters":[{"in":"query","name":"domain","required":true,"schema":{"type":"string","example":"example.com"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}}}}}}}},"/v1/customer-portal/config":{"get":{"operationId":"getPortalConfig","summary":"getPortalConfig","description":"TODO","tags":["ECP Admin"],"security":[{"EpilotAuth":[]}],"parameters":[{"in":"query","name":"brand_id","required":true,"schema":{"type":"string","example":12324}},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":2342}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}}}}}}}},"/v1/customer-portal/contact/{id}":{"get":{"operationId":"getContact","summary":"getContact","description":"Get the Contact by id","tags":["ECP"],"security":[{"CustomerPortalAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of contact"},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":123}}],"responses":{"200":{"description":"The returned contact","content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}},"patch":{"operationId":"updateContact","summary":"updateContact","description":"Update the contact details","tags":["ECP"],"security":[{"CustomerPortalAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of contact"},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":123}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}},"responses":{"200":{"description":"The returned contact","content":{"application/json":{"schema":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}}},"/v1/customer-portal/user/{id}":{"get":{"operationId":"getPortalUser","summary":"getPortalUser","description":"TODO","tags":["ECP"],"security":[{"CustomerPortalAuth":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of portal user id"},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":123}}],"responses":{"200":{"description":"The returned portal user","content":{"application/json":{"schema":{"type":"object","properties":{"user_number":{"type":"string","example":12454},"mapped_contact":{"type":"string","example":"xyz"},"mapping_status":{"type":"boolean","example":true},"registration_status":{"type":"string","example":"user_created"},"org_id":{"type":"string","example":123},"brand_id":{"type":"string","example":789},"user_pool_id":{"type":"string","example":"eu-central-1_AJ183HA10"},"clientId":{"type":"string","example":"aj123jfoavnashf2fj"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}}},"/v1/customer-portal/user/confirm/{id}":{"get":{"operationId":"confirmUser","summary":"confirmUser","description":"TODO","tags":["ECP"],"security":[],"parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The Id of portal user id"},{"in":"query","name":"org_id","required":true,"schema":{"type":"string","example":123}}],"responses":{"200":{"description":"The returned portal user","content":{"application/json":{"schema":{"type":"object","properties":{"user_number":{"type":"string","example":12454},"mapped_contact":{"type":"string","example":"xyz"},"mapping_status":{"type":"boolean","example":true},"registration_status":{"type":"string","example":"user_created"},"org_id":{"type":"string","example":123},"brand_id":{"type":"string","example":789},"user_pool_id":{"type":"string","example":"eu-central-1_AJ183HA10"},"clientId":{"type":"string","example":"aj123jfoavnashf2fj"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}}}},"/v1/customer-portal/public/register/exists":{"get":{"operationId":"userExists","summary":"userExists","description":"Checks whether a user exists in the customer portal","tags":["ECP"],"security":[],"parameters":[{"in":"query","name":"username","required":false,"schema":{"type":"string","example":"user@example.com"}},{"in":"query","name":"customerId","required":false,"schema":{"type":"string","example":12345678}}],"responses":{"200":{"description":"User exists in the portal","content":{"application/json":{"schema":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}}}}},"404":{"description":"User does not exist in the portal","content":{"application/json":{"schema":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}}}}}}}}},"components":{"securitySchemes":{"CustomerPortalAuth":{"type":"http","scheme":"bearer","description":"Customer Portal Cognito Token"},"EpilotAuth":{"type":"http","scheme":"bearer","description":"Epilot Bearer Token"},"AsOrganization":{"type":"apiKey","in":"header","name":"x-ivy-org-id","description":"Set organization id as internal user"},"AsBrand":{"type":"apiKey","in":"header","name":"x-ivy-brand-id","description":"Set brand id as internal user"},"AsContact":{"type":"apiKey","in":"header","name":"x-contact-id","description":"Set contact id as internal user"},"AsCustomer":{"type":"apiKey","in":"header","name":"x-portal-id","description":"Set portal id as customer"}},"schemas":{"InviteToken":{"type":"string"},"ContactId":{"type":"string"},"PortalUserId":{"type":"string"},"UserActivationPayload":{"type":"object","properties":{"display_name":{"type":"string","description":"User\'s display name (default: email address)","example":"Example User"},"password":{"type":"string","description":"User\'s password","example":"AKjhdakjsdh@!34"}}},"PortalConfig":{"type":"object","properties":{"auth_config":{"type":"object","properties":{"user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"},"user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"user_pool_identity_pool_id":{"type":"string","example":"eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1"},"portal_id":{"type":"string","example":"7h2hwdj7hhjsdcjkq03eidna3ep"}},"required":["user_pool_id","user_pool_client_id","portal_id"]}}},"ErrorResp":{"type":"object","properties":{"message":{"type":"string"}}},"AddPortalResp":{"type":"object","properties":{"message":{"type":"string"}}},"Brand":{"type":"object","properties":{"id":{"type":"string","example":12454},"organization_id":{"type":"string","example":66},"design_id":{"type":"string","example":3134},"cognito_details":{"type":"object","properties":{"cognito_user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"cognito_user_pool_arn":{"type":"string","example":"arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341"},"cognito_user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"}}},"config":{"type":"string"}}},"AuthConfig":{"type":"object","properties":{"user_pool_id":{"type":"string","example":"eu-central-1_CUEQRNbUb"},"user_pool_client_id":{"type":"string","example":"6bsd0jkgoie74k2i8mrhc1vest"},"user_pool_identity_pool_id":{"type":"string","example":"eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1"},"portal_id":{"type":"string","example":"7h2hwdj7hhjsdcjkq03eidna3ep"}},"required":["user_pool_id","user_pool_client_id","portal_id"]},"Exists":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"},"active":{"type":"boolean"}},"example":{"exists":true,"active":false}},"Contact":{"type":"object","properties":{"customer_number":{"type":"string","example":12454},"first_name":{"type":"string","example":"xyz"},"last_name":{"type":"string","example":"xyz"},"title":{"type":"string","example":"xyz"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}},"phone":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","example":"+1 123"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}},"PortalUser":{"type":"object","properties":{"user_number":{"type":"string","example":12454},"mapped_contact":{"type":"string","example":"xyz"},"mapping_status":{"type":"boolean","example":true},"registration_status":{"type":"string","example":"user_created"},"org_id":{"type":"string","example":123},"brand_id":{"type":"string","example":789},"user_pool_id":{"type":"string","example":"eu-central-1_AJ183HA10"},"clientId":{"type":"string","example":"aj123jfoavnashf2fj"},"email":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","example":"xyz@asd.com"},"_tags":{"type":"array","items":{"type":"string","example":"primary"}}}}}}}}}}')}},t={};return function r(s){if(t[s])return t[s].exports;var i=t[s]={exports:{}};return e[s].call(i.exports,i,i.exports,r),i.exports}(914)})());
package/dist/openapi.d.ts CHANGED
@@ -96,7 +96,7 @@ declare namespace Components {
96
96
  * xyz@asd.com
97
97
  */
98
98
  email?: string;
99
- tags?: string[];
99
+ _tags?: string[];
100
100
  }[];
101
101
  phone?: {
102
102
  /**
@@ -104,7 +104,7 @@ declare namespace Components {
104
104
  * +1 123
105
105
  */
106
106
  phone?: string;
107
- tags?: string[];
107
+ _tags?: string[];
108
108
  }[];
109
109
  }
110
110
  export type ContactId = string;
@@ -162,13 +162,18 @@ declare namespace Components {
162
162
  * eu-central-1_AJ183HA10
163
163
  */
164
164
  user_pool_id?: string;
165
+ /**
166
+ * example:
167
+ * aj123jfoavnashf2fj
168
+ */
169
+ clientId?: string;
165
170
  email?: {
166
171
  /**
167
172
  * example:
168
173
  * xyz@asd.com
169
174
  */
170
175
  email?: string;
171
- tags?: string[];
176
+ _tags?: string[];
172
177
  }[];
173
178
  }
174
179
  export type PortalUserId = string;
@@ -198,6 +203,25 @@ declare namespace Paths {
198
203
  }
199
204
  export type RequestBody = Components.Schemas.UserActivationPayload;
200
205
  }
206
+ namespace ConfirmUser {
207
+ namespace Parameters {
208
+ export type Id = Components.Schemas.PortalUserId;
209
+ /**
210
+ * example:
211
+ * 123
212
+ */
213
+ export type OrgId = string;
214
+ }
215
+ export interface PathParameters {
216
+ id: Parameters.Id;
217
+ }
218
+ export interface QueryParameters {
219
+ org_id: Parameters.OrgId;
220
+ }
221
+ namespace Responses {
222
+ export type $200 = Components.Schemas.PortalUser;
223
+ }
224
+ }
201
225
  namespace CreatePortal {
202
226
  export interface RequestBody {
203
227
  /**
@@ -232,14 +256,34 @@ declare namespace Paths {
232
256
  export interface RequestBody {
233
257
  /**
234
258
  * example:
235
- * email@test.com
259
+ * testemail921@yopmail.com
236
260
  */
237
261
  email?: string;
238
262
  /**
239
263
  * example:
240
- * example.com
264
+ * Pass1234!
241
265
  */
242
- domain?: string;
266
+ password?: string;
267
+ /**
268
+ * example:
269
+ * 728
270
+ */
271
+ orgId?: string;
272
+ /**
273
+ * example:
274
+ * eu-central-1_391JDA1HFO
275
+ */
276
+ userPoolId?: string;
277
+ /**
278
+ * example:
279
+ * aj123jfoavnashf2fj
280
+ */
281
+ clientId?: string;
282
+ /**
283
+ * example:
284
+ * 123456
285
+ */
286
+ brandId?: string;
243
287
  }
244
288
  namespace Responses {
245
289
  export type $201 = Components.Schemas.AddPortalResp;
@@ -251,10 +295,18 @@ declare namespace Paths {
251
295
  namespace GetContact {
252
296
  namespace Parameters {
253
297
  export type Id = Components.Schemas.ContactId;
298
+ /**
299
+ * example:
300
+ * 123
301
+ */
302
+ export type OrgId = string;
254
303
  }
255
304
  export interface PathParameters {
256
305
  id: Parameters.Id;
257
306
  }
307
+ export interface QueryParameters {
308
+ org_id: Parameters.OrgId;
309
+ }
258
310
  namespace Responses {
259
311
  export type $200 = Components.Schemas.Contact;
260
312
  }
@@ -298,10 +350,18 @@ declare namespace Paths {
298
350
  namespace GetPortalUser {
299
351
  namespace Parameters {
300
352
  export type Id = Components.Schemas.PortalUserId;
353
+ /**
354
+ * example:
355
+ * 123
356
+ */
357
+ export type OrgId = string;
301
358
  }
302
359
  export interface PathParameters {
303
360
  id: Parameters.Id;
304
361
  }
362
+ export interface QueryParameters {
363
+ org_id: Parameters.OrgId;
364
+ }
305
365
  namespace Responses {
306
366
  export type $200 = Components.Schemas.PortalUser;
307
367
  }
@@ -309,10 +369,18 @@ declare namespace Paths {
309
369
  namespace UpdateContact {
310
370
  namespace Parameters {
311
371
  export type Id = Components.Schemas.ContactId;
372
+ /**
373
+ * example:
374
+ * 123
375
+ */
376
+ export type OrgId = string;
312
377
  }
313
378
  export interface PathParameters {
314
379
  id: Parameters.Id;
315
380
  }
381
+ export interface QueryParameters {
382
+ org_id: Parameters.OrgId;
383
+ }
316
384
  export type RequestBody = Components.Schemas.Contact;
317
385
  namespace Responses {
318
386
  export type $200 = Components.Schemas.Contact;
@@ -409,7 +477,7 @@ export interface OperationMethods {
409
477
  * Get the Contact by id
410
478
  */
411
479
  'getContact'(
412
- parameters?: Parameters<Paths.GetContact.PathParameters> | null,
480
+ parameters?: Parameters<Paths.GetContact.PathParameters & Paths.GetContact.QueryParameters> | null,
413
481
  data?: any,
414
482
  config?: AxiosRequestConfig
415
483
  ): OperationResponse<Paths.GetContact.Responses.$200>
@@ -419,7 +487,7 @@ export interface OperationMethods {
419
487
  * Update the contact details
420
488
  */
421
489
  'updateContact'(
422
- parameters?: Parameters<Paths.UpdateContact.PathParameters> | null,
490
+ parameters?: Parameters<Paths.UpdateContact.PathParameters & Paths.UpdateContact.QueryParameters> | null,
423
491
  data?: Paths.UpdateContact.RequestBody,
424
492
  config?: AxiosRequestConfig
425
493
  ): OperationResponse<Paths.UpdateContact.Responses.$200>
@@ -429,10 +497,20 @@ export interface OperationMethods {
429
497
  * TODO
430
498
  */
431
499
  'getPortalUser'(
432
- parameters?: Parameters<Paths.GetPortalUser.PathParameters> | null,
500
+ parameters?: Parameters<Paths.GetPortalUser.PathParameters & Paths.GetPortalUser.QueryParameters> | null,
433
501
  data?: any,
434
502
  config?: AxiosRequestConfig
435
503
  ): OperationResponse<Paths.GetPortalUser.Responses.$200>
504
+ /**
505
+ * confirmUser - confirmUser
506
+ *
507
+ * TODO
508
+ */
509
+ 'confirmUser'(
510
+ parameters?: Parameters<Paths.ConfirmUser.PathParameters & Paths.ConfirmUser.QueryParameters> | null,
511
+ data?: any,
512
+ config?: AxiosRequestConfig
513
+ ): OperationResponse<Paths.ConfirmUser.Responses.$200>
436
514
  /**
437
515
  * userExists - userExists
438
516
  *
@@ -525,7 +603,7 @@ export interface PathsDictionary {
525
603
  * Get the Contact by id
526
604
  */
527
605
  'get'(
528
- parameters?: Parameters<Paths.GetContact.PathParameters> | null,
606
+ parameters?: Parameters<Paths.GetContact.PathParameters & Paths.GetContact.QueryParameters> | null,
529
607
  data?: any,
530
608
  config?: AxiosRequestConfig
531
609
  ): OperationResponse<Paths.GetContact.Responses.$200>
@@ -535,7 +613,7 @@ export interface PathsDictionary {
535
613
  * Update the contact details
536
614
  */
537
615
  'patch'(
538
- parameters?: Parameters<Paths.UpdateContact.PathParameters> | null,
616
+ parameters?: Parameters<Paths.UpdateContact.PathParameters & Paths.UpdateContact.QueryParameters> | null,
539
617
  data?: Paths.UpdateContact.RequestBody,
540
618
  config?: AxiosRequestConfig
541
619
  ): OperationResponse<Paths.UpdateContact.Responses.$200>
@@ -547,11 +625,23 @@ export interface PathsDictionary {
547
625
  * TODO
548
626
  */
549
627
  'get'(
550
- parameters?: Parameters<Paths.GetPortalUser.PathParameters> | null,
628
+ parameters?: Parameters<Paths.GetPortalUser.PathParameters & Paths.GetPortalUser.QueryParameters> | null,
551
629
  data?: any,
552
630
  config?: AxiosRequestConfig
553
631
  ): OperationResponse<Paths.GetPortalUser.Responses.$200>
554
632
  }
633
+ ['/v1/customer-portal/user/confirm/{id}']: {
634
+ /**
635
+ * confirmUser - confirmUser
636
+ *
637
+ * TODO
638
+ */
639
+ 'get'(
640
+ parameters?: Parameters<Paths.ConfirmUser.PathParameters & Paths.ConfirmUser.QueryParameters> | null,
641
+ data?: any,
642
+ config?: AxiosRequestConfig
643
+ ): OperationResponse<Paths.ConfirmUser.Responses.$200>
644
+ }
555
645
  ['/v1/customer-portal/public/register/exists']: {
556
646
  /**
557
647
  * userExists - userExists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/customer-portal-client",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "API Client for epilot customer-portal API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/openapi.d.ts CHANGED
@@ -96,7 +96,7 @@ declare namespace Components {
96
96
  * xyz@asd.com
97
97
  */
98
98
  email?: string;
99
- tags?: string[];
99
+ _tags?: string[];
100
100
  }[];
101
101
  phone?: {
102
102
  /**
@@ -104,7 +104,7 @@ declare namespace Components {
104
104
  * +1 123
105
105
  */
106
106
  phone?: string;
107
- tags?: string[];
107
+ _tags?: string[];
108
108
  }[];
109
109
  }
110
110
  export type ContactId = string;
@@ -162,13 +162,18 @@ declare namespace Components {
162
162
  * eu-central-1_AJ183HA10
163
163
  */
164
164
  user_pool_id?: string;
165
+ /**
166
+ * example:
167
+ * aj123jfoavnashf2fj
168
+ */
169
+ clientId?: string;
165
170
  email?: {
166
171
  /**
167
172
  * example:
168
173
  * xyz@asd.com
169
174
  */
170
175
  email?: string;
171
- tags?: string[];
176
+ _tags?: string[];
172
177
  }[];
173
178
  }
174
179
  export type PortalUserId = string;
@@ -198,6 +203,25 @@ declare namespace Paths {
198
203
  }
199
204
  export type RequestBody = Components.Schemas.UserActivationPayload;
200
205
  }
206
+ namespace ConfirmUser {
207
+ namespace Parameters {
208
+ export type Id = Components.Schemas.PortalUserId;
209
+ /**
210
+ * example:
211
+ * 123
212
+ */
213
+ export type OrgId = string;
214
+ }
215
+ export interface PathParameters {
216
+ id: Parameters.Id;
217
+ }
218
+ export interface QueryParameters {
219
+ org_id: Parameters.OrgId;
220
+ }
221
+ namespace Responses {
222
+ export type $200 = Components.Schemas.PortalUser;
223
+ }
224
+ }
201
225
  namespace CreatePortal {
202
226
  export interface RequestBody {
203
227
  /**
@@ -232,14 +256,34 @@ declare namespace Paths {
232
256
  export interface RequestBody {
233
257
  /**
234
258
  * example:
235
- * email@test.com
259
+ * testemail921@yopmail.com
236
260
  */
237
261
  email?: string;
238
262
  /**
239
263
  * example:
240
- * example.com
264
+ * Pass1234!
241
265
  */
242
- domain?: string;
266
+ password?: string;
267
+ /**
268
+ * example:
269
+ * 728
270
+ */
271
+ orgId?: string;
272
+ /**
273
+ * example:
274
+ * eu-central-1_391JDA1HFO
275
+ */
276
+ userPoolId?: string;
277
+ /**
278
+ * example:
279
+ * aj123jfoavnashf2fj
280
+ */
281
+ clientId?: string;
282
+ /**
283
+ * example:
284
+ * 123456
285
+ */
286
+ brandId?: string;
243
287
  }
244
288
  namespace Responses {
245
289
  export type $201 = Components.Schemas.AddPortalResp;
@@ -251,10 +295,18 @@ declare namespace Paths {
251
295
  namespace GetContact {
252
296
  namespace Parameters {
253
297
  export type Id = Components.Schemas.ContactId;
298
+ /**
299
+ * example:
300
+ * 123
301
+ */
302
+ export type OrgId = string;
254
303
  }
255
304
  export interface PathParameters {
256
305
  id: Parameters.Id;
257
306
  }
307
+ export interface QueryParameters {
308
+ org_id: Parameters.OrgId;
309
+ }
258
310
  namespace Responses {
259
311
  export type $200 = Components.Schemas.Contact;
260
312
  }
@@ -298,10 +350,18 @@ declare namespace Paths {
298
350
  namespace GetPortalUser {
299
351
  namespace Parameters {
300
352
  export type Id = Components.Schemas.PortalUserId;
353
+ /**
354
+ * example:
355
+ * 123
356
+ */
357
+ export type OrgId = string;
301
358
  }
302
359
  export interface PathParameters {
303
360
  id: Parameters.Id;
304
361
  }
362
+ export interface QueryParameters {
363
+ org_id: Parameters.OrgId;
364
+ }
305
365
  namespace Responses {
306
366
  export type $200 = Components.Schemas.PortalUser;
307
367
  }
@@ -309,10 +369,18 @@ declare namespace Paths {
309
369
  namespace UpdateContact {
310
370
  namespace Parameters {
311
371
  export type Id = Components.Schemas.ContactId;
372
+ /**
373
+ * example:
374
+ * 123
375
+ */
376
+ export type OrgId = string;
312
377
  }
313
378
  export interface PathParameters {
314
379
  id: Parameters.Id;
315
380
  }
381
+ export interface QueryParameters {
382
+ org_id: Parameters.OrgId;
383
+ }
316
384
  export type RequestBody = Components.Schemas.Contact;
317
385
  namespace Responses {
318
386
  export type $200 = Components.Schemas.Contact;
@@ -409,7 +477,7 @@ export interface OperationMethods {
409
477
  * Get the Contact by id
410
478
  */
411
479
  'getContact'(
412
- parameters?: Parameters<Paths.GetContact.PathParameters> | null,
480
+ parameters?: Parameters<Paths.GetContact.PathParameters & Paths.GetContact.QueryParameters> | null,
413
481
  data?: any,
414
482
  config?: AxiosRequestConfig
415
483
  ): OperationResponse<Paths.GetContact.Responses.$200>
@@ -419,7 +487,7 @@ export interface OperationMethods {
419
487
  * Update the contact details
420
488
  */
421
489
  'updateContact'(
422
- parameters?: Parameters<Paths.UpdateContact.PathParameters> | null,
490
+ parameters?: Parameters<Paths.UpdateContact.PathParameters & Paths.UpdateContact.QueryParameters> | null,
423
491
  data?: Paths.UpdateContact.RequestBody,
424
492
  config?: AxiosRequestConfig
425
493
  ): OperationResponse<Paths.UpdateContact.Responses.$200>
@@ -429,10 +497,20 @@ export interface OperationMethods {
429
497
  * TODO
430
498
  */
431
499
  'getPortalUser'(
432
- parameters?: Parameters<Paths.GetPortalUser.PathParameters> | null,
500
+ parameters?: Parameters<Paths.GetPortalUser.PathParameters & Paths.GetPortalUser.QueryParameters> | null,
433
501
  data?: any,
434
502
  config?: AxiosRequestConfig
435
503
  ): OperationResponse<Paths.GetPortalUser.Responses.$200>
504
+ /**
505
+ * confirmUser - confirmUser
506
+ *
507
+ * TODO
508
+ */
509
+ 'confirmUser'(
510
+ parameters?: Parameters<Paths.ConfirmUser.PathParameters & Paths.ConfirmUser.QueryParameters> | null,
511
+ data?: any,
512
+ config?: AxiosRequestConfig
513
+ ): OperationResponse<Paths.ConfirmUser.Responses.$200>
436
514
  /**
437
515
  * userExists - userExists
438
516
  *
@@ -525,7 +603,7 @@ export interface PathsDictionary {
525
603
  * Get the Contact by id
526
604
  */
527
605
  'get'(
528
- parameters?: Parameters<Paths.GetContact.PathParameters> | null,
606
+ parameters?: Parameters<Paths.GetContact.PathParameters & Paths.GetContact.QueryParameters> | null,
529
607
  data?: any,
530
608
  config?: AxiosRequestConfig
531
609
  ): OperationResponse<Paths.GetContact.Responses.$200>
@@ -535,7 +613,7 @@ export interface PathsDictionary {
535
613
  * Update the contact details
536
614
  */
537
615
  'patch'(
538
- parameters?: Parameters<Paths.UpdateContact.PathParameters> | null,
616
+ parameters?: Parameters<Paths.UpdateContact.PathParameters & Paths.UpdateContact.QueryParameters> | null,
539
617
  data?: Paths.UpdateContact.RequestBody,
540
618
  config?: AxiosRequestConfig
541
619
  ): OperationResponse<Paths.UpdateContact.Responses.$200>
@@ -547,11 +625,23 @@ export interface PathsDictionary {
547
625
  * TODO
548
626
  */
549
627
  'get'(
550
- parameters?: Parameters<Paths.GetPortalUser.PathParameters> | null,
628
+ parameters?: Parameters<Paths.GetPortalUser.PathParameters & Paths.GetPortalUser.QueryParameters> | null,
551
629
  data?: any,
552
630
  config?: AxiosRequestConfig
553
631
  ): OperationResponse<Paths.GetPortalUser.Responses.$200>
554
632
  }
633
+ ['/v1/customer-portal/user/confirm/{id}']: {
634
+ /**
635
+ * confirmUser - confirmUser
636
+ *
637
+ * TODO
638
+ */
639
+ 'get'(
640
+ parameters?: Parameters<Paths.ConfirmUser.PathParameters & Paths.ConfirmUser.QueryParameters> | null,
641
+ data?: any,
642
+ config?: AxiosRequestConfig
643
+ ): OperationResponse<Paths.ConfirmUser.Responses.$200>
644
+ }
555
645
  ['/v1/customer-portal/public/register/exists']: {
556
646
  /**
557
647
  * userExists - userExists