password reset documentation added to swagger

This commit is contained in:
ilmedova 2022-07-01 11:05:41 +05:00
parent 224657ef44
commit 96b946e3c5
12 changed files with 2950 additions and 10 deletions

View File

@ -18,7 +18,7 @@
/**
* @OA\Info(
* title="Legalization API - Authorization",
* title="Legalization API",
* version="1.0.1"
* )
* @OA\SecurityScheme(
@ -263,20 +263,19 @@ public function sendPasswordResetLinkEmail(Request $request) {
], 200);
}
public function forgotPasswordValidate($token)
{
//password reset link redirection from email
public function forgotPasswordValidate($token){
$user = Client::where('token', $token)->where('is_verified', 0)->first();
if ($user) {
$email = $user->email;
return response()->json([
'message' => compact('email')
]);
return view('auth.change-password', compact('email'));
}
return response()->json([
'message' => 'token_expired'
], 419);
}
//update password - WEB
public function updatePassword(Request $request) {
$this->validate($request, [
'email' => 'required',

31
public/swagger/style.css Normal file
View File

@ -0,0 +1,31 @@
@font-face {
font-family: 'MailSans';
font-weight: 400;
font-style: normal;
font-display: fallback;
src: url('/botapi/fonts/MailSansVariative.woff2') format('woff2-variations'), url('/botapi/fonts/MailSansRegular.woff') format('woff');
}
@font-face {
font-family: 'MailSans';
font-weight: 400;
font-style: italic;
font-display: fallback;
src: url('/botapi/fonts/MailSansVariativeItalic.woff2') format('woff2-variations'), url('/botapi/fonts/MailSansRegularItalic.woff') format('woff');
}
@font-face {
font-family: 'MailSans';
font-weight: 500;
font-style: normal;
font-display: fallback;
src: url('/botapi/fonts/MailSansVariative.woff2') format('woff2-variations'), url('/botapi/fonts/MailSansMedium.woff') format('woff');
}
@font-face {
font-family: 'MailSans';
font-weight: 700;
font-style: normal;
font-display: fallback;
src: url('/botapi/fonts/MailSansVariative.woff2') format('woff2-variations'), url('/botapi/fonts/MailSansBold.woff') format('woff');
}

View File

@ -0,0 +1,761 @@
/* advanced start */
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
color: #777;
font-size: 0.9em;
font-weight: 300;
}
a, .swagger-ui .info a, span.link {
text-decoration: none;
font-family: MailSans;
font-weight: 500;
font-size: 20px;
line-height: 32px;
color: #005BD1;
cursor: pointer;
}
a:hover, a:focus {
text-decoration: underline;
}
pre {
display: block;
padding: 0.3em;
margin: 0 0 9px;
font-size: 1.3rem;
line-height: 1.42857143;
word-break: break-all;
border: 1px solid #ccc;
border-radius: 4px;
font-family: MailSans;
}
code {
color: #F5148C;
font-size: 13px;
line-height: 20px;
font-family: MailSans !important;
}
#wrapper {
position: relative;
min-height: 100%;
background-color: #fff;
font-size: 1.3rem;
max-width: 1460px;
padding: 0 20px;
}
.swagger-ui {
overflow: auto;
}
.swagger-ui .info {
margin: 50px 0;
}
.swagger-ui .info code, .swagger-ui .markdown code, .swagger-ui .renderedMarkdown code {
line-height: 2;
background-color: #E2EAF3;
color: #F84FA9;
font-family: MailSans;
font-size: 20px;
font-weight: 500;
padding: 0 4px;
}
.doc-botapi_icq .swagger-ui .info code,
.doc-botapi_icq .swagger-ui .markdown code,
.doc-botapi_icq .swagger-ui .renderedMarkdown code {
color: #08A03C;
background-color: #F1F4F9;
}
.doc-botapi_agent .swagger-ui .info code,
.doc-botapi_agent .swagger-ui .markdown code,
.doc-botapi_agent .swagger-ui .renderedMarkdown code {
color: #2D90F5;
background-color: #F1F4F9;
}
.swagger-ui .info .title span {
display: block;
top: 15px;
position: relative;
}
.swagger-ui .info .title small {
border-radius: 3px;
height: 25px;
}
.swagger-ui .info .title small pre {
border: none;
background: none;
}
.col.col_header.response-col_description {
font-size: 14px;
}
/* advanced end */
html {
font-family: MailSans;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: MailSans;
font-size: 13px;
line-height: 1.42857143;
color: #888888;
background-color: #eeeeee;
}
body, html {
min-width: inherit;
font-size: 9px;
color: #444;
}
.swagger-ui {
position: relative;
}
.swagger-ui .info .main a,
.swagger-ui .opblock-tag button, .swagger-ui section.models h4 svg,
.swagger-ui .opblock-tag small,
opsFilter.operation-filter-input,
.filter-container,
.opblock-summary-description,
.swagger-ui .opblock .tab-header .tab-item.active h4 span:after,
.swagger-ui .parameter__name.required span,
.swagger-ui .parameter__deprecated,
.swagger-ui .response-col_links {
display: none;
}
.swagger-ui .info .title {
font-weight: bold;
font-family: MailSans;
}
h2, .swagger-ui .servers-title {
font-size: 28px;
line-height: 36px;
color: #2C2D2E;
margin: 48px 0 16px;
font-weight: 500;
font-family: MailSans;
}
.swagger-ui .servers-title {
display: none;
margin-top: 0;
}
.swagger-ui .scheme-container {
margin-top: -35px;
padding-top: 0;
box-shadow: none;
}
.swagger-ui .info li,
.swagger-ui li,
.swagger-ui .info p,
.swagger-ui .info table,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .opblock-external-docs-wrapper p,
.swagger-ui .opblock-title_normal p {
/*font: 400 13px/1.5385 Arial,Helvetica,sans-serif;*/
font-size: 20px;
line-height: 32px;
color: #2C2D2E;
font-family: MailSans;
}
.swagger-ui .opblock-tag-section {
margin-bottom: -1px;
box-shadow: none;
}
.swagger-ui span:first-child .opblock-tag-section {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
margin-top: 0;
}
.swagger-ui span:last-child .opblock-tag-section {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
margin-bottom: 0;
}
.swagger-ui section.models {
border: none;
box-shadow: -1px 0 0 0 #e1e1e1, 1px 0 0 0 #e1e1e1, inset 0 -1px 0 0 #e1e1e1, inset 0 1px 0 0 #e1e1e1;
}
.swagger-ui .opblock-tag-section.is-open {
margin: 13px 0;
border-radius: 2px;
}
.swagger-ui section.models.is-open {
border-radius: 2px;
border: none;
box-shadow: -1px 0 0 0 #e1e1e1, 1px 0 0 0 #e1e1e1, 0 -1px 0 0 #e1e1e1, 0 1px 0 0 #e1e1e1;
}
.swagger-ui .opblock-tag, .swagger-ui section.models h4 {
border-bottom: none;
color: #333;
cursor: pointer;
display: block;
font-size: 15px;
font-weight: 700;
line-height: 40px;
padding: 0;
position: relative;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-select: none;
margin: 0;
transition: none;
-webkit-transition: none;
pointer-events: none;
}
.swagger-ui .opblock-summary:before, .botapi-lang-switcher:before {
content: "";
display: inline-block;
position: absolute;
width: 8px;
height: 8px;
text-indent: -9999px;
border-top: 2px solid white;
border-left: 2px solid white;
transition: all 250ms ease-in-out;
text-decoration: none;
color: transparent;
right: 26px;
top: 23px;
transform: rotate(-135deg);
}
.botapi_icq .botapi-lang-switcher:before, .botapi_agent .botapi-lang-switcher:before {
border-color: #2C2D2E;
}
.swagger-ui .opblock-tag:hover, .swagger-ui section.models h4:hover {
background-color: transparent;
}
.swagger-ui .is-open .opblock-tag, .swagger-ui section.models.is-open h4 {
margin-bottom: 10px;
}
.swagger-ui div.opblock.is-open div.opblock-summary:before {
transform: rotate(45deg);
top: 26px;
}
.swagger-ui .is-open .opblock-tag:hover, .swagger-ui section.models.is-open h4:hover {
background-color: #f0f0f0;
}
.swagger-ui .model-box {
padding: 5px;
}
.swagger-ui section.models .model-container {
margin: 0 10px 10px;
}
.swagger-ui section.models .model-container:first-of-type {
margin: 10px;
}
.swagger-ui section.models .model-container:last-of-type {
margin: 0 10px;
}
.swagger-ui section.models.is-open {
padding: 0 0 10px;
}
.swagger-ui .response-col_description__inner div.markdown, .swagger-ui .response-col_description__inner div.renderedMarkdown {
font-size: 12px;
font-style: italic;
display: block;
margin: 0;
border-radius: 4px;
font-family: monospace;
font-weight: 600;
color: #fff;
background-color: transparent;
padding: 10px 10px 10px 0;
}
/* 2020 colors */
.doc-botapi_icq .swagger-ui .opblock.opblock-post{border-color:#22F200;background:rgba(34,242,0,.1)}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .opblock-summary-method{background: #08A03C;}
.doc-botapi_agent .swagger-ui .opblock.opblock-post .opblock-summary-method{background: #2D90F5;}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .opblock-summary{background-color:#F1F4F9;}
.doc-botapi_agent .swagger-ui .opblock.opblock-post .opblock-summary{background-color:#F1F4F9;}
.doc-botapi_icq .swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#22F200}
.doc-botapi_icq .swagger-ui .opblock.opblock-get{border-color:#000000;background:rgba(0,0,0,.1)}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .opblock-summary-method{background:#F1F4F9}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .opblock-summary{background-color:#08A03C}
.doc-botapi_agent .swagger-ui .opblock.opblock-get .opblock-summary{background-color:#2D90F5}
.doc-botapi_agent .swagger-ui .opblock.opblock-get .opblock-summary-method{background:#F1F4F9}
.doc-botapi_icq .swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#000000}
.doc-botapi_icq .swagger-ui textarea:focus{border:2px solid #000000}
.doc-botapi_icq .swagger-ui .info hgroup.main .title small:nth-child(2) {
background-color: #22F200 !important;
}
/* end 2020 colors */
#wrapper {
max-width: 1060px;
width: 100%;
margin: 80px auto 0;
}
.botapi-header {
height: 84px;
line-height: 84px;
width: 100%;
position: fixed;
top: 0;
z-index: 1;
background-color: #F1F4F9;
transform: translate3d(0px, 0px, 0px);
}
.botapi-logo {
position: relative;
height: 100%;
max-width: 1060px;
margin: 0 auto;
display: flex;
}
.botapi-logo .logo {
content: '';
display: inline-block;
width: 120px;
height: 100%;
background-repeat: no-repeat;
background-position: center;
}
.botapi_agent .botapi-logo .logo {
background-image: url(./res/logo_agent.svg?1);
background-size: 126px 51px;
}
.botapi_icq .botapi-logo .logo {
background-image: url(./res/logo_icq_new.png?2);
background-size: 130px 51px;
width: 127px;
background-position: center;
}
.botapi_icq .header-links, .botapi_agent .header-links {
margin-left: 50px;
color: #2C2D2E;
}
.botapi_myteam.botapi-header {
background-color: #060540;
}
.botapi_myteam .botapi-logo .logo {
width: 0;
}
.botapi_myteam .botapi-logo .logo {
width: 140px;
background-image: url(./res/logo_myteam.svg?1);
background-size: 140px 51px;
position: absolute;
}
.botapi-copyright {
margin-top: 50px;
text-align: center;
font-size: 14px;
display: none;
}
.botapi-copyright a {
color: #4990e2;
}
.botapi-lang-switcher {
position: absolute;
right: 5px;
top: 0;
font-size: 16px;
color: #2C2D2E;
padding-right: 30px;
cursor: pointer;
font-weight: 500;
}
.botapi_myteam .botapi-lang-switcher {
color: #ffffff;
}
.swagger-ui b, .swagger-ui strong {
font-weight: 500;
}
.swagger-ui h1, .swagger-ui .info .title {
font-size: 56px;
line-height: 65px;
color: #2C2D2E;
}
.swagger-ui .info h1, .swagger-ui .info h2, .swagger-ui .info h3, .swagger-ui .info h4, .swagger-ui .info h5 {
font-family: MailSans;
color: #2C2D2E;
}
.swagger-ui select {
border: 1px solid rgba(0, 16, 61, 0.12);
box-shadow: none;
height: 56px;
width: 420px;
background-color: #FFFFFF;
}
.swagger-ui h4.opblock-tag {
font-family: MailSans;
font-weight: 500;
font-size: 28px;
line-height: 36px;
text-transform: capitalize;
}
.swagger-ui .opblock {
border: 0;
box-shadow: none;
background: none !important;
}
.swagger-ui .opblock.opblock-get .opblock-summary {
border: none;
border-radius: 4px;
height: 56px;
padding: 12px 20px;
position: relative;
background-color: #201A75;
}
.swagger-ui .opblock .opblock-summary-path {
color: white;
font-family: MailSans;
font-weight: 400;
font-size: 20px !important;
}
.swagger-ui .opblock .opblock-summary-method {
background-color: #E2EAF3;
min-width: 57px;
border-radius: 4px;
font-family: MailSans;
font-size: 20px;
line-height: 24px;
color: #2C2D2E;
font-weight: 500;
padding-left: 8px;
padding-right: 8px;
height: 32px;
}
.swagger-ui .opblock .opblock-section-header h4,
.swagger-ui table thead tr td,
.swagger-ui table thead tr th,
.swagger-ui .parameter__name.required,
.swagger-ui .parameter__name.required:after,
.swagger-ui .parameter__type,
.swagger-ui .parameter__extension,
.swagger-ui .parameter__in,
.swagger-ui .renderedMarkdown p,
.swagger-ui .parameters-col_description input[type=text],
.swagger-ui .response-col_status,
.swagger-ui .response-col_description__inner div.markdown p,
.swagger-ui .response-col_description__inner div.renderedMarkdown p,
.swagger-ui .response-control-examples__title,
.swagger-ui .response-control-media-type__title,
.swagger-ui select,
.swagger-ui .tab li,
.swagger-ui .opblock-body pre.microlight,
.swagger-ui .parameter__name {
font-family: MailSans;
font-weight: 500;
font-size: 20px;
line-height: 32px;
color: #2C2D2E;
font-style: normal;
}
.swagger-ui .opblock .opblock-section-header {
box-shadow: none;
border-radius: 4px;
background-color: #F1F4F9;
height: 56px;
margin-top: 10px;
}
.swagger-ui .table-container,
.swagger-ui .responses-inner,
.swagger-ui .parameters-col_description,
.swagger-ui .response-col_description {
padding: 0;
}
.swagger-ui table thead tr td,
.swagger-ui table thead tr th {
padding-left: 20px;
}
.swagger-ui .parameter__name.required:after {
font-weight: 400;
color: #F5148C;
top: 0;
content: '\*required';
}
.swagger-ui .parameter__type,
.swagger-ui .parameter__extension,
.swagger-ui .parameter__in {
display: inline;
font-weight: 400;
}
.swagger-ui .parameter__type {
padding-right: 5px;
}
.swagger-ui .renderedMarkdown p,
.swagger-ui .response-col_description__inner div.markdown p,
.swagger-ui .response-col_description__inner div.renderedMarkdown p {
font-weight: 400;
margin: 0;
}
.swagger-ui .parameters-col_description input[type=text] {
height: 56px;
font-weight: 400;
}
.swagger-ui input[disabled],
.swagger-ui select[disabled],
.swagger-ui textarea[disabled],
.swagger-ui .parameters-col_description input[disabled]{
color: #919399;
background-color: #F0F0F0;
border-color: #d9d9d9;
-webkit-text-fill-color: #919399;
opacity: 1; /* required on iOS */
}
.swagger-ui table tbody tr td:first-of-type {
padding-left: 20px;
padding-top: 0;
min-width: 300px;
}
.swagger-ui .parameter__name.required,
.swagger-ui .parameters-col_description div.renderedMarkdown,
.swagger-ui .parameter__type,
.swagger-ui .parameter__name {
min-height: 56px;
line-height: 56px;
}
.swagger-ui .parameters-col_description div.renderedMarkdown p {
line-height: 32px;
display: inline-block;
vertical-align: middle;
}
.swagger-ui .response-control-media-type--accept-controller select {
border: 1px solid rgba(0, 16, 61, 0.12);
}
.swagger-ui .response-control-examples__title, .swagger-ui .response-control-media-type__title {
margin-bottom: 10px;
}
.swagger-ui .response-control-media-type__accept-message,
.swagger-ui .response-control-alternative-examples__title {
font-family: MailSans;
font-weight: 400;
font-size: 13px;
line-height: 20px;
color: #2C2D2E;
display: block;
height: 20px;
margin-top: 10px;
}
.swagger-ui .tab li,
.swagger-ui select {
font-weight: 400;
}
.swagger-ui .tab li a.tablinks {
color: #2C2D2E;
font-weight: 400;
}
.swagger-ui .tab li.active a.tablinks {
font-weight: 500;
}
.swagger-ui .tab li:first-of-type:after {
top: 7px;
width: 2px;
height: 18px;
background: black;
}
.swagger-ui .opblock-body pre.microlight {
border: 0;
background-color: #F1F4F9;
padding: 24px;
}
.swagger-ui .opblock-body pre.microlight span,
.swagger-ui .parameter__name{
color: #2C2D2E !important;
font-weight: 400;
}
.swagger-ui .opblock.opblock-post .opblock-summary {
border: none;
border-radius: 4px;
height: 56px;
padding: 12px 20px;
position: relative;
background-color: #C0BCF0;
}
.swagger-ui .opblock.opblock-post .opblock-summary:before {
border-color: #2C2D2E;
}
.swagger-ui .opblock.opblock-post .opblock-summary-method {
background-color: #201A75;
color: white;
}
.swagger-ui div.opblock-post span.opblock-summary-path {
color: #2C2D2E;
}
.swagger-ui h4.opblock-title.parameter__name.required {
display: contents;
}
.swagger-ui .response-col_status {
padding-top: 10px !important;
}
.swagger-ui ul {
font-family: MailSans;
}
.botapi-lang-switcher:before {
top: 36px;
right: 11px;
}
.botapi-lang-switcher.is-open div.botapi-switcher-menu,
.libraries-list.is-open div.botapi-switcher-menu {
visibility: visible;
}
.botapi-switcher-menu {
width: 140px;
background: #090330;
box-shadow: 0px 4px 12px rgba(4, 1, 45, 0.2);
border-radius: 12px;
position: absolute;
right: 0;
top: 54px;
padding: 12px 0;
visibility: hidden;
}
.botapi-switcher-menu a {
height: 56px;
font-size: 15px;
line-height: 56px;
padding-left: 22px;
color: #C0BCF0;
display: block;
text-decoration: none;
}
.botapi-switcher-menu a:hover {
background-color: rgba(0, 95, 249, 0.26);
color: #FFFFFF;
}
.doc-botapi_icq .botapi-switcher-menu, .doc-botapi_agent .botapi-switcher-menu {
background-color: #CCCFD8;
box-shadow: 0px 4px 12px #CCCFD8;
}
.doc-botapi_icq .botapi-switcher-menu a, .doc-botapi_agent .botapi-switcher-menu a {
color: #2C2D2E;
}
.doc-botapi_icq .botapi-switcher-menu a:hover, .doc-botapi_agent .botapi-switcher-menu a:hover {
background-color: rgba(111, 116, 126, 0.1);
}
.header-links {
max-width: 100%;
font-weight: 500;
font-size: 16px;
display: flex;
margin-left: 190px;
color: #FFFFFF;
}
.header-links div span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}
.header-links div:not(:last-child) {
margin-right: 60px;
}
.header-links div span.selected {
color: #0A8DFF;
}
.libraries-list {
position: relative;
}
.swagger-ui .opblock.opblock-get .opblock-summary-method {
background-color: #E2EAF3;
}

690
public/swagger/styles.css Normal file
View File

@ -0,0 +1,690 @@
.rendered_html__tutorial {
color: #000;
font-size: 20px;
line-height: 32px;
font-family: MailSans;
/* any extras will just be numbers: */
}
.rendered_html__tutorial em {
font-style: italic;
}
.rendered_html__tutorial strong {
font-weight: bold;
}
.rendered_html__tutorial u {
text-decoration: underline;
}
.rendered_html__tutorial h1 {
font-size: 56px;
margin: 1.08em 0 0 0;
font-weight: bold;
line-height: 65px;
}
.rendered_html__tutorial h2 {
font-size: 157.1%;
margin: 1.27em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h3 {
font-size: 28px;
margin: 1.55em 0 16px 0;
font-weight: 500;
line-height: 36px;
height: 36px;
}
.rendered_html__tutorial h4 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h5 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h6 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h1:first-child {
margin-top: 0.538em;
}
.rendered_html__tutorial h2:first-child {
margin-top: 0.636em;
}
.rendered_html__tutorial h3:first-child {
margin-top: 0.777em;
}
.rendered_html__tutorial h4:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h5:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h6:first-child {
margin-top: 1em;
}
.rendered_html__tutorial ul:not(.list-inline),
.rendered_html__tutorial ol:not(.list-inline),
.rendered_html ul:not(.list-inline),
.rendered_html ol:not(.list-inline){
padding-left: 0px;
}
.rendered_html__tutorial ul,
.rendered_html ul {
list-style: disc;
}
.rendered_html__tutorial ul ul,
.rendered_html__ ul ul {
list-style: square;
margin-top: 0;
}
.rendered_html__tutorial ul ul ul,
.rendered_html ul ul ul {
list-style: circle;
}
.rendered_html__tutorial ol,
.rendered_html ol {
list-style: decimal;
}
.rendered_html__tutorial ol ol,
.rendered_html ol ol {
list-style: upper-alpha;
margin-top: 0;
}
.rendered_html__tutorial ol ol ol,
.rendered_html ol ol ol {
list-style: lower-alpha;
}
.rendered_html__tutorial ol ol ol ol,
.rendered_html ol ol ol ol {
list-style: lower-roman;
}
.rendered_html__tutorial ol ol ol ol ol,
.rendered_html ol ol ol ol ol {
list-style: decimal;
}
.rendered_html__tutorial * + ul,
.rendered_html * + ul {
margin-top: 1em;
}
.rendered_html__tutorial * + ol,
.rendered_html * + ol {
margin-top: 1em;
}
.rendered_html__tutorial hr {
color: black;
background-color: black;
}
.rendered_html__tutorial mark {
line-height: 2;
background-color: #E2EAF3;
color: #F84FA9;
font-family: MailSans;
font-size: 20px;
font-weight: 500;
padding: 0 6px;
border-radius: 4px;
}
.doc-botapi_icq .rendered_html__tutorial mark {
color: #08A03C;
}
.doc-botapi_agent .rendered_html__tutorial mark {
color: #2D90F5;
}
.rendered_html__tutorial pre {
padding: 24px;
background-color: #F1F4F9;
overflow: hidden;
white-space: pre-wrap;
}
.rendered_html__tutorial code {
background-color: #eff0f1;
}
.rendered_html__tutorial p code {
padding: 1px 5px;
}
.rendered_html__tutorial pre code {
background-color: #fff;
}
.rendered_html__tutorial pre,
.rendered_html__tutorial code {
color: #2C2D2E;
font-size: 100%;
border-radius: 4px;
border: #F1F4F9;
margin: 16px 0;
}
.rendered_html__tutorial blockquote {
margin: 1em 2em;
}
.rendered_html__tutorial table {
margin-left: auto;
margin-right: auto;
border: none;
border-collapse: collapse;
border-spacing: 0;
color: black;
font-size: 12px;
table-layout: fixed;
}
.rendered_html__tutorial thead {
border-bottom: 1px solid black;
vertical-align: bottom;
}
.rendered_html__tutorial tr,
.rendered_html__tutorial th,
.rendered_html__tutorial td {
text-align: right;
vertical-align: middle;
padding: 0.5em 0.5em;
line-height: normal;
white-space: normal;
max-width: none;
border: none;
}
.rendered_html__tutorial th {
font-weight: bold;
}
.rendered_html__tutorial tbody tr:nth-child(odd) {
background: #f5f5f5;
}
.rendered_html__tutorial tbody tr:hover {
background: rgba(66, 165, 245, 0.2);
}
.rendered_html__tutorial * + table {
margin-top: 1em;
}
.rendered_html__tutorial p {
text-align: left;
}
.rendered_html__tutorial * + p {
margin: 0;
}
.rendered_html__tutorial img {
display: block;
margin: 16px auto 16px 0;
}
.rendered_html__tutorial * + img {
margin-top: 1em;
}
.rendered_html__tutorial img,
.rendered_html__tutorial svg {
max-width: 100%;
height: auto;
}
.rendered_html__tutorial img.unconfined,
.rendered_html__tutorial svg.unconfined {
max-width: none;
}
.rendered_html__tutorial .alert {
margin-bottom: initial;
}
.rendered_html__tutorial * + .alert {
margin-top: 1em;
}
[dir="rtl"] .rendered_html__tutorial p {
text-align: right;
}
.rendered_html__tutorial li,
.rendered_html li {
list-style: none;
font-size: 20px;
}
.rendered_html__tutorial li:before,
.rendered_html li:before {
content: "•";
font-size: 50px;
vertical-align: middle;
top: -5px;
left: -3px;
position: relative;
margin-right: 10px;
}
.highlight .hll {
background-color: #ffffcc
}
.highlight {
background: #F1F4F9;
border-radius: 4px;
}
.highlight .c {
color: #408080;
font-style: italic
}
/* Comment */
.highlight .err {
border: 1px solid #FF0000
}
/* Error */
.highlight .k {
color: #F84FA9;
font-weight: 500
}
/* Keyword */
.highlight .o {
color: #666666
}
/* Operator */
.highlight .ch {
color: #408080;
font-style: italic
}
/* Comment.Hashbang */
.highlight .cm {
color: #408080;
font-style: italic
}
/* Comment.Multiline */
.highlight .cp {
color: #BC7A00
}
/* Comment.Preproc */
.highlight .cpf {
color: #408080;
font-style: italic
}
/* Comment.PreprocFile */
.highlight .c1 {
font-style: italic
}
/* Comment.Single */
.highlight .cs {
color: #408080;
font-style: italic
}
/* Comment.Special */
.highlight .gd {
color: #A00000
}
/* Generic.Deleted */
.highlight .ge {
font-style: italic
}
/* Generic.Emph */
.highlight .gr {
color: #FF0000
}
/* Generic.Error */
.highlight .gh {
color: #000080;
font-weight: bold
}
/* Generic.Heading */
.highlight .gi {
color: #00A000
}
/* Generic.Inserted */
.highlight .go {
color: #888888
}
/* Generic.Output */
.highlight .gp {
color: #000080;
font-weight: bold
}
/* Generic.Prompt */
.highlight .gs {
font-weight: bold
}
/* Generic.Strong */
.highlight .gu {
color: #800080;
font-weight: bold
}
/* Generic.Subheading */
.highlight .gt {
color: #0044DD
}
/* Generic.Traceback */
.highlight .kc {
color: #008000;
font-weight: bold
}
/* Keyword.Constant */
.highlight .kd {
color: #008000;
font-weight: bold
}
/* Keyword.Declaration */
.highlight .kn {
color: #F84FA9;
font-weight: 500
}
/* Keyword.Namespace */
.highlight .kp {
color: #008000
}
/* Keyword.Pseudo */
.highlight .kr {
color: #008000;
font-weight: bold
}
/* Keyword.Reserved */
.highlight .kt {
color: #B00040
}
/* Keyword.Type */
.highlight .m {
color: #666666
}
/* Literal.Number */
.highlight .s {
color: #BA2121
}
/* Literal.String */
.highlight .na {
color: #7D9029
}
/* Name.Attribute */
.highlight .nb {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin */
.highlight .nc {
color: #0000FF;
font-weight: bold
}
/* Name.Class */
.highlight .no {
color: #880000
}
/* Name.Constant */
.highlight .nd {
color: #AA22FF
}
/* Name.Decorator */
.highlight .ni {
color: #999999;
font-weight: bold
}
/* Name.Entity */
.highlight .ne {
color: #D2413A;
font-weight: bold
}
.doc-botapi_icq .highlight .nb, .doc-botapi_icq .highlight .nn, .doc-botapi_icq .highlight .nf, .doc-botapi_icq .highlight .ow {
color: #08A03C;
}
.doc-botapi_agent .highlight .nb, .doc-botapi_agent .highlight .nn, .doc-botapi_agent .highlight .nf, .doc-botapi_agent .highlight .ow {
color: #2D90F5;
}
/* Name.Exception */
.highlight .nf {
color: #201A75;
font-weight: 500
}
/* Name.Function */
.highlight .nl {
color: #A0A000
}
/* Name.Label */
.highlight .nn {
color: #201A75;
font-weight: 500
}
/* Name.Namespace */
.highlight .nt {
color: #008000;
font-weight: bold
}
/* Name.Tag */
.highlight .nv {
color: #19177C
}
/* Name.Variable */
.highlight .ow {
color: #201A75;
font-weight: 500
}
/* Operator.Word */
.highlight .w {
color: #bbbbbb
}
/* Text.Whitespace */
.highlight .mb {
color: #666666
}
/* Literal.Number.Bin */
.highlight .mf {
color: #666666
}
/* Literal.Number.Float */
.highlight .mh {
color: #666666
}
/* Literal.Number.Hex */
.highlight .mi {
color: #666666
}
/* Literal.Number.Integer */
.highlight .mo {
color: #666666
}
/* Literal.Number.Oct */
.highlight .sa {
color: #BA2121
}
/* Literal.String.Affix */
.highlight .sb {
color: #BA2121
}
/* Literal.String.Backtick */
.highlight .sc {
color: #BA2121
}
/* Literal.String.Char */
.highlight .dl {
color: #BA2121
}
/* Literal.String.Delimiter */
.highlight .sd {
color: #BA2121;
font-style: italic
}
/* Literal.String.Doc */
.highlight .se {
color: #BB6622;
font-weight: bold
}
/* Literal.String.Escape */
.highlight .sh {
color: #BA2121
}
/* Literal.String.Heredoc */
.highlight .si {
color: #BB6688;
font-weight: bold
}
/* Literal.String.Interpol */
.highlight .sx {
color: #008000
}
/* Literal.String.Other */
.highlight .sr {
color: #BB6688
}
/* Literal.String.Regex */
.highlight .s1 {
color: #F84FA9;
font-weight: 500
}
/* Literal.String.Single */
.highlight .ss {
color: #19177C
}
/* Literal.String.Symbol */
.highlight .bp {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin.Pseudo */
.highlight .fm {
color: #0000FF
}
/* Name.Function.Magic */
.highlight .vc {
color: #19177C
}
/* Name.Variable.Class */
.highlight .vg {
color: #19177C
}
/* Name.Variable.Global */
.highlight .vi {
color: #19177C
}
/* Name.Variable.Instance */
.highlight .vm {
color: #19177C
}
/* Name.Variable.Magic */
.highlight .il {
color: #666666
}
/* Literal.Number.Integer.Long */
.highlight .s2 {
color: #F84FA9;
font-weight: 500;
}
a.anchor-link {
display: block;
position: relative;
top: -25px;
visibility: hidden;
}

690
public/swagger/styles1.css Normal file
View File

@ -0,0 +1,690 @@
.rendered_html__tutorial {
color: #000;
font-size: 20px;
line-height: 32px;
font-family: MailSans;
/* any extras will just be numbers: */
}
.rendered_html__tutorial em {
font-style: italic;
}
.rendered_html__tutorial strong {
font-weight: bold;
}
.rendered_html__tutorial u {
text-decoration: underline;
}
.rendered_html__tutorial h1 {
font-size: 56px;
margin: 1.08em 0 0 0;
font-weight: bold;
line-height: 65px;
}
.rendered_html__tutorial h2 {
font-size: 157.1%;
margin: 1.27em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h3 {
font-size: 28px;
margin: 1.55em 0 16px 0;
font-weight: 500;
line-height: 36px;
height: 36px;
}
.rendered_html__tutorial h4 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h5 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h6 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h1:first-child {
margin-top: 0.538em;
}
.rendered_html__tutorial h2:first-child {
margin-top: 0.636em;
}
.rendered_html__tutorial h3:first-child {
margin-top: 0.777em;
}
.rendered_html__tutorial h4:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h5:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h6:first-child {
margin-top: 1em;
}
.rendered_html__tutorial ul:not(.list-inline),
.rendered_html__tutorial ol:not(.list-inline),
.rendered_html ul:not(.list-inline),
.rendered_html ol:not(.list-inline){
padding-left: 0px;
}
.rendered_html__tutorial ul,
.rendered_html ul {
list-style: disc;
}
.rendered_html__tutorial ul ul,
.rendered_html__ ul ul {
list-style: square;
margin-top: 0;
}
.rendered_html__tutorial ul ul ul,
.rendered_html ul ul ul {
list-style: circle;
}
.rendered_html__tutorial ol,
.rendered_html ol {
list-style: decimal;
}
.rendered_html__tutorial ol ol,
.rendered_html ol ol {
list-style: upper-alpha;
margin-top: 0;
}
.rendered_html__tutorial ol ol ol,
.rendered_html ol ol ol {
list-style: lower-alpha;
}
.rendered_html__tutorial ol ol ol ol,
.rendered_html ol ol ol ol {
list-style: lower-roman;
}
.rendered_html__tutorial ol ol ol ol ol,
.rendered_html ol ol ol ol ol {
list-style: decimal;
}
.rendered_html__tutorial * + ul,
.rendered_html * + ul {
margin-top: 1em;
}
.rendered_html__tutorial * + ol,
.rendered_html * + ol {
margin-top: 1em;
}
.rendered_html__tutorial hr {
color: black;
background-color: black;
}
.rendered_html__tutorial mark {
line-height: 2;
background-color: #E2EAF3;
color: #F84FA9;
font-family: MailSans;
font-size: 20px;
font-weight: 500;
padding: 0 6px;
border-radius: 4px;
}
.doc-botapi_icq .rendered_html__tutorial mark {
color: #08A03C;
}
.doc-botapi_agent .rendered_html__tutorial mark {
color: #2D90F5;
}
.rendered_html__tutorial pre {
padding: 24px;
background-color: #F1F4F9;
overflow: hidden;
white-space: pre-wrap;
}
.rendered_html__tutorial code {
background-color: #eff0f1;
}
.rendered_html__tutorial p code {
padding: 1px 5px;
}
.rendered_html__tutorial pre code {
background-color: #fff;
}
.rendered_html__tutorial pre,
.rendered_html__tutorial code {
color: #2C2D2E;
font-size: 100%;
border-radius: 4px;
border: #F1F4F9;
margin: 16px 0;
}
.rendered_html__tutorial blockquote {
margin: 1em 2em;
}
.rendered_html__tutorial table {
margin-left: auto;
margin-right: auto;
border: none;
border-collapse: collapse;
border-spacing: 0;
color: black;
font-size: 12px;
table-layout: fixed;
}
.rendered_html__tutorial thead {
border-bottom: 1px solid black;
vertical-align: bottom;
}
.rendered_html__tutorial tr,
.rendered_html__tutorial th,
.rendered_html__tutorial td {
text-align: right;
vertical-align: middle;
padding: 0.5em 0.5em;
line-height: normal;
white-space: normal;
max-width: none;
border: none;
}
.rendered_html__tutorial th {
font-weight: bold;
}
.rendered_html__tutorial tbody tr:nth-child(odd) {
background: #f5f5f5;
}
.rendered_html__tutorial tbody tr:hover {
background: rgba(66, 165, 245, 0.2);
}
.rendered_html__tutorial * + table {
margin-top: 1em;
}
.rendered_html__tutorial p {
text-align: left;
}
.rendered_html__tutorial * + p {
margin: 0;
}
.rendered_html__tutorial img {
display: block;
margin: 16px auto 16px 0;
}
.rendered_html__tutorial * + img {
margin-top: 1em;
}
.rendered_html__tutorial img,
.rendered_html__tutorial svg {
max-width: 100%;
height: auto;
}
.rendered_html__tutorial img.unconfined,
.rendered_html__tutorial svg.unconfined {
max-width: none;
}
.rendered_html__tutorial .alert {
margin-bottom: initial;
}
.rendered_html__tutorial * + .alert {
margin-top: 1em;
}
[dir="rtl"] .rendered_html__tutorial p {
text-align: right;
}
.rendered_html__tutorial li,
.rendered_html li {
list-style: none;
font-size: 20px;
}
.rendered_html__tutorial li:before,
.rendered_html li:before {
content: "•";
font-size: 50px;
vertical-align: middle;
top: -5px;
left: -3px;
position: relative;
margin-right: 10px;
}
.highlight .hll {
background-color: #ffffcc
}
.highlight {
background: #F1F4F9;
border-radius: 4px;
}
.highlight .c {
color: #408080;
font-style: italic
}
/* Comment */
.highlight .err {
border: 1px solid #FF0000
}
/* Error */
.highlight .k {
color: #F84FA9;
font-weight: 500
}
/* Keyword */
.highlight .o {
color: #666666
}
/* Operator */
.highlight .ch {
color: #408080;
font-style: italic
}
/* Comment.Hashbang */
.highlight .cm {
color: #408080;
font-style: italic
}
/* Comment.Multiline */
.highlight .cp {
color: #BC7A00
}
/* Comment.Preproc */
.highlight .cpf {
color: #408080;
font-style: italic
}
/* Comment.PreprocFile */
.highlight .c1 {
font-style: italic
}
/* Comment.Single */
.highlight .cs {
color: #408080;
font-style: italic
}
/* Comment.Special */
.highlight .gd {
color: #A00000
}
/* Generic.Deleted */
.highlight .ge {
font-style: italic
}
/* Generic.Emph */
.highlight .gr {
color: #FF0000
}
/* Generic.Error */
.highlight .gh {
color: #000080;
font-weight: bold
}
/* Generic.Heading */
.highlight .gi {
color: #00A000
}
/* Generic.Inserted */
.highlight .go {
color: #888888
}
/* Generic.Output */
.highlight .gp {
color: #000080;
font-weight: bold
}
/* Generic.Prompt */
.highlight .gs {
font-weight: bold
}
/* Generic.Strong */
.highlight .gu {
color: #800080;
font-weight: bold
}
/* Generic.Subheading */
.highlight .gt {
color: #0044DD
}
/* Generic.Traceback */
.highlight .kc {
color: #008000;
font-weight: bold
}
/* Keyword.Constant */
.highlight .kd {
color: #008000;
font-weight: bold
}
/* Keyword.Declaration */
.highlight .kn {
color: #F84FA9;
font-weight: 500
}
/* Keyword.Namespace */
.highlight .kp {
color: #008000
}
/* Keyword.Pseudo */
.highlight .kr {
color: #008000;
font-weight: bold
}
/* Keyword.Reserved */
.highlight .kt {
color: #B00040
}
/* Keyword.Type */
.highlight .m {
color: #666666
}
/* Literal.Number */
.highlight .s {
color: #BA2121
}
/* Literal.String */
.highlight .na {
color: #7D9029
}
/* Name.Attribute */
.highlight .nb {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin */
.highlight .nc {
color: #0000FF;
font-weight: bold
}
/* Name.Class */
.highlight .no {
color: #880000
}
/* Name.Constant */
.highlight .nd {
color: #AA22FF
}
/* Name.Decorator */
.highlight .ni {
color: #999999;
font-weight: bold
}
/* Name.Entity */
.highlight .ne {
color: #D2413A;
font-weight: bold
}
.doc-botapi_icq .highlight .nb, .doc-botapi_icq .highlight .nn, .doc-botapi_icq .highlight .nf, .doc-botapi_icq .highlight .ow {
color: #08A03C;
}
.doc-botapi_agent .highlight .nb, .doc-botapi_agent .highlight .nn, .doc-botapi_agent .highlight .nf, .doc-botapi_agent .highlight .ow {
color: #2D90F5;
}
/* Name.Exception */
.highlight .nf {
color: #201A75;
font-weight: 500
}
/* Name.Function */
.highlight .nl {
color: #A0A000
}
/* Name.Label */
.highlight .nn {
color: #201A75;
font-weight: 500
}
/* Name.Namespace */
.highlight .nt {
color: #008000;
font-weight: bold
}
/* Name.Tag */
.highlight .nv {
color: #19177C
}
/* Name.Variable */
.highlight .ow {
color: #201A75;
font-weight: 500
}
/* Operator.Word */
.highlight .w {
color: #bbbbbb
}
/* Text.Whitespace */
.highlight .mb {
color: #666666
}
/* Literal.Number.Bin */
.highlight .mf {
color: #666666
}
/* Literal.Number.Float */
.highlight .mh {
color: #666666
}
/* Literal.Number.Hex */
.highlight .mi {
color: #666666
}
/* Literal.Number.Integer */
.highlight .mo {
color: #666666
}
/* Literal.Number.Oct */
.highlight .sa {
color: #BA2121
}
/* Literal.String.Affix */
.highlight .sb {
color: #BA2121
}
/* Literal.String.Backtick */
.highlight .sc {
color: #BA2121
}
/* Literal.String.Char */
.highlight .dl {
color: #BA2121
}
/* Literal.String.Delimiter */
.highlight .sd {
color: #BA2121;
font-style: italic
}
/* Literal.String.Doc */
.highlight .se {
color: #BB6622;
font-weight: bold
}
/* Literal.String.Escape */
.highlight .sh {
color: #BA2121
}
/* Literal.String.Heredoc */
.highlight .si {
color: #BB6688;
font-weight: bold
}
/* Literal.String.Interpol */
.highlight .sx {
color: #008000
}
/* Literal.String.Other */
.highlight .sr {
color: #BB6688
}
/* Literal.String.Regex */
.highlight .s1 {
color: #F84FA9;
font-weight: 500
}
/* Literal.String.Single */
.highlight .ss {
color: #19177C
}
/* Literal.String.Symbol */
.highlight .bp {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin.Pseudo */
.highlight .fm {
color: #0000FF
}
/* Name.Function.Magic */
.highlight .vc {
color: #19177C
}
/* Name.Variable.Class */
.highlight .vg {
color: #19177C
}
/* Name.Variable.Global */
.highlight .vi {
color: #19177C
}
/* Name.Variable.Instance */
.highlight .vm {
color: #19177C
}
/* Name.Variable.Magic */
.highlight .il {
color: #666666
}
/* Literal.Number.Integer.Long */
.highlight .s2 {
color: #F84FA9;
font-weight: 500;
}
a.anchor-link {
display: block;
position: relative;
top: -25px;
visibility: hidden;
}

690
public/swagger/styles2.css Normal file
View File

@ -0,0 +1,690 @@
.rendered_html__tutorial {
color: #000;
font-size: 20px;
line-height: 32px;
font-family: MailSans;
/* any extras will just be numbers: */
}
.rendered_html__tutorial em {
font-style: italic;
}
.rendered_html__tutorial strong {
font-weight: bold;
}
.rendered_html__tutorial u {
text-decoration: underline;
}
.rendered_html__tutorial h1 {
font-size: 56px;
margin: 1.08em 0 0 0;
font-weight: bold;
line-height: 65px;
}
.rendered_html__tutorial h2 {
font-size: 157.1%;
margin: 1.27em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h3 {
font-size: 28px;
margin: 1.55em 0 16px 0;
font-weight: 500;
line-height: 36px;
height: 36px;
}
.rendered_html__tutorial h4 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
}
.rendered_html__tutorial h5 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h6 {
font-size: 100%;
margin: 2em 0 0 0;
font-weight: bold;
line-height: 1.0;
font-style: italic;
}
.rendered_html__tutorial h1:first-child {
margin-top: 0.538em;
}
.rendered_html__tutorial h2:first-child {
margin-top: 0.636em;
}
.rendered_html__tutorial h3:first-child {
margin-top: 0.777em;
}
.rendered_html__tutorial h4:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h5:first-child {
margin-top: 1em;
}
.rendered_html__tutorial h6:first-child {
margin-top: 1em;
}
.rendered_html__tutorial ul:not(.list-inline),
.rendered_html__tutorial ol:not(.list-inline),
.rendered_html ul:not(.list-inline),
.rendered_html ol:not(.list-inline){
padding-left: 0px;
}
.rendered_html__tutorial ul,
.rendered_html ul {
list-style: disc;
}
.rendered_html__tutorial ul ul,
.rendered_html__ ul ul {
list-style: square;
margin-top: 0;
}
.rendered_html__tutorial ul ul ul,
.rendered_html ul ul ul {
list-style: circle;
}
.rendered_html__tutorial ol,
.rendered_html ol {
list-style: decimal;
}
.rendered_html__tutorial ol ol,
.rendered_html ol ol {
list-style: upper-alpha;
margin-top: 0;
}
.rendered_html__tutorial ol ol ol,
.rendered_html ol ol ol {
list-style: lower-alpha;
}
.rendered_html__tutorial ol ol ol ol,
.rendered_html ol ol ol ol {
list-style: lower-roman;
}
.rendered_html__tutorial ol ol ol ol ol,
.rendered_html ol ol ol ol ol {
list-style: decimal;
}
.rendered_html__tutorial * + ul,
.rendered_html * + ul {
margin-top: 1em;
}
.rendered_html__tutorial * + ol,
.rendered_html * + ol {
margin-top: 1em;
}
.rendered_html__tutorial hr {
color: black;
background-color: black;
}
.rendered_html__tutorial mark {
line-height: 2;
background-color: #E2EAF3;
color: #F84FA9;
font-family: MailSans;
font-size: 20px;
font-weight: 500;
padding: 0 6px;
border-radius: 4px;
}
.doc-botapi_icq .rendered_html__tutorial mark {
color: #08A03C;
}
.doc-botapi_agent .rendered_html__tutorial mark {
color: #2D90F5;
}
.rendered_html__tutorial pre {
padding: 24px;
background-color: #F1F4F9;
overflow: hidden;
white-space: pre-wrap;
}
.rendered_html__tutorial code {
background-color: #eff0f1;
}
.rendered_html__tutorial p code {
padding: 1px 5px;
}
.rendered_html__tutorial pre code {
background-color: #fff;
}
.rendered_html__tutorial pre,
.rendered_html__tutorial code {
color: #2C2D2E;
font-size: 100%;
border-radius: 4px;
border: #F1F4F9;
margin: 16px 0;
}
.rendered_html__tutorial blockquote {
margin: 1em 2em;
}
.rendered_html__tutorial table {
margin-left: auto;
margin-right: auto;
border: none;
border-collapse: collapse;
border-spacing: 0;
color: black;
font-size: 12px;
table-layout: fixed;
}
.rendered_html__tutorial thead {
border-bottom: 1px solid black;
vertical-align: bottom;
}
.rendered_html__tutorial tr,
.rendered_html__tutorial th,
.rendered_html__tutorial td {
text-align: right;
vertical-align: middle;
padding: 0.5em 0.5em;
line-height: normal;
white-space: normal;
max-width: none;
border: none;
}
.rendered_html__tutorial th {
font-weight: bold;
}
.rendered_html__tutorial tbody tr:nth-child(odd) {
background: #f5f5f5;
}
.rendered_html__tutorial tbody tr:hover {
background: rgba(66, 165, 245, 0.2);
}
.rendered_html__tutorial * + table {
margin-top: 1em;
}
.rendered_html__tutorial p {
text-align: left;
}
.rendered_html__tutorial * + p {
margin: 0;
}
.rendered_html__tutorial img {
display: block;
margin: 16px auto 16px 0;
}
.rendered_html__tutorial * + img {
margin-top: 1em;
}
.rendered_html__tutorial img,
.rendered_html__tutorial svg {
max-width: 100%;
height: auto;
}
.rendered_html__tutorial img.unconfined,
.rendered_html__tutorial svg.unconfined {
max-width: none;
}
.rendered_html__tutorial .alert {
margin-bottom: initial;
}
.rendered_html__tutorial * + .alert {
margin-top: 1em;
}
[dir="rtl"] .rendered_html__tutorial p {
text-align: right;
}
.rendered_html__tutorial li,
.rendered_html li {
list-style: none;
font-size: 20px;
}
.rendered_html__tutorial li:before,
.rendered_html li:before {
content: "•";
font-size: 50px;
vertical-align: middle;
top: -5px;
left: -3px;
position: relative;
margin-right: 10px;
}
.highlight .hll {
background-color: #ffffcc
}
.highlight {
background: #F1F4F9;
border-radius: 4px;
}
.highlight .c {
color: #408080;
font-style: italic
}
/* Comment */
.highlight .err {
border: 1px solid #FF0000
}
/* Error */
.highlight .k {
color: #F84FA9;
font-weight: 500
}
/* Keyword */
.highlight .o {
color: #666666
}
/* Operator */
.highlight .ch {
color: #408080;
font-style: italic
}
/* Comment.Hashbang */
.highlight .cm {
color: #408080;
font-style: italic
}
/* Comment.Multiline */
.highlight .cp {
color: #BC7A00
}
/* Comment.Preproc */
.highlight .cpf {
color: #408080;
font-style: italic
}
/* Comment.PreprocFile */
.highlight .c1 {
font-style: italic
}
/* Comment.Single */
.highlight .cs {
color: #408080;
font-style: italic
}
/* Comment.Special */
.highlight .gd {
color: #A00000
}
/* Generic.Deleted */
.highlight .ge {
font-style: italic
}
/* Generic.Emph */
.highlight .gr {
color: #FF0000
}
/* Generic.Error */
.highlight .gh {
color: #000080;
font-weight: bold
}
/* Generic.Heading */
.highlight .gi {
color: #00A000
}
/* Generic.Inserted */
.highlight .go {
color: #888888
}
/* Generic.Output */
.highlight .gp {
color: #000080;
font-weight: bold
}
/* Generic.Prompt */
.highlight .gs {
font-weight: bold
}
/* Generic.Strong */
.highlight .gu {
color: #800080;
font-weight: bold
}
/* Generic.Subheading */
.highlight .gt {
color: #0044DD
}
/* Generic.Traceback */
.highlight .kc {
color: #008000;
font-weight: bold
}
/* Keyword.Constant */
.highlight .kd {
color: #008000;
font-weight: bold
}
/* Keyword.Declaration */
.highlight .kn {
color: #F84FA9;
font-weight: 500
}
/* Keyword.Namespace */
.highlight .kp {
color: #008000
}
/* Keyword.Pseudo */
.highlight .kr {
color: #008000;
font-weight: bold
}
/* Keyword.Reserved */
.highlight .kt {
color: #B00040
}
/* Keyword.Type */
.highlight .m {
color: #666666
}
/* Literal.Number */
.highlight .s {
color: #BA2121
}
/* Literal.String */
.highlight .na {
color: #7D9029
}
/* Name.Attribute */
.highlight .nb {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin */
.highlight .nc {
color: #0000FF;
font-weight: bold
}
/* Name.Class */
.highlight .no {
color: #880000
}
/* Name.Constant */
.highlight .nd {
color: #AA22FF
}
/* Name.Decorator */
.highlight .ni {
color: #999999;
font-weight: bold
}
/* Name.Entity */
.highlight .ne {
color: #D2413A;
font-weight: bold
}
.doc-botapi_icq .highlight .nb, .doc-botapi_icq .highlight .nn, .doc-botapi_icq .highlight .nf, .doc-botapi_icq .highlight .ow {
color: #08A03C;
}
.doc-botapi_agent .highlight .nb, .doc-botapi_agent .highlight .nn, .doc-botapi_agent .highlight .nf, .doc-botapi_agent .highlight .ow {
color: #2D90F5;
}
/* Name.Exception */
.highlight .nf {
color: #201A75;
font-weight: 500
}
/* Name.Function */
.highlight .nl {
color: #A0A000
}
/* Name.Label */
.highlight .nn {
color: #201A75;
font-weight: 500
}
/* Name.Namespace */
.highlight .nt {
color: #008000;
font-weight: bold
}
/* Name.Tag */
.highlight .nv {
color: #19177C
}
/* Name.Variable */
.highlight .ow {
color: #201A75;
font-weight: 500
}
/* Operator.Word */
.highlight .w {
color: #bbbbbb
}
/* Text.Whitespace */
.highlight .mb {
color: #666666
}
/* Literal.Number.Bin */
.highlight .mf {
color: #666666
}
/* Literal.Number.Float */
.highlight .mh {
color: #666666
}
/* Literal.Number.Hex */
.highlight .mi {
color: #666666
}
/* Literal.Number.Integer */
.highlight .mo {
color: #666666
}
/* Literal.Number.Oct */
.highlight .sa {
color: #BA2121
}
/* Literal.String.Affix */
.highlight .sb {
color: #BA2121
}
/* Literal.String.Backtick */
.highlight .sc {
color: #BA2121
}
/* Literal.String.Char */
.highlight .dl {
color: #BA2121
}
/* Literal.String.Delimiter */
.highlight .sd {
color: #BA2121;
font-style: italic
}
/* Literal.String.Doc */
.highlight .se {
color: #BB6622;
font-weight: bold
}
/* Literal.String.Escape */
.highlight .sh {
color: #BA2121
}
/* Literal.String.Heredoc */
.highlight .si {
color: #BB6688;
font-weight: bold
}
/* Literal.String.Interpol */
.highlight .sx {
color: #008000
}
/* Literal.String.Other */
.highlight .sr {
color: #BB6688
}
/* Literal.String.Regex */
.highlight .s1 {
color: #F84FA9;
font-weight: 500
}
/* Literal.String.Single */
.highlight .ss {
color: #19177C
}
/* Literal.String.Symbol */
.highlight .bp {
color: #F84FA9;
font-weight: 500
}
/* Name.Builtin.Pseudo */
.highlight .fm {
color: #0000FF
}
/* Name.Function.Magic */
.highlight .vc {
color: #19177C
}
/* Name.Variable.Class */
.highlight .vg {
color: #19177C
}
/* Name.Variable.Global */
.highlight .vi {
color: #19177C
}
/* Name.Variable.Instance */
.highlight .vm {
color: #19177C
}
/* Name.Variable.Magic */
.highlight .il {
color: #666666
}
/* Literal.Number.Integer.Long */
.highlight .s2 {
color: #F84FA9;
font-weight: 500;
}
a.anchor-link {
display: block;
position: relative;
top: -25px;
visibility: hidden;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,67 @@
<!doctype html>
<html lang="en">
<head>
<title>Programming Fields | Login Form | Password Reset | </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS v5.0.2 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div class="container py-5">
<div class="row">
<div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 m-auto">
<form action="{{ route('reset-password') }}" method="post" autocomplete="off">
@csrf
@method('PUT')
<div class="card shadow">
@if (Session::has("success"))
<div class="alert alert-success alert-dismissible fade show">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
{{ Session::get('success') }}
</div>
@elseif (Session::has("failed"))
<div class="alert alert-danger alert-dismissible fade show">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
{{ Session::get('failed') }}
</div>
@endif
<div class="card-header">
<h5 class="card-title"> Change Password </h5>
</div>
<div class="card-body px-4">
<input type="hidden" name="email" value="{{ $email }} "/>
<div class="form-group py-2">
<label> Password </label>
<input type="password" name="password" class="form-control {{$errors->first('password') ? 'is-invalid' : ''}}" value="{{ old('password') }}" placeholder="New Password">
{!! $errors->first('password', '<div class="invalid-feedback">:message</div>') !!}
</div>
<div class="form-group py-2">
<label> Confirm Password </label>
<input type="password" name="confirm_password" class="form-control {{$errors->first('confirm_password') ? 'is-invalid' : ''}}" value="{{ old('confirm_password') }}" placeholder="Confirm Password">
{!! $errors->first('confirm_password', '<div class="invalid-feedback">:message</div>') !!}
</div>
</div>
<div class="card-footer">
<button type="submit" class="btn btn-primary"> Change Password </button>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- Bootstrap JavaScript Libraries -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
</body>
</html>

View File

@ -19,11 +19,16 @@
{
box-sizing: inherit;
}
body {
margin:0;
background: #fafafa;
}
.swagger-ui .opblock.opblock-post, .swagger-ui .opblock.opblock-get{
margin: 15px 0px;
padding: 7px;
border: none;
box-shadow: none
}
</style>
</head>

View File

@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\AuthController;
use App\Http\Controllers\TestController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
@ -23,8 +24,7 @@
Route::post('/register', [AuthController::class, 'register']);
Route::post('/login', [AuthController::class, 'login']);
Route::post('/forgot-password', [AuthController::class, 'sendPasswordResetLinkEmail'])->name('passwords.sent');
Route::post('/reset', [AuthController::class, 'sendResetResponse'])->name('passwords.reset');
Route::get('/forgot-password/{token}', [AuthController::class, 'forgotPasswordValidate']);
Route::get('/users', [TestController::class, 'users']);
Route::middleware(['auth.client','auth:api'])->group(function () {
Route::get('/client', [AuthController::class, 'client']);

View File

@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\AuthController;
use Illuminate\Support\Facades\Route;
/*
@ -16,3 +17,5 @@
Route::get('/', function () {
return view('welcome');
});
Route::get('/forgot-password/{token}', [AuthController::class, 'forgotPasswordValidate']);
Route::put('reset-password', [AuthController::class, 'updatePassword'])->name('reset-password');

View File

@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"title": "Legalization API - Authorization",
"title": "Legalization API",
"version": "1.0.1"
},
"paths": {