From 39a8f62644ef94a3e4767881aedf3e189025465b Mon Sep 17 00:00:00 2001 From: Christian Pleintinger Date: Wed, 27 Nov 2024 10:48:47 +0100 Subject: [PATCH] deploy --- 404.html | 21 + assets/css/0.styles.1dc654f6.css | 1 + assets/img/search.83621669.svg | 1 + assets/js/10.873c2ab3.js | 1 + assets/js/11.e3613295.js | 1 + assets/js/12.ef468fb2.js | 1 + assets/js/13.4d29fb67.js | 1 + assets/js/14.67c3901d.js | 1 + assets/js/15.45a7be18.js | 1 + assets/js/16.e2c4c6c0.js | 1 + assets/js/17.f088990d.js | 1 + assets/js/18.dd66fc0b.js | 1 + assets/js/19.e93272e9.js | 1 + assets/js/2.b42df74b.js | 1 + assets/js/20.b97386e4.js | 1 + assets/js/21.49b70fbb.js | 1 + assets/js/22.c8980cde.js | 1 + assets/js/23.9557da7d.js | 1 + assets/js/24.47efc3b0.js | 1 + assets/js/25.5f971005.js | 1 + assets/js/26.2788fdd9.js | 1 + assets/js/27.fa1b25e5.js | 1 + assets/js/28.3519dd90.js | 1 + assets/js/29.9e02da3e.js | 1 + assets/js/3.b945fc29.js | 1 + assets/js/30.1a860598.js | 1 + assets/js/31.28fd7709.js | 1 + assets/js/32.38fa28d0.js | 1 + assets/js/33.b978ea78.js | 1 + assets/js/34.cd341319.js | 1 + assets/js/35.e022343d.js | 1 + assets/js/36.bfebc2b2.js | 1 + assets/js/37.59d1645d.js | 1 + assets/js/38.510fa1a3.js | 1 + assets/js/39.52a19d7a.js | 1 + assets/js/4.5569d4e5.js | 1 + assets/js/40.1bd3ee82.js | 1 + assets/js/5.20fd0361.js | 1 + assets/js/6.ea4521c0.js | 1 + assets/js/7.2e636d45.js | 1 + assets/js/8.572e6292.js | 1 + assets/js/9.eeaf7729.js | 1 + assets/js/app.6d8fd644.js | 15 + autodns_logo.svg | 61 +++ config/index.html | 37 ++ guide/api_tasks/certificate.html | 46 ++ guide/api_tasks/contact.html | 46 ++ guide/api_tasks/document.html | 46 ++ guide/api_tasks/domain.html | 46 ++ guide/api_tasks/domain_cancelation.html | 46 ++ guide/api_tasks/domainstudio.html | 47 ++ guide/api_tasks/pc_domains.html | 46 ++ guide/api_tasks/poll.html | 46 ++ guide/api_tasks/redirect.html | 46 ++ guide/api_tasks/ssl_contact.html | 46 ++ guide/api_tasks/transfer_out.html | 46 ++ guide/api_tasks/trusted_app.html | 46 ++ guide/api_tasks/user.html | 46 ++ guide/api_tasks/whois.html | 46 ++ guide/api_tasks/zone.html | 46 ++ guide/changelog.html | 47 ++ guide/constants/acl_restriction.html | 51 ++ guide/constants/contact_types.html | 51 ++ guide/constants/crypto.html | 50 ++ guide/constants/registry_status.html | 56 ++ guide/constants/time_unit.html | 59 +++ guide/examples.html | 46 ++ guide/exception.html | 77 +++ guide/headers.html | 77 +++ guide/installation.html | 105 ++++ guide/instantiating_models.html | 48 ++ guide/logging.html | 70 +++ guide/model_properties.html | 65 +++ guide/preamble.html | 53 ++ guide/requests.html | 120 +++++ guide/working_with_models.html | 87 ++++ index.html | 31 ++ internetx-logo.svg | 663 ++++++++++++++++++++++++ 78 files changed, 2622 insertions(+) create mode 100644 404.html create mode 100644 assets/css/0.styles.1dc654f6.css create mode 100644 assets/img/search.83621669.svg create mode 100644 assets/js/10.873c2ab3.js create mode 100644 assets/js/11.e3613295.js create mode 100644 assets/js/12.ef468fb2.js create mode 100644 assets/js/13.4d29fb67.js create mode 100644 assets/js/14.67c3901d.js create mode 100644 assets/js/15.45a7be18.js create mode 100644 assets/js/16.e2c4c6c0.js create mode 100644 assets/js/17.f088990d.js create mode 100644 assets/js/18.dd66fc0b.js create mode 100644 assets/js/19.e93272e9.js create mode 100644 assets/js/2.b42df74b.js create mode 100644 assets/js/20.b97386e4.js create mode 100644 assets/js/21.49b70fbb.js create mode 100644 assets/js/22.c8980cde.js create mode 100644 assets/js/23.9557da7d.js create mode 100644 assets/js/24.47efc3b0.js create mode 100644 assets/js/25.5f971005.js create mode 100644 assets/js/26.2788fdd9.js create mode 100644 assets/js/27.fa1b25e5.js create mode 100644 assets/js/28.3519dd90.js create mode 100644 assets/js/29.9e02da3e.js create mode 100644 assets/js/3.b945fc29.js create mode 100644 assets/js/30.1a860598.js create mode 100644 assets/js/31.28fd7709.js create mode 100644 assets/js/32.38fa28d0.js create mode 100644 assets/js/33.b978ea78.js create mode 100644 assets/js/34.cd341319.js create mode 100644 assets/js/35.e022343d.js create mode 100644 assets/js/36.bfebc2b2.js create mode 100644 assets/js/37.59d1645d.js create mode 100644 assets/js/38.510fa1a3.js create mode 100644 assets/js/39.52a19d7a.js create mode 100644 assets/js/4.5569d4e5.js create mode 100644 assets/js/40.1bd3ee82.js create mode 100644 assets/js/5.20fd0361.js create mode 100644 assets/js/6.ea4521c0.js create mode 100644 assets/js/7.2e636d45.js create mode 100644 assets/js/8.572e6292.js create mode 100644 assets/js/9.eeaf7729.js create mode 100644 assets/js/app.6d8fd644.js create mode 100644 autodns_logo.svg create mode 100644 config/index.html create mode 100644 guide/api_tasks/certificate.html create mode 100644 guide/api_tasks/contact.html create mode 100644 guide/api_tasks/document.html create mode 100644 guide/api_tasks/domain.html create mode 100644 guide/api_tasks/domain_cancelation.html create mode 100644 guide/api_tasks/domainstudio.html create mode 100644 guide/api_tasks/pc_domains.html create mode 100644 guide/api_tasks/poll.html create mode 100644 guide/api_tasks/redirect.html create mode 100644 guide/api_tasks/ssl_contact.html create mode 100644 guide/api_tasks/transfer_out.html create mode 100644 guide/api_tasks/trusted_app.html create mode 100644 guide/api_tasks/user.html create mode 100644 guide/api_tasks/whois.html create mode 100644 guide/api_tasks/zone.html create mode 100644 guide/changelog.html create mode 100644 guide/constants/acl_restriction.html create mode 100644 guide/constants/contact_types.html create mode 100644 guide/constants/crypto.html create mode 100644 guide/constants/registry_status.html create mode 100644 guide/constants/time_unit.html create mode 100644 guide/examples.html create mode 100644 guide/exception.html create mode 100644 guide/headers.html create mode 100644 guide/installation.html create mode 100644 guide/instantiating_models.html create mode 100644 guide/logging.html create mode 100644 guide/model_properties.html create mode 100644 guide/preamble.html create mode 100644 guide/requests.html create mode 100644 guide/working_with_models.html create mode 100644 index.html create mode 100644 internetx-logo.svg diff --git a/404.html b/404.html new file mode 100644 index 00000000..a971de3e --- /dev/null +++ b/404.html @@ -0,0 +1,21 @@ + + + + + + PHP Domainrobot SDK Documentation + + + + + + + + + + + +

404

Looks like we've got some broken links.
Take me home.
+ + + diff --git a/assets/css/0.styles.1dc654f6.css b/assets/css/0.styles.1dc654f6.css new file mode 100644 index 00000000..8313786f --- /dev/null +++ b/assets/css/0.styles.1dc654f6.css @@ -0,0 +1 @@ +.medium-zoom-overlay{z-index:100}.medium-zoom-overlay~img{z-index:101}html{scroll-behavior:smooth}.theme-default-content code{color:#476582;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.theme-default-content code .token.deleted{color:#ec5975}.theme-default-content code .token.inserted{color:#f44300}.theme-default-content pre,.theme-default-content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.theme-default-content pre[class*=language-] code,.theme-default-content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#282c34;border-radius:6px}div[class*=language-] .highlight-lines{-webkit-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;-webkit-user-select:none;user-select:none;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#282c34}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-docker]:before{content:"docker"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-makefile]:before{content:"makefile"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.tip{background-color:#f3f5f7;border-color:#42b983}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #ccc}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #ccc}.theme-default-content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.theme-default-content:not(.custom){padding:2rem}}@media (max-width:419px){.theme-default-content:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}body,html{padding:0;margin:0;background-color:#fff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#2c3e50}.page{padding-left:15rem}.navbar{z-index:20;right:0;height:4rem;background-color:$headerBg;box-sizing:border-box;border-bottom:1px solid #eaecef}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none}.sidebar{font-size:16px;background-color:#fff;width:15rem;position:fixed;z-index:10;margin:0;top:4rem;bottom:0;box-sizing:border-box;border-right:1px solid #eaecef;overflow-y:auto}.sidebar::-webkit-scrollbar{width:8px;height:12px}.sidebar::-webkit-scrollbar-thumb{background-color:hsla(0,0%,44.3%,.06);border-radius:12px}.sidebar::-webkit-scrollbar-thumb:hover{background-color:#3eaf7c;border-radius:12px}.theme-default-content:not(.custom)>:first-child{margin-top:4rem}.theme-default-content:not(.custom) a:hover{text-decoration:underline}.theme-default-content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.theme-default-content:not(.custom) img{max-width:100%}.theme-default-content.custom{padding:0;margin:0}.theme-default-content.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#f44300}p a code{font-weight:400}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd;border-radius:.15rem;padding:0 .15em}blockquote{font-size:1rem;color:#999;border-left:.2rem solid #dfe2e5;margin:1rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}.theme-default-content:not(.custom)>h1,.theme-default-content:not(.custom)>h2,.theme-default-content:not(.custom)>h3,.theme-default-content:not(.custom)>h4,.theme-default-content:not(.custom)>h5,.theme-default-content:not(.custom)>h6{margin-top:-3.5rem;padding-top:5rem;margin-bottom:0}.theme-default-content:not(.custom)>h1:first-child,.theme-default-content:not(.custom)>h2:first-child,.theme-default-content:not(.custom)>h3:first-child,.theme-default-content:not(.custom)>h4:first-child,.theme-default-content:not(.custom)>h5:first-child,.theme-default-content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.theme-default-content:not(.custom)>h1:first-child+.custom-block,.theme-default-content:not(.custom)>h1:first-child+p,.theme-default-content:not(.custom)>h1:first-child+pre,.theme-default-content:not(.custom)>h2:first-child+.custom-block,.theme-default-content:not(.custom)>h2:first-child+p,.theme-default-content:not(.custom)>h2:first-child+pre,.theme-default-content:not(.custom)>h3:first-child+.custom-block,.theme-default-content:not(.custom)>h3:first-child+p,.theme-default-content:not(.custom)>h3:first-child+pre,.theme-default-content:not(.custom)>h4:first-child+.custom-block,.theme-default-content:not(.custom)>h4:first-child+p,.theme-default-content:not(.custom)>h4:first-child+pre,.theme-default-content:not(.custom)>h5:first-child+.custom-block,.theme-default-content:not(.custom)>h5:first-child+p,.theme-default-content:not(.custom)>h5:first-child+pre,.theme-default-content:not(.custom)>h6:first-child+.custom-block,.theme-default-content:not(.custom)>h6:first-child+p,.theme-default-content:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #eaecef}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #eaecef}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5;padding:.6em 1em}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .theme-default-content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:12.299999999999999rem}.page{padding-left:12.299999999999999rem}}@media (max-width:719px){.sidebar{top:0;padding-top:4rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width:419px){h1{font-size:1.9rem}.theme-default-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.home .hero img{max-width:450px!important}#nprogress{pointer-events:none}#nprogress .bar{background:#f44300;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #f44300,0 0 5px #f44300;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#f44300 transparent transparent #f44300;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.gist[data-v-5fd4ef0c]{color:#333;direction:ltr;font-size:16px;text-align:left}.gist .markdown-body[data-v-5fd4ef0c]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.5;word-wrap:break-word}.gist .markdown-body[data-v-5fd4ef0c]:before{content:"";display:table}.gist .markdown-body[data-v-5fd4ef0c]:after{clear:both;content:"";display:table}.gist .markdown-body[data-v-5fd4ef0c]>:first-child{margin-top:0!important}.gist .markdown-body[data-v-5fd4ef0c]>:last-child{margin-bottom:0!important}.gist .markdown-body a[data-v-5fd4ef0c]:not([href]){color:inherit;text-decoration:none}.gist .markdown-body .absent[data-v-5fd4ef0c]{color:#cb2431}.gist .markdown-body .anchor[data-v-5fd4ef0c]{float:left;line-height:1;margin-left:-20px;padding-right:4px;display:none}.gist .markdown-body .anchor[data-v-5fd4ef0c]:focus{outline:none}.gist .markdown-body hr[data-v-5fd4ef0c]{background-color:#e1e4e8;border:0;height:.25em;margin:24px 0;padding:0}.gist .markdown-body blockquote[data-v-5fd4ef0c]{border-left:.25em solid #dfe2e5;color:#6a737d;padding:0 1em}.gist .markdown-body blockquote[data-v-5fd4ef0c]>:first-child{margin-top:0}.gist .markdown-body blockquote[data-v-5fd4ef0c]>:last-child{margin-bottom:0}.gist .markdown-body kbd[data-v-5fd4ef0c]{background-color:#fafbfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.gist .markdown-body h1[data-v-5fd4ef0c]{font-size:2em}.gist .markdown-body h2[data-v-5fd4ef0c]{font-size:1.5em}.gist .markdown-body h3[data-v-5fd4ef0c]{font-size:1.25em}.gist .markdown-body h4[data-v-5fd4ef0c]{font-size:1em}.gist .markdown-body h5[data-v-5fd4ef0c]{font-size:.875em}.gist .markdown-body h6[data-v-5fd4ef0c]{color:#6a737d;font-size:.85em}.gist .markdown-body li[data-v-5fd4ef0c]{word-wrap:break-all}.gist .markdown-body li>p[data-v-5fd4ef0c]{margin-top:16px}.gist .markdown-body li+li[data-v-5fd4ef0c]{margin-top:.25em}.gist .markdown-body dl[data-v-5fd4ef0c]{padding:0}.gist .markdown-body dl dt[data-v-5fd4ef0c]{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.gist .markdown-body dl dd[data-v-5fd4ef0c]{margin-bottom:16px;padding:0 16px}.gist .markdown-body table[data-v-5fd4ef0c]{display:block;overflow:auto;width:100%}.gist .markdown-body table th[data-v-5fd4ef0c]{font-weight:600}.gist .markdown-body table tr[data-v-5fd4ef0c]{background-color:#fff;border-top:1px solid #c6cbd1}.gist .markdown-body table tr[data-v-5fd4ef0c]:nth-child(2n){background-color:#f6f8ff}.gist .markdown-body table img[data-v-5fd4ef0c]{background-color:transparent}.gist .markdown-body img[data-v-5fd4ef0c]{background-color:#fff;box-sizing:content-box;max-width:100%}.gist .markdown-body img[align=right][data-v-5fd4ef0c]{padding-left:20px}.gist .markdown-body img[align=left][data-v-5fd4ef0c]{padding-right:20px}.gist .markdown-body .emoji[data-v-5fd4ef0c]{background-color:transparent;max-width:none;vertical-align:text-top}.gist .markdown-body span.frame[data-v-5fd4ef0c]{display:block;overflow:hidden}.gist .markdown-body span.frame>span[data-v-5fd4ef0c]{border:1px solid #dfe2e5;display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.gist .markdown-body span.frame span img[data-v-5fd4ef0c]{display:block;float:left}.gist .markdown-body span.frame span span[data-v-5fd4ef0c]{clear:both;color:#24292e;display:block;padding:5px 0 0}.gist .markdown-body span.align-center[data-v-5fd4ef0c]{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-center>span[data-v-5fd4ef0c]{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.gist .markdown-body span.align-center span img[data-v-5fd4ef0c]{margin:0 auto;text-align:center}.gist .markdown-body span.align-right[data-v-5fd4ef0c]{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-right>span[data-v-5fd4ef0c]{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.gist .markdown-body span.align-right span img[data-v-5fd4ef0c]{margin:0;text-align:right}.gist .markdown-body span.float-left[data-v-5fd4ef0c]{display:block;float:left;margin-right:13px;overflow:hidden}.gist .markdown-body span.float-left span[data-v-5fd4ef0c]{margin:13px 0 0}.gist .markdown-body span.float-right[data-v-5fd4ef0c]{display:block;float:right;margin-left:13px;overflow:hidden}.gist .markdown-body span.float-right>span[data-v-5fd4ef0c]{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.gist .markdown-body del code[data-v-5fd4ef0c]{text-decoration:inherit}.gist .markdown-body pre[data-v-5fd4ef0c]{word-wrap:normal}.gist .markdown-body pre>code[data-v-5fd4ef0c]{background:transparent;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.gist .markdown-body .highlight[data-v-5fd4ef0c]{margin-bottom:16px}.gist .markdown-body .highlight pre[data-v-5fd4ef0c]{margin-bottom:0;word-break:normal}.gist .markdown-body .csv-data .blob-num[data-v-5fd4ef0c]{background:#fff;border:0;padding:10px 8px 9px;text-align:right}.gist .markdown-body .csv-data tr[data-v-5fd4ef0c]{border-top:0}.gist .markdown-body .csv-data th[data-v-5fd4ef0c]{background:#f6f8fa;border-top:0;font-weight:600}.gist .pl-c[data-v-5fd4ef0c]{color:#6a737d}.gist .pl-ent[data-v-5fd4ef0c]{color:#22863a}.gist .pl-k[data-v-5fd4ef0c]{color:#d73a49}.gist .pl-bu[data-v-5fd4ef0c]{color:#b31d28}.gist .pl-ii[data-v-5fd4ef0c]{background-color:#b31d28;color:#fafbfc}.gist .pl-c2[data-v-5fd4ef0c]{background-color:#d73a49;color:#fafbfc}.gist .pl-c2[data-v-5fd4ef0c]:before{content:"^M"}.gist .pl-sr .pl-cce[data-v-5fd4ef0c]{color:#22863a;font-weight:700}.gist .pl-ml[data-v-5fd4ef0c]{color:#735c0f}.gist .pl-mi[data-v-5fd4ef0c]{color:#24292e;font-style:italic}.gist .pl-mb[data-v-5fd4ef0c]{color:#24292e;font-weight:700}.gist .pl-md[data-v-5fd4ef0c]{background-color:#ffeef0;color:#b31d28}.gist .pl-mi1[data-v-5fd4ef0c]{background-color:#f0fff4;color:#22863a}.gist .pl-mc[data-v-5fd4ef0c]{background-color:#ffebda;color:#e36209}.gist .pl-mi2[data-v-5fd4ef0c]{background-color:#005cc5;color:#f6f8fa}.gist .pl-mdr[data-v-5fd4ef0c]{color:#6f42c1;font-weight:700}.gist .pl-ba[data-v-5fd4ef0c]{color:#586069}.gist .pl-sg[data-v-5fd4ef0c]{color:#959da5}.gist .pl-corl[data-v-5fd4ef0c]{color:#032f62;text-decoration:underline}.gist .breadcrumb[data-v-5fd4ef0c]{color:#586069;font-size:16px}.gist .breadcrumb .separator[data-v-5fd4ef0c]{white-space:pre-wrap}.gist .breadcrumb strong.final-path[data-v-5fd4ef0c]{color:#24292e}.gist .editor-abort[data-v-5fd4ef0c]{display:inline;font-size:14px}.gist .blob-interaction-bar[data-v-5fd4ef0c]{background-color:#f2f2f2;border-bottom:1px solid #e5e5e5;position:relative}.gist .blob-interaction-bar[data-v-5fd4ef0c]:before{content:"";display:table}.gist .blob-interaction-bar[data-v-5fd4ef0c]:after{clear:both;content:"";display:table}.gist .blob-interaction-bar .octicon-search[data-v-5fd4ef0c]{color:#586069;font-size:12px;left:10px;position:absolute;top:10px}.gist .blob-filter[data-v-5fd4ef0c]{border:0;border-radius:0;font-size:12px;outline:none;padding:4px 20px 5px 30px;width:100%}.gist .blob-filter[data-v-5fd4ef0c]:focus{outline:none}.gist .html-blob[data-v-5fd4ef0c]{margin-bottom:15px}.gist .TagsearchPopover[data-v-5fd4ef0c]{max-width:600px;width:inherit}.gist .TagsearchPopover-content[data-v-5fd4ef0c]{max-height:300px}.gist .TagsearchPopover-list .TagsearchPopover-list-item[data-v-5fd4ef0c]:hover{background-color:#f6f8fa}.gist .TagsearchPopover-list .TagsearchPopover-list-item .TagsearchPopover-item[data-v-5fd4ef0c]:hover{text-decoration:none}.gist .TagsearchPopover-list .blob-code-inner[data-v-5fd4ef0c]{white-space:pre-wrap}.gist .license-summary-octicon[data-v-5fd4ef0c]{color:#959da5}.gist .rule-type-permissions[data-v-5fd4ef0c]{color:#28a745}.gist .rule-type-conditions[data-v-5fd4ef0c]{color:#0366d6}.gist .rule-type-limitations[data-v-5fd4ef0c]{color:#d73a49}.gist .linejump .linejump-input[data-v-5fd4ef0c]{background-color:#fafbfc;width:340px}.gist .blob-wrapper[data-v-5fd4ef0c]{overflow-x:auto;overflow-y:hidden}.gist .blob-wrapper table[data-v-5fd4ef0c]{border-collapse:collapse}.gist .blob-wrapper tr:first-child td[data-v-5fd4ef0c]{padding-top:4px}.gist .page-blob.height-full .blob-wrapper[data-v-5fd4ef0c]{overflow-y:auto}.gist .page-edit-blob.height-full .CodeMirror[data-v-5fd4ef0c]{height:300px}.gist .blob-wrapper-embedded[data-v-5fd4ef0c]{max-height:240px;overflow-y:auto}.gist .diff-table[data-v-5fd4ef0c]{border-collapse:separate;width:100%}.gist .diff-table .line-comments[data-v-5fd4ef0c]{border-top:1px solid #e1e4e8;padding:10px;vertical-align:top}.gist .diff-table .line-comments:first-child+.empty-cell[data-v-5fd4ef0c]{border-left-width:1px}.gist .diff-table tr:not(:last-child) .line-comments[data-v-5fd4ef0c]{border-bottom:1px solid #e1e4e8;border-top:1px solid #e1e4e8}.gist .blob-num[data-v-5fd4ef0c]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:rgba(27,31,35,.3);cursor:pointer;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;min-width:50px;padding-left:10px;padding-right:10px;text-align:right;user-select:none;vertical-align:top;white-space:nowrap;width:1%;min-width:inherit}.gist .blob-num[data-v-5fd4ef0c]:hover{color:rgba(27,31,35,.6)}.gist .blob-num[data-v-5fd4ef0c]:before{content:attr(data-line-number)}.gist .blob-num.non-expandable[data-v-5fd4ef0c]{cursor:default}.gist .blob-num.non-expandable[data-v-5fd4ef0c]:hover{color:rgba(27,31,35,.3)}.gist .blob-code[data-v-5fd4ef0c]{line-height:20px;padding-left:10px;padding-right:10px;position:relative;vertical-align:top;border:0;text-align:left}.gist .blob-code-inner[data-v-5fd4ef0c]{color:#24292e;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;overflow:visible;white-space:pre;word-wrap:normal}.gist .blob-code-inner .x-first[data-v-5fd4ef0c]{border-bottom-left-radius:.2em;border-top-left-radius:.2em}.gist .blob-code-inner .x-last[data-v-5fd4ef0c]{border-bottom-right-radius:.2em;border-top-right-radius:.2em}.gist .blob-code-marker[data-v-5fd4ef0c]:before{content:attr(data-code-marker)}.gist .blob-code-marker-cell[data-v-5fd4ef0c]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;width:1em}.gist .blob-code-marker-cell[data-v-5fd4ef0c]:before{content:attr(data-code-marker);display:block;height:0;width:0}.gist .blob-code-marker-addition[data-v-5fd4ef0c]:before{content:"+ "}.gist .blob-code-marker-deletion[data-v-5fd4ef0c]:before{content:"- "}.gist .blob-code-marker-context[data-v-5fd4ef0c]:before{content:" "}.gist .soft-wrap .diff-table[data-v-5fd4ef0c]{table-layout:fixed}.gist .soft-wrap .blob-code[data-v-5fd4ef0c]{padding-left:18px;text-indent:-7px}.gist .soft-wrap .blob-code-inner[data-v-5fd4ef0c]{white-space:pre-wrap;word-wrap:break-word}.gist .soft-wrap .no-nl-marker[data-v-5fd4ef0c]{display:none}.gist .soft-wrap .add-line-comment[data-v-5fd4ef0c]{margin-left:-28px}.gist .blob-code-hunk[data-v-5fd4ef0c]{background-color:#f1f8ff;border-width:1px 0;padding-bottom:4px;padding-top:4px}.gist .blob-expanded .blob-num-hunk[data-v-5fd4ef0c]{border-top:1px solid #eaecef}.gist .blob-num-expandable[data-v-5fd4ef0c]{font-size:12px;padding:0;text-align:center}.gist .blob-num-expandable .diff-expander[data-v-5fd4ef0c]{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;padding:4px 11px 4px 10px;width:auto}.gist .blob-num-expandable .diff-expander .octicon[data-v-5fd4ef0c]{vertical-align:top}.gist .blob-num-expandable .directional-expander[data-v-5fd4ef0c]{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;width:auto}.gist .blob-num-expandable .single-expander[data-v-5fd4ef0c]{padding-bottom:4px;padding-top:4px}.gist .blob-code-addition[data-v-5fd4ef0c]{background-color:#e6ffed}.gist .blob-code-addition .x[data-v-5fd4ef0c]{background-color:#acf2bd;color:#24292e}.gist .blob-num-addition[data-v-5fd4ef0c]{background-color:#cdffd8;border-color:#bef5cb}.gist .blob-code-deletion[data-v-5fd4ef0c]{background-color:#ffeef0}.gist .blob-code-deletion .x[data-v-5fd4ef0c]{background-color:#fdb8c0;color:#24292e}.gist .blob-num-deletion[data-v-5fd4ef0c]{background-color:#ffdce0;border-color:#fdaeb7}.gist .selected-line.blob-code[data-v-5fd4ef0c]{background-color:#fffbdd}.gist .selected-line.blob-code .x[data-v-5fd4ef0c]{background-color:transparent}.gist .selected-line.blob-num[data-v-5fd4ef0c]{background-color:#fff5b1;border-color:#ffea7f}.gist .add-line-comment[data-v-5fd4ef0c]{background-color:#0366d6;background-image:linear-gradient(#0372ef,#0366d6);border-radius:3px;box-shadow:0 1px 4px rgba(27,31,35,.15);color:#fff;cursor:pointer;float:left;height:22px;line-height:21px;margin:-2px -10px -2px -20px;opacity:0;position:relative;text-align:center;text-indent:0;transform:scale(.8);transition:transform .1s ease-in-out;width:22px;z-index:5}.gist .add-line-comment[data-v-5fd4ef0c]:hover{transform:scale(1)}.gist .add-line-comment .octicon[data-v-5fd4ef0c]{pointer-events:none;vertical-align:text-top}.gist .add-line-comment.octicon-check[data-v-5fd4ef0c]{background:#333;opacity:1}.gist .inline-comment-form[data-v-5fd4ef0c]{border:1px solid #dfe2e5;border-radius:3px}.gist .inline-review-comment[data-v-5fd4ef0c]{margin-bottom:10px!important;margin-top:0!important}.gist .inline-review-comment tr[data-v-5fd4ef0c]:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.gist .timeline-inline-comments[data-v-5fd4ef0c]{table-layout:fixed;width:100%}.gist .inline-comments .line-comments.is-collapsed[data-v-5fd4ef0c]{visibility:hidden}.gist .inline-comments .line-comments+.blob-num[data-v-5fd4ef0c]{border-left-width:1px}.gist .inline-comments .timeline-comment[data-v-5fd4ef0c]{margin-bottom:10px}.gist .file-diff-split[data-v-5fd4ef0c]{table-layout:fixed}.gist .file-diff-split .blob-code+.blob-num[data-v-5fd4ef0c]{border-left:1px solid #f6f8fa}.gist .file-diff-split .blob-code-inner[data-v-5fd4ef0c]{white-space:pre-wrap;word-wrap:break-word}.gist .file-diff-split .empty-cell[data-v-5fd4ef0c]{background-color:#fafbfc;border-right-color:#eaecef;cursor:default}.gist .file-diff-split markdown-toolbar[data-v-5fd4ef0c]{bottom:-40px;position:absolute;right:8px}.gist .submodule-diff-stats .octicon-diff-removed[data-v-5fd4ef0c]{color:#cb2431}.gist .submodule-diff-stats .octicon-diff-renamed[data-v-5fd4ef0c]{color:#677a85}.gist .submodule-diff-stats .octicon-diff-modified[data-v-5fd4ef0c]{color:#d0b44c}.gist .submodule-diff-stats .octicon-diff-added[data-v-5fd4ef0c]{color:#28a745}.gist .BlobToolbar[data-v-5fd4ef0c]{left:-17px}.gist .BlobToolbar-dropdown[data-v-5fd4ef0c]{margin-left:-2px}.gist .code-navigation-banner[data-v-5fd4ef0c]{background:linear-gradient(180deg,rgba(242,248,254,0),rgba(242,248,254,.47))}.gist .code-navigation-banner .code-navigation-banner-illo[data-v-5fd4ef0c]{background-image:url(/images/modules/blob/code-navigation-banner-illo.svg);background-position:50%;background-repeat:no-repeat}.gist .task-list-item[data-v-5fd4ef0c]{list-style-type:none}.gist .task-list-item label[data-v-5fd4ef0c]{font-weight:400}.gist .task-list-item.enabled label[data-v-5fd4ef0c]{cursor:pointer}.gist .task-list-item+.task-list-item[data-v-5fd4ef0c]{margin-top:3px}.gist .task-list-item .handle[data-v-5fd4ef0c]{display:none}.gist .task-list-item-checkbox[data-v-5fd4ef0c]{margin:0 .2em .25em -1.6em;vertical-align:middle}.gist .reorderable-task-lists .markdown-body .contains-task-list[data-v-5fd4ef0c]{padding:0}.gist .reorderable-task-lists .markdown-body li[data-v-5fd4ef0c]:not(.task-list-item){margin-left:26px}.gist .reorderable-task-lists .markdown-body li p[data-v-5fd4ef0c]{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item[data-v-5fd4ef0c]{border:1px solid transparent;margin-left:-15px;margin-right:-15px;padding-left:42px;padding-right:15px}.gist .reorderable-task-lists .markdown-body .task-list-item+.task-list-item[data-v-5fd4ef0c]{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item .contains-task-list[data-v-5fd4ef0c]{padding-top:4px}.gist .reorderable-task-lists .markdown-body .task-list-item .handle[data-v-5fd4ef0c]{display:block;float:left;margin-left:-43px;opacity:0;padding:2px 0 0 2px;width:20px}.gist .reorderable-task-lists .markdown-body .task-list-item .drag-handle[data-v-5fd4ef0c]{fill:#333}.gist .reorderable-task-lists .markdown-body .task-list-item.hovered>.handle[data-v-5fd4ef0c]{opacity:1}.gist .reorderable-task-lists .markdown-body .task-list-item.is-dragging[data-v-5fd4ef0c]{opacity:0}.gist .review-comment-contents .markdown-body .task-list-item[data-v-5fd4ef0c]{border-bottom-left-radius:3px;border-top-left-radius:3px;margin-left:-12px;margin-right:-12px;padding-left:42px}.gist .review-comment-contents .markdown-body .task-list-item.hovered[data-v-5fd4ef0c]{border-left-color:#ededed}.gist .highlight[data-v-5fd4ef0c]{background:#fff;border:0;color:#333;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;font-weight:400;line-height:1.4;margin:0;padding:0}.gist iframe.render-viewer[data-v-5fd4ef0c]{border:0;height:480px;overflow:hidden;width:100%}.gist .gist-meta[data-v-5fd4ef0c]{background-color:#f7f7f7;border-radius:0 0 2px 2px;color:#586069;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;overflow:hidden;padding:10px}.gist .gist-meta a[data-v-5fd4ef0c]{box-shadow:none;border:0;color:#666;font-weight:600;text-decoration:none}.gist .gist-meta a[data-v-5fd4ef0c]:hover{box-shadow:none}.gist .gist-data[data-v-5fd4ef0c]{background-color:#fff;border-bottom:1px solid #ddd;border-radius:2px 2px 0 0;overflow:auto;word-wrap:normal}.gist .gist-file[data-v-5fd4ef0c]{border:1px solid;border-color:#ddd #ddd #ccc;border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;margin-bottom:1em}.gist .gist-file article[data-v-5fd4ef0c]{padding:6px}.gist .gist-file .scroll .gist-data[data-v-5fd4ef0c]{bottom:30px;left:0;overflow:scroll;position:absolute;right:0;top:0}.gist .gist-file .scroll .gist-meta[data-v-5fd4ef0c]{bottom:0;left:0;position:absolute;right:0}.gist .markdown-body blockquote[data-v-5fd4ef0c],.gist .markdown-body details[data-v-5fd4ef0c],.gist .markdown-body dl[data-v-5fd4ef0c],.gist .markdown-body ol[data-v-5fd4ef0c],.gist .markdown-body p[data-v-5fd4ef0c],.gist .markdown-body pre[data-v-5fd4ef0c],.gist .markdown-body table[data-v-5fd4ef0c],.gist .markdown-body ul[data-v-5fd4ef0c]{margin-bottom:16px;margin-top:0}.gist .markdown-body h1[data-v-5fd4ef0c],.gist .markdown-body h2[data-v-5fd4ef0c],.gist .markdown-body h3[data-v-5fd4ef0c],.gist .markdown-body h4[data-v-5fd4ef0c],.gist .markdown-body h5[data-v-5fd4ef0c],.gist .markdown-body h6[data-v-5fd4ef0c]{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.gist .markdown-body h1 .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h2 .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h3 .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h4 .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h5 .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h6 .octicon-link[data-v-5fd4ef0c]{color:#1b1f23;vertical-align:middle;visibility:hidden}.gist .markdown-body h1:hover .anchor[data-v-5fd4ef0c],.gist .markdown-body h2:hover .anchor[data-v-5fd4ef0c],.gist .markdown-body h3:hover .anchor[data-v-5fd4ef0c],.gist .markdown-body h4:hover .anchor[data-v-5fd4ef0c],.gist .markdown-body h5:hover .anchor[data-v-5fd4ef0c],.gist .markdown-body h6:hover .anchor[data-v-5fd4ef0c]{text-decoration:none}.gist .markdown-body h1:hover .anchor .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h2:hover .anchor .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h3:hover .anchor .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h4:hover .anchor .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h5:hover .anchor .octicon-link[data-v-5fd4ef0c],.gist .markdown-body h6:hover .anchor .octicon-link[data-v-5fd4ef0c]{visibility:visible}.gist .markdown-body h1 code[data-v-5fd4ef0c],.gist .markdown-body h1 tt[data-v-5fd4ef0c],.gist .markdown-body h2 code[data-v-5fd4ef0c],.gist .markdown-body h2 tt[data-v-5fd4ef0c],.gist .markdown-body h3 code[data-v-5fd4ef0c],.gist .markdown-body h3 tt[data-v-5fd4ef0c],.gist .markdown-body h4 code[data-v-5fd4ef0c],.gist .markdown-body h4 tt[data-v-5fd4ef0c],.gist .markdown-body h5 code[data-v-5fd4ef0c],.gist .markdown-body h5 tt[data-v-5fd4ef0c],.gist .markdown-body h6 code[data-v-5fd4ef0c],.gist .markdown-body h6 tt[data-v-5fd4ef0c]{font-size:inherit}.gist .markdown-body h1[data-v-5fd4ef0c],.gist .markdown-body h2[data-v-5fd4ef0c]{border-bottom:1px solid #eaecef;padding-bottom:.3em}.gist .markdown-body ol[data-v-5fd4ef0c],.gist .markdown-body ul[data-v-5fd4ef0c]{padding-left:2em}.gist .markdown-body ol.no-list[data-v-5fd4ef0c],.gist .markdown-body ul.no-list[data-v-5fd4ef0c]{list-style-type:none;padding:0}.gist .markdown-body ol ol[data-v-5fd4ef0c],.gist .markdown-body ol ul[data-v-5fd4ef0c],.gist .markdown-body ul ol[data-v-5fd4ef0c],.gist .markdown-body ul ul[data-v-5fd4ef0c]{margin-bottom:0;margin-top:0}.gist .markdown-body table td[data-v-5fd4ef0c],.gist .markdown-body table th[data-v-5fd4ef0c]{border:1px solid #dfe2e5;padding:6px 13px}.gist .markdown-body code[data-v-5fd4ef0c],.gist .markdown-body tt[data-v-5fd4ef0c]{background-color:rgba(27,31,35,.05);border-radius:3px;font-size:85%;margin:0;padding:.2em .4em}.gist .markdown-body code br[data-v-5fd4ef0c],.gist .markdown-body tt br[data-v-5fd4ef0c]{display:none}.gist .markdown-body .highlight pre[data-v-5fd4ef0c],.gist .markdown-body pre[data-v-5fd4ef0c]{background-color:#f6f8fa;border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:16px}.gist .markdown-body pre code[data-v-5fd4ef0c],.gist .markdown-body pre tt[data-v-5fd4ef0c]{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal}.gist .markdown-body .csv-data td[data-v-5fd4ef0c],.gist .markdown-body .csv-data th[data-v-5fd4ef0c]{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.gist .pl-c1[data-v-5fd4ef0c],.gist .pl-s .pl-v[data-v-5fd4ef0c]{color:#005cc5}.gist .pl-e[data-v-5fd4ef0c],.gist .pl-en[data-v-5fd4ef0c]{color:#6f42c1}.gist .pl-s .pl-s1[data-v-5fd4ef0c],.gist .pl-smi[data-v-5fd4ef0c]{color:#24292e}.gist .pl-pds[data-v-5fd4ef0c],.gist .pl-s .pl-pse .pl-s1[data-v-5fd4ef0c],.gist .pl-s[data-v-5fd4ef0c],.gist .pl-sr .pl-cce[data-v-5fd4ef0c],.gist .pl-sr .pl-sra[data-v-5fd4ef0c],.gist .pl-sr .pl-sre[data-v-5fd4ef0c],.gist .pl-sr[data-v-5fd4ef0c]{color:#032f62}.gist .pl-smw[data-v-5fd4ef0c],.gist .pl-v[data-v-5fd4ef0c]{color:#e36209}.gist .pl-mh .pl-en[data-v-5fd4ef0c],.gist .pl-mh[data-v-5fd4ef0c],.gist .pl-ms[data-v-5fd4ef0c]{color:#005cc5;font-weight:700}.gist .breadcrumb .separator[data-v-5fd4ef0c]:after,.gist .breadcrumb .separator[data-v-5fd4ef0c]:before{content:" "}.gist .linejump .btn[data-v-5fd4ef0c],.gist .linejump .linejump-input[data-v-5fd4ef0c]{font-size:16px;padding:10px 15px}.gist .page-edit-blob.height-full .CodeMirror-scroll[data-v-5fd4ef0c],.gist .page-edit-blob.height-full .CodeMirror[data-v-5fd4ef0c]{display:flex;flex:1 1 auto;flex-direction:column}.gist .blob-code-inner.highlighted[data-v-5fd4ef0c],.gist .blob-code-inner .highlighted[data-v-5fd4ef0c]{background-color:#fffbdd}.gist .blob-code-hunk[data-v-5fd4ef0c],.gist .blob-num-expandable[data-v-5fd4ef0c],.gist .blob-num-hunk[data-v-5fd4ef0c]{color:rgba(27,31,35,.7);vertical-align:middle}.gist .blob-num-expandable[data-v-5fd4ef0c],.gist .blob-num-hunk[data-v-5fd4ef0c]{background-color:#dbedff}.gist .blob-expanded .blob-code[data-v-5fd4ef0c],.gist .blob-expanded .blob-num[data-v-5fd4ef0c]{background-color:#fafbfc}.gist .blob-expanded+tr:not(.blob-expanded) .blob-code[data-v-5fd4ef0c],.gist .blob-expanded+tr:not(.blob-expanded) .blob-num[data-v-5fd4ef0c],.gist tr:not(.blob-expanded)+.blob-expanded .blob-code[data-v-5fd4ef0c],.gist tr:not(.blob-expanded)+.blob-expanded .blob-num[data-v-5fd4ef0c]{border-top:1px solid #eaecef}.gist .blob-num-expandable .diff-expander[data-v-5fd4ef0c]:hover,.gist .blob-num-expandable .directional-expander[data-v-5fd4ef0c]:hover{background-color:#0366d6;border-color:#0366d6;color:#fff;text-shadow:none}.gist .add-line-comment[data-v-5fd4ef0c]:focus,.is-hovered .gist .add-line-comment[data-v-5fd4ef0c]{opacity:1}.gist .inline-review-comment .gc:first-child+tr .blob-code[data-v-5fd4ef0c],.gist .inline-review-comment .gc:first-child+tr .blob-num[data-v-5fd4ef0c]{padding-top:5px}.gist .inline-review-comment tr:last-child .blob-code[data-v-5fd4ef0c],.gist .inline-review-comment tr:last-child .blob-num[data-v-5fd4ef0c]{padding-bottom:8px}.gist .inline-review-comment tr:last-child .blob-code[data-v-5fd4ef0c]:first-child,.gist .inline-review-comment tr:last-child .blob-num[data-v-5fd4ef0c]:first-child{border-bottom-left-radius:2px}.gist .inline-review-comment tr:last-child .blob-code[data-v-5fd4ef0c]:last-child,.gist .inline-review-comment tr:last-child .blob-num[data-v-5fd4ef0c]:last-child{border-bottom-right-radius:2px}.gist .show-inline-notes .inline-comments[data-v-5fd4ef0c],.gist .timeline-inline-comments .inline-comments[data-v-5fd4ef0c]{display:table-row}.gist .inline-comments.is-collapsed[data-v-5fd4ef0c],.gist .inline-comments[data-v-5fd4ef0c]{display:none}.gist .comment-holder[data-v-5fd4ef0c],.gist .inline-comments .inline-comment-form-container[data-v-5fd4ef0c],.gist .inline-comments .inline-comment-form[data-v-5fd4ef0c]{max-width:780px}.gist .empty-cell+.line-comments[data-v-5fd4ef0c],.gist .line-comments+.line-comments[data-v-5fd4ef0c]{border-left:1px solid #eaecef}.gist .inline-comment-form-container .inline-comment-form[data-v-5fd4ef0c],.gist .inline-comment-form-container.open .inline-comment-form-actions[data-v-5fd4ef0c]{display:none}.gist .inline-comment-form-container .inline-comment-form-actions[data-v-5fd4ef0c],.gist .inline-comment-form-container.open .inline-comment-form[data-v-5fd4ef0c]{display:block}.gist body.full-width .container-lg[data-v-5fd4ef0c],.gist body.full-width .container[data-v-5fd4ef0c],.gist body.split-diff .container-lg[data-v-5fd4ef0c],.gist body.split-diff .container[data-v-5fd4ef0c]{max-width:none;padding-left:20px;padding-right:20px;width:100%}.gist body.full-width .repository-content[data-v-5fd4ef0c],.gist body.split-diff .repository-content[data-v-5fd4ef0c]{width:100%}.gist body.full-width .new-pr-form[data-v-5fd4ef0c],.gist body.split-diff .new-pr-form[data-v-5fd4ef0c]{max-width:980px}@media (max-width:1280px){.gist .file-diff-split .write-selected .comment-form-head.comment-form-head[data-v-5fd4ef0c]{margin-bottom:48px}}.gist .pl-token.active[data-v-5fd4ef0c],.gist .pl-token[data-v-5fd4ef0c]:hover{background:#ffea7f;cursor:pointer}.gist .reorderable-task-lists .markdown-body ol:not(.contains-task-list) li[data-v-5fd4ef0c],.gist .reorderable-task-lists .markdown-body ul:not(.contains-task-list) li[data-v-5fd4ef0c]{margin-left:0}.gist .octospinner[data-v-5fd4ef0c],.gist .render-viewer-error[data-v-5fd4ef0c],.gist .render-viewer-fatal[data-v-5fd4ef0c],.gist .render-viewer-invalid[data-v-5fd4ef0c]{display:none}.gist code[data-v-5fd4ef0c],.gist pre[data-v-5fd4ef0c]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace!important;white-space:pre}.gist .blob-code[data-v-5fd4ef0c],.gist .blob-num[data-v-5fd4ef0c]{background:transparent;padding:1px 10px!important}.custom-block .custom-block-title[data-v-5fd4ef0c]{font-weight:600;margin-bottom:-.4rem}.custom-block.unobtrusive-info[data-v-5fd4ef0c]{background-color:#f3f5f7;border-color:#f3f5f7;margin:1rem 0;padding:.1rem 1.5rem}.custom-block.danger[data-v-5fd4ef0c],.custom-block.noheader[data-v-5fd4ef0c],.custom-block.tip[data-v-5fd4ef0c],.custom-block.warning[data-v-5fd4ef0c]{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.noheader[data-v-5fd4ef0c],.custom-block.tip[data-v-5fd4ef0c]{background-color:#f3f5f7;border-color:#f44300}.custom-block.warning[data-v-5fd4ef0c]{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title[data-v-5fd4ef0c]{color:#b29400}.custom-block.warning a[data-v-5fd4ef0c]{color:#2c3e50}.custom-block.danger[data-v-5fd4ef0c]{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title[data-v-5fd4ef0c]{color:#900}.custom-block.danger a[data-v-5fd4ef0c]{color:#2c3e50}.custom-block.details[data-v-5fd4ef0c]{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4[data-v-5fd4ef0c]{margin-top:0}.custom-block.details figure[data-v-5fd4ef0c]:last-child,.custom-block.details p[data-v-5fd4ef0c]:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary[data-v-5fd4ef0c]{outline:none;cursor:pointer}.go-to-top[data-v-5fd4ef0c]{cursor:pointer;position:fixed;bottom:2rem;right:2.5rem;width:2rem;color:#f44300;z-index:1}.go-to-top[data-v-5fd4ef0c]:hover{color:#ff7845}@media (max-width:959px){.go-to-top[data-v-5fd4ef0c]{display:none}}.fade-enter-active[data-v-5fd4ef0c],.fade-leave-active[data-v-5fd4ef0c]{transition:opacity .3s}.fade-enter[data-v-5fd4ef0c],.fade-leave-to[data-v-5fd4ef0c]{opacity:0}.icon.outbound{color:#aaa;display:inline-block;vertical-align:middle;position:relative;top:-1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto;display:block}.home .hero{text-align:center}.home .hero img{max-width:100%;max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{max-width:35rem;font-size:1.6rem;line-height:1.3;color:#6a8bad}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#fff;background-color:#f44300;padding:.8rem 1.6rem;border-radius:4px;transition:background-color .1s ease;box-sizing:border-box;border-bottom:1px solid #dc3c00}.home .hero .action-button:hover{background-color:#ff5110}.home .features{border-top:1px solid #eaecef;padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#3a5169}.home .feature p{color:#4e6e8e}.home .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#4e6e8e}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;height:2rem;color:#4e6e8e;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/php-domainrobot-sdk/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#f44300}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:2rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#5d82a6}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#f44300}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (-ms-high-contrast:none){.search-box input{height:2rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.sidebar-button{cursor:pointer;display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.8rem;left:1rem}.sidebar-button .icon{color:#fff;display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #3d3d3d;padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#acacac}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #acacac;border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #ccc;border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#282c34;padding:.6rem 0;border:none;border-bottom:#ccc;text-align:left;border-radius:.25rem;white-space:nowrap;margin:0;box-shadow:0 0 10px rgba(0,0,0,.61)}}.nav-links{display:inline-block;margin-right:1.5rem}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a:hover{color:#acacac}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#acacac}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #ff4d0a}}.navbar{padding:.7rem 1.5rem;line-height:2.5rem;background-color:#282c34;box-shadow:0 0 10px rgba(0,0,0,.5)}.navbar .inner{max-width:1200px;margin:0 auto}.navbar .home-link{display:block;float:left}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:#fff;position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;background-color:#282c34;white-space:nowrap;font-size:.9rem;position:relative;display:flex;color:#fff}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-top:.1rem;padding-left:1rem}}.page-edit,.page-nav{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-edit,.page-nav{padding:2rem}}@media (max-width:419px){.page-edit,.page-nav{padding:1.5rem}}.page{padding-bottom:2rem;display:block}.page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page-edit .edit-link{display:inline-block}.page-edit .edit-link a{color:#4e6e8e;margin-right:.25rem}.page-edit .last-updated{float:right;font-size:.9em}.page-edit .last-updated .prefix{font-weight:500;color:#4e6e8e}.page-edit .last-updated .time{font-weight:400;color:#aaa}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #eaecef;padding-top:1rem;overflow:auto}.page-nav .next{float:right}@media (max-width:719px){.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable){cursor:auto;color:inherit}.sidebar-group.is-sub-group{padding-left:0}.sidebar-group.is-sub-group>.sidebar-heading{font-size:.95em;line-height:1.4;font-weight:400;padding-left:2rem}.sidebar-group.is-sub-group>.sidebar-heading:not(.clickable){opacity:.5}.sidebar-group.is-sub-group>.sidebar-group-items{padding-left:1rem}.sidebar-group.is-sub-group>.sidebar-group-items>li>.sidebar-link{font-size:.95em;border-left:none}.sidebar-group.depth-2>.sidebar-heading{border-left:none}.sidebar-heading{color:#2c3e50;transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0;border-left:.25rem solid transparent}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading.clickable.active{font-weight:600;color:#f44300;border-left-color:#f44300}.sidebar-heading.clickable:hover{color:#f44300}.sidebar-group-items{transition:height .1s ease-out;font-size:.95em;overflow:hidden}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-size:1em;font-weight:400;display:inline-block;color:#2c3e50;border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link:hover{color:#f44300}a.sidebar-link.active{font-weight:600;color:#f44300;border-left-color:#f44300}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #eaecef;padding:.5rem 0 .75rem}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar>.sidebar-links{padding:1.5rem 0}.sidebar>.sidebar-links>li>a.sidebar-link{font-size:1.1em;line-height:1.7;font-weight:700}.sidebar>.sidebar-links>li:not(:first-child){margin-top:.75rem}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar>.sidebar-links{padding:1rem 0}}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.gist{color:#333;direction:ltr;font-size:16px;text-align:left}.gist .markdown-body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.5;word-wrap:break-word}.gist .markdown-body:before{content:"";display:table}.gist .markdown-body:after{clear:both;content:"";display:table}.gist .markdown-body>:first-child{margin-top:0!important}.gist .markdown-body>:last-child{margin-bottom:0!important}.gist .markdown-body a:not([href]){color:inherit;text-decoration:none}.gist .markdown-body .absent{color:#cb2431}.gist .markdown-body .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px;display:none}.gist .markdown-body .anchor:focus{outline:none}.gist .markdown-body hr{background-color:#e1e4e8;border:0;height:.25em;margin:24px 0;padding:0}.gist .markdown-body blockquote{border-left:.25em solid #dfe2e5;color:#6a737d;padding:0 1em}.gist .markdown-body blockquote>:first-child{margin-top:0}.gist .markdown-body blockquote>:last-child{margin-bottom:0}.gist .markdown-body kbd{background-color:#fafbfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.gist .markdown-body h1{font-size:2em}.gist .markdown-body h2{font-size:1.5em}.gist .markdown-body h3{font-size:1.25em}.gist .markdown-body h4{font-size:1em}.gist .markdown-body h5{font-size:.875em}.gist .markdown-body h6{color:#6a737d;font-size:.85em}.gist .markdown-body li{word-wrap:break-all}.gist .markdown-body li>p{margin-top:16px}.gist .markdown-body li+li{margin-top:.25em}.gist .markdown-body dl{padding:0}.gist .markdown-body dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.gist .markdown-body dl dd{margin-bottom:16px;padding:0 16px}.gist .markdown-body table{display:block;overflow:auto;width:100%}.gist .markdown-body table th{font-weight:600}.gist .markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.gist .markdown-body table tr:nth-child(2n){background-color:#f6f8ff}.gist .markdown-body table img{background-color:transparent}.gist .markdown-body img{background-color:#fff;box-sizing:content-box;max-width:100%}.gist .markdown-body img[align=right]{padding-left:20px}.gist .markdown-body img[align=left]{padding-right:20px}.gist .markdown-body .emoji{background-color:transparent;max-width:none;vertical-align:text-top}.gist .markdown-body span.frame{display:block;overflow:hidden}.gist .markdown-body span.frame>span{border:1px solid #dfe2e5;display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.gist .markdown-body span.frame span img{display:block;float:left}.gist .markdown-body span.frame span span{clear:both;color:#24292e;display:block;padding:5px 0 0}.gist .markdown-body span.align-center{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.gist .markdown-body span.align-center span img{margin:0 auto;text-align:center}.gist .markdown-body span.align-right{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.gist .markdown-body span.align-right span img{margin:0;text-align:right}.gist .markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.gist .markdown-body span.float-left span{margin:13px 0 0}.gist .markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.gist .markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.gist .markdown-body del code{text-decoration:inherit}.gist .markdown-body pre{word-wrap:normal}.gist .markdown-body pre>code{background:transparent;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.gist .markdown-body .highlight{margin-bottom:16px}.gist .markdown-body .highlight pre{margin-bottom:0;word-break:normal}.gist .markdown-body .csv-data .blob-num{background:#fff;border:0;padding:10px 8px 9px;text-align:right}.gist .markdown-body .csv-data tr{border-top:0}.gist .markdown-body .csv-data th{background:#f6f8fa;border-top:0;font-weight:600}.gist .pl-c{color:#6a737d}.gist .pl-ent{color:#22863a}.gist .pl-k{color:#d73a49}.gist .pl-bu{color:#b31d28}.gist .pl-ii{background-color:#b31d28;color:#fafbfc}.gist .pl-c2{background-color:#d73a49;color:#fafbfc}.gist .pl-c2:before{content:"^M"}.gist .pl-sr .pl-cce{color:#22863a;font-weight:700}.gist .pl-ml{color:#735c0f}.gist .pl-mi{color:#24292e;font-style:italic}.gist .pl-mb{color:#24292e;font-weight:700}.gist .pl-md{background-color:#ffeef0;color:#b31d28}.gist .pl-mi1{background-color:#f0fff4;color:#22863a}.gist .pl-mc{background-color:#ffebda;color:#e36209}.gist .pl-mi2{background-color:#005cc5;color:#f6f8fa}.gist .pl-mdr{color:#6f42c1;font-weight:700}.gist .pl-ba{color:#586069}.gist .pl-sg{color:#959da5}.gist .pl-corl{color:#032f62;text-decoration:underline}.gist .breadcrumb{color:#586069;font-size:16px}.gist .breadcrumb .separator{white-space:pre-wrap}.gist .breadcrumb strong.final-path{color:#24292e}.gist .editor-abort{display:inline;font-size:14px}.gist .blob-interaction-bar{background-color:#f2f2f2;border-bottom:1px solid #e5e5e5;position:relative}.gist .blob-interaction-bar:before{content:"";display:table}.gist .blob-interaction-bar:after{clear:both;content:"";display:table}.gist .blob-interaction-bar .octicon-search{color:#586069;font-size:12px;left:10px;position:absolute;top:10px}.gist .blob-filter{border:0;border-radius:0;font-size:12px;outline:none;padding:4px 20px 5px 30px;width:100%}.gist .blob-filter:focus{outline:none}.gist .html-blob{margin-bottom:15px}.gist .TagsearchPopover{max-width:600px;width:inherit}.gist .TagsearchPopover-content{max-height:300px}.gist .TagsearchPopover-list .TagsearchPopover-list-item:hover{background-color:#f6f8fa}.gist .TagsearchPopover-list .TagsearchPopover-list-item .TagsearchPopover-item:hover{text-decoration:none}.gist .TagsearchPopover-list .blob-code-inner{white-space:pre-wrap}.gist .license-summary-octicon{color:#959da5}.gist .rule-type-permissions{color:#28a745}.gist .rule-type-conditions{color:#0366d6}.gist .rule-type-limitations{color:#d73a49}.gist .linejump .linejump-input{background-color:#fafbfc;width:340px}.gist .blob-wrapper{overflow-x:auto;overflow-y:hidden}.gist .blob-wrapper table{border-collapse:collapse}.gist .blob-wrapper tr:first-child td{padding-top:4px}.gist .page-blob.height-full .blob-wrapper{overflow-y:auto}.gist .page-edit-blob.height-full .CodeMirror{height:300px}.gist .blob-wrapper-embedded{max-height:240px;overflow-y:auto}.gist .diff-table{border-collapse:separate;width:100%}.gist .diff-table .line-comments{border-top:1px solid #e1e4e8;padding:10px;vertical-align:top}.gist .diff-table .line-comments:first-child+.empty-cell{border-left-width:1px}.gist .diff-table tr:not(:last-child) .line-comments{border-bottom:1px solid #e1e4e8;border-top:1px solid #e1e4e8}.gist .blob-num{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:rgba(27,31,35,.3);cursor:pointer;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;min-width:50px;padding-left:10px;padding-right:10px;text-align:right;user-select:none;vertical-align:top;white-space:nowrap;width:1%;min-width:inherit}.gist .blob-num:hover{color:rgba(27,31,35,.6)}.gist .blob-num:before{content:attr(data-line-number)}.gist .blob-num.non-expandable{cursor:default}.gist .blob-num.non-expandable:hover{color:rgba(27,31,35,.3)}.gist .blob-code{line-height:20px;padding-left:10px;padding-right:10px;position:relative;vertical-align:top;border:0;text-align:left}.gist .blob-code-inner{color:#24292e;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;overflow:visible;white-space:pre;word-wrap:normal}.gist .blob-code-inner .x-first{border-bottom-left-radius:.2em;border-top-left-radius:.2em}.gist .blob-code-inner .x-last{border-bottom-right-radius:.2em;border-top-right-radius:.2em}.gist .blob-code-marker:before{content:attr(data-code-marker)}.gist .blob-code-marker-cell{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;width:1em}.gist .blob-code-marker-cell:before{content:attr(data-code-marker);display:block;height:0;width:0}.gist .blob-code-marker-addition:before{content:"+ "}.gist .blob-code-marker-deletion:before{content:"- "}.gist .blob-code-marker-context:before{content:" "}.gist .soft-wrap .diff-table{table-layout:fixed}.gist .soft-wrap .blob-code{padding-left:18px;text-indent:-7px}.gist .soft-wrap .blob-code-inner{white-space:pre-wrap;word-wrap:break-word}.gist .soft-wrap .no-nl-marker{display:none}.gist .soft-wrap .add-line-comment{margin-left:-28px}.gist .blob-code-hunk{background-color:#f1f8ff;border-width:1px 0;padding-bottom:4px;padding-top:4px}.gist .blob-expanded .blob-num-hunk{border-top:1px solid #eaecef}.gist .blob-num-expandable{font-size:12px;padding:0;text-align:center}.gist .blob-num-expandable .diff-expander{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;padding:4px 11px 4px 10px;width:auto}.gist .blob-num-expandable .diff-expander .octicon{vertical-align:top}.gist .blob-num-expandable .directional-expander{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;width:auto}.gist .blob-num-expandable .single-expander{padding-bottom:4px;padding-top:4px}.gist .blob-code-addition{background-color:#e6ffed}.gist .blob-code-addition .x{background-color:#acf2bd;color:#24292e}.gist .blob-num-addition{background-color:#cdffd8;border-color:#bef5cb}.gist .blob-code-deletion{background-color:#ffeef0}.gist .blob-code-deletion .x{background-color:#fdb8c0;color:#24292e}.gist .blob-num-deletion{background-color:#ffdce0;border-color:#fdaeb7}.gist .selected-line.blob-code{background-color:#fffbdd}.gist .selected-line.blob-code .x{background-color:transparent}.gist .selected-line.blob-num{background-color:#fff5b1;border-color:#ffea7f}.gist .add-line-comment{background-color:#0366d6;background-image:linear-gradient(#0372ef,#0366d6);border-radius:3px;box-shadow:0 1px 4px rgba(27,31,35,.15);color:#fff;cursor:pointer;float:left;height:22px;line-height:21px;margin:-2px -10px -2px -20px;opacity:0;position:relative;text-align:center;text-indent:0;transform:scale(.8);transition:transform .1s ease-in-out;width:22px;z-index:5}.gist .add-line-comment:hover{transform:scale(1)}.gist .add-line-comment .octicon{pointer-events:none;vertical-align:text-top}.gist .add-line-comment.octicon-check{background:#333;opacity:1}.gist .inline-comment-form{border:1px solid #dfe2e5;border-radius:3px}.gist .inline-review-comment{margin-bottom:10px!important;margin-top:0!important}.gist .inline-review-comment tr:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.gist .timeline-inline-comments{table-layout:fixed;width:100%}.gist .inline-comments .line-comments.is-collapsed{visibility:hidden}.gist .inline-comments .line-comments+.blob-num{border-left-width:1px}.gist .inline-comments .timeline-comment{margin-bottom:10px}.gist .file-diff-split{table-layout:fixed}.gist .file-diff-split .blob-code+.blob-num{border-left:1px solid #f6f8fa}.gist .file-diff-split .blob-code-inner{white-space:pre-wrap;word-wrap:break-word}.gist .file-diff-split .empty-cell{background-color:#fafbfc;border-right-color:#eaecef;cursor:default}.gist .file-diff-split markdown-toolbar{bottom:-40px;position:absolute;right:8px}.gist .submodule-diff-stats .octicon-diff-removed{color:#cb2431}.gist .submodule-diff-stats .octicon-diff-renamed{color:#677a85}.gist .submodule-diff-stats .octicon-diff-modified{color:#d0b44c}.gist .submodule-diff-stats .octicon-diff-added{color:#28a745}.gist .BlobToolbar{left:-17px}.gist .BlobToolbar-dropdown{margin-left:-2px}.gist .code-navigation-banner{background:linear-gradient(180deg,rgba(242,248,254,0),rgba(242,248,254,.47))}.gist .code-navigation-banner .code-navigation-banner-illo{background-image:url(/images/modules/blob/code-navigation-banner-illo.svg);background-position:50%;background-repeat:no-repeat}.gist .task-list-item{list-style-type:none}.gist .task-list-item label{font-weight:400}.gist .task-list-item.enabled label{cursor:pointer}.gist .task-list-item+.task-list-item{margin-top:3px}.gist .task-list-item .handle{display:none}.gist .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.gist .reorderable-task-lists .markdown-body .contains-task-list{padding:0}.gist .reorderable-task-lists .markdown-body li:not(.task-list-item){margin-left:26px}.gist .reorderable-task-lists .markdown-body li p{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item{border:1px solid transparent;margin-left:-15px;margin-right:-15px;padding-left:42px;padding-right:15px}.gist .reorderable-task-lists .markdown-body .task-list-item+.task-list-item{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item .contains-task-list{padding-top:4px}.gist .reorderable-task-lists .markdown-body .task-list-item .handle{display:block;float:left;margin-left:-43px;opacity:0;padding:2px 0 0 2px;width:20px}.gist .reorderable-task-lists .markdown-body .task-list-item .drag-handle{fill:#333}.gist .reorderable-task-lists .markdown-body .task-list-item.hovered>.handle{opacity:1}.gist .reorderable-task-lists .markdown-body .task-list-item.is-dragging{opacity:0}.gist .review-comment-contents .markdown-body .task-list-item{border-bottom-left-radius:3px;border-top-left-radius:3px;margin-left:-12px;margin-right:-12px;padding-left:42px}.gist .review-comment-contents .markdown-body .task-list-item.hovered{border-left-color:#ededed}.gist .highlight{background:#fff;border:0;color:#333;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;font-weight:400;line-height:1.4;margin:0;padding:0}.gist iframe.render-viewer{border:0;height:480px;overflow:hidden;width:100%}.gist .gist-meta{background-color:#f7f7f7;border-radius:0 0 2px 2px;color:#586069;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;overflow:hidden;padding:10px}.gist .gist-meta a{box-shadow:none;border:0;color:#666;font-weight:600;text-decoration:none}.gist .gist-meta a:hover{box-shadow:none}.gist .gist-data{background-color:#fff;border-bottom:1px solid #ddd;border-radius:2px 2px 0 0;overflow:auto;word-wrap:normal}.gist .gist-file{border:1px solid;border-color:#ddd #ddd #ccc;border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;margin-bottom:1em}.gist .gist-file article{padding:6px}.gist .gist-file .scroll .gist-data{bottom:30px;left:0;overflow:scroll;position:absolute;right:0;top:0}.gist .gist-file .scroll .gist-meta{bottom:0;left:0;position:absolute;right:0}.gist .markdown-body blockquote,.gist .markdown-body details,.gist .markdown-body dl,.gist .markdown-body ol,.gist .markdown-body p,.gist .markdown-body pre,.gist .markdown-body table,.gist .markdown-body ul{margin-bottom:16px;margin-top:0}.gist .markdown-body h1,.gist .markdown-body h2,.gist .markdown-body h3,.gist .markdown-body h4,.gist .markdown-body h5,.gist .markdown-body h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.gist .markdown-body h1 .octicon-link,.gist .markdown-body h2 .octicon-link,.gist .markdown-body h3 .octicon-link,.gist .markdown-body h4 .octicon-link,.gist .markdown-body h5 .octicon-link,.gist .markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.gist .markdown-body h1:hover .anchor,.gist .markdown-body h2:hover .anchor,.gist .markdown-body h3:hover .anchor,.gist .markdown-body h4:hover .anchor,.gist .markdown-body h5:hover .anchor,.gist .markdown-body h6:hover .anchor{text-decoration:none}.gist .markdown-body h1:hover .anchor .octicon-link,.gist .markdown-body h2:hover .anchor .octicon-link,.gist .markdown-body h3:hover .anchor .octicon-link,.gist .markdown-body h4:hover .anchor .octicon-link,.gist .markdown-body h5:hover .anchor .octicon-link,.gist .markdown-body h6:hover .anchor .octicon-link{visibility:visible}.gist .markdown-body h1 code,.gist .markdown-body h1 tt,.gist .markdown-body h2 code,.gist .markdown-body h2 tt,.gist .markdown-body h3 code,.gist .markdown-body h3 tt,.gist .markdown-body h4 code,.gist .markdown-body h4 tt,.gist .markdown-body h5 code,.gist .markdown-body h5 tt,.gist .markdown-body h6 code,.gist .markdown-body h6 tt{font-size:inherit}.gist .markdown-body h1,.gist .markdown-body h2{border-bottom:1px solid #eaecef;padding-bottom:.3em}.gist .markdown-body ol,.gist .markdown-body ul{padding-left:2em}.gist .markdown-body ol.no-list,.gist .markdown-body ul.no-list{list-style-type:none;padding:0}.gist .markdown-body ol ol,.gist .markdown-body ol ul,.gist .markdown-body ul ol,.gist .markdown-body ul ul{margin-bottom:0;margin-top:0}.gist .markdown-body table td,.gist .markdown-body table th{border:1px solid #dfe2e5;padding:6px 13px}.gist .markdown-body code,.gist .markdown-body tt{background-color:rgba(27,31,35,.05);border-radius:3px;font-size:85%;margin:0;padding:.2em .4em}.gist .markdown-body code br,.gist .markdown-body tt br{display:none}.gist .markdown-body .highlight pre,.gist .markdown-body pre{background-color:#f6f8fa;border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:16px}.gist .markdown-body pre code,.gist .markdown-body pre tt{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal}.gist .markdown-body .csv-data td,.gist .markdown-body .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.gist .pl-c1,.gist .pl-s .pl-v{color:#005cc5}.gist .pl-e,.gist .pl-en{color:#6f42c1}.gist .pl-s .pl-s1,.gist .pl-smi{color:#24292e}.gist .pl-pds,.gist .pl-s,.gist .pl-s .pl-pse .pl-s1,.gist .pl-sr,.gist .pl-sr .pl-cce,.gist .pl-sr .pl-sra,.gist .pl-sr .pl-sre{color:#032f62}.gist .pl-smw,.gist .pl-v{color:#e36209}.gist .pl-mh,.gist .pl-mh .pl-en,.gist .pl-ms{color:#005cc5;font-weight:700}.gist .breadcrumb .separator:after,.gist .breadcrumb .separator:before{content:" "}.gist .linejump .btn,.gist .linejump .linejump-input{font-size:16px;padding:10px 15px}.gist .page-edit-blob.height-full .CodeMirror,.gist .page-edit-blob.height-full .CodeMirror-scroll{display:flex;flex:1 1 auto;flex-direction:column}.gist .blob-code-inner.highlighted,.gist .blob-code-inner .highlighted{background-color:#fffbdd}.gist .blob-code-hunk,.gist .blob-num-expandable,.gist .blob-num-hunk{color:rgba(27,31,35,.7);vertical-align:middle}.gist .blob-num-expandable,.gist .blob-num-hunk{background-color:#dbedff}.gist .blob-expanded .blob-code,.gist .blob-expanded .blob-num{background-color:#fafbfc}.gist .blob-expanded+tr:not(.blob-expanded) .blob-code,.gist .blob-expanded+tr:not(.blob-expanded) .blob-num,.gist tr:not(.blob-expanded)+.blob-expanded .blob-code,.gist tr:not(.blob-expanded)+.blob-expanded .blob-num{border-top:1px solid #eaecef}.gist .blob-num-expandable .diff-expander:hover,.gist .blob-num-expandable .directional-expander:hover{background-color:#0366d6;border-color:#0366d6;color:#fff;text-shadow:none}.gist .add-line-comment:focus,.is-hovered .gist .add-line-comment{opacity:1}.gist .inline-review-comment .gc:first-child+tr .blob-code,.gist .inline-review-comment .gc:first-child+tr .blob-num{padding-top:5px}.gist .inline-review-comment tr:last-child .blob-code,.gist .inline-review-comment tr:last-child .blob-num{padding-bottom:8px}.gist .inline-review-comment tr:last-child .blob-code:first-child,.gist .inline-review-comment tr:last-child .blob-num:first-child{border-bottom-left-radius:2px}.gist .inline-review-comment tr:last-child .blob-code:last-child,.gist .inline-review-comment tr:last-child .blob-num:last-child{border-bottom-right-radius:2px}.gist .show-inline-notes .inline-comments,.gist .timeline-inline-comments .inline-comments{display:table-row}.gist .inline-comments,.gist .inline-comments.is-collapsed{display:none}.gist .comment-holder,.gist .inline-comments .inline-comment-form,.gist .inline-comments .inline-comment-form-container{max-width:780px}.gist .empty-cell+.line-comments,.gist .line-comments+.line-comments{border-left:1px solid #eaecef}.gist .inline-comment-form-container .inline-comment-form,.gist .inline-comment-form-container.open .inline-comment-form-actions{display:none}.gist .inline-comment-form-container .inline-comment-form-actions,.gist .inline-comment-form-container.open .inline-comment-form{display:block}.gist body.full-width .container,.gist body.full-width .container-lg,.gist body.split-diff .container,.gist body.split-diff .container-lg{max-width:none;padding-left:20px;padding-right:20px;width:100%}.gist body.full-width .repository-content,.gist body.split-diff .repository-content{width:100%}.gist body.full-width .new-pr-form,.gist body.split-diff .new-pr-form{max-width:980px}@media (max-width:1280px){.gist .file-diff-split .write-selected .comment-form-head.comment-form-head{margin-bottom:48px}}.gist .pl-token.active,.gist .pl-token:hover{background:#ffea7f;cursor:pointer}.gist .reorderable-task-lists .markdown-body ol:not(.contains-task-list) li,.gist .reorderable-task-lists .markdown-body ul:not(.contains-task-list) li{margin-left:0}.gist .octospinner,.gist .render-viewer-error,.gist .render-viewer-fatal,.gist .render-viewer-invalid{display:none}.gist code,.gist pre{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace!important;white-space:pre}.gist .blob-code,.gist .blob-num{background:transparent;padding:1px 10px!important}.custom-block .custom-block-title{font-weight:600;margin-bottom:-.4rem}.custom-block.unobtrusive-info{background-color:#f3f5f7;border-color:#f3f5f7;margin:1rem 0;padding:.1rem 1.5rem}.custom-block.danger,.custom-block.noheader,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.noheader,.custom-block.tip{background-color:#f3f5f7;border-color:#f44300}.custom-block.warning{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#2c3e50}.custom-block.danger{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#2c3e50}.custom-block.details{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.docs-layout{max-width:1200px;margin:0 auto}.sdk-footer[data-v-25aa1e39]{text-align:center}.gist[data-v-86b323a0]{color:#333;direction:ltr;font-size:16px;text-align:left}.gist .markdown-body[data-v-86b323a0]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.5;word-wrap:break-word}.gist .markdown-body[data-v-86b323a0]:before{content:"";display:table}.gist .markdown-body[data-v-86b323a0]:after{clear:both;content:"";display:table}.gist .markdown-body[data-v-86b323a0]>:first-child{margin-top:0!important}.gist .markdown-body[data-v-86b323a0]>:last-child{margin-bottom:0!important}.gist .markdown-body a[data-v-86b323a0]:not([href]){color:inherit;text-decoration:none}.gist .markdown-body .absent[data-v-86b323a0]{color:#cb2431}.gist .markdown-body .anchor[data-v-86b323a0]{float:left;line-height:1;margin-left:-20px;padding-right:4px;display:none}.gist .markdown-body .anchor[data-v-86b323a0]:focus{outline:none}.gist .markdown-body hr[data-v-86b323a0]{background-color:#e1e4e8;border:0;height:.25em;margin:24px 0;padding:0}.gist .markdown-body blockquote[data-v-86b323a0]{border-left:.25em solid #dfe2e5;color:#6a737d;padding:0 1em}.gist .markdown-body blockquote[data-v-86b323a0]>:first-child{margin-top:0}.gist .markdown-body blockquote[data-v-86b323a0]>:last-child{margin-bottom:0}.gist .markdown-body kbd[data-v-86b323a0]{background-color:#fafbfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5;color:#444d56;display:inline-block;font-size:11px;line-height:10px;padding:3px 5px;vertical-align:middle}.gist .markdown-body h1[data-v-86b323a0]{font-size:2em}.gist .markdown-body h2[data-v-86b323a0]{font-size:1.5em}.gist .markdown-body h3[data-v-86b323a0]{font-size:1.25em}.gist .markdown-body h4[data-v-86b323a0]{font-size:1em}.gist .markdown-body h5[data-v-86b323a0]{font-size:.875em}.gist .markdown-body h6[data-v-86b323a0]{color:#6a737d;font-size:.85em}.gist .markdown-body li[data-v-86b323a0]{word-wrap:break-all}.gist .markdown-body li>p[data-v-86b323a0]{margin-top:16px}.gist .markdown-body li+li[data-v-86b323a0]{margin-top:.25em}.gist .markdown-body dl[data-v-86b323a0]{padding:0}.gist .markdown-body dl dt[data-v-86b323a0]{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}.gist .markdown-body dl dd[data-v-86b323a0]{margin-bottom:16px;padding:0 16px}.gist .markdown-body table[data-v-86b323a0]{display:block;overflow:auto;width:100%}.gist .markdown-body table th[data-v-86b323a0]{font-weight:600}.gist .markdown-body table tr[data-v-86b323a0]{background-color:#fff;border-top:1px solid #c6cbd1}.gist .markdown-body table tr[data-v-86b323a0]:nth-child(2n){background-color:#f6f8ff}.gist .markdown-body table img[data-v-86b323a0]{background-color:transparent}.gist .markdown-body img[data-v-86b323a0]{background-color:#fff;box-sizing:content-box;max-width:100%}.gist .markdown-body img[align=right][data-v-86b323a0]{padding-left:20px}.gist .markdown-body img[align=left][data-v-86b323a0]{padding-right:20px}.gist .markdown-body .emoji[data-v-86b323a0]{background-color:transparent;max-width:none;vertical-align:text-top}.gist .markdown-body span.frame[data-v-86b323a0]{display:block;overflow:hidden}.gist .markdown-body span.frame>span[data-v-86b323a0]{border:1px solid #dfe2e5;display:block;float:left;margin:13px 0 0;overflow:hidden;padding:7px;width:auto}.gist .markdown-body span.frame span img[data-v-86b323a0]{display:block;float:left}.gist .markdown-body span.frame span span[data-v-86b323a0]{clear:both;color:#24292e;display:block;padding:5px 0 0}.gist .markdown-body span.align-center[data-v-86b323a0]{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-center>span[data-v-86b323a0]{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.gist .markdown-body span.align-center span img[data-v-86b323a0]{margin:0 auto;text-align:center}.gist .markdown-body span.align-right[data-v-86b323a0]{clear:both;display:block;overflow:hidden}.gist .markdown-body span.align-right>span[data-v-86b323a0]{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.gist .markdown-body span.align-right span img[data-v-86b323a0]{margin:0;text-align:right}.gist .markdown-body span.float-left[data-v-86b323a0]{display:block;float:left;margin-right:13px;overflow:hidden}.gist .markdown-body span.float-left span[data-v-86b323a0]{margin:13px 0 0}.gist .markdown-body span.float-right[data-v-86b323a0]{display:block;float:right;margin-left:13px;overflow:hidden}.gist .markdown-body span.float-right>span[data-v-86b323a0]{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.gist .markdown-body del code[data-v-86b323a0]{text-decoration:inherit}.gist .markdown-body pre[data-v-86b323a0]{word-wrap:normal}.gist .markdown-body pre>code[data-v-86b323a0]{background:transparent;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.gist .markdown-body .highlight[data-v-86b323a0]{margin-bottom:16px}.gist .markdown-body .highlight pre[data-v-86b323a0]{margin-bottom:0;word-break:normal}.gist .markdown-body .csv-data .blob-num[data-v-86b323a0]{background:#fff;border:0;padding:10px 8px 9px;text-align:right}.gist .markdown-body .csv-data tr[data-v-86b323a0]{border-top:0}.gist .markdown-body .csv-data th[data-v-86b323a0]{background:#f6f8fa;border-top:0;font-weight:600}.gist .pl-c[data-v-86b323a0]{color:#6a737d}.gist .pl-ent[data-v-86b323a0]{color:#22863a}.gist .pl-k[data-v-86b323a0]{color:#d73a49}.gist .pl-bu[data-v-86b323a0]{color:#b31d28}.gist .pl-ii[data-v-86b323a0]{background-color:#b31d28;color:#fafbfc}.gist .pl-c2[data-v-86b323a0]{background-color:#d73a49;color:#fafbfc}.gist .pl-c2[data-v-86b323a0]:before{content:"^M"}.gist .pl-sr .pl-cce[data-v-86b323a0]{color:#22863a;font-weight:700}.gist .pl-ml[data-v-86b323a0]{color:#735c0f}.gist .pl-mi[data-v-86b323a0]{color:#24292e;font-style:italic}.gist .pl-mb[data-v-86b323a0]{color:#24292e;font-weight:700}.gist .pl-md[data-v-86b323a0]{background-color:#ffeef0;color:#b31d28}.gist .pl-mi1[data-v-86b323a0]{background-color:#f0fff4;color:#22863a}.gist .pl-mc[data-v-86b323a0]{background-color:#ffebda;color:#e36209}.gist .pl-mi2[data-v-86b323a0]{background-color:#005cc5;color:#f6f8fa}.gist .pl-mdr[data-v-86b323a0]{color:#6f42c1;font-weight:700}.gist .pl-ba[data-v-86b323a0]{color:#586069}.gist .pl-sg[data-v-86b323a0]{color:#959da5}.gist .pl-corl[data-v-86b323a0]{color:#032f62;text-decoration:underline}.gist .breadcrumb[data-v-86b323a0]{color:#586069;font-size:16px}.gist .breadcrumb .separator[data-v-86b323a0]{white-space:pre-wrap}.gist .breadcrumb strong.final-path[data-v-86b323a0]{color:#24292e}.gist .editor-abort[data-v-86b323a0]{display:inline;font-size:14px}.gist .blob-interaction-bar[data-v-86b323a0]{background-color:#f2f2f2;border-bottom:1px solid #e5e5e5;position:relative}.gist .blob-interaction-bar[data-v-86b323a0]:before{content:"";display:table}.gist .blob-interaction-bar[data-v-86b323a0]:after{clear:both;content:"";display:table}.gist .blob-interaction-bar .octicon-search[data-v-86b323a0]{color:#586069;font-size:12px;left:10px;position:absolute;top:10px}.gist .blob-filter[data-v-86b323a0]{border:0;border-radius:0;font-size:12px;outline:none;padding:4px 20px 5px 30px;width:100%}.gist .blob-filter[data-v-86b323a0]:focus{outline:none}.gist .html-blob[data-v-86b323a0]{margin-bottom:15px}.gist .TagsearchPopover[data-v-86b323a0]{max-width:600px;width:inherit}.gist .TagsearchPopover-content[data-v-86b323a0]{max-height:300px}.gist .TagsearchPopover-list .TagsearchPopover-list-item[data-v-86b323a0]:hover{background-color:#f6f8fa}.gist .TagsearchPopover-list .TagsearchPopover-list-item .TagsearchPopover-item[data-v-86b323a0]:hover{text-decoration:none}.gist .TagsearchPopover-list .blob-code-inner[data-v-86b323a0]{white-space:pre-wrap}.gist .license-summary-octicon[data-v-86b323a0]{color:#959da5}.gist .rule-type-permissions[data-v-86b323a0]{color:#28a745}.gist .rule-type-conditions[data-v-86b323a0]{color:#0366d6}.gist .rule-type-limitations[data-v-86b323a0]{color:#d73a49}.gist .linejump .linejump-input[data-v-86b323a0]{background-color:#fafbfc;width:340px}.gist .blob-wrapper[data-v-86b323a0]{overflow-x:auto;overflow-y:hidden}.gist .blob-wrapper table[data-v-86b323a0]{border-collapse:collapse}.gist .blob-wrapper tr:first-child td[data-v-86b323a0]{padding-top:4px}.gist .page-blob.height-full .blob-wrapper[data-v-86b323a0]{overflow-y:auto}.gist .page-edit-blob.height-full .CodeMirror[data-v-86b323a0]{height:300px}.gist .blob-wrapper-embedded[data-v-86b323a0]{max-height:240px;overflow-y:auto}.gist .diff-table[data-v-86b323a0]{border-collapse:separate;width:100%}.gist .diff-table .line-comments[data-v-86b323a0]{border-top:1px solid #e1e4e8;padding:10px;vertical-align:top}.gist .diff-table .line-comments:first-child+.empty-cell[data-v-86b323a0]{border-left-width:1px}.gist .diff-table tr:not(:last-child) .line-comments[data-v-86b323a0]{border-bottom:1px solid #e1e4e8;border-top:1px solid #e1e4e8}.gist .blob-num[data-v-86b323a0]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:rgba(27,31,35,.3);cursor:pointer;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;min-width:50px;padding-left:10px;padding-right:10px;text-align:right;user-select:none;vertical-align:top;white-space:nowrap;width:1%;min-width:inherit}.gist .blob-num[data-v-86b323a0]:hover{color:rgba(27,31,35,.6)}.gist .blob-num[data-v-86b323a0]:before{content:attr(data-line-number)}.gist .blob-num.non-expandable[data-v-86b323a0]{cursor:default}.gist .blob-num.non-expandable[data-v-86b323a0]:hover{color:rgba(27,31,35,.3)}.gist .blob-code[data-v-86b323a0]{line-height:20px;padding-left:10px;padding-right:10px;position:relative;vertical-align:top;border:0;text-align:left}.gist .blob-code-inner[data-v-86b323a0]{color:#24292e;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;overflow:visible;white-space:pre;word-wrap:normal}.gist .blob-code-inner .x-first[data-v-86b323a0]{border-bottom-left-radius:.2em;border-top-left-radius:.2em}.gist .blob-code-inner .x-last[data-v-86b323a0]{border-bottom-right-radius:.2em;border-top-right-radius:.2em}.gist .blob-code-marker[data-v-86b323a0]:before{content:attr(data-code-marker)}.gist .blob-code-marker-cell[data-v-86b323a0]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;width:1em}.gist .blob-code-marker-cell[data-v-86b323a0]:before{content:attr(data-code-marker);display:block;height:0;width:0}.gist .blob-code-marker-addition[data-v-86b323a0]:before{content:"+ "}.gist .blob-code-marker-deletion[data-v-86b323a0]:before{content:"- "}.gist .blob-code-marker-context[data-v-86b323a0]:before{content:" "}.gist .soft-wrap .diff-table[data-v-86b323a0]{table-layout:fixed}.gist .soft-wrap .blob-code[data-v-86b323a0]{padding-left:18px;text-indent:-7px}.gist .soft-wrap .blob-code-inner[data-v-86b323a0]{white-space:pre-wrap;word-wrap:break-word}.gist .soft-wrap .no-nl-marker[data-v-86b323a0]{display:none}.gist .soft-wrap .add-line-comment[data-v-86b323a0]{margin-left:-28px}.gist .blob-code-hunk[data-v-86b323a0]{background-color:#f1f8ff;border-width:1px 0;padding-bottom:4px;padding-top:4px}.gist .blob-expanded .blob-num-hunk[data-v-86b323a0]{border-top:1px solid #eaecef}.gist .blob-num-expandable[data-v-86b323a0]{font-size:12px;padding:0;text-align:center}.gist .blob-num-expandable .diff-expander[data-v-86b323a0]{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;padding:4px 11px 4px 10px;width:auto}.gist .blob-num-expandable .diff-expander .octicon[data-v-86b323a0]{vertical-align:top}.gist .blob-num-expandable .directional-expander[data-v-86b323a0]{color:#586069;cursor:pointer;display:block;height:auto;margin-right:-1px;width:auto}.gist .blob-num-expandable .single-expander[data-v-86b323a0]{padding-bottom:4px;padding-top:4px}.gist .blob-code-addition[data-v-86b323a0]{background-color:#e6ffed}.gist .blob-code-addition .x[data-v-86b323a0]{background-color:#acf2bd;color:#24292e}.gist .blob-num-addition[data-v-86b323a0]{background-color:#cdffd8;border-color:#bef5cb}.gist .blob-code-deletion[data-v-86b323a0]{background-color:#ffeef0}.gist .blob-code-deletion .x[data-v-86b323a0]{background-color:#fdb8c0;color:#24292e}.gist .blob-num-deletion[data-v-86b323a0]{background-color:#ffdce0;border-color:#fdaeb7}.gist .selected-line.blob-code[data-v-86b323a0]{background-color:#fffbdd}.gist .selected-line.blob-code .x[data-v-86b323a0]{background-color:transparent}.gist .selected-line.blob-num[data-v-86b323a0]{background-color:#fff5b1;border-color:#ffea7f}.gist .add-line-comment[data-v-86b323a0]{background-color:#0366d6;background-image:linear-gradient(#0372ef,#0366d6);border-radius:3px;box-shadow:0 1px 4px rgba(27,31,35,.15);color:#fff;cursor:pointer;float:left;height:22px;line-height:21px;margin:-2px -10px -2px -20px;opacity:0;position:relative;text-align:center;text-indent:0;transform:scale(.8);transition:transform .1s ease-in-out;width:22px;z-index:5}.gist .add-line-comment[data-v-86b323a0]:hover{transform:scale(1)}.gist .add-line-comment .octicon[data-v-86b323a0]{pointer-events:none;vertical-align:text-top}.gist .add-line-comment.octicon-check[data-v-86b323a0]{background:#333;opacity:1}.gist .inline-comment-form[data-v-86b323a0]{border:1px solid #dfe2e5;border-radius:3px}.gist .inline-review-comment[data-v-86b323a0]{margin-bottom:10px!important;margin-top:0!important}.gist .inline-review-comment tr[data-v-86b323a0]:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.gist .timeline-inline-comments[data-v-86b323a0]{table-layout:fixed;width:100%}.gist .inline-comments .line-comments.is-collapsed[data-v-86b323a0]{visibility:hidden}.gist .inline-comments .line-comments+.blob-num[data-v-86b323a0]{border-left-width:1px}.gist .inline-comments .timeline-comment[data-v-86b323a0]{margin-bottom:10px}.gist .file-diff-split[data-v-86b323a0]{table-layout:fixed}.gist .file-diff-split .blob-code+.blob-num[data-v-86b323a0]{border-left:1px solid #f6f8fa}.gist .file-diff-split .blob-code-inner[data-v-86b323a0]{white-space:pre-wrap;word-wrap:break-word}.gist .file-diff-split .empty-cell[data-v-86b323a0]{background-color:#fafbfc;border-right-color:#eaecef;cursor:default}.gist .file-diff-split markdown-toolbar[data-v-86b323a0]{bottom:-40px;position:absolute;right:8px}.gist .submodule-diff-stats .octicon-diff-removed[data-v-86b323a0]{color:#cb2431}.gist .submodule-diff-stats .octicon-diff-renamed[data-v-86b323a0]{color:#677a85}.gist .submodule-diff-stats .octicon-diff-modified[data-v-86b323a0]{color:#d0b44c}.gist .submodule-diff-stats .octicon-diff-added[data-v-86b323a0]{color:#28a745}.gist .BlobToolbar[data-v-86b323a0]{left:-17px}.gist .BlobToolbar-dropdown[data-v-86b323a0]{margin-left:-2px}.gist .code-navigation-banner[data-v-86b323a0]{background:linear-gradient(180deg,rgba(242,248,254,0),rgba(242,248,254,.47))}.gist .code-navigation-banner .code-navigation-banner-illo[data-v-86b323a0]{background-image:url(/images/modules/blob/code-navigation-banner-illo.svg);background-position:50%;background-repeat:no-repeat}.gist .task-list-item[data-v-86b323a0]{list-style-type:none}.gist .task-list-item label[data-v-86b323a0]{font-weight:400}.gist .task-list-item.enabled label[data-v-86b323a0]{cursor:pointer}.gist .task-list-item+.task-list-item[data-v-86b323a0]{margin-top:3px}.gist .task-list-item .handle[data-v-86b323a0]{display:none}.gist .task-list-item-checkbox[data-v-86b323a0]{margin:0 .2em .25em -1.6em;vertical-align:middle}.gist .reorderable-task-lists .markdown-body .contains-task-list[data-v-86b323a0]{padding:0}.gist .reorderable-task-lists .markdown-body li[data-v-86b323a0]:not(.task-list-item){margin-left:26px}.gist .reorderable-task-lists .markdown-body li p[data-v-86b323a0]{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item[data-v-86b323a0]{border:1px solid transparent;margin-left:-15px;margin-right:-15px;padding-left:42px;padding-right:15px}.gist .reorderable-task-lists .markdown-body .task-list-item+.task-list-item[data-v-86b323a0]{margin-top:0}.gist .reorderable-task-lists .markdown-body .task-list-item .contains-task-list[data-v-86b323a0]{padding-top:4px}.gist .reorderable-task-lists .markdown-body .task-list-item .handle[data-v-86b323a0]{display:block;float:left;margin-left:-43px;opacity:0;padding:2px 0 0 2px;width:20px}.gist .reorderable-task-lists .markdown-body .task-list-item .drag-handle[data-v-86b323a0]{fill:#333}.gist .reorderable-task-lists .markdown-body .task-list-item.hovered>.handle[data-v-86b323a0]{opacity:1}.gist .reorderable-task-lists .markdown-body .task-list-item.is-dragging[data-v-86b323a0]{opacity:0}.gist .review-comment-contents .markdown-body .task-list-item[data-v-86b323a0]{border-bottom-left-radius:3px;border-top-left-radius:3px;margin-left:-12px;margin-right:-12px;padding-left:42px}.gist .review-comment-contents .markdown-body .task-list-item.hovered[data-v-86b323a0]{border-left-color:#ededed}.gist .highlight[data-v-86b323a0]{background:#fff;border:0;color:#333;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;font-weight:400;line-height:1.4;margin:0;padding:0}.gist iframe.render-viewer[data-v-86b323a0]{border:0;height:480px;overflow:hidden;width:100%}.gist .gist-meta[data-v-86b323a0]{background-color:#f7f7f7;border-radius:0 0 2px 2px;color:#586069;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;overflow:hidden;padding:10px}.gist .gist-meta a[data-v-86b323a0]{box-shadow:none;border:0;color:#666;font-weight:600;text-decoration:none}.gist .gist-meta a[data-v-86b323a0]:hover{box-shadow:none}.gist .gist-data[data-v-86b323a0]{background-color:#fff;border-bottom:1px solid #ddd;border-radius:2px 2px 0 0;overflow:auto;word-wrap:normal}.gist .gist-file[data-v-86b323a0]{border:1px solid;border-color:#ddd #ddd #ccc;border-radius:3px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;margin-bottom:1em}.gist .gist-file article[data-v-86b323a0]{padding:6px}.gist .gist-file .scroll .gist-data[data-v-86b323a0]{bottom:30px;left:0;overflow:scroll;position:absolute;right:0;top:0}.gist .gist-file .scroll .gist-meta[data-v-86b323a0]{bottom:0;left:0;position:absolute;right:0}.gist .markdown-body blockquote[data-v-86b323a0],.gist .markdown-body details[data-v-86b323a0],.gist .markdown-body dl[data-v-86b323a0],.gist .markdown-body ol[data-v-86b323a0],.gist .markdown-body p[data-v-86b323a0],.gist .markdown-body pre[data-v-86b323a0],.gist .markdown-body table[data-v-86b323a0],.gist .markdown-body ul[data-v-86b323a0]{margin-bottom:16px;margin-top:0}.gist .markdown-body h1[data-v-86b323a0],.gist .markdown-body h2[data-v-86b323a0],.gist .markdown-body h3[data-v-86b323a0],.gist .markdown-body h4[data-v-86b323a0],.gist .markdown-body h5[data-v-86b323a0],.gist .markdown-body h6[data-v-86b323a0]{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}.gist .markdown-body h1 .octicon-link[data-v-86b323a0],.gist .markdown-body h2 .octicon-link[data-v-86b323a0],.gist .markdown-body h3 .octicon-link[data-v-86b323a0],.gist .markdown-body h4 .octicon-link[data-v-86b323a0],.gist .markdown-body h5 .octicon-link[data-v-86b323a0],.gist .markdown-body h6 .octicon-link[data-v-86b323a0]{color:#1b1f23;vertical-align:middle;visibility:hidden}.gist .markdown-body h1:hover .anchor[data-v-86b323a0],.gist .markdown-body h2:hover .anchor[data-v-86b323a0],.gist .markdown-body h3:hover .anchor[data-v-86b323a0],.gist .markdown-body h4:hover .anchor[data-v-86b323a0],.gist .markdown-body h5:hover .anchor[data-v-86b323a0],.gist .markdown-body h6:hover .anchor[data-v-86b323a0]{text-decoration:none}.gist .markdown-body h1:hover .anchor .octicon-link[data-v-86b323a0],.gist .markdown-body h2:hover .anchor .octicon-link[data-v-86b323a0],.gist .markdown-body h3:hover .anchor .octicon-link[data-v-86b323a0],.gist .markdown-body h4:hover .anchor .octicon-link[data-v-86b323a0],.gist .markdown-body h5:hover .anchor .octicon-link[data-v-86b323a0],.gist .markdown-body h6:hover .anchor .octicon-link[data-v-86b323a0]{visibility:visible}.gist .markdown-body h1 code[data-v-86b323a0],.gist .markdown-body h1 tt[data-v-86b323a0],.gist .markdown-body h2 code[data-v-86b323a0],.gist .markdown-body h2 tt[data-v-86b323a0],.gist .markdown-body h3 code[data-v-86b323a0],.gist .markdown-body h3 tt[data-v-86b323a0],.gist .markdown-body h4 code[data-v-86b323a0],.gist .markdown-body h4 tt[data-v-86b323a0],.gist .markdown-body h5 code[data-v-86b323a0],.gist .markdown-body h5 tt[data-v-86b323a0],.gist .markdown-body h6 code[data-v-86b323a0],.gist .markdown-body h6 tt[data-v-86b323a0]{font-size:inherit}.gist .markdown-body h1[data-v-86b323a0],.gist .markdown-body h2[data-v-86b323a0]{border-bottom:1px solid #eaecef;padding-bottom:.3em}.gist .markdown-body ol[data-v-86b323a0],.gist .markdown-body ul[data-v-86b323a0]{padding-left:2em}.gist .markdown-body ol.no-list[data-v-86b323a0],.gist .markdown-body ul.no-list[data-v-86b323a0]{list-style-type:none;padding:0}.gist .markdown-body ol ol[data-v-86b323a0],.gist .markdown-body ol ul[data-v-86b323a0],.gist .markdown-body ul ol[data-v-86b323a0],.gist .markdown-body ul ul[data-v-86b323a0]{margin-bottom:0;margin-top:0}.gist .markdown-body table td[data-v-86b323a0],.gist .markdown-body table th[data-v-86b323a0]{border:1px solid #dfe2e5;padding:6px 13px}.gist .markdown-body code[data-v-86b323a0],.gist .markdown-body tt[data-v-86b323a0]{background-color:rgba(27,31,35,.05);border-radius:3px;font-size:85%;margin:0;padding:.2em .4em}.gist .markdown-body code br[data-v-86b323a0],.gist .markdown-body tt br[data-v-86b323a0]{display:none}.gist .markdown-body .highlight pre[data-v-86b323a0],.gist .markdown-body pre[data-v-86b323a0]{background-color:#f6f8fa;border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:16px}.gist .markdown-body pre code[data-v-86b323a0],.gist .markdown-body pre tt[data-v-86b323a0]{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0;word-wrap:normal}.gist .markdown-body .csv-data td[data-v-86b323a0],.gist .markdown-body .csv-data th[data-v-86b323a0]{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}.gist .pl-c1[data-v-86b323a0],.gist .pl-s .pl-v[data-v-86b323a0]{color:#005cc5}.gist .pl-e[data-v-86b323a0],.gist .pl-en[data-v-86b323a0]{color:#6f42c1}.gist .pl-s .pl-s1[data-v-86b323a0],.gist .pl-smi[data-v-86b323a0]{color:#24292e}.gist .pl-pds[data-v-86b323a0],.gist .pl-s .pl-pse .pl-s1[data-v-86b323a0],.gist .pl-s[data-v-86b323a0],.gist .pl-sr .pl-cce[data-v-86b323a0],.gist .pl-sr .pl-sra[data-v-86b323a0],.gist .pl-sr .pl-sre[data-v-86b323a0],.gist .pl-sr[data-v-86b323a0]{color:#032f62}.gist .pl-smw[data-v-86b323a0],.gist .pl-v[data-v-86b323a0]{color:#e36209}.gist .pl-mh .pl-en[data-v-86b323a0],.gist .pl-mh[data-v-86b323a0],.gist .pl-ms[data-v-86b323a0]{color:#005cc5;font-weight:700}.gist .breadcrumb .separator[data-v-86b323a0]:after,.gist .breadcrumb .separator[data-v-86b323a0]:before{content:" "}.gist .linejump .btn[data-v-86b323a0],.gist .linejump .linejump-input[data-v-86b323a0]{font-size:16px;padding:10px 15px}.gist .page-edit-blob.height-full .CodeMirror-scroll[data-v-86b323a0],.gist .page-edit-blob.height-full .CodeMirror[data-v-86b323a0]{display:flex;flex:1 1 auto;flex-direction:column}.gist .blob-code-inner.highlighted[data-v-86b323a0],.gist .blob-code-inner .highlighted[data-v-86b323a0]{background-color:#fffbdd}.gist .blob-code-hunk[data-v-86b323a0],.gist .blob-num-expandable[data-v-86b323a0],.gist .blob-num-hunk[data-v-86b323a0]{color:rgba(27,31,35,.7);vertical-align:middle}.gist .blob-num-expandable[data-v-86b323a0],.gist .blob-num-hunk[data-v-86b323a0]{background-color:#dbedff}.gist .blob-expanded .blob-code[data-v-86b323a0],.gist .blob-expanded .blob-num[data-v-86b323a0]{background-color:#fafbfc}.gist .blob-expanded+tr:not(.blob-expanded) .blob-code[data-v-86b323a0],.gist .blob-expanded+tr:not(.blob-expanded) .blob-num[data-v-86b323a0],.gist tr:not(.blob-expanded)+.blob-expanded .blob-code[data-v-86b323a0],.gist tr:not(.blob-expanded)+.blob-expanded .blob-num[data-v-86b323a0]{border-top:1px solid #eaecef}.gist .blob-num-expandable .diff-expander[data-v-86b323a0]:hover,.gist .blob-num-expandable .directional-expander[data-v-86b323a0]:hover{background-color:#0366d6;border-color:#0366d6;color:#fff;text-shadow:none}.gist .add-line-comment[data-v-86b323a0]:focus,.is-hovered .gist .add-line-comment[data-v-86b323a0]{opacity:1}.gist .inline-review-comment .gc:first-child+tr .blob-code[data-v-86b323a0],.gist .inline-review-comment .gc:first-child+tr .blob-num[data-v-86b323a0]{padding-top:5px}.gist .inline-review-comment tr:last-child .blob-code[data-v-86b323a0],.gist .inline-review-comment tr:last-child .blob-num[data-v-86b323a0]{padding-bottom:8px}.gist .inline-review-comment tr:last-child .blob-code[data-v-86b323a0]:first-child,.gist .inline-review-comment tr:last-child .blob-num[data-v-86b323a0]:first-child{border-bottom-left-radius:2px}.gist .inline-review-comment tr:last-child .blob-code[data-v-86b323a0]:last-child,.gist .inline-review-comment tr:last-child .blob-num[data-v-86b323a0]:last-child{border-bottom-right-radius:2px}.gist .show-inline-notes .inline-comments[data-v-86b323a0],.gist .timeline-inline-comments .inline-comments[data-v-86b323a0]{display:table-row}.gist .inline-comments.is-collapsed[data-v-86b323a0],.gist .inline-comments[data-v-86b323a0]{display:none}.gist .comment-holder[data-v-86b323a0],.gist .inline-comments .inline-comment-form-container[data-v-86b323a0],.gist .inline-comments .inline-comment-form[data-v-86b323a0]{max-width:780px}.gist .empty-cell+.line-comments[data-v-86b323a0],.gist .line-comments+.line-comments[data-v-86b323a0]{border-left:1px solid #eaecef}.gist .inline-comment-form-container .inline-comment-form[data-v-86b323a0],.gist .inline-comment-form-container.open .inline-comment-form-actions[data-v-86b323a0]{display:none}.gist .inline-comment-form-container .inline-comment-form-actions[data-v-86b323a0],.gist .inline-comment-form-container.open .inline-comment-form[data-v-86b323a0]{display:block}.gist body.full-width .container-lg[data-v-86b323a0],.gist body.full-width .container[data-v-86b323a0],.gist body.split-diff .container-lg[data-v-86b323a0],.gist body.split-diff .container[data-v-86b323a0]{max-width:none;padding-left:20px;padding-right:20px;width:100%}.gist body.full-width .repository-content[data-v-86b323a0],.gist body.split-diff .repository-content[data-v-86b323a0]{width:100%}.gist body.full-width .new-pr-form[data-v-86b323a0],.gist body.split-diff .new-pr-form[data-v-86b323a0]{max-width:980px}@media (max-width:1280px){.gist .file-diff-split .write-selected .comment-form-head.comment-form-head[data-v-86b323a0]{margin-bottom:48px}}.gist .pl-token.active[data-v-86b323a0],.gist .pl-token[data-v-86b323a0]:hover{background:#ffea7f;cursor:pointer}.gist .reorderable-task-lists .markdown-body ol:not(.contains-task-list) li[data-v-86b323a0],.gist .reorderable-task-lists .markdown-body ul:not(.contains-task-list) li[data-v-86b323a0]{margin-left:0}.gist .octospinner[data-v-86b323a0],.gist .render-viewer-error[data-v-86b323a0],.gist .render-viewer-fatal[data-v-86b323a0],.gist .render-viewer-invalid[data-v-86b323a0]{display:none}.gist code[data-v-86b323a0],.gist pre[data-v-86b323a0]{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace!important;white-space:pre}.gist .blob-code[data-v-86b323a0],.gist .blob-num[data-v-86b323a0]{background:transparent;padding:1px 10px!important}.custom-block .custom-block-title[data-v-86b323a0]{font-weight:600;margin-bottom:-.4rem}.custom-block.unobtrusive-info[data-v-86b323a0]{background-color:#f3f5f7;border-color:#f3f5f7;margin:1rem 0;padding:.1rem 1.5rem}.custom-block.danger[data-v-86b323a0],.custom-block.noheader[data-v-86b323a0],.custom-block.tip[data-v-86b323a0],.custom-block.warning[data-v-86b323a0]{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.noheader[data-v-86b323a0],.custom-block.tip[data-v-86b323a0]{background-color:#f3f5f7;border-color:#f44300}.custom-block.warning[data-v-86b323a0]{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title[data-v-86b323a0]{color:#b29400}.custom-block.warning a[data-v-86b323a0]{color:#2c3e50}.custom-block.danger[data-v-86b323a0]{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title[data-v-86b323a0]{color:#900}.custom-block.danger a[data-v-86b323a0]{color:#2c3e50}.custom-block.details[data-v-86b323a0]{display:block;position:relative;border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.custom-block.details h4[data-v-86b323a0]{margin-top:0}.custom-block.details figure[data-v-86b323a0]:last-child,.custom-block.details p[data-v-86b323a0]:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary[data-v-86b323a0]{outline:none;cursor:pointer}.badge[data-v-86b323a0]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff}.badge.green[data-v-86b323a0],.badge.tip[data-v-86b323a0],.badge[data-v-86b323a0]{background-color:#42b983}.badge.error[data-v-86b323a0]{background-color:#da5961}.badge.warn[data-v-86b323a0],.badge.warning[data-v-86b323a0],.badge.yellow[data-v-86b323a0]{background-color:#e7c000}.badge+.badge[data-v-86b323a0]{margin-left:5px} \ No newline at end of file diff --git a/assets/img/search.83621669.svg b/assets/img/search.83621669.svg new file mode 100644 index 00000000..03d83913 --- /dev/null +++ b/assets/img/search.83621669.svg @@ -0,0 +1 @@ + diff --git a/assets/js/10.873c2ab3.js b/assets/js/10.873c2ab3.js new file mode 100644 index 00000000..ae8b7c38 --- /dev/null +++ b/assets/js/10.873c2ab3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{445:function(e,t,r){"use strict";r.r(t);var a=r(35),i=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"certificate"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#certificate"}},[e._v("#")]),e._v(" Certificate")]),e._v(" "),r("div",{staticClass:"custom-block unobtrusive-info"},[r("p",[e._v("Create, delete and manage certificates.")]),e._v(" "),r("p",[e._v("Find additional help here: "),r("a",{attrs:{href:"https://help.internetx.com/display/SSLEN",target:"_blank",rel:"noopener noreferrer"}},[e._v("https://help.internetx.com/display/SSLEN"),r("OutboundLink")],1)])]),e._v(" "),r("p",[e._v("General call of tasks:")]),e._v(" "),r("div",{staticClass:"language-php extra-class"},[r("pre",{pre:!0,attrs:{class:"language-php"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$objectJob")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$domainrobot")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token property"}},[e._v("certificate")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("create")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$certificate")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),r("p",[e._v("List of all available tasks with linked examples:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificateCreate.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("create"),r("OutboundLink")],1),e._v("(Certificate $certificate)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificateCreateRealtime.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("realtime"),r("OutboundLink")],1),e._v("(Certificate $certificate)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificatePrepareOrder.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("prepareOrder"),r("OutboundLink")],1),e._v("(CertificateData $certificateData)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificateList.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("list"),r("OutboundLink")],1),e._v("(Query $query = null)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificateInfo.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("info"),r("OutboundLink")],1),e._v("(int $id)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/certificate/CertificateDelete.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("delete"),r("OutboundLink")],1),e._v("(int $id)")]),e._v(" "),r("li",[e._v("reissue(Certificate $certificate)")]),e._v(" "),r("li",[e._v("renew(Certificate $certificate)")]),e._v(" "),r("li",[e._v("commentUpdate(int $id, string $comment)")])])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/11.e3613295.js b/assets/js/11.e3613295.js new file mode 100644 index 00000000..db161ee4 --- /dev/null +++ b/assets/js/11.e3613295.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{446:function(t,e,a){"use strict";a.r(e);var r=a(35),n=Object(r.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"contact"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#contact"}},[t._v("#")]),t._v(" Contact")]),t._v(" "),a("p",[t._v("General call of tasks:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$objectJob")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("contact")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("create")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("List of all available tasks with linked examples:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("create"),a("OutboundLink")],1),t._v("(Contact $contact)")]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("update"),a("OutboundLink")],1),t._v("(Contact $contact)")]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("delete"),a("OutboundLink")],1),t._v("(int $contactID)")]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("info"),a("OutboundLink")],1),t._v("(int $contactID)")]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("list"),a("OutboundLink")],1),t._v("(Query $query = null)")])])])}),[],!1,null,null,null);e.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/12.ef468fb2.js b/assets/js/12.ef468fb2.js new file mode 100644 index 00000000..d0da94a9 --- /dev/null +++ b/assets/js/12.ef468fb2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{447:function(t,a,e){"use strict";e.r(a);var s=e(35),n=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"document"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#document"}},[t._v("#")]),t._v(" Document")]),t._v(" "),e("p",[t._v("General call of task:")]),t._v(" "),e("div",{staticClass:"language-php extra-class"},[e("pre",{pre:!0,attrs:{class:"language-php"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("document")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("info")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$id")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$targetFileURI")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),e("p",[t._v("List of all available tasks with linked examples:")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/document/DocumentInfo.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("info"),e("OutboundLink")],1),t._v("(int|string $id, string $targetFileURI)")])])])}),[],!1,null,null,null);a.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/13.4d29fb67.js b/assets/js/13.4d29fb67.js new file mode 100644 index 00000000..68fe06a3 --- /dev/null +++ b/assets/js/13.4d29fb67.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{448:function(e,t,r){"use strict";r.r(t);var a=r(35),n=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"domain"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#domain"}},[e._v("#")]),e._v(" Domain")]),e._v(" "),r("div",{staticClass:"custom-block unobtrusive-info"},[r("p",[e._v("Create, delete and manage certificates.")]),e._v(" "),r("p",[e._v("Find additional help here: "),r("a",{attrs:{href:"https://help.internetx.com/display/DOMAINEN",target:"_blank",rel:"noopener noreferrer"}},[e._v("https://help.internetx.com/display/DOMAINEN"),r("OutboundLink")],1)])]),e._v(" "),r("p",[e._v("General call of tasks:")]),e._v(" "),r("div",{staticClass:"language-php extra-class"},[r("pre",{pre:!0,attrs:{class:"language-php"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$objectJob")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$domainrobot")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token property"}},[e._v("domain")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("create")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$domain")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),r("p",[e._v("List of all available tasks with linked examples:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCreate.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("create"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainUpdateForSubuser.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("update"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainInfo.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("info"),r("OutboundLink")],1),e._v("(string $name)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainList.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("list"),r("OutboundLink")],1),e._v("(Query $query = null)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainUpdateStatus.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("updateStatus"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainRenew.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("renew"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainTransfer.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("transfer"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCreateAuthinfo1.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("createAuthinfo1"),r("OutboundLink")],1),e._v("(string $name)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainDeleteAuthinfo1.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("deleteAuthinfo1"),r("OutboundLink")],1),e._v("(string $name)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCreateAuthinfo2.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("createAuthinfo2"),r("OutboundLink")],1),e._v("(string $name)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainRestoreList.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("restoreList"),r("OutboundLink")],1),e._v("(Query $query = null);")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainRestore.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("restore"),r("OutboundLink")],1),e._v("(DomainRestore $domainRestore)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCreatePremium.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("createPremium"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainOwnerChange.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("ownerChange"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainTrade.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("trade"),r("OutboundLink")],1),e._v("(Domain $domain)")]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainBuy.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("buy"),r("OutboundLink")],1),e._v("(Domain $domain)")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/14.67c3901d.js b/assets/js/14.67c3901d.js new file mode 100644 index 00000000..fabe4e2f --- /dev/null +++ b/assets/js/14.67c3901d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{449:function(a,t,n){"use strict";n.r(t);var e=n(35),s=Object(e.a)({},(function(){var a=this,t=a.$createElement,n=a._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[n("h1",{attrs:{id:"domain-cancelation"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#domain-cancelation"}},[a._v("#")]),a._v(" Domain cancelation")]),a._v(" "),n("p",[a._v("General call of tasks:")]),a._v(" "),n("div",{staticClass:"language-php extra-class"},[n("pre",{pre:!0,attrs:{class:"language-php"}},[n("code",[a._v(" "),n("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$domainCancelation")]),a._v(" "),n("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" "),n("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$domainrobot")]),n("span",{pre:!0,attrs:{class:"token operator"}},[a._v("->")]),n("span",{pre:!0,attrs:{class:"token property"}},[a._v("domainCancelation")]),n("span",{pre:!0,attrs:{class:"token operator"}},[a._v("->")]),n("span",{pre:!0,attrs:{class:"token function"}},[a._v("create")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("(")]),n("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$domainCancelation")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(")")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n")])])]),n("ul",[n("li",[a._v("create(DomainCancelation $domainCancelation);")]),a._v(" "),n("li",[a._v("update(DomainCancelation $domainCancelation);")]),a._v(" "),n("li",[a._v("delete(string $domain);")]),a._v(" "),n("li",[a._v("info(string $domain);")]),a._v(" "),n("li",[n("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCancelationList.php",target:"_blank",rel:"noopener noreferrer"}},[a._v("list"),n("OutboundLink")],1),a._v("(Query $query = null)")])])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/15.45a7be18.js b/assets/js/15.45a7be18.js new file mode 100644 index 00000000..249f7dd4 --- /dev/null +++ b/assets/js/15.45a7be18.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{450:function(t,a,e){"use strict";e.r(a);var s=e(35),o=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"domainstudio"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#domainstudio"}},[t._v("#")]),t._v(" Domainstudio")]),t._v(" "),e("div",{staticClass:"custom-block unobtrusive-info"},[e("p",[t._v("The DomainStudio search generates a list of domain names from several selected sources and adds further data to the search results.")])]),t._v(" "),e("p",[t._v("General call of tasks:")]),t._v(" "),e("div",{staticClass:"language-php extra-class"},[e("pre",{pre:!0,attrs:{class:"language-php"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// returns an array of DomainRobot/Models/Envelope")]),t._v("\n "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$suggestions")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("domainStudio")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("search")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainEnvelopeSearchRequest")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),e("p",[t._v("List of all available tasks with linked examples:")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domainstudio/DomainStudioSearch.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("search"),e("OutboundLink")],1),t._v("(DomainEnvelopeSearchRequest $domainEnvelopeSearchRequest)")])]),t._v(" "),e("div",{staticClass:"custom-block tip"},[e("p",{staticClass:"custom-block-title"},[t._v("Additional information")]),t._v(" "),e("p",[t._v("You can also find a more extensive documentation of the DomainStudio API here:")]),t._v(" "),e("p",[e("a",{attrs:{href:"https://help.internetx.com/display/APIADDITIONALEN/DomainStudio+Guide",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://help.internetx.com/display/APIADDITIONALEN/DomainStudio+Guide"),e("OutboundLink")],1)])])])}),[],!1,null,null,null);a.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/16.e2c4c6c0.js b/assets/js/16.e2c4c6c0.js new file mode 100644 index 00000000..782c5a20 --- /dev/null +++ b/assets/js/16.e2c4c6c0.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{451:function(t,a,e){"use strict";e.r(a);var r=e(35),s=Object(r.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"pc-domains"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#pc-domains"}},[t._v("#")]),t._v(" PC Domains")]),t._v(" "),e("p",[t._v("General call of tasks:")]),t._v(" "),e("div",{staticClass:"language-php extra-class"},[e("pre",{pre:!0,attrs:{class:"language-php"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$apiEstimationResponse")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("pcDomains")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("estimation")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$estimation")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),e("p",[t._v("List of all available tasks with linked examples:")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/pc_domains/Estimation.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("estimation"),e("OutboundLink")],1),t._v("(Estimation $estimation)")]),t._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/pc_domains/Keyword.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("keyword"),e("OutboundLink")],1),t._v("(Keywords $keywords)")]),t._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/pc_domains/Meta.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("meta"),e("OutboundLink")],1),t._v("(string $domain)")]),t._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/pc_domains/Majestic.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("majestic"),e("OutboundLink")],1),t._v("(Domains $domains)")]),t._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/pc_domains/Wayback.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("wayback"),e("OutboundLink")],1),t._v("(string $domain)")])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/17.f088990d.js b/assets/js/17.f088990d.js new file mode 100644 index 00000000..1f4396ab --- /dev/null +++ b/assets/js/17.f088990d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{452:function(t,a,e){"use strict";e.r(a);var s=e(35),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"poll"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#poll"}},[t._v("#")]),t._v(" Poll")]),t._v(" "),e("p",[t._v("General call of tasks:")]),t._v(" "),e("div",{staticClass:"language-php extra-class"},[e("pre",{pre:!0,attrs:{class:"language-php"}},[e("code",[t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$pollMessage")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token property"}},[t._v("poll")]),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),e("span",{pre:!0,attrs:{class:"token function"}},[t._v("info")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),e("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),e("ul",[e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/poll/ConfirmPollMessage.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("info"),e("OutboundLink")],1)]),t._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/poll/ConfirmPollMessage.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("confirm"),e("OutboundLink")],1),t._v("(int $id)")])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/18.dd66fc0b.js b/assets/js/18.dd66fc0b.js new file mode 100644 index 00000000..7ee50b87 --- /dev/null +++ b/assets/js/18.dd66fc0b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{453:function(t,e,r){"use strict";r.r(e);var a=r(35),s=Object(a.a)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"redirect"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#redirect"}},[t._v("#")]),t._v(" Redirect")]),t._v(" "),r("p",[t._v("General call of tasks:")]),t._v(" "),r("div",{staticClass:"language-php extra-class"},[r("pre",{pre:!0,attrs:{class:"language-php"}},[r("code",[t._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$redirect")]),t._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),r("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),r("span",{pre:!0,attrs:{class:"token property"}},[t._v("redirect")]),r("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),r("span",{pre:!0,attrs:{class:"token function"}},[t._v("create")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/redirect/RedirectCreateDomain.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("createDomain"),r("OutboundLink")],1),t._v("(Redirect $redirect)")]),t._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/redirect/RedirectCreateEmail.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("createEmail"),r("OutboundLink")],1),t._v("(Redirect $redirect)")])])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/19.e93272e9.js b/assets/js/19.e93272e9.js new file mode 100644 index 00000000..67d8a2ed --- /dev/null +++ b/assets/js/19.e93272e9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{454:function(t,s,a){"use strict";a.r(s);var e=a(35),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"sslcontact"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#sslcontact"}},[t._v("#")]),t._v(" SslContact")]),t._v(" "),a("div",{staticClass:"custom-block unobtrusive-info"},[a("p",[t._v("Contact tasks used for all certificate tasks.")])]),t._v(" "),a("p",[t._v("General call of tasks:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$sslContact")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("sslContact")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("create")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$sslContact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("ul",[a("li",[t._v("create(SslContact $sslContact);")]),t._v(" "),a("li",[t._v("update(SslContact $sslContact);")]),t._v(" "),a("li",[t._v("delete(int $id);")]),t._v(" "),a("li",[t._v("info(int $id);")]),t._v(" "),a("li",[t._v("list(Query $query = null);")])])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/2.b42df74b.js b/assets/js/2.b42df74b.js new file mode 100644 index 00000000..73c65410 --- /dev/null +++ b/assets/js/2.b42df74b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{358:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"i",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return d})),n.d(e,"c",(function(){return g})),n.d(e,"j",(function(){return v}));n(36),n(87),n(360),n(115),n(362),n(202),n(86),n(122),n(8),n(123),n(40),n(118),n(195);var i=/#.*$/,r=/\.(md|html)$/,s=/\/$/,a=/^(https?:|mailto:|tel:|[a-zA-Z]{4,}:)/;function o(t){return decodeURI(t).replace(i,"").replace(r,"")}function l(t){return a.test(t)}function u(t){return/^mailto:/.test(t)}function c(t){return/^tel:/.test(t)}function h(t){if(l(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return s.test(r)?t:r+".html"+n}function p(t,e){var n=t.hash,r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function f(t,e,n){if(l(e))return{type:"external",path:e};n&&(e=function(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var s=t.replace(/^\//,"").split("/"),a=0;a3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return f(n,e,i);if(Array.isArray(e))return Object.assign(f(n,e[0],i),{title:e[1]});r>3&&console.error("[vuepress] detected a too deep nested sidebar group.");var s=e.children||[];return 0===s.length&&e.path?Object.assign(f(n,e.path,i),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,children:s.map((function(e){return t(e,n,i,r+1)})),collapsable:!1!==e.collapsable}}(t,r,u)})):[]}return[]}function g(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function v(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},360:function(t,e,n){"use strict";var i=n(12),r=n(199),s=n(9),a=n(88),o=n(16),l=n(27),u=n(60),c=n(200),h=n(201);r("match",(function(t,e,n){return[function(e){var n=l(this),r=null==e?void 0:u(e,t);return r?i(r,e,n):new RegExp(e)[t](o(n))},function(t){var i=s(this),r=o(t),l=n(e,i,r);if(l.done)return l.value;if(!i.global)return h(i,r);var u=i.unicode;i.lastIndex=0;for(var p,f=[],d=0;null!==(p=h(i,r));){var g=o(p[0]);f[d]=g,""===g&&(i.lastIndex=c(r,a(i.lastIndex),u)),d++}return 0===d?null:f}]}))},362:function(t,e,n){"use strict";var i=n(30),r=n(12),s=n(1),a=n(199),o=n(196),l=n(9),u=n(27),c=n(119),h=n(200),p=n(88),f=n(16),d=n(60),g=n(206),v=n(201),m=n(91),b=n(194),_=n(3),k=b.UNSUPPORTED_Y,x=Math.min,C=[].push,$=s(/./.exec),y=s(C),w=s("".slice);a("split",(function(t,e,n){var s;return s="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var s=f(u(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[s];if(!o(t))return r(e,s,t,a);for(var l,c,h,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,b=new RegExp(t.source,d+"g");(l=r(m,b,s))&&!((c=b.lastIndex)>v&&(y(p,w(s,v,l.index)),l.length>1&&l.index=a));)b.lastIndex===l.index&&b.lastIndex++;return v===s.length?!h&&$(b,"")||y(p,""):y(p,w(s,v)),p.length>a?g(p,0,a):p}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e,[function(e,n){var i=u(this),a=null==e?void 0:d(e,t);return a?r(a,e,i,n):r(s,f(i),e,n)},function(t,i){var r=l(this),a=f(t),o=n(s,r,a,i,s!==e);if(o.done)return o.value;var u=c(r,RegExp),d=r.unicode,g=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(k?"g":"y"),m=new u(k?"^(?:"+r.source+")":r,g),b=void 0===i?4294967295:i>>>0;if(0===b)return[];if(0===a.length)return null===v(m,a)?[a]:[];for(var _=0,C=0,$=[];C@^][^\s!#%&*+<=>@^]*>/,P=/a/g,A=/a/g,N=new w(P)!==P,U=g.MISSED_STICKY,W=g.UNSUPPORTED_Y,H=i&&(!N||U||C||$||m((function(){return A[y]=!1,w(P)!=P||w(A)==A||"/a/i"!=w(P,"i")})));if(a("RegExp",H)){for(var M=function(t,e){var n,i,r,s,a,u,c=h(S,this),d=p(t),g=void 0===e,v=[],m=t;if(!c&&d&&g&&t.constructor===M)return t;if((d||h(S,t))&&(t=t.source,g&&(e="flags"in m?m.flags:O(m))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),m=t,C&&"dotAll"in P&&(i=!!e&&T(e,"s")>-1)&&(e=j(e,/s/g,"")),n=e,U&&"sticky"in P&&(r=!!e&&T(e,"y")>-1)&&W&&(e=j(e,/y/g,"")),$&&(t=(s=function(t){for(var e,n=t.length,i=0,r="",s=[],a={},o=!1,l=!1,u=0,c="";i<=n;i++){if("\\"===(e=I(t,i)))e+=I(t,++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:E(R,D(t,i+1))&&(i+=2,l=!0),r+=e,u++;continue;case">"===e&&l:if(""===c||b(a,c))throw new L("Invalid capture group name");a[c]=!0,s[s.length]=[c,u],l=!1,c="";continue}l?c+=e:r+=e}return[r,s]}(t))[0],v=s[1]),a=o(w(t,e),c?this:S,M),(i||r||v.length)&&(u=_(a),i&&(u.dotAll=!0,u.raw=M(function(t){for(var e,n=t.length,i=0,r="",s=!1;i<=n;i++)"\\"!==(e=I(t,i))?s||"."!==e?("["===e?s=!0:"]"===e&&(s=!1),r+=e):r+="[\\s\\S]":r+=e+I(t,++i);return r}(t),n)),r&&(u.sticky=!0),v.length&&(u.groups=v)),t!==m)try{l(a,"source",""===m?"(?:)":m)}catch(t){}return a},B=function(t){t in M||u(M,t,{configurable:!0,get:function(){return w[t]},set:function(e){w[t]=e}})},G=c(w),q=0;G.length>q;)B(G[q++]);S.constructor=M,M.prototype=S,v(r,"RegExp",M)}k("RegExp")},366:function(t,e,n){var i=n(0),r=n(7),s=n(198),a=n(23),o=n(11).f,l=n(37).get,u=RegExp.prototype,c=i.TypeError;r&&s&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},367:function(t,e,n){var i=n(0),r=n(7),s=n(194).MISSED_STICKY,a=n(23),o=n(11).f,l=n(37).get,u=RegExp.prototype,c=i.TypeError;r&&s&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},368:function(t,e,n){"use strict";var i=n(1),r=n(89).PROPER,s=n(14),a=n(9),o=n(28),l=n(16),u=n(3),c=n(197),h=RegExp.prototype,p=h.toString,f=i(c),d=u((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),g=r&&"toString"!=p.name;(d||g)&&s(RegExp.prototype,"toString",(function(){var t=a(this),e=l(t.source),n=t.flags;return"/"+e+"/"+l(void 0===n&&o(h,t)&&!("flags"in h)?f(t):n)}),{unsafe:!0})},369:function(t,e,n){},370:function(t,e,n){},371:function(t,e,n){},372:function(t,e,n){},373:function(t,e,n){},374:function(t,e,n){},375:function(t,e,n){},376:function(t,e,n){},377:function(t,e,n){},378:function(t,e,n){},379:function(t,e,n){},380:function(t,e,n){},392:function(t,e,n){"use strict";n.r(e);n(116),n(8);var i=n(358),r={name:"SidebarGroup",props:["item","open","collapsable","depth"],components:{DropdownTransition:n(393).a},beforeCreate:function(){this.$options.components.SidebarLinks=n(392).default},methods:{isActive:i.e}},s=(n(409),n(35)),a=Object(s.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sidebar-group",class:[{collapsable:t.collapsable,"is-sub-group":0!==t.depth},"depth-"+t.depth]},[t.item.path?n("router-link",{staticClass:"sidebar-heading clickable",class:{open:t.open,active:t.isActive(t.$route,t.item.path)},attrs:{to:t.item.path},nativeOn:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]):n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:t.item.children,sidebarDepth:t.item.sidebarDepth,depth:t.depth+1}}):t._e()],1)],1)}),[],!1,null,null,null).exports;n(36),n(115),n(86);function o(t,e,n,i){return t("router-link",{props:{to:e,activeClass:"",exactActiveClass:""},class:{active:i,"sidebar-link":!0}},n)}function l(t,e,n,r,s){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||a>s?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var u=Object(i.e)(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[o(t,n+"#"+e.slug,e.title,u),l(t,e.children,n,r,s,a+1)])})))}var u={functional:!0,props:["item","sidebarDepth"],render:function(t,e){var n=e.parent,r=n.$page,s=(n.$site,n.$route),a=n.$themeConfig,u=n.$themeLocaleConfig,c=e.props,h=c.item,p=c.sidebarDepth,f=Object(i.e)(s,h.path),d="auto"===h.type?f||h.children.some((function(t){return Object(i.e)(s,h.basePath+"#"+t.slug)})):f,g="external"===h.type?function(t,e,n){return t("a",{attrs:{href:e,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,t("OutboundLink")])}(t,h.path,h.title||h.path):o(t,h.path,h.title||h.path,d),v=r.frontmatter.sidebarDepth||p||u.sidebarDepth||a.sidebarDepth,m=null==v?1:v,b=u.displayAllHeaders||a.displayAllHeaders;return"auto"===h.type?[g,l(t,h.children,h.basePath,s,m)]:(d||b)&&h.headers&&!i.d.test(h.path)?[g,l(t,Object(i.c)(h.headers),h.path,s,m)]:g}};n(410);var c={name:"SidebarLinks",components:{SidebarGroup:a,SidebarLink:Object(s.a)(u,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth"],data:function(){return{openGroupIndex:0}},created:function(){this.refreshIndex()},watch:{$route:function(){this.refreshIndex()}},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return Object(i.e)(this.$route,t.regularPath)}}},h=Object(s.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,(function(e,i){return n("li",{key:i},["group"===e.type?n("SidebarGroup",{attrs:{item:e,open:i===t.openGroupIndex,collapsable:e.collapsable||e.collapsible,depth:t.depth},on:{toggle:function(e){return t.toggleGroup(i)}}}):n("SidebarLink",{attrs:{sidebarDepth:t.sidebarDepth,item:e}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=h.exports},393:function(t,e,n){"use strict";var i={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},r=(n(404),n(35)),s=Object(r.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.a=s.exports},394:function(t,e,n){"use strict";var i=n(2),r=n(395);i({target:"String",proto:!0,forced:n(396)("link")},{link:function(t){return r(this,"a","href",t)}})},395:function(t,e,n){var i=n(1),r=n(27),s=n(16),a=/"/g,o=i("".replace);t.exports=function(t,e,n,i){var l=s(r(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+o(s(i),a,""")+'"'),u+">"+l+""}},396:function(t,e,n){var i=n(3);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},397:function(t,e,n){"use strict";n(363)},398:function(t,e,n){var i=n(2),r=n(399);i({global:!0,forced:parseInt!=r},{parseInt:r})},399:function(t,e,n){var i=n(0),r=n(3),s=n(1),a=n(16),o=n(203).trim,l=n(204),u=i.parseInt,c=i.Symbol,h=c&&c.iterator,p=/^[+-]?0x/i,f=s(p.exec),d=8!==u(l+"08")||22!==u(l+"0x16")||h&&!r((function(){u(Object(h))}));t.exports=d?function(t,e){var n=o(a(t));return u(n,e>>>0||(f(p,n)?16:10))}:u},400:function(t,e,n){var i=n(89).PROPER,r=n(3),s=n(204);t.exports=function(t){return r((function(){return!!s[t]()||"​…᠎"!=="​…᠎"[t]()||i&&s[t].name!==t}))}},401:function(t,e,n){"use strict";var i,r=n(2),s=n(1),a=n(29).f,o=n(88),l=n(16),u=n(120),c=n(27),h=n(121),p=n(18),f=s("".endsWith),d=s("".slice),g=Math.min,v=h("endsWith");r({target:"String",proto:!0,forced:!!(p||v||(i=a(String.prototype,"endsWith"),!i||i.writable))&&!v},{endsWith:function(t){var e=l(c(this));u(t);var n=arguments.length>1?arguments[1]:void 0,i=e.length,r=void 0===n?i:g(o(n),i),s=l(t);return f?f(e,s,r):d(e,r-s.length,r)===s}})},402:function(t,e,n){"use strict";n(369)},403:function(t,e,n){"use strict";n(370)},404:function(t,e,n){"use strict";n(371)},405:function(t,e,n){"use strict";n(372)},406:function(t,e,n){"use strict";n(373)},407:function(t,e,n){"use strict";n(374)},408:function(t,e,n){"use strict";n(375)},409:function(t,e,n){"use strict";n(376)},410:function(t,e,n){"use strict";n(377)},411:function(t,e,n){"use strict";n(378)},412:function(t,e,n){"use strict";n(379)},413:function(t,e,n){"use strict";n(380)},440:function(t,e,n){"use strict";n.r(e);n(394),n(116),n(8),n(117);var i=n(358),r={props:{item:{required:!0}},computed:{link:function(){return Object(i.b)(this.item.link)},exact:function(){var t=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(e){return e===t.link})):"/"===this.link}},methods:{isExternal:i.f,isMailto:i.g,isTel:i.h}},s=n(35),a=Object(s.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isExternal(t.link)?n("a",{staticClass:"nav-link external",attrs:{href:t.link,target:t.isMailto(t.link)||t.isTel(t.link)?null:"_blank",rel:t.isMailto(t.link)||t.isTel(t.link)?null:"noopener noreferrer"}},[t._v("\n "+t._s(t.item.text)+"\n "),n("OutboundLink")],1):n("router-link",{staticClass:"nav-link",attrs:{to:t.link,exact:t.exact}},[t._v(t._s(t.item.text))])}),[],!1,null,null,null).exports,o={components:{NavLink:a},computed:{data:function(){return this.$page.frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}}}},l=(n(397),Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"home",attrs:{"aria-labelledby":"main-title"}},[n("header",{staticClass:"hero"},[t.data.heroImage?n("img",{attrs:{src:t.$withBase(t.data.heroImage),alt:t.data.heroAlt||"hero"}}):t._e(),t._v(" "),null!==t.data.heroText?n("h1",{attrs:{id:"main-title"}},[t._v(t._s(t.data.heroText||t.$title||"Hello"))]):t._e(),t._v(" "),n("p",{staticClass:"description"},[t._v(t._s(t.data.tagline||t.$description||"Welcome to your VuePress site"))]),t._v(" "),t.data.actionText&&t.data.actionLink?n("p",{staticClass:"action"},[n("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?n("div",{staticClass:"features"},t._l(t.data.features,(function(e,i){return n("div",{key:i,staticClass:"feature"},[n("h2",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),n("Content",{staticClass:"theme-default-content custom"}),t._v(" "),t.data.footer?n("div",{staticClass:"footer"},[t._v(t._s(t.data.footer))]):t._e()],1)}),[],!1,null,null,null).exports),u=(n(398),n(364),n(195),n(118),n(40),n(36),n(360),n(208),n(209),n(202),n(87),n(365),n(366),n(367),n(368),n(86),n(362),n(115),n(401),n(211)),c=n.n(u),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c()(e,"title","");return c()(e,"frontmatter.tags")&&(i+=" ".concat(e.frontmatter.tags.join(" "))),n&&(i+=" ".concat(n)),p(t,i)},p=function(t,e){var n=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},i=new RegExp("[^\0-]"),r=t.split(/\s+/g).map((function(t){return t.trim()})).filter((function(t){return!!t}));if(i.test(t))return r.some((function(t){return e.toLowerCase().indexOf(t)>-1}));var s=t.endsWith(" ");return new RegExp(r.map((function(t,e){return r.length!==e+1||s?"(?=.*\\b".concat(n(t),"\\b)"):"(?=.*\\b".concat(n(t),")")})).join("")+".+","gi").test(e)},f={name:"SearchBox",data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var t=this.query.trim().toLowerCase();if(t){for(var e=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,i=this.$localePath,r=[],s=0;s=n);s++){var a=e[s];if(this.getPageLocalePath(a)===i&&this.isSearchable(a))if(h(t,a))r.push(a);else if(a.headers)for(var o=0;o=n);o++){var l=a.headers[o];l.title&&h(t,a,l.title)&&r.push(Object.assign({},a,{path:a.path+"#"+l.slug,header:l}))}}return r}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},isSearchable:function(t){var e=null;return null===e||(e=Array.isArray(e)?e:new Array(e)).filter((function(e){return t.path.match(e)})).length>0},onHotkey:function(t){t.srcElement===document.body&&["s","/"].includes(t.key)&&(this.$refs.input.focus(),t.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})),0):t._e()])}),[],!1,null,null,null).exports),g=(n(403),Object(s.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-button",on:{click:function(e){return t.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),v=n(58),m=(n(210),{components:{NavLink:a,DropdownTransition:n(393).a},data:function(){return{open:!1}},props:{item:{required:!0}},methods:{toggle:function(){this.open=!this.open}}}),b=(n(405),{components:{NavLink:a,DropdownLink:Object(s.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("a",{staticClass:"dropdown-title",on:{click:t.toggle}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,(function(e,i){return n("li",{key:e.link||i,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v(t._s(e.text))]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,(function(t){return n("li",{key:t.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:t}})],1)})),0):n("NavLink",{attrs:{item:e}})],1)})),0)])],1)}),[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,i=this.$router.options.routes,r=this.$site.themeConfig.locales||{},s={text:this.$themeLocaleConfig.selectText||"Languages",items:Object.keys(e).map((function(s){var a,o=e[s],l=r[s]&&r[s].label||o.lang;return o.lang===t.$lang?a=n:(a=n.replace(t.$localeConfig.path,s),i.some((function(t){return t.path===a}))||(a=s)),{text:l,link:a}}))};return[].concat(Object(v.a)(this.userNav),[s])}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(t){return Object.assign(Object(i.j)(t),{items:(t.items||[]).map(i.j)})}))},repoLink:function(){var t=this.$site.themeConfig.repo;if(t)return/^https?:/.test(t)?t:"https://github.com/".concat(t)},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;nMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),O=(n(412),n(413),Object(s.a)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){return t.toggleSidebar(!1)}}}),t._v(" "),t.$page.frontmatter.home?n("Home"):n("div",{staticClass:"docs-layout"},[n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar}},[t._t("sidebar-top",null,{slot:"top"}),t._v(" "),t._t("sidebar-bottom",null,{slot:"bottom"})],2),t._v(" "),n("Page",{attrs:{"sidebar-items":t.sidebarItems}},[t._t("page-top",null,{slot:"top"}),t._v(" "),t._t("page-bottom",null,{slot:"bottom"})],2)],1)],1)}),[],!1,null,null,null));e.default=O.exports}}]); \ No newline at end of file diff --git a/assets/js/20.b97386e4.js b/assets/js/20.b97386e4.js new file mode 100644 index 00000000..dcd1266f --- /dev/null +++ b/assets/js/20.b97386e4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{456:function(t,a,s){"use strict";s.r(a);var r=s(35),e=Object(r.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"transferout"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#transferout"}},[t._v("#")]),t._v(" Transferout")]),t._v(" "),s("p",[t._v("General call of tasks:")]),t._v(" "),s("div",{staticClass:"language-php extra-class"},[s("pre",{pre:!0,attrs:{class:"language-php"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$transferOut")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),s("span",{pre:!0,attrs:{class:"token property"}},[t._v("transferOut")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("answer")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$answer")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),s("ul",[s("li",[t._v("answer(string $domain, string $answer)")]),t._v(" "),s("li",[t._v("list(Query $query = null)")])])])}),[],!1,null,null,null);a.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/21.49b70fbb.js b/assets/js/21.49b70fbb.js new file mode 100644 index 00000000..6c88e351 --- /dev/null +++ b/assets/js/21.49b70fbb.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{455:function(t,a,s){"use strict";s.r(a);var e=s(35),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"trustedapplication"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#trustedapplication"}},[t._v("#")]),t._v(" TrustedApplication")]),t._v(" "),s("p",[t._v("General call of tasks:")]),t._v(" "),s("div",{staticClass:"language-php extra-class"},[s("pre",{pre:!0,attrs:{class:"language-php"}},[s("code",[t._v(" "),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$trustedApplication")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),s("span",{pre:!0,attrs:{class:"token property"}},[t._v("trustedApp")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("create")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$trustedApplication")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("ul",[s("li",[t._v("create(TrustedApplication $trustedApplication);")]),t._v(" "),s("li",[t._v("update(TrustedApplication $trustedApplication);")]),t._v(" "),s("li",[t._v("delete(int $id);")]),t._v(" "),s("li",[t._v("info(int $id);")]),t._v(" "),s("li",[t._v("list(Query $query = null);")])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/22.c8980cde.js b/assets/js/22.c8980cde.js new file mode 100644 index 00000000..c3d32aae --- /dev/null +++ b/assets/js/22.c8980cde.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{457:function(e,t,r){"use strict";r.r(t);var s=r(35),a=Object(s.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"user"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#user"}},[e._v("#")]),e._v(" User")]),e._v(" "),r("p",[e._v("General call of tasks:")]),e._v(" "),r("div",{staticClass:"language-php extra-class"},[r("pre",{pre:!0,attrs:{class:"language-php"}},[r("code",[e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$objectJob")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$domainrobot")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token property"}},[e._v("user")]),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("info")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$user")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(",")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$context")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),r("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),r("p",[e._v("List of all available tasks with linked examples:")]),e._v(" "),r("ul",[r("li",[e._v("create(User $user)")]),e._v(" "),r("li",[e._v("info(string $user, int $context) "),r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/user/UserInfo.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("example"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("update(User $user)")]),e._v(" "),r("li",[e._v("delete(string $user, int $context)")]),e._v(" "),r("li",[e._v("list(Query $query = null) "),r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/user/UserList.php",target:"_blank",rel:"noopener noreferrer"}},[e._v("example"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("billingObjectLimitInfo(array $keys = [], array $articleTypes = [])")]),e._v(" "),r("li",[e._v("billingObjectTermsInfo()")]),e._v(" "),r("li",[e._v("updateLock(string $user, int $context, array $keys = [])")]),e._v(" "),r("li",[e._v("updateUnlock(string $user, int $context, array $keys = [])")]),e._v(" "),r("li",[e._v("copy(string $user, string $context, User $user)")]),e._v(" "),r("li",[e._v("profileInfo(string $user, string $context, $prefix = '')")]),e._v(" "),r("li",[e._v("profileUpdate(string $user, string $context, UserProfileViews $userProfileViews)")]),e._v(" "),r("li",[e._v("serviceProfileInfo(string $user, string $context, $prefix = '')")]),e._v(" "),r("li",[e._v("serviceProfileUpdate(string $user, string $context, ServiceProfiles $serviceProfiles)")])])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/23.9557da7d.js b/assets/js/23.9557da7d.js new file mode 100644 index 00000000..a78e2ef6 --- /dev/null +++ b/assets/js/23.9557da7d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{458:function(t,s,a){"use strict";a.r(s);var e=a(35),r=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"whois"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#whois"}},[t._v("#")]),t._v(" Whois")]),t._v(" "),a("div",{staticClass:"custom-block unobtrusive-info"},[a("p",[t._v("Get the Whois Information of given Domains.")])]),t._v(" "),a("p",[t._v("General call of tasks:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$whoisStatus")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("whois")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("multi")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$request")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("domains")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("List of all available tasks with linked examples:")]),t._v(" "),a("ul",[a("li",[t._v("single(string $domain)")]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/whois/WhoisMulti.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("multi"),a("OutboundLink")],1),t._v("(array $domains)")])])])}),[],!1,null,null,null);s.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/24.47efc3b0.js b/assets/js/24.47efc3b0.js new file mode 100644 index 00000000..ccfdf4c2 --- /dev/null +++ b/assets/js/24.47efc3b0.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{459:function(e,t,a){"use strict";a.r(t);var s=a(35),n=Object(s.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"zone"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#zone"}},[e._v("#")]),e._v(" Zone")]),e._v(" "),a("p",[e._v("General call of tasks:")]),e._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[e._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$zone")]),e._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[e._v("zone")]),a("span",{pre:!0,attrs:{class:"token operator"}},[e._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[e._v("create")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[e._v("$zone")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[e._v(";")]),e._v("\n")])])]),a("ul",[a("li",[e._v("create(Zone $zone);")]),e._v(" "),a("li",[e._v("update(Zone $zone);")]),e._v(" "),a("li",[e._v("delete(string $name, string $systemNameServer);")]),e._v(" "),a("li",[e._v("info(string $name, string $systemNameServer);")]),e._v(" "),a("li",[e._v("list(Query $query = null);")]),e._v(" "),a("li",[e._v("stream(string $origin, ZoneStream $zonestream);")]),e._v(" "),a("li",[e._v("importZone(Zone $zone);")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/25.5f971005.js b/assets/js/25.5f971005.js new file mode 100644 index 00000000..c1b038ff --- /dev/null +++ b/assets/js/25.5f971005.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{461:function(a,t,e){"use strict";e.r(t);var s=e(35),r=Object(s.a)({},(function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[e("h1",{attrs:{id:"changelog"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#changelog"}},[a._v("#")]),a._v(" Changelog")]),a._v(" "),e("h2",{attrs:{id:"_0-7-0-2020-08-25"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-7-0-2020-08-25"}},[a._v("#")]),a._v(" [0.7.0] - 2020-08-25")]),a._v(" "),e("ul",[e("li",[a._v("added pc.domains Service from InterNetX GmbH for Domain price checks\n"),e("ul",[e("li",[a._v("for more information visit "),e("a",{attrs:{href:"https://pc.domains",target:"_blank",rel:"noopener noreferrer"}},[a._v("pc.domains"),e("OutboundLink")],1)])])]),a._v(" "),e("li",[a._v("added more examples and fixed broken examples")]),a._v(" "),e("li",[a._v("rebuilt src/Model Structure to allow unlimited depth and stacking of models")]),a._v(" "),e("li",[a._v("reworked Model constructors")]),a._v(" "),e("li",[a._v("added Models for all pc.domains routes")])]),a._v(" "),e("h2",{attrs:{id:"_0-6-0-2020-06-23"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-6-0-2020-06-23"}},[a._v("#")]),a._v(" [0.6.0] - 2020-06-23")]),a._v(" "),e("ul",[e("li",[a._v("added possibility to gain direct access to response and request through callback methods")]),a._v(" "),e("li",[a._v("added User info and list tasks")]),a._v(" "),e("li",[a._v("added examples for some basic tasks\n"),e("ul",[e("li",[a._v("more examples (hopefully for all tasks) will be added in future versions")])])]),a._v(" "),e("li",[a._v("fixed some tasks that did not give correct access to the DomainrobotResult")]),a._v(" "),e("li",[a._v("improved documentation and readme")])]),a._v(" "),e("h2",{attrs:{id:"_0-5-2-2020-06-16"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-5-2-2020-06-16"}},[a._v("#")]),a._v(" [0.5.2] - 2020-06-16")]),a._v(" "),e("ul",[e("li",[a._v("Fixed printing null or empty values (#8)")]),a._v(" "),e("li",[a._v("Fixed warnings found by code analysis (PR #8)")]),a._v(" "),e("li",[a._v("Improve code documentation (PR #6)")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-7-2020-03-19"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-7-2020-03-19"}},[a._v("#")]),a._v(" [0.3.7] - 2020-03-19")]),a._v(" "),e("ul",[e("li",[a._v("Rename all DomainRobot string to Domainrobot")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-6-2020-03-19"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-6-2020-03-19"}},[a._v("#")]),a._v(" [0.3.6] - 2020-03-19")]),a._v(" "),e("ul",[e("li",[a._v("Rename namespace from IXDomainRobot to Domainrobot")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-5-2020-03-11"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-5-2020-03-11"}},[a._v("#")]),a._v(" [0.3.5] - 2020-03-11")]),a._v(" "),e("ul",[e("li",[a._v("Add automatic sdk version resolution")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-4-2020-03-02"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-4-2020-03-02"}},[a._v("#")]),a._v(" [0.3.4] - 2020-03-02")]),a._v(" "),e("ul",[e("li",[a._v("Fix DomainStudio->search() missing body")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-3-2020-03-02"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-3-2020-03-02"}},[a._v("#")]),a._v(" [0.3.3] - 2020-03-02")]),a._v(" "),e("ul",[e("li",[a._v("Fix imports")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-2-2020-03-02"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-2-2020-03-02"}},[a._v("#")]),a._v(" [0.3.2] - 2020-03-02")]),a._v(" "),e("ul",[e("li",[a._v("Fix imports")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-1-2020-03-02"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-1-2020-03-02"}},[a._v("#")]),a._v(" [0.3.1] - 2020-03-02")]),a._v(" "),e("ul",[e("li",[a._v("Add new services to DomainRobot class")])]),a._v(" "),e("h2",{attrs:{id:"_0-3-0-2020-03-02"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-3-0-2020-03-02"}},[a._v("#")]),a._v(" [0.3.0] - 2020-03-02")]),a._v(" "),e("ul",[e("li",[a._v("Added all important routes from the domainrobot open api documentation")]),a._v(" "),e("li",[a._v("Updated README.md")]),a._v(" "),e("li",[a._v("Fix return value of the DomainStudio->search() method")])]),a._v(" "),e("h2",{attrs:{id:"_0-2-0-2020-02-11"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-2-0-2020-02-11"}},[a._v("#")]),a._v(" [0.2.0] - 2020-02-11")]),a._v(" "),e("ul",[e("li",[a._v("Added DomainStudio calls")]),a._v(" "),e("li",[a._v("Added possiblity to use asynchronous as well as synchronous tasks")]),a._v(" "),e("li",[a._v("Improved documentation")])]),a._v(" "),e("h2",{attrs:{id:"_0-1-0-2020-02-10"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_0-1-0-2020-02-10"}},[a._v("#")]),a._v(" [0.1.0] - 2020-02-10")]),a._v(" "),e("ul",[e("li",[a._v("Initial release")])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/26.2788fdd9.js b/assets/js/26.2788fdd9.js new file mode 100644 index 00000000..ca69fd2d --- /dev/null +++ b/assets/js/26.2788fdd9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{460:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"acl-restriction"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#acl-restriction"}},[t._v("#")]),t._v(" ACL Restriction")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("ACLRestriction")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ACLRestriction")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("USER_LOCKED")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ACLRestriction")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("CHILDREN_LOCKED")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ACLRestriction")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("PARENT_LOCK")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ACLRestriction")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("NOT_LOCKED")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/27.fa1b25e5.js b/assets/js/27.fa1b25e5.js new file mode 100644 index 00000000..9fc5b24b --- /dev/null +++ b/assets/js/27.fa1b25e5.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{462:function(t,a,s){"use strict";s.r(a);var n=s(35),e=Object(n.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"contact-types"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#contact-types"}},[t._v("#")]),t._v(" Contact types")]),t._v(" "),s("div",{staticClass:"language-php extra-class"},[s("pre",{pre:!0,attrs:{class:"language-php"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("ContactTypeConstants")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),s("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ContactTypeConstants")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),s("span",{pre:!0,attrs:{class:"token constant"}},[t._v("PERSON")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// orginization")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ContactTypeConstants")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),s("span",{pre:!0,attrs:{class:"token constant"}},[t._v("ORG")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("ContactTypeConstants")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),s("span",{pre:!0,attrs:{class:"token constant"}},[t._v("ROLE")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),s("hr"),t._v(" "),s("p",[t._v("Used in :")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"http://localhost:8080/guide/api_tasks/contact.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("contact"),s("OutboundLink")],1),t._v("->"),s("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/ContactCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("create"),s("OutboundLink")],1),t._v("(Contact $contact)")])])])}),[],!1,null,null,null);a.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/28.3519dd90.js b/assets/js/28.3519dd90.js new file mode 100644 index 00000000..39d06bd0 --- /dev/null +++ b/assets/js/28.3519dd90.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{463:function(t,s,a){"use strict";a.r(s);var n=a(35),r=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"crypto-format"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#crypto-format"}},[t._v("#")]),t._v(" Crypto Format")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("CryptoFormatConstants")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("CryptoFormatConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("SHA1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("CryptoFormatConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("SHA256")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("CryptoFormatConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("SHA512")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("hr"),t._v(" "),a("p",[t._v("Used in :")]),t._v(" "),a("ul",[a("li",[t._v("OTPAuth")]),t._v(" "),a("li",[t._v("JsonResponseDataOTPAuth")])])])}),[],!1,null,null,null);s.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/29.9e02da3e.js b/assets/js/29.9e02da3e.js new file mode 100644 index 00000000..37f7bb91 --- /dev/null +++ b/assets/js/29.9e02da3e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{465:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"registry-status"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#registry-status"}},[t._v("#")]),t._v(" Registry Status")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("ACTIVE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("HOLD")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("LOCK")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("HOLD_LOCK")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("AUTO")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("LOCK_OWNER")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("LOCK_UPDATE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("PENDING")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("RegistryStatusConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("NONE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("hr"),t._v(" "),a("p",[t._v("Used in :")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"http://localhost:8080/guide/api_tasks/domain.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("domain"),a("OutboundLink")],1),t._v("->"),a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainUpdateStatus.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("updateStatus"),a("OutboundLink")],1),t._v("(Domain $domain)")])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/3.b945fc29.js b/assets/js/3.b945fc29.js new file mode 100644 index 00000000..f7fc2626 --- /dev/null +++ b/assets/js/3.b945fc29.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{357:function(e,t,n){"use strict";var r=n(381),o=Object.prototype.toString;function s(e){return Array.isArray(e)}function i(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===o.call(e)}function c(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function f(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(a)})),e.exports=f},381:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r0?"file="+this.file:""},fullUrl:function(){return this.url+"?"+this.params}},watch:{gistId:{handler:function(){this.$data.gistErr=!1,this.$data.gistData="loading...",this.getGistData()},immediate:!0,deep:!0}},methods:{getGistData:function(){var e=this;o(this.fullUrl,{timeout:2e4},(function(t,n){t?e.$data.gistErr=!0:e.gistData=n.div}))}}},i={name:"vue-embed-gist",props:{gistId:{type:String,required:!0},file:{type:String,required:!1}},render:function(e){return e(s,{props:{gistId:this.gistId,file:this.file}})}};e.exports=i},415:function(e,t,n){var r=n(416)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={});t||(t={});var i,a,c=t.prefix||"__jp",u=t.name||c+o++,f=t.param||"callback",l=null!=t.timeout?t.timeout:6e4,d=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;l&&(a=setTimeout((function(){h(),n&&n(new Error("Timeout"))}),l));function h(){i.parentNode&&i.parentNode.removeChild(i),window[u]=s,a&&clearTimeout(a)}return window[u]=function(e){r("jsonp got",e),h(),n&&n(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+f+"="+d(u)).replace("?&","?"),r('jsonp req "%s"',e),(i=document.createElement("script")).src=e,p.parentNode.insertBefore(i,p),function(){window[u]&&h()}};var o=0;function s(){}},416:function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(417)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,s=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(s=o))})),e.splice(s,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},417:function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,s=o-(r||o);e.diff=s,e.prev=r,e.curr=o,r=o;for(var i=new Array(arguments.length),a=0;a0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===c&&!1===isNaN(e))return t.long?i(a=e,s,"day")||i(a,o,"hour")||i(a,r,"minute")||i(a,n,"second")||a+" ms":function(e){if(e>=s)return Math.round(e/s)+"d";if(e>=o)return Math.round(e/o)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},419:function(e,t,n){e.exports=n(420)},420:function(e,t,n){"use strict";var r=n(357),o=n(381),s=n(421),i=n(388);var a=function e(t){var n=new s(t),a=o(s.prototype.request,n);return r.extend(a,s.prototype,n),r.extend(a,n),a.create=function(n){return e(i(t,n))},a}(n(361));a.Axios=s,a.Cancel=n(359),a.CancelToken=n(434),a.isCancel=n(387),a.VERSION=n(389).version,a.all=function(e){return Promise.all(e)},a.spread=n(435),a.isAxiosError=n(436),e.exports=a,e.exports.default=a},421:function(e,t,n){"use strict";var r=n(357),o=n(382),s=n(422),i=n(423),a=n(388),c=n(433),u=c.validators;function f(e){this.defaults=e,this.interceptors={request:new s,response:new s}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,f=[];if(this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)})),!o){var l=[i,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(f),s=Promise.resolve(t);l.length;)s=s.then(l.shift(),l.shift());return s}for(var d=t;r.length;){var p=r.shift(),h=r.shift();try{d=p(d)}catch(e){h(e);break}}try{s=i(d)}catch(e){return Promise.reject(e)}for(;f.length;)s=s.then(f.shift(),f.shift());return s},f.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){f.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=f},422:function(e,t,n){"use strict";var r=n(357);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},423:function(e,t,n){"use strict";var r=n(357),o=n(424),s=n(387),i=n(361),a=n(359);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},424:function(e,t,n){"use strict";var r=n(357),o=n(361);e.exports=function(e,t,n){var s=this||o;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},425:function(e,t,n){"use strict";var r=n(357);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},426:function(e,t,n){"use strict";var r=n(386);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},427:function(e,t,n){"use strict";var r=n(357);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,s,i){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(s)&&a.push("domain="+s),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},428:function(e,t,n){"use strict";var r=n(429),o=n(430);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},429:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},430:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},431:function(e,t,n){"use strict";var r=n(357),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,i={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},432:function(e,t,n){"use strict";var r=n(357);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},433:function(e,t,n){"use strict";var r=n(389).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,i){if(!1===e)throw new Error(o(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,i)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var s=r[o],i=t[s];if(i){var a=e[s],c=void 0===a||i(a,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}},validators:o}},434:function(e,t,n){"use strict";var r=n(359);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("TimeUnitConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("MONTH")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'period'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("12")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("hr"),t._v(" "),a("p",[t._v("Used in :")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"http://localhost:8080/guide/api_tasks/contact.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("certificate"),a("OutboundLink")],1),t._v("->"),a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/contact/CertificateCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("create"),a("OutboundLink")],1),t._v("(Certificate $certificate)")])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/31.28fd7709.js b/assets/js/31.28fd7709.js new file mode 100644 index 00000000..5e70f91d --- /dev/null +++ b/assets/js/31.28fd7709.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{475:function(e,t,r){"use strict";r.r(t);var n=r(35),a=Object(n.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"example-implementations"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#example-implementations"}},[e._v("#")]),e._v(" Example Implementations")]),e._v(" "),r("p",[e._v("You can find example implementations for almost all routes in the "),r("em",[e._v("example")]),e._v(" Folder in the source code.")]),e._v(" "),r("p",[r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/tree/master/example",target:"_blank",rel:"noopener noreferrer"}},[e._v("https://github.com/InterNetX/php-domainrobot-sdk/tree/master/example"),r("OutboundLink")],1)]),e._v(" "),r("p",[e._v("On top of that, you can find a completely working example implementation of the php-domainrobot-sdk with "),r("a",{attrs:{href:"https://laravel.com",target:"_blank",rel:"noopener noreferrer"}},[e._v("Laravel"),r("OutboundLink")],1),e._v(" here:\n"),r("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk-laravel",target:"_blank",rel:"noopener noreferrer"}},[e._v("@InterNetX/php-domainrobot-sdk-laravel"),r("OutboundLink")],1)])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/32.38fa28d0.js b/assets/js/32.38fa28d0.js new file mode 100644 index 00000000..058cacd0 --- /dev/null +++ b/assets/js/32.38fa28d0.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{468:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"exception-handling"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#exception-handling"}},[t._v("#")]),t._v(" Exception handling")]),t._v(" "),a("div",{staticClass:"custom-block tip"},[a("p",{staticClass:"custom-block-title"},[t._v("DomainrobotException")]),t._v(" "),a("p",[t._v("If there is any error response from the API, the services will throw a DomainrobotException, which contains information about the error.")])]),t._v(" "),a("p",[t._v("Therefore you should call all SDK tasks inside a try/catch block.")]),t._v(" "),a("h2",{attrs:{id:"try-catch-example"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#try-catch-example"}},[t._v("#")]),t._v(" Try/catch example")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("try")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$promise")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("certificate")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("createRealtime")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("catch")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DomainrobotException")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("return")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("json")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getError")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getStatusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[t._v("The specific "),a("strong",[t._v("error message")]),t._v(" is stored in $exception->error and can be accessed with $exception->getError().")]),t._v(" "),a("p",[t._v("The specific "),a("strong",[t._v("http status")]),t._v(" code can be accessed with $exception->getStatusCode().")]),t._v(" "),a("h2",{attrs:{id:"error-message-example"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#error-message-example"}},[t._v("#")]),t._v(" Error message example")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("stid"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("20200210")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("-")]),t._v("app3"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("-")]),t._v("dev"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("-")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("5050")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("messages"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("Array")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("Array")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("text"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" Domain validation failed on the "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("CA")]),t._v(" side"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(".")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("code"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("EF400139")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("status"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("ERROR")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("status"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("Array")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("code"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("E4001012")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("text"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("E4001012")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("type"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("ERROR")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token keyword type-declaration"}},[t._v("object")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("Array")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("type"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" Certificate\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("value"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" example"),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(".")]),t._v("com\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/33.b978ea78.js b/assets/js/33.b978ea78.js new file mode 100644 index 00000000..e3def3fd --- /dev/null +++ b/assets/js/33.b978ea78.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{467:function(t,s,a){"use strict";a.r(s);var e=a(35),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"setting-headers"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#setting-headers"}},[t._v("#")]),t._v(" Setting Headers")]),t._v(" "),a("p",[t._v("Custom Headers (see available headers in "),a("a",{attrs:{href:"#available-headers"}},[t._v("Available Headers")]),t._v(") can be set by calling the "),a("strong",[t._v("addHeaders")]),t._v(" method before calling a specific API task.\n"),a("strong",[t._v("addHeaders")]),t._v(" expects an array. Default headers can also be overwritten like this.")]),t._v(" "),a("p",[t._v("See example below.")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Lib"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateData")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("certificate")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("addHeaders")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_2FA_TOKEN")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"token"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("prepareOrder")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$body")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("h2",{attrs:{id:"available-headers"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#available-headers"}},[t._v("#")]),t._v(" Available Headers")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_DOMAINROBOT_STID")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_SESSION_ID")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_PRECEDENCE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_CONTEXT")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_BULK_LIMIT")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// needed for domainsafe tasks")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_PIN")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// for two factor authentication")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_2FA_TOKEN")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// needed for subuser tasks")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_OWNER_NAME")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// needed for subuser tasks")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_OWNER_CONTEXT")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// enable or disable demo mode for certain tasks")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_DEMO_MODE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_WEBSOCKET")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_WEBSOCKET_TARGET")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_CTID")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_SESSION_USER")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_OWNER")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("OMAINROBOT_HEADER_CUSTOMER")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("DomainrobotHeaders")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("DOMAINROBOT_HEADER_PROFILE")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("h2",{attrs:{id:"logging-sent-headers"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#logging-sent-headers"}},[t._v("#")]),t._v(" Logging sent headers")]),t._v(" "),a("p",[t._v("If you want to see which headers the SDK sends to the API you can do so by using the provided logging methods explained in "),a("a",{attrs:{href:"http://localhost:8080/guide/logging.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("Logging Requests and Responses"),a("OutboundLink")],1)]),t._v(" "),a("p",[t._v("A very simple example:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"logRequestCallback"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$requestOptions")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("Log")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("debug")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/34.cd341319.js b/assets/js/34.cd341319.js new file mode 100644 index 00000000..d74799a5 --- /dev/null +++ b/assets/js/34.cd341319.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{469:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"installation-and-usage"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#installation-and-usage"}},[t._v("#")]),t._v(" Installation and Usage")]),t._v(" "),a("div",{staticClass:"custom-block noheader"},[a("p",[t._v("internetx/php-domainrobot-sdk is a composer package.")])]),t._v(" "),a("p",[t._v("Official sources:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://packagist.org/packages/internetx/php-domainrobot-sdk",target:"_blank",rel:"noopener noreferrer"}},[t._v("packagist"),a("OutboundLink")],1)]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk",target:"_blank",rel:"noopener noreferrer"}},[t._v("github repository"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("If you have no prior experience with composer or do not know what composer is please refer to their official documentation at: "),a("a",{attrs:{href:"https://getcomposer.org",target:"_blank",rel:"noopener noreferrer"}},[t._v("getcomposer.org"),a("OutboundLink")],1)]),t._v(" "),a("h2",{attrs:{id:"installation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[t._v("#")]),t._v(" Installation")]),t._v(" "),a("div",{staticClass:"language-bash extra-class"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("composer")]),t._v(" require internetx/php-domainrobot-sdk\n")])])]),a("p",[t._v("If you do not use a php-framework like "),a("a",{attrs:{href:"https://laravel.com",target:"_blank",rel:"noopener noreferrer"}},[t._v("Laravel"),a("OutboundLink")],1),t._v(", "),a("a",{attrs:{href:"https://lumen.laravel.com",target:"_blank",rel:"noopener noreferrer"}},[t._v("Lumen"),a("OutboundLink")],1),t._v(","),a("a",{attrs:{href:"https://codeigniter.com/",target:"_blank",rel:"noopener noreferrer"}},[t._v("CodeIgniter"),a("OutboundLink")],1),t._v(", "),a("a",{attrs:{href:"https://symfony.com/",target:"_blank",rel:"noopener noreferrer"}},[t._v("Symfony"),a("OutboundLink")],1),t._v(" you need to require/import the composer generated autoloader manually.")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// path to package: vendor/internetx/php-domainrobot-sdk")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("require_once")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"vendor/autoload.php"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// now you can import the parts of the SDK you want to use")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("internetx/php-domainrobot-sdk uses the "),a("a",{attrs:{href:"https://www.php-fig.org/psr/psr-4/",target:"_blank",rel:"noopener noreferrer"}},[t._v("PSR-4: Autoloader"),a("OutboundLink")],1),t._v(" so once you've installed the package via composer and the required autoload.php file, you can start to implement your first task.")]),t._v(" "),a("h2",{attrs:{id:"usage-basic-auth"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#usage-basic-auth"}},[t._v("#")]),t._v(" Usage - Basic Auth")]),t._v(" "),a("p",[t._v("Before you can interact with the API you need to specify your authentication credentials, the baseurl and the context.")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Lib"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("DomainrobotAuth")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"url"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"https://api.autodns.com/v1"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"auth"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DomainrobotAuth")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"user"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"user"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"context"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("h2",{attrs:{id:"usage-session-id"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#usage-session-id"}},[t._v("#")]),t._v(" Usage - Session ID")]),t._v(" "),a("p",[t._v("Additionally to the authentication through basic auth, the API also offers the possibility\nto use a so called session id. This ID has to be created once and should then be stored (in a session or something similar) by your application for further usage.\nThe underlying idea behind this is comparable to a JWT authentciation approach.")]),t._v(" "),a("p",[t._v("You can find more information on this topic here: "),a("a",{attrs:{href:"https://help.internetx.com/display/APIXMLEN/Authentication#Authentication-AuthenticationviaSessionID",target:"_blank",rel:"noopener noreferrer"}},[t._v("Authentication via SessionID"),a("OutboundLink")],1)]),t._v(" "),a("p",[t._v("Below you can find a simple example of how to setup a session id authentication process.")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("LoginData")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// when working with a session id you don't need to declare the auth block here")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'url'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'https://api.demo.autodns.com/v1'")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// set your authentication data in a separate model")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("//this will is only needed for the initial call to get our session id")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$loginData")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("LoginData")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'user'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'user'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'password'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'password'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'context'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// login and create the session id")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// there are certain query parameters that you can define")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// all those parameters are entirely optional")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// the default config looks like this")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$queryParams")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'acl'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'profile'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'customer'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token constant boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'timeout'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("10")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("login")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sessionID")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$loginData")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$queryParams")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// session id is located in the headers so we have to get those")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// headers['x-domainrobot-sessionid'] should be stored in a session or something similar")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getLastDomainrobotResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getHeaders")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'url'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'https://api.demo.autodns.com/v1'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'headers'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'X-Domainrobot-SessionId'")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string single-quoted-string"}},[t._v("'X-Domainrobot-Stid'")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v(" \n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("div",{staticClass:"custom-block warning"},[a("p",{staticClass:"custom-block-title"},[t._v("Attention")]),t._v(" "),a("p",[t._v("You need an account in at last one of these two systems to be able to use this SDK.")])]),t._v(" "),a("ul",[a("li",[t._v("Production System: "),a("a",{attrs:{href:"https://api.autodns.com/v1",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://api.autodns.com/v1"),a("OutboundLink")],1)]),t._v(" "),a("li",[t._v("Demo System: "),a("a",{attrs:{href:"https://api.demo.autodns.com/v1",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://api.demo.autodns.com/v1"),a("OutboundLink")],1)])]),t._v(" "),a("h2",{attrs:{id:"domainrobot-configuration-parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#domainrobot-configuration-parameters"}},[t._v("#")]),t._v(" Domainrobot configuration parameters")]),t._v(" "),a("ul",[a("li",[t._v("url")]),t._v(" "),a("li",[t._v("auth: Domainrobot\\Lib\\DomainrobotAuth\n"),a("ul",[a("li",[t._v("user")]),t._v(" "),a("li",[t._v("password")]),t._v(" "),a("li",[t._v("context")])])]),t._v(" "),a("li",[t._v("logRequestCallback")]),t._v(" "),a("li",[t._v("logResponseCallback")])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/35.e022343d.js b/assets/js/35.e022343d.js new file mode 100644 index 00000000..6fd6f320 --- /dev/null +++ b/assets/js/35.e022343d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{474:function(t,e,a){"use strict";a.r(e);var n=a(35),s=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"instantiating-models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#instantiating-models"}},[t._v("#")]),t._v(" Instantiating models")]),t._v(" "),a("p",[t._v("All Models can be found in the Domainrobot\\Model namespace.")]),t._v(" "),a("p",[t._v("See an example of how to create a new model instance below:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateModel")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("You can find a list of all available Models in our official "),a("a",{attrs:{href:"https://help.internetx.com/display/APIJSONEN/Technical+Documentation",target:"_blank",rel:"noopener noreferrer"}},[t._v("Swagger documentation"),a("OutboundLink")],1),t._v(" at the bottom of the page in the section "),a("strong",[t._v("Models")]),t._v(".")]),t._v(" "),a("p",[t._v("Alternatively you can directly view the available models in the SDK source code "),a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/tree/master/src/Model",target:"_blank",rel:"noopener noreferrer"}},[t._v("here"),a("OutboundLink")],1),t._v(".")])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/36.bfebc2b2.js b/assets/js/36.bfebc2b2.js new file mode 100644 index 00000000..342e1df1 --- /dev/null +++ b/assets/js/36.bfebc2b2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{470:function(t,s,a){"use strict";a.r(s);var e=a(35),n=Object(e.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"logging-requests-and-responses"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#logging-requests-and-responses"}},[t._v("#")]),t._v(" Logging Requests and Responses")]),t._v(" "),a("p",[t._v("There may be certain circumstances where you may want to log your requests and responses.\nFor these cases we provide you with two integrated callback methods you can use for this purpose.")]),t._v(" "),a("h2",{attrs:{id:"implementation-and-usage"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#implementation-and-usage"}},[t._v("#")]),t._v(" Implementation and Usage")]),t._v(" "),a("p",[t._v("There are two possible ways to use these methods.")]),t._v(" "),a("ol",[a("li",[a("p",[t._v("Define them globally through the domainrobotConfig")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"url"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"https://api.autodns.com/v1"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"auth"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DomainrobotAuth")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"user"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"username"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"context"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"logRequestCallback"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$requestOptions")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("LogCallback")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("dailyRequest")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$requestOptions")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"logResponseCallback"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$statusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exectime")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("LogCallback")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("dailyResponse")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$statusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exectime")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n")])])])]),t._v(" "),a("li",[a("p",[t._v("Define them locally for a single request")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$user")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("User")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("find")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("1")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("logRequest")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$requestOptions")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$headers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$user")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// execute your code here")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("print_r")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$method")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("logResponse")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$url")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$statusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exectime")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$user")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// execute your code here")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("print_r")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$user")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("info")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"example.com"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])])]),t._v(" "),a("p",[a("br")]),t._v(" "),a("div",{staticClass:"custom-block warning"},[a("p",{staticClass:"custom-block-title"},[t._v("ATTENTION:")]),t._v(" "),a("p",[t._v("Local defintions for log callbacks will always overwrite global definitions.")])]),t._v(" "),a("h2",{attrs:{id:"request-parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#request-parameters"}},[t._v("#")]),t._v(" Request parameters")]),t._v(" "),a("ul",[a("li",[a("strong",[t._v("$method")]),t._v(": the HTTP Method used for the call")]),t._v(" "),a("li",[a("strong",[t._v("$url")]),t._v(": the URL the call is sent to")]),t._v(" "),a("li",[a("strong",[t._v("$requestOptions")]),t._v(": the request options that are sent with the call; contains query parameters and other settings")]),t._v(" "),a("li",[a("strong",[t._v("$headers")]),t._v(": the headers sent with the call")])]),t._v(" "),a("h2",{attrs:{id:"response-parameters"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#response-parameters"}},[t._v("#")]),t._v(" Response parameters")]),t._v(" "),a("ul",[a("li",[a("strong",[t._v("$url")]),t._v(": the url the call was sent to")]),t._v(" "),a("li",[a("strong",[t._v("$response")]),t._v(": the raw response we received from the backend")]),t._v(" "),a("li",[a("strong",[t._v("$statusCode")]),t._v(": the HTTP status code")]),t._v(" "),a("li",[a("strong",[t._v("$exectime")]),t._v(": the execution time of the full request from start to finish")])])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/37.59d1645d.js b/assets/js/37.59d1645d.js new file mode 100644 index 00000000..6e3847f4 --- /dev/null +++ b/assets/js/37.59d1645d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{471:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"model-configuration"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#model-configuration"}},[t._v("#")]),t._v(" Model configuration")]),t._v(" "),a("p",[t._v("Model properties can be set while creating a new model or after a model has been created.")]),t._v(" "),a("p",[t._v("The following examples are valid:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$timePeriod")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("TimePeriod")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"unit"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("TimeUnitConstants")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token constant"}},[t._v("MONTH")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"period"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("12")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateModel")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"lifetime"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$timePeriod")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"product"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"BASIC_SSL"')]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("use")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token package"}},[t._v("Domainrobot"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("Model"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("\\")]),t._v("TimePeriod")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateModel")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Certificate")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$timePeriod")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("TimePeriod")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"unit"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"MONTH"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"period"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("12")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateModel")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setLifetime")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$timePeriod")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$certificateModel")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setProduct")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"BASIC_SSL"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/38.510fa1a3.js b/assets/js/38.510fa1a3.js new file mode 100644 index 00000000..5dd27606 --- /dev/null +++ b/assets/js/38.510fa1a3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{472:function(e,t,r){"use strict";r.r(t);var o=r(35),n=Object(o.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"preamble"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#preamble"}},[e._v("#")]),e._v(" Preamble")]),e._v(" "),r("p",[r("a",{attrs:{href:"//packagist.org/packages/internetx/php-domainrobot-sdk"}},[r("img",{attrs:{src:"https://poser.pugx.org/internetx/php-domainrobot-sdk/v",alt:"Latest Stable Version"}})]),e._v(" "),r("a",{attrs:{href:"//packagist.org/packages/internetx/php-domainrobot-sdk"}},[r("img",{attrs:{src:"https://poser.pugx.org/internetx/php-domainrobot-sdk/downloads",alt:"Total Downloads"}})]),e._v(" "),r("a",{attrs:{href:"//packagist.org/packages/internetx/php-domainrobot-sdk"}},[r("img",{attrs:{src:"https://poser.pugx.org/internetx/php-domainrobot-sdk/license",alt:"License"}})])]),e._v(" "),r("p",[e._v("This composer package can be used within every composer project, including projects based on frameworks like "),r("a",{attrs:{href:"https://laravel.com",target:"_blank",rel:"noopener noreferrer"}},[e._v("Laravel"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://codeigniter.com/",target:"_blank",rel:"noopener noreferrer"}},[e._v("CodeIgniter"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://symfony.com/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Symfony"),r("OutboundLink")],1),e._v(" and many more.")]),e._v(" "),r("p",[r("strong",[e._v("Note:")]),e._v(" Feel free to contribute by creating pull requests or file an issue for bugs, questions and feature requests.")]),e._v(" "),r("h2",{attrs:{id:"copyright-and-license"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#copyright-and-license"}},[e._v("#")]),e._v(" Copyright and license")]),e._v(" "),r("p",[e._v("MIT License")]),e._v(" "),r("p",[e._v("Copyright (c) 2020 InterNetX GmbH")]),e._v(" "),r("p",[e._v('Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:')]),e._v(" "),r("p",[e._v("The above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.")]),e._v(" "),r("p",[e._v('THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.')])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/39.52a19d7a.js b/assets/js/39.52a19d7a.js new file mode 100644 index 00000000..46e40679 --- /dev/null +++ b/assets/js/39.52a19d7a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{476:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"asynchronous-vs-synchronous-requests"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#asynchronous-vs-synchronous-requests"}},[t._v("#")]),t._v(" Asynchronous vs Synchronous Requests")]),t._v(" "),a("div",{staticClass:"custom-block noheader"},[a("p",[t._v("This library is mainly meant to be used with "),a("strong",[t._v("synchronous")]),t._v(" request but also provides the possibility to be used with "),a("strong",[t._v("asynchronous")]),t._v(" requests.")])]),t._v(" "),a("hr"),t._v(" "),a("p",[a("em",[t._v("The "),a("strong",[t._v("main difference")]),t._v(" is that the asynchronous requests will provide you with less guidance than the synchronous requests.")])]),t._v(" "),a("hr"),t._v(" "),a("p",[t._v("See examples below for more information on this topic.")]),t._v(" "),a("p",[t._v("A synchronous request will return an Object as described in our official "),a("a",{attrs:{href:"https://help.internetx.com/display/APIJSONEN/Technical+Documentation",target:"_blank",rel:"noopener noreferrer"}},[t._v("swagger documentation"),a("OutboundLink")],1),t._v(", whereas an asynchronous request will give you a DomainrobotResult Object which will only return the response as a plain array. You will then have to handle the data on your own.")]),t._v(" "),a("p",[t._v("Both methods provide certain advantages in certain situations.")]),t._v(" "),a("p",[t._v("Be aware that in both cases you will have access to the return status code and the plain array result through:")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getLastDomainrobotResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getLastDomainrobotResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getStatusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("h2",{attrs:{id:"synchronous-response"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#synchronous-response"}},[t._v("#")]),t._v(" Synchronous response")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// will return an array of Domainrobot\\Model\\Domain")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainList")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("list")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$query")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// now you can loop through the array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// and query object properties of the domainList items")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("foreach")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainList")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("as")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$item")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("print_r")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$item")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("name")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// This is an example of a retrieved $domainList")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Array(")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [0] => Domainrobot\\Model\\Domain Object(")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [container:protected] => Array(")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [created] => 2019-09-12T10:31:00.000+0200")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [updated] => 2020-06-23T16:36:41.000+0200")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [owner] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [context] => 797095")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [user] => user")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [name] => example.com")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n\n")])])]),a("h2",{attrs:{id:"asynchronous-response"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#asynchronous-response"}},[t._v("#")]),t._v(" Asynchronous response")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// will return an array of domains as arrays")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("try")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$promise")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("listAsync")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$query")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$result")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$promise")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("wait")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("catch")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DomainrobotException")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("return")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("json")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getError")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$exception")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getStatusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// extract the resulting domain array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domanList")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$result")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// now you can loob through the array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// and query object properties through array key calls")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("foreach")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainList")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("as")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$item")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("print_r")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$item")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"name"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// get the status code of the request")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$result")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getStatusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// This is an example of the retrieved $domanList")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// Array(")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [stid] => 20200625-app3-dev-4752")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [status] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [code] => S0105")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [text] => Domain-Daten wurden erfolgreich ermittelt.")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [type] => SUCCESS")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [object] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [type] => Domain")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [summary] => 2")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [data] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [0] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [created] => 2019-09-12T10:31:00.000+0200")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [updated] => 2020-06-23T16:36:41.000+0200")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [owner] => Array")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// (")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [context] => 797095")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [user] => user")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// [name] => example.com")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// )")]),t._v("\n")])])])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/4.5569d4e5.js b/assets/js/4.5569d4e5.js new file mode 100644 index 00000000..4a6056c6 --- /dev/null +++ b/assets/js/4.5569d4e5.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{390:function(t,n,e){},438:function(t,n,e){"use strict";e(390)},443:function(t,n,e){"use strict";e.r(n);var s={data:function(){return{}}},i=(e(438),e(35)),r=Object(i.a)(s,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,n=this._self._c||t;return n("p",{staticClass:"sdk-footer"},[this._v("\n MIT Licensed | Copyright © 2020 InterNetX GmbH | "),n("a",{attrs:{href:"https://www.internetx.com/en/legal/imprint/"}},[this._v("Imprint")]),this._v(" |\n"),n("a",{attrs:{href:"https://www.internetx.com/en/legal/terms-and-conditions/"}},[this._v("Terms and Conditions")])])}],!1,null,"25aa1e39",null);n.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/40.1bd3ee82.js b/assets/js/40.1bd3ee82.js new file mode 100644 index 00000000..f1627e8d --- /dev/null +++ b/assets/js/40.1bd3ee82.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{473:function(t,s,a){"use strict";a.r(s);var n=a(35),e=Object(n.a)({},(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"models"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#models"}},[t._v("#")]),t._v(" Models")]),t._v(" "),a("p",[t._v("This SDK heavily relies on Models which are generated from our official "),a("a",{attrs:{href:"https://help.internetx.com/display/APIJSONEN/Technical+Documentation",target:"_blank",rel:"noopener noreferrer"}},[t._v("Swagger documentation"),a("OutboundLink")],1),t._v(".")]),t._v(" "),a("p",[t._v("If you are in doubt about which properties are accepted by a specific model you can always refer to this documentation or take a look at the "),a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/tree/master/example",target:"_blank",rel:"noopener noreferrer"}},[t._v("examples"),a("OutboundLink")],1),t._v(" we provide in the source code of the SDK.")]),t._v(" "),a("p",[t._v("To build a certain request, for example to create a domain, you will first have to create the general Domainrobot instance and then provide it with a Domain Model which itself is containing other Models as well.")]),t._v(" "),a("p",[t._v("Take a look at this "),a("a",{attrs:{href:"https://github.com/InterNetX/php-domainrobot-sdk/blob/master/example/domain/DomainCreate.php",target:"_blank",rel:"noopener noreferrer"}},[t._v("example"),a("OutboundLink")],1),t._v(":")]),t._v(" "),a("div",{staticClass:"language-php extra-class"},[a("pre",{pre:!0,attrs:{class:"language-php"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// create and configure the Domainrobot instance")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"url"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"https://api.autodns.com/v1"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"auth"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DomainrobotAuth")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"user"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"user"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"password"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"context"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("4")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// next we have to define and configure the Domain Model")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("Domain")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setName")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"php-sdk-test"')]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("uniqid")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('".de"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// the setNameServers method only accepts an array of NameServer Models")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setNameServers")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("NameServer")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"name"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"ns1.example.com"')]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("new")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("NameServer")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"name"')]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=>")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string double-quoted-string"}},[t._v('"ns2.example.com"')]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// we need to set contacts for this we inquire a contact we already know")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// and pass it into the DomainModel")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("contact")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("info")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("23194139")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// $contact is an intance of a Contact model")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setAdminc")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setOwnerc")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setTechc")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setZonec")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$contact")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("setIgnoreWhois")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token constant boolean"}},[t._v("true")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// finally create the domain")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token property"}},[t._v("domain")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("create")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token variable"}},[t._v("$domain")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[t._v("// and read the response and resulting statuscode")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("return")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("response")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("json")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getLastDomainrobotResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token class-name static-context"}},[t._v("Domainrobot")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getLastDomainrobotResult")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("->")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("getStatusCode")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("Specific examples for certain models can be found in the section "),a("strong",[t._v("Supported API calls")]),t._v(" which you can find in the left hand side menu.")])])}),[],!1,null,null,null);s.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/5.20fd0361.js b/assets/js/5.20fd0361.js new file mode 100644 index 00000000..9797b117 --- /dev/null +++ b/assets/js/5.20fd0361.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{391:function(t,e,n){},439:function(t,e,n){"use strict";n(391)},477:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(439),n(35)),a=Object(r.a)(i,void 0,void 0,!1,null,"86b323a0",null);e.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/6.ea4521c0.js b/assets/js/6.ea4521c0.js new file mode 100644 index 00000000..d5cff7f3 --- /dev/null +++ b/assets/js/6.ea4521c0.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{437:function(t,n){},442:function(t,n,e){"use strict";e.r(n);var i=e(414),u=e.n(i),r=(e(419),{components:{VueEmbedGist:u.a},data:function(){return{r:""}},props:{url:{type:String,default:""},id:{type:String,default:""}}}),s=e(35),a=e(437),l=e.n(a),o=Object(s.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("vue-embed-gist",{attrs:{"gist-id":this.id,file:this.url}})}),[],!1,null,null,null);"function"==typeof l.a&&l()(o);n.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/7.2e636d45.js b/assets/js/7.2e636d45.js new file mode 100644 index 00000000..f61a2145 --- /dev/null +++ b/assets/js/7.2e636d45.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{441:function(t,e,s){"use strict";s.r(e);var o=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],n={methods:{getMsg:function(){return o[Math.floor(Math.random()*o.length)]}}},i=s(35),h=Object(i.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("router-link",{attrs:{to:"/"}},[this._v("Take me home.")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]); \ No newline at end of file diff --git a/assets/js/8.572e6292.js b/assets/js/8.572e6292.js new file mode 100644 index 00000000..c2ebcd07 --- /dev/null +++ b/assets/js/8.572e6292.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{444:function(t,s,e){"use strict";e.r(s);var r=e(35),n=Object(r.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:""}},[s("a",{staticClass:"header-anchor",attrs:{href:"#"}},[this._v("#")])]),this._v(" "),s("hr"),this._v(" "),s("sdk-footer")],1)}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/9.eeaf7729.js b/assets/js/9.eeaf7729.js new file mode 100644 index 00000000..20213556 --- /dev/null +++ b/assets/js/9.eeaf7729.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{464:function(t,a,e){"use strict";e.r(a);var r=e(35),s=Object(r.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"config"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#config"}},[t._v("#")]),t._v(" Config")]),t._v(" "),e("h2",{attrs:{id:"foo"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#foo"}},[t._v("#")]),t._v(" foo")]),t._v(" "),e("ul",[e("li",[t._v("Type: "),e("code",[t._v("string")])]),t._v(" "),e("li",[t._v("Default: "),e("code",[t._v("/")])])]),t._v(" "),e("h2",{attrs:{id:"bar"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#bar"}},[t._v("#")]),t._v(" bar")]),t._v(" "),e("ul",[e("li",[t._v("Type: "),e("code",[t._v("string")])]),t._v(" "),e("li",[t._v("Default: "),e("code",[t._v("/")])])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/app.6d8fd644.js b/assets/js/app.6d8fd644.js new file mode 100644 index 00000000..43b0543e --- /dev/null +++ b/assets/js/app.6d8fd644.js @@ -0,0 +1,15 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,u=e[0],c=e[1],s=e[2],l=0,p=[];l=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(164),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(1),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e,n){var r,o=n(9),i=n(128),a=n(97),u=n(46),c=n(133),s=n(63),f=n(69),l=f("IE_PROTO"),p=function(){},d=function(t){return" + + diff --git a/guide/api_tasks/certificate.html b/guide/api_tasks/certificate.html new file mode 100644 index 00000000..d6dbd767 --- /dev/null +++ b/guide/api_tasks/certificate.html @@ -0,0 +1,46 @@ + + + + + + Certificate | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Certificate

Create, delete and manage certificates.

Find additional help here: https://help.internetx.com/display/SSLEN (opens new window)

General call of tasks:

 $objectJob = $domainrobot->certificate->create($certificate);
+

List of all available tasks with linked examples:

+ + + diff --git a/guide/api_tasks/contact.html b/guide/api_tasks/contact.html new file mode 100644 index 00000000..8e6b5177 --- /dev/null +++ b/guide/api_tasks/contact.html @@ -0,0 +1,46 @@ + + + + + + Contact | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/document.html b/guide/api_tasks/document.html new file mode 100644 index 00000000..bc00da1b --- /dev/null +++ b/guide/api_tasks/document.html @@ -0,0 +1,46 @@ + + + + + + Document | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/domain.html b/guide/api_tasks/domain.html new file mode 100644 index 00000000..1ab74da1 --- /dev/null +++ b/guide/api_tasks/domain.html @@ -0,0 +1,46 @@ + + + + + + Domain | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Domain

Create, delete and manage certificates.

Find additional help here: https://help.internetx.com/display/DOMAINEN (opens new window)

General call of tasks:

 $objectJob = $domainrobot->domain->create($domain);
+

List of all available tasks with linked examples:

+ + + diff --git a/guide/api_tasks/domain_cancelation.html b/guide/api_tasks/domain_cancelation.html new file mode 100644 index 00000000..fb6fd825 --- /dev/null +++ b/guide/api_tasks/domain_cancelation.html @@ -0,0 +1,46 @@ + + + + + + Domain cancelation | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/domainstudio.html b/guide/api_tasks/domainstudio.html new file mode 100644 index 00000000..d48702b1 --- /dev/null +++ b/guide/api_tasks/domainstudio.html @@ -0,0 +1,47 @@ + + + + + + Domainstudio | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Domainstudio

The DomainStudio search generates a list of domain names from several selected sources and adds further data to the search results.

General call of tasks:

 // returns an array of DomainRobot/Models/Envelope
+ $suggestions = $domainrobot->domainStudio->search($domainEnvelopeSearchRequest);
+

List of all available tasks with linked examples:

Additional information

You can also find a more extensive documentation of the DomainStudio API here:

https://help.internetx.com/display/APIADDITIONALEN/DomainStudio+Guide (opens new window)

+ + + diff --git a/guide/api_tasks/pc_domains.html b/guide/api_tasks/pc_domains.html new file mode 100644 index 00000000..5f255f6a --- /dev/null +++ b/guide/api_tasks/pc_domains.html @@ -0,0 +1,46 @@ + + + + + + PC Domains | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/poll.html b/guide/api_tasks/poll.html new file mode 100644 index 00000000..c951eab0 --- /dev/null +++ b/guide/api_tasks/poll.html @@ -0,0 +1,46 @@ + + + + + + Poll | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/redirect.html b/guide/api_tasks/redirect.html new file mode 100644 index 00000000..3d625b34 --- /dev/null +++ b/guide/api_tasks/redirect.html @@ -0,0 +1,46 @@ + + + + + + Redirect | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/ssl_contact.html b/guide/api_tasks/ssl_contact.html new file mode 100644 index 00000000..f2ed9ca6 --- /dev/null +++ b/guide/api_tasks/ssl_contact.html @@ -0,0 +1,46 @@ + + + + + + SslContact | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/transfer_out.html b/guide/api_tasks/transfer_out.html new file mode 100644 index 00000000..2cbb89d6 --- /dev/null +++ b/guide/api_tasks/transfer_out.html @@ -0,0 +1,46 @@ + + + + + + Transferout | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/trusted_app.html b/guide/api_tasks/trusted_app.html new file mode 100644 index 00000000..08e2085c --- /dev/null +++ b/guide/api_tasks/trusted_app.html @@ -0,0 +1,46 @@ + + + + + + TrustedApplication | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/user.html b/guide/api_tasks/user.html new file mode 100644 index 00000000..6c425eab --- /dev/null +++ b/guide/api_tasks/user.html @@ -0,0 +1,46 @@ + + + + + + User | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# User

General call of tasks:

 $objectJob = $domainrobot->user->info($user, $context);
+

List of all available tasks with linked examples:

  • create(User $user)
  • info(string $user, int $context) example (opens new window)
  • update(User $user)
  • delete(string $user, int $context)
  • list(Query $query = null) example (opens new window)
  • billingObjectLimitInfo(array $keys = [], array $articleTypes = [])
  • billingObjectTermsInfo()
  • updateLock(string $user, int $context, array $keys = [])
  • updateUnlock(string $user, int $context, array $keys = [])
  • copy(string $user, string $context, User $user)
  • profileInfo(string $user, string $context, $prefix = '')
  • profileUpdate(string $user, string $context, UserProfileViews $userProfileViews)
  • serviceProfileInfo(string $user, string $context, $prefix = '')
  • serviceProfileUpdate(string $user, string $context, ServiceProfiles $serviceProfiles)
+ + + diff --git a/guide/api_tasks/whois.html b/guide/api_tasks/whois.html new file mode 100644 index 00000000..82683354 --- /dev/null +++ b/guide/api_tasks/whois.html @@ -0,0 +1,46 @@ + + + + + + Whois | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/api_tasks/zone.html b/guide/api_tasks/zone.html new file mode 100644 index 00000000..07f6bee7 --- /dev/null +++ b/guide/api_tasks/zone.html @@ -0,0 +1,46 @@ + + + + + + Zone | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/changelog.html b/guide/changelog.html new file mode 100644 index 00000000..4bc15da1 --- /dev/null +++ b/guide/changelog.html @@ -0,0 +1,47 @@ + + + + + + Changelog | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Changelog

# [0.7.0] - 2020-08-25

  • added pc.domains Service from InterNetX GmbH for Domain price checks +
  • added more examples and fixed broken examples
  • rebuilt src/Model Structure to allow unlimited depth and stacking of models
  • reworked Model constructors
  • added Models for all pc.domains routes

# [0.6.0] - 2020-06-23

  • added possibility to gain direct access to response and request through callback methods
  • added User info and list tasks
  • added examples for some basic tasks +
    • more examples (hopefully for all tasks) will be added in future versions
  • fixed some tasks that did not give correct access to the DomainrobotResult
  • improved documentation and readme

# [0.5.2] - 2020-06-16

  • Fixed printing null or empty values (#8)
  • Fixed warnings found by code analysis (PR #8)
  • Improve code documentation (PR #6)

# [0.3.7] - 2020-03-19

  • Rename all DomainRobot string to Domainrobot

# [0.3.6] - 2020-03-19

  • Rename namespace from IXDomainRobot to Domainrobot

# [0.3.5] - 2020-03-11

  • Add automatic sdk version resolution

# [0.3.4] - 2020-03-02

  • Fix DomainStudio->search() missing body

# [0.3.3] - 2020-03-02

  • Fix imports

# [0.3.2] - 2020-03-02

  • Fix imports

# [0.3.1] - 2020-03-02

  • Add new services to DomainRobot class

# [0.3.0] - 2020-03-02

  • Added all important routes from the domainrobot open api documentation
  • Updated README.md
  • Fix return value of the DomainStudio->search() method

# [0.2.0] - 2020-02-11

  • Added DomainStudio calls
  • Added possiblity to use asynchronous as well as synchronous tasks
  • Improved documentation

# [0.1.0] - 2020-02-10

  • Initial release
+ + + diff --git a/guide/constants/acl_restriction.html b/guide/constants/acl_restriction.html new file mode 100644 index 00000000..1c25008d --- /dev/null +++ b/guide/constants/acl_restriction.html @@ -0,0 +1,51 @@ + + + + + + ACL Restriction | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/constants/contact_types.html b/guide/constants/contact_types.html new file mode 100644 index 00000000..d310859b --- /dev/null +++ b/guide/constants/contact_types.html @@ -0,0 +1,51 @@ + + + + + + Contact types | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/constants/crypto.html b/guide/constants/crypto.html new file mode 100644 index 00000000..1763a0a4 --- /dev/null +++ b/guide/constants/crypto.html @@ -0,0 +1,50 @@ + + + + + + Crypto Format | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/constants/registry_status.html b/guide/constants/registry_status.html new file mode 100644 index 00000000..e84c5248 --- /dev/null +++ b/guide/constants/registry_status.html @@ -0,0 +1,56 @@ + + + + + + Registry Status | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/constants/time_unit.html b/guide/constants/time_unit.html new file mode 100644 index 00000000..a558f534 --- /dev/null +++ b/guide/constants/time_unit.html @@ -0,0 +1,59 @@ + + + + + + Time Unit | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/examples.html b/guide/examples.html new file mode 100644 index 00000000..afcc7574 --- /dev/null +++ b/guide/examples.html @@ -0,0 +1,46 @@ + + + + + + Example Implementations | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/exception.html b/guide/exception.html new file mode 100644 index 00000000..1c035828 --- /dev/null +++ b/guide/exception.html @@ -0,0 +1,77 @@ + + + + + + Exception handling | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Exception handling

DomainrobotException

If there is any error response from the API, the services will throw a DomainrobotException, which contains information about the error.

Therefore you should call all SDK tasks inside a try/catch block.

# Try/catch example

 try {
+    $promise = $domainrobot->certificate->createRealtime($certificate);
+}catch(DomainrobotException $exception){
+    return response()->json(
+        $exception->getError(),
+        $exception->getStatusCode()
+    );
+}
+

The specific error message is stored in $exception->error and can be accessed with $exception->getError().

The specific http status code can be accessed with $exception->getStatusCode().

# Error message example

Array
+(
+    [stid] => 20200210-app3-dev-5050
+    [messages] => Array
+        (
+            [0] => Array
+                (
+                    [text] => Domain validation failed on the CA side.
+                    [code] => EF400139
+                    [status] => ERROR
+                )
+        )
+    [status] => Array
+        (
+            [code] => E4001012
+            [text] => E4001012
+            [type] => ERROR
+        )
+    [object] => Array
+        (
+            [type] => Certificate
+            [value] => example.com
+        )
+)
+
+ + + diff --git a/guide/headers.html b/guide/headers.html new file mode 100644 index 00000000..60add69a --- /dev/null +++ b/guide/headers.html @@ -0,0 +1,77 @@ + + + + + + Setting Headers | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Setting Headers

Custom Headers (see available headers in Available Headers) can be set by calling the addHeaders method before calling a specific API task. +addHeaders expects an array. Default headers can also be overwritten like this.

See example below.

use Domainrobot\Lib\DomainrobotHeaders;
+
+$certificateData = $domainrobot->certificate
+            ->addHeaders(
+                [DomainrobotHeaders::DOMAINROBOT_HEADER_2FA_TOKEN => "token"]
+            )->prepareOrder($body);
+

# Available Headers

DomainrobotHeaders::DOMAINROBOT_HEADER_DOMAINROBOT_STID;
+DomainrobotHeaders::DOMAINROBOT_HEADER_SESSION_ID;
+DomainrobotHeaders::DOMAINROBOT_HEADER_PRECEDENCE;
+DomainrobotHeaders::DOMAINROBOT_HEADER_CONTEXT;
+DomainrobotHeaders::DOMAINROBOT_HEADER_BULK_LIMIT;
+// needed for domainsafe tasks
+DomainrobotHeaders::DOMAINROBOT_HEADER_PIN;
+// for two factor authentication
+DomainrobotHeaders::DOMAINROBOT_HEADER_2FA_TOKEN;
+// needed for subuser tasks
+DomainrobotHeaders::DOMAINROBOT_HEADER_OWNER_NAME;
+// needed for subuser tasks
+DomainrobotHeaders::DOMAINROBOT_HEADER_OWNER_CONTEXT;
+// enable or disable demo mode for certain tasks
+DomainrobotHeaders::DOMAINROBOT_HEADER_DEMO_MODE;
+DomainrobotHeaders::DOMAINROBOT_HEADER_WEBSOCKET;
+DomainrobotHeaders::DOMAINROBOT_HEADER_WEBSOCKET_TARGET;
+DomainrobotHeaders::DOMAINROBOT_HEADER_CTID;
+DomainrobotHeaders::DOMAINROBOT_HEADER_SESSION_USER;
+DomainrobotHeaders::DOMAINROBOT_HEADER_OWNER;
+DomainrobotHeaders::OMAINROBOT_HEADER_CUSTOMER;
+DomainrobotHeaders::DOMAINROBOT_HEADER_PROFILE;
+

# Logging sent headers

If you want to see which headers the SDK sends to the API you can do so by using the provided logging methods explained in Logging Requests and Responses (opens new window)

A very simple example:

"logRequestCallback" => function ($method, $url, $requestOptions, $headers){
+    Log::debug($headers);
+}
+
+ + + diff --git a/guide/installation.html b/guide/installation.html new file mode 100644 index 00000000..e3e548ac --- /dev/null +++ b/guide/installation.html @@ -0,0 +1,105 @@ + + + + + + Installation and Usage | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Installation and Usage

internetx/php-domainrobot-sdk is a composer package.

Official sources:

If you have no prior experience with composer or do not know what composer is please refer to their official documentation at: getcomposer.org (opens new window)

# Installation

composer require internetx/php-domainrobot-sdk
+

If you do not use a php-framework like Laravel (opens new window), Lumen (opens new window),CodeIgniter (opens new window), Symfony (opens new window) you need to require/import the composer generated autoloader manually.

// path to package: vendor/internetx/php-domainrobot-sdk
+require_once "vendor/autoload.php";
+
+// now you can import the parts of the SDK you want to use
+use Domainrobot\Domainrobot;
+

internetx/php-domainrobot-sdk uses the PSR-4: Autoloader (opens new window) so once you've installed the package via composer and the required autoload.php file, you can start to implement your first task.

# Usage - Basic Auth

Before you can interact with the API you need to specify your authentication credentials, the baseurl and the context.

use Domainrobot\Domainrobot;
+use Domainrobot\Lib\DomainrobotAuth;
+
+$domainrobot = new Domainrobot([
+    "url" => "https://api.autodns.com/v1",
+    "auth" => new DomainrobotAuth([
+        "user" => "user",
+        "password" => "password",
+        "context" => 4
+    ])
+]);
+

# Usage - Session ID

Additionally to the authentication through basic auth, the API also offers the possibility +to use a so called session id. This ID has to be created once and should then be stored (in a session or something similar) by your application for further usage. +The underlying idea behind this is comparable to a JWT authentciation approach.

You can find more information on this topic here: Authentication via SessionID (opens new window)

Below you can find a simple example of how to setup a session id authentication process.

use Domainrobot\Domainrobot;
+use Domainrobot\Model\LoginData;
+
+// when working with a session id you don't need to declare the auth block here
+$domainrobot = new Domainrobot([
+  'url' => 'https://api.demo.autodns.com/v1'
+]);
+
+// set your authentication data in a separate model
+//this will is only needed for the initial call to get our session id
+$loginData = new LoginData([
+  'user' => 'user',
+  'password' => 'password',
+  'context' => 4
+]);
+
+// login and create the session id
+
+// there are certain query parameters that you can define
+// all those parameters are entirely optional
+// the default config looks like this
+$queryParams = [
+    'acl' => true,
+    'profile' => true,
+    'customer' => true,
+    'timeout' => 10
+];
+
+$domainrobot->login->sessionID($loginData, $queryParams);
+
+// session id is located in the headers so we have to get those
+// headers['x-domainrobot-sessionid'] should be stored in a session or something similar
+$headers = $domainrobot::getLastDomainrobotResult()->getHeaders();
+
+$domainrobot = new Domainrobot([
+  'url' => 'https://api.demo.autodns.com/v1',
+  'headers' => [
+    'X-Domainrobot-SessionId' => $headers['X-Domainrobot-Stid'] 
+  ]
+]);
+

Attention

You need an account in at last one of these two systems to be able to use this SDK.

# Domainrobot configuration parameters

  • url
  • auth: Domainrobot\Lib\DomainrobotAuth +
    • user
    • password
    • context
  • logRequestCallback
  • logResponseCallback
+ + + diff --git a/guide/instantiating_models.html b/guide/instantiating_models.html new file mode 100644 index 00000000..83ce1c7f --- /dev/null +++ b/guide/instantiating_models.html @@ -0,0 +1,48 @@ + + + + + + Instantiating models | PHP Domainrobot SDK Documentation + + + + + + + + + + + + + + + diff --git a/guide/logging.html b/guide/logging.html new file mode 100644 index 00000000..612983a7 --- /dev/null +++ b/guide/logging.html @@ -0,0 +1,70 @@ + + + + + + Logging Requests and Responses | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Logging Requests and Responses

There may be certain circumstances where you may want to log your requests and responses. +For these cases we provide you with two integrated callback methods you can use for this purpose.

# Implementation and Usage

There are two possible ways to use these methods.

  1. Define them globally through the domainrobotConfig

    new Domainrobot([
    +    "url" => "https://api.autodns.com/v1",
    +    "auth" => new DomainrobotAuth([
    +        "user" => "username",
    +        "password" => "password",
    +        "context" => 4
    +    ]),
    +    "logRequestCallback" => function ($method, $url, $requestOptions, $headers){
    +        LogCallback::dailyRequest($method, $url, $requestOptions, $headers);
    +    },
    +    "logResponseCallback" => function ($url, $response, $statusCode, $exectime){
    +        LogCallback::dailyResponse($url, $response, $statusCode, $exectime);
    +    }
    +]);
    +
    +
  2. Define them locally for a single request

    $user = User::find(1);
    +
    +$domainrobot->domain->logRequest(function($method, $url, $requestOptions, $headers) use ($user){
    +    // execute your code here
    +    print_r($method);
    +})->logResponse(function($url, $response, $statusCode, $exectime) use ($user){
    +    // execute your code here
    +    print_r($user);
    +})->info("example.com");
    +


ATTENTION:

Local defintions for log callbacks will always overwrite global definitions.

# Request parameters

  • $method: the HTTP Method used for the call
  • $url: the URL the call is sent to
  • $requestOptions: the request options that are sent with the call; contains query parameters and other settings
  • $headers: the headers sent with the call

# Response parameters

  • $url: the url the call was sent to
  • $response: the raw response we received from the backend
  • $statusCode: the HTTP status code
  • $exectime: the execution time of the full request from start to finish
+ + + diff --git a/guide/model_properties.html b/guide/model_properties.html new file mode 100644 index 00000000..6d586134 --- /dev/null +++ b/guide/model_properties.html @@ -0,0 +1,65 @@ + + + + + + Model configuration | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Model configuration

Model properties can be set while creating a new model or after a model has been created.

The following examples are valid:

use Domainrobot\Model\Certificate;
+
+$timePeriod = new TimePeriod([
+    "unit" => TimeUnitConstants::MONTH,
+    "period" => 12
+]);
+$certificateModel = new Certificate([
+    "lifetime" => $timePeriod,
+    "product" => "BASIC_SSL"
+]);
+
use Domainrobot\Model\Certificate;
+use Domainrobot\Model\TimePeriod;
+
+$certificateModel = new Certificate();
+$timePeriod = new TimePeriod([
+    "unit" => "MONTH",
+    "period" => 12
+]);
+$certificateModel->setLifetime($timePeriod);
+$certificateModel->setProduct("BASIC_SSL")
+
+ + + diff --git a/guide/preamble.html b/guide/preamble.html new file mode 100644 index 00000000..579ea9b8 --- /dev/null +++ b/guide/preamble.html @@ -0,0 +1,53 @@ + + + + + + Preamble | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Preamble

Latest Stable Version Total Downloads License

This composer package can be used within every composer project, including projects based on frameworks like Laravel (opens new window), CodeIgniter (opens new window), Symfony (opens new window) and many more.

Note: Feel free to contribute by creating pull requests or file an issue for bugs, questions and feature requests.

MIT License

Copyright (c) 2020 InterNetX GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.

+ + + diff --git a/guide/requests.html b/guide/requests.html new file mode 100644 index 00000000..09cce909 --- /dev/null +++ b/guide/requests.html @@ -0,0 +1,120 @@ + + + + + + Asynchronous vs Synchronous Requests | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Asynchronous vs Synchronous Requests

This library is mainly meant to be used with synchronous request but also provides the possibility to be used with asynchronous requests.


The main difference is that the asynchronous requests will provide you with less guidance than the synchronous requests.


See examples below for more information on this topic.

A synchronous request will return an Object as described in our official swagger documentation (opens new window), whereas an asynchronous request will give you a DomainrobotResult Object which will only return the response as a plain array. You will then have to handle the data on your own.

Both methods provide certain advantages in certain situations.

Be aware that in both cases you will have access to the return status code and the plain array result through:

Domainrobot::getLastDomainrobotResult()->getResult();
+Domainrobot::getLastDomainrobotResult()->getStatusCode();
+

# Synchronous response

// will return an array of Domainrobot\Model\Domain
+$domainList = $domainrobot->domain->list($query)
+
+// now you can loop through the array
+// and query object properties of the domainList items
+foreach($domainList as $item){
+    print_r($item->name);
+}
+
+// This is an example of a retrieved $domainList
+// Array(
+//     [0] => Domainrobot\Model\Domain Object(
+//         [container:protected] => Array(
+//             [created] => 2019-09-12T10:31:00.000+0200
+//             [updated] => 2020-06-23T16:36:41.000+0200
+//             [owner] => Array
+//                 (
+//                     [context] => 797095
+//                     [user] => user
+//                 )
+//             [name] => example.com
+//         )
+//     )
+// )
+
+

# Asynchronous response

// will return an array of domains as arrays
+try {
+    $promise = $domainrobot->domain->listAsync($query)
+    $result = $promise->wait();
+}catch(DomainrobotException $exception){
+    return response()->json($exception->getError(), $exception->getStatusCode());
+}
+// extract the resulting domain array
+$domanList = $result->getResult()
+
+// now you can loob through the array
+// and query object properties through array key calls
+foreach($domainList as $item){
+    print_r($item["name"]);
+}
+
+// get the status code of the request
+$result->getStatusCode()
+
+// This is an example of the retrieved $domanList
+// Array(
+//     [stid] => 20200625-app3-dev-4752
+//     [status] => Array
+//         (
+//             [code] => S0105
+//             [text] => Domain-Daten wurden erfolgreich ermittelt.
+//             [type] => SUCCESS
+//         )
+//     [object] => Array
+//         (
+//             [type] => Domain
+//             [summary] => 2
+//         )
+//     [data] => Array
+//         (
+//             [0] => Array
+//                 (
+//                     [created] => 2019-09-12T10:31:00.000+0200
+//                     [updated] => 2020-06-23T16:36:41.000+0200
+//                     [owner] => Array
+//                         (
+//                             [context] => 797095
+//                             [user] => user
+//                         )
+//                     [name] => example.com
+//                 )
+//         )
+// )
+
+ + + diff --git a/guide/working_with_models.html b/guide/working_with_models.html new file mode 100644 index 00000000..01a2bd38 --- /dev/null +++ b/guide/working_with_models.html @@ -0,0 +1,87 @@ + + + + + + Models | PHP Domainrobot SDK Documentation + + + + + + + + + + + +

# Models

This SDK heavily relies on Models which are generated from our official Swagger documentation (opens new window).

If you are in doubt about which properties are accepted by a specific model you can always refer to this documentation or take a look at the examples (opens new window) we provide in the source code of the SDK.

To build a certain request, for example to create a domain, you will first have to create the general Domainrobot instance and then provide it with a Domain Model which itself is containing other Models as well.

Take a look at this example (opens new window):

// create and configure the Domainrobot instance
+$domainrobot = new Domainrobot([
+    "url" => "https://api.autodns.com/v1",
+    "auth" => new DomainrobotAuth([
+        "user" => "user",
+        "password" => "password",
+        "context" => 4
+    ])
+]);
+
+// next we have to define and configure the Domain Model
+$domain = new Domain();
+$domain->setName("php-sdk-test".uniqid().".de");
+
+// the setNameServers method only accepts an array of NameServer Models
+$domain->setNameServers([
+    new NameServer([
+        "name" => "ns1.example.com"
+    ]),
+    new NameServer([
+        "name" => "ns2.example.com"
+    ])
+]);
+
+// we need to set contacts for this we inquire a contact we already know
+// and pass it into the DomainModel
+$contact = $domainrobot->contact->info(23194139);
+// $contact is an intance of a Contact model
+$domain->setAdminc($contact);
+$domain->setOwnerc($contact);
+$domain->setTechc($contact);
+$domain->setZonec($contact);
+$domain->setIgnoreWhois(true);
+
+// finally create the domain
+$domainrobot->domain->create($domain);
+
+// and read the response and resulting statuscode
+return response()->json(
+    Domainrobot::getLastDomainrobotResult()->getResult(),
+    Domainrobot::getLastDomainrobotResult()->getStatusCode()
+);
+

Specific examples for certain models can be found in the section Supported API calls which you can find in the left hand side menu.

+ + + diff --git a/index.html b/index.html new file mode 100644 index 00000000..dc5eef18 --- /dev/null +++ b/index.html @@ -0,0 +1,31 @@ + + + + + + PHP Domainrobot SDK Documentation + + + + + + + + + + + +
hero

PHP Domainrobot SDK Documentation

A php package for easy integration of the Domainrobot API powered by InterNetX GmbH

Quick Start →

#


+ + + diff --git a/internetx-logo.svg b/internetx-logo.svg new file mode 100644 index 00000000..60197e65 --- /dev/null +++ b/internetx-logo.svg @@ -0,0 +1,663 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +