@motionpicture/coa-service 9.2.0 → 9.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +1 -6
  2. package/example/findFilms.js +19 -2
  3. package/example/findKubunNames.js +6 -3
  4. package/example/findPerformances.js +1 -1
  5. package/example/findScreen.js +1 -1
  6. package/example/findTheater.js +1 -1
  7. package/example/findTickets.js +1 -1
  8. package/example/getToken.js +21 -0
  9. package/example/salesTicket.js +6 -5
  10. package/example/stateReserve.js +1 -1
  11. package/example/stateReserveSeat.js +1 -1
  12. package/lib/auth/credentials.d.ts +1 -2
  13. package/lib/auth/refreshTokenClient.d.ts +11 -6
  14. package/lib/auth/refreshTokenClient.js +81 -4
  15. package/lib/index.d.ts +1 -1
  16. package/lib/index.js +1 -1
  17. package/lib/service.d.ts +4 -3
  18. package/lib/transporters.d.ts +35 -6
  19. package/lib/transporters.js +114 -4
  20. package/package.json +7 -10
  21. package/docs/assets/css/main.css +0 -1
  22. package/docs/assets/images/icons.png +0 -0
  23. package/docs/assets/images/icons@2x.png +0 -0
  24. package/docs/assets/images/widgets.png +0 -0
  25. package/docs/assets/images/widgets@2x.png +0 -0
  26. package/docs/assets/js/main.js +0 -51
  27. package/docs/assets/js/search.json +0 -1
  28. package/docs/classes/_auth_refreshtokenclient_.refreshtokenclient.html +0 -517
  29. package/docs/classes/_index_.auth.refreshtoken.html +0 -529
  30. package/docs/classes/_index_.service.master.html +0 -599
  31. package/docs/classes/_index_.service.reserve.html +0 -594
  32. package/docs/classes/_service_.service.html +0 -316
  33. package/docs/classes/_service_master_.masterservice.html +0 -583
  34. package/docs/classes/_service_reserve_.reserveservice.html +0 -578
  35. package/docs/classes/_transporters_.coaserviceerror.html +0 -370
  36. package/docs/classes/_transporters_.defaulttransporter.html +0 -408
  37. package/docs/classes/_transporters_.transporter.html +0 -246
  38. package/docs/enums/_factory_master_.flgearlybooking.html +0 -277
  39. package/docs/enums/_factory_master_.flgmember.html +0 -277
  40. package/docs/enums/_factory_reserve_.flgmember.html +0 -295
  41. package/docs/globals.html +0 -173
  42. package/docs/index.html +0 -249
  43. package/docs/interfaces/_auth_credentials_.icredentials.html +0 -232
  44. package/docs/interfaces/_auth_refreshtokenclient_.ioptions.html +0 -221
  45. package/docs/interfaces/_factory_master_.ikubunnameargs.html +0 -286
  46. package/docs/interfaces/_factory_master_.ikubunnameresult.html +0 -324
  47. package/docs/interfaces/_factory_master_.imgtkticketcodeargs.html +0 -343
  48. package/docs/interfaces/_factory_master_.imgtkticketcoderesult.html +0 -362
  49. package/docs/interfaces/_factory_master_.imvtkticketcodeargs.html +0 -438
  50. package/docs/interfaces/_factory_master_.imvtkticketcoderesult.html +0 -362
  51. package/docs/interfaces/_factory_master_.ischeduleargs.html +0 -305
  52. package/docs/interfaces/_factory_master_.ischeduleresult.html +0 -518
  53. package/docs/interfaces/_factory_master_.iscreenargs.html +0 -267
  54. package/docs/interfaces/_factory_master_.iscreenresult.html +0 -324
  55. package/docs/interfaces/_factory_master_.iscreenseat.html +0 -381
  56. package/docs/interfaces/_factory_master_.itheaterargs.html +0 -267
  57. package/docs/interfaces/_factory_master_.itheaterresult.html +0 -343
  58. package/docs/interfaces/_factory_master_.iticketargs.html +0 -267
  59. package/docs/interfaces/_factory_master_.iticketresult.html +0 -362
  60. package/docs/interfaces/_factory_master_.ititleargs.html +0 -267
  61. package/docs/interfaces/_factory_master_.ititleresult.html +0 -552
  62. package/docs/interfaces/_factory_reserve_.icountfreeseatargs.html +0 -323
  63. package/docs/interfaces/_factory_reserve_.icountfreeseatdate.html +0 -323
  64. package/docs/interfaces/_factory_reserve_.icountfreeseatperformance.html +0 -380
  65. package/docs/interfaces/_factory_reserve_.icountfreeseatresult.html +0 -304
  66. package/docs/interfaces/_factory_reserve_.idelreserveargs.html +0 -418
  67. package/docs/interfaces/_factory_reserve_.idelreserveseat.html +0 -304
  68. package/docs/interfaces/_factory_reserve_.ideltmpreserveargs.html +0 -380
  69. package/docs/interfaces/_factory_reserve_.isalesticketargs.html +0 -380
  70. package/docs/interfaces/_factory_reserve_.isalesticketresult.html +0 -475
  71. package/docs/interfaces/_factory_reserve_.istatereserveargs.html +0 -323
  72. package/docs/interfaces/_factory_reserve_.istatereserveresult.html +0 -380
  73. package/docs/interfaces/_factory_reserve_.istatereserveseatargs.html +0 -380
  74. package/docs/interfaces/_factory_reserve_.istatereserveseatfreeseat.html +0 -345
  75. package/docs/interfaces/_factory_reserve_.istatereserveseatresult.html +0 -323
  76. package/docs/interfaces/_factory_reserve_.istatereserveseatseat.html +0 -304
  77. package/docs/interfaces/_factory_reserve_.istatereserveticket.html +0 -411
  78. package/docs/interfaces/_factory_reserve_.iupdreserveargs.html +0 -494
  79. package/docs/interfaces/_factory_reserve_.iupdreserveqr.html +0 -323
  80. package/docs/interfaces/_factory_reserve_.iupdreserveresult.html +0 -304
  81. package/docs/interfaces/_factory_reserve_.iupdreserveticket.html +0 -647
  82. package/docs/interfaces/_factory_reserve_.iupdtmpreserveseatargs.html +0 -399
  83. package/docs/interfaces/_factory_reserve_.iupdtmpreserveseatresult.html +0 -304
  84. package/docs/interfaces/_factory_reserve_.iupdtmpreserveseatseat.html +0 -304
  85. package/docs/interfaces/_factory_reserve_.iupdtmpreserveseattmpreserve.html +0 -323
  86. package/docs/interfaces/_service_.ioptions.html +0 -225
  87. package/docs/modules/_auth_credentials_.html +0 -167
  88. package/docs/modules/_auth_refreshtokenclient_.html +0 -198
  89. package/docs/modules/_auth_refreshtokenclient_spec_.html +0 -208
  90. package/docs/modules/_factory_.html +0 -194
  91. package/docs/modules/_factory_master_.html +0 -244
  92. package/docs/modules/_factory_reserve_.html +0 -268
  93. package/docs/modules/_index_.auth.html +0 -178
  94. package/docs/modules/_index_.html +0 -195
  95. package/docs/modules/_index_.service.html +0 -189
  96. package/docs/modules/_service_.html +0 -176
  97. package/docs/modules/_service_master_.html +0 -167
  98. package/docs/modules/_service_master_spec_.html +0 -208
  99. package/docs/modules/_service_reserve_.html +0 -167
  100. package/docs/modules/_service_reserve_spec_.html +0 -208
  101. package/docs/modules/_transporters_.html +0 -253
@@ -1,517 +0,0 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>RefreshTokenClient | @motionpicture/coa-service</title>
7
- <meta name="description" content="Documentation for @motionpicture/coa-service">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="../assets/css/main.css">
10
- </head>
11
- <body>
12
- <header>
13
- <div class="tsd-page-toolbar">
14
- <div class="container">
15
- <div class="table-wrap">
16
- <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
17
- <div class="field">
18
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
- <input id="tsd-search-field" type="text" />
20
- </div>
21
- <ul class="results">
22
- <li class="state loading">Preparing search index...</li>
23
- <li class="state failure">The search index is not available</li>
24
- </ul>
25
- <a href="../index.html" class="title">@motionpicture/coa-service</a>
26
- </div>
27
- <div class="table-cell" id="tsd-widgets">
28
- <div id="tsd-filter">
29
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
- <div class="tsd-filter-group">
31
- <div class="tsd-select" id="tsd-filter-visibility">
32
- <span class="tsd-select-label">All</span>
33
- <ul class="tsd-select-list">
34
- <li data-value="public">Public</li>
35
- <li data-value="protected">Public/Protected</li>
36
- <li data-value="private" class="selected">All</li>
37
- </ul>
38
- </div>
39
- <input type="checkbox" id="tsd-filter-inherited" checked />
40
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
- <input type="checkbox" id="tsd-filter-externals" checked />
42
- <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
43
- <input type="checkbox" id="tsd-filter-only-exported" />
44
- <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
45
- </div>
46
- </div>
47
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- <div class="tsd-page-title">
53
- <div class="container">
54
- <ul class="tsd-breadcrumb">
55
- <li>
56
- <a href="../globals.html">Globals</a>
57
- </li>
58
- <li>
59
- <a href="../modules/_auth_refreshtokenclient_.html">&quot;auth/refreshTokenClient&quot;</a>
60
- </li>
61
- <li>
62
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html">RefreshTokenClient</a>
63
- </li>
64
- </ul>
65
- <h1>Class RefreshTokenClient</h1>
66
- </div>
67
- </div>
68
- </header>
69
- <div class="container container-main">
70
- <div class="row">
71
- <div class="col-8 col-content">
72
- <section class="tsd-panel tsd-comment">
73
- <div class="tsd-comment tsd-typography">
74
- <div class="lead">
75
- <p>リフレッシュトークン認証クライアント</p>
76
- </div>
77
- </div>
78
- </section>
79
- <section class="tsd-panel tsd-hierarchy">
80
- <h3>Hierarchy</h3>
81
- <ul class="tsd-hierarchy">
82
- <li>
83
- <span class="target">RefreshTokenClient</span>
84
- <ul class="tsd-hierarchy">
85
- <li>
86
- <a href="_index_.auth.refreshtoken.html" class="tsd-signature-type">RefreshToken</a>
87
- </li>
88
- </ul>
89
- </li>
90
- </ul>
91
- </section>
92
- <section class="tsd-panel-group tsd-index-group">
93
- <h2>Index</h2>
94
- <section class="tsd-panel tsd-index-panel">
95
- <div class="tsd-index-content">
96
- <section class="tsd-index-section ">
97
- <h3>Constructors</h3>
98
- <ul class="tsd-index-list">
99
- <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#constructor" class="tsd-kind-icon">constructor</a></li>
100
- </ul>
101
- </section>
102
- <section class="tsd-index-section ">
103
- <h3>Properties</h3>
104
- <ul class="tsd-index-list">
105
- <li class="tsd-kind-property tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#credentials" class="tsd-kind-icon">credentials</a></li>
106
- <li class="tsd-kind-property tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#options" class="tsd-kind-icon">options</a></li>
107
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#default_spare_time_in_milliseconds" class="tsd-kind-icon">DEFAULT_<wbr>SPARE_<wbr>TIME_<wbr>IN_<wbr>MILLISECONDS</a></li>
108
- </ul>
109
- </section>
110
- <section class="tsd-index-section ">
111
- <h3>Methods</h3>
112
- <ul class="tsd-index-list">
113
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#getaccesstoken" class="tsd-kind-icon">get<wbr>Access<wbr>Token</a></li>
114
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#gettoken" class="tsd-kind-icon">get<wbr>Token</a></li>
115
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#makerequest" class="tsd-kind-icon">make<wbr>Request</a></li>
116
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#refreshaccesstoken" class="tsd-kind-icon">refresh<wbr>Access<wbr>Token</a></li>
117
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#refreshtoken" class="tsd-kind-icon">refresh<wbr>Token</a></li>
118
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#request" class="tsd-kind-icon">request</a></li>
119
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="_auth_refreshtokenclient_.refreshtokenclient.html#setcredentials" class="tsd-kind-icon">set<wbr>Credentials</a></li>
120
- </ul>
121
- </section>
122
- </div>
123
- </section>
124
- </section>
125
- <section class="tsd-panel-group tsd-member-group ">
126
- <h2>Constructors</h2>
127
- <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
128
- <a name="constructor" class="tsd-anchor"></a>
129
- <h3>constructor</h3>
130
- <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
131
- <li class="tsd-signature tsd-kind-icon">new <wbr>Refresh<wbr>Token<wbr>Client<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/_auth_refreshtokenclient_.ioptions.html" class="tsd-signature-type">IOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_auth_refreshtokenclient_.refreshtokenclient.html" class="tsd-signature-type">RefreshTokenClient</a></li>
132
- </ul>
133
- <ul class="tsd-descriptions">
134
- <li class="tsd-description">
135
- <aside class="tsd-sources">
136
- <ul>
137
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L25">src/auth/refreshTokenClient.ts:25</a></li>
138
- </ul>
139
- </aside>
140
- <h4 class="tsd-parameters-title">Parameters</h4>
141
- <ul class="tsd-parameters">
142
- <li>
143
- <h5>options: <a href="../interfaces/_auth_refreshtokenclient_.ioptions.html" class="tsd-signature-type">IOptions</a></h5>
144
- </li>
145
- </ul>
146
- <h4 class="tsd-returns-title">Returns <a href="_auth_refreshtokenclient_.refreshtokenclient.html" class="tsd-signature-type">RefreshTokenClient</a></h4>
147
- </li>
148
- </ul>
149
- </section>
150
- </section>
151
- <section class="tsd-panel-group tsd-member-group ">
152
- <h2>Properties</h2>
153
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
154
- <a name="credentials" class="tsd-anchor"></a>
155
- <h3>credentials</h3>
156
- <div class="tsd-signature tsd-kind-icon">credentials<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a></div>
157
- <aside class="tsd-sources">
158
- <ul>
159
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L24">src/auth/refreshTokenClient.ts:24</a></li>
160
- </ul>
161
- </aside>
162
- </section>
163
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
164
- <a name="options" class="tsd-anchor"></a>
165
- <h3>options</h3>
166
- <div class="tsd-signature tsd-kind-icon">options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_auth_refreshtokenclient_.ioptions.html" class="tsd-signature-type">IOptions</a></div>
167
- <aside class="tsd-sources">
168
- <ul>
169
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L25">src/auth/refreshTokenClient.ts:25</a></li>
170
- </ul>
171
- </aside>
172
- </section>
173
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
174
- <a name="default_spare_time_in_milliseconds" class="tsd-anchor"></a>
175
- <h3><span class="tsd-flag ts-flagStatic">Static</span> DEFAULT_<wbr>SPARE_<wbr>TIME_<wbr>IN_<wbr>MILLISECONDS</h3>
176
- <div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>SPARE_<wbr>TIME_<wbr>IN_<wbr>MILLISECONDS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 60000</span></div>
177
- <aside class="tsd-sources">
178
- <ul>
179
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L22">src/auth/refreshTokenClient.ts:22</a></li>
180
- </ul>
181
- </aside>
182
- <div class="tsd-comment tsd-typography">
183
- <div class="lead">
184
- <p>アクセストークンの有効期限までの猶予時間初期値</p>
185
- </div>
186
- </div>
187
- </section>
188
- </section>
189
- <section class="tsd-panel-group tsd-member-group ">
190
- <h2>Methods</h2>
191
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
192
- <a name="getaccesstoken" class="tsd-anchor"></a>
193
- <h3>get<wbr>Access<wbr>Token</h3>
194
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
195
- <li class="tsd-signature tsd-kind-icon">get<wbr>Access<wbr>Token<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
196
- </ul>
197
- <ul class="tsd-descriptions">
198
- <li class="tsd-description">
199
- <aside class="tsd-sources">
200
- <ul>
201
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L100">src/auth/refreshTokenClient.ts:100</a></li>
202
- </ul>
203
- </aside>
204
- <div class="tsd-comment tsd-typography">
205
- <div class="lead">
206
- <p>期限の切れていないアクセストークンを取得します。
207
- 必要であれば更新してから取得します。</p>
208
- </div>
209
- </div>
210
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
211
- </li>
212
- </ul>
213
- </section>
214
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
215
- <a name="gettoken" class="tsd-anchor"></a>
216
- <h3>get<wbr>Token</h3>
217
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
218
- <li class="tsd-signature tsd-kind-icon">get<wbr>Token<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></li>
219
- </ul>
220
- <ul class="tsd-descriptions">
221
- <li class="tsd-description">
222
- <aside class="tsd-sources">
223
- <ul>
224
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L36">src/auth/refreshTokenClient.ts:36</a></li>
225
- </ul>
226
- </aside>
227
- <div class="tsd-comment tsd-typography">
228
- <div class="lead">
229
- <p>トークンエンドポイントからアクセストークンを取得します。</p>
230
- </div>
231
- </div>
232
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></h4>
233
- </li>
234
- </ul>
235
- </section>
236
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected">
237
- <a name="makerequest" class="tsd-anchor"></a>
238
- <h3><span class="tsd-flag ts-flagProtected">Protected</span> make<wbr>Request</h3>
239
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
240
- <li class="tsd-signature tsd-kind-icon">make<wbr>Request<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">request.OptionsWithUri</span>, expectedStatusCodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
241
- </ul>
242
- <ul class="tsd-descriptions">
243
- <li class="tsd-description">
244
- <aside class="tsd-sources">
245
- <ul>
246
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L187">src/auth/refreshTokenClient.ts:187</a></li>
247
- </ul>
248
- </aside>
249
- <div class="tsd-comment tsd-typography">
250
- <div class="lead">
251
- <p>認証情報が適切である前提でAPIリクエストを投げる</p>
252
- </div>
253
- </div>
254
- <h4 class="tsd-parameters-title">Parameters</h4>
255
- <ul class="tsd-parameters">
256
- <li>
257
- <h5>options: <span class="tsd-signature-type">request.OptionsWithUri</span></h5>
258
- </li>
259
- <li>
260
- <h5>expectedStatusCodes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
261
- </li>
262
- </ul>
263
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
264
- </li>
265
- </ul>
266
- </section>
267
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
268
- <a name="refreshaccesstoken" class="tsd-anchor"></a>
269
- <h3>refresh<wbr>Access<wbr>Token</h3>
270
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
271
- <li class="tsd-signature tsd-kind-icon">refresh<wbr>Access<wbr>Token<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></li>
272
- </ul>
273
- <ul class="tsd-descriptions">
274
- <li class="tsd-description">
275
- <aside class="tsd-sources">
276
- <ul>
277
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L88">src/auth/refreshTokenClient.ts:88</a></li>
278
- </ul>
279
- </aside>
280
- <div class="tsd-comment tsd-typography">
281
- <div class="lead">
282
- <p>アクセストークンを更新する</p>
283
- </div>
284
- </div>
285
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></h4>
286
- </li>
287
- </ul>
288
- </section>
289
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected">
290
- <a name="refreshtoken" class="tsd-anchor"></a>
291
- <h3><span class="tsd-flag ts-flagProtected">Protected</span> refresh<wbr>Token</h3>
292
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
293
- <li class="tsd-signature tsd-kind-icon">refresh<wbr>Token<span class="tsd-signature-symbol">(</span>__<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></li>
294
- </ul>
295
- <ul class="tsd-descriptions">
296
- <li class="tsd-description">
297
- <aside class="tsd-sources">
298
- <ul>
299
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L196">src/auth/refreshTokenClient.ts:196</a></li>
300
- </ul>
301
- </aside>
302
- <div class="tsd-comment tsd-typography">
303
- <div class="lead">
304
- <p>認証情報を更新する</p>
305
- </div>
306
- </div>
307
- <h4 class="tsd-parameters-title">Parameters</h4>
308
- <ul class="tsd-parameters">
309
- <li>
310
- <h5>__: <span class="tsd-signature-type">string</span></h5>
311
- </li>
312
- </ul>
313
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">&gt;</span></h4>
314
- </li>
315
- </ul>
316
- </section>
317
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
318
- <a name="request" class="tsd-anchor"></a>
319
- <h3>request</h3>
320
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
321
- <li class="tsd-signature tsd-kind-icon">request<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">request.OptionsWithUri</span>, expectedStatusCodes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
322
- </ul>
323
- <ul class="tsd-descriptions">
324
- <li class="tsd-description">
325
- <aside class="tsd-sources">
326
- <ul>
327
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L133">src/auth/refreshTokenClient.ts:133</a></li>
328
- </ul>
329
- </aside>
330
- <div class="tsd-comment tsd-typography">
331
- <div class="lead">
332
- <p>APIリクエストを投げる
333
- 認証エラー(401,403)であれば自動的に一度だけアクセストークンをリフレッシュします。</p>
334
- </div>
335
- </div>
336
- <h4 class="tsd-parameters-title">Parameters</h4>
337
- <ul class="tsd-parameters">
338
- <li>
339
- <h5>options: <span class="tsd-signature-type">request.OptionsWithUri</span></h5>
340
- </li>
341
- <li>
342
- <h5>expectedStatusCodes: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
343
- </li>
344
- </ul>
345
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
346
- </li>
347
- </ul>
348
- </section>
349
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
350
- <a name="setcredentials" class="tsd-anchor"></a>
351
- <h3>set<wbr>Credentials</h3>
352
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
353
- <li class="tsd-signature tsd-kind-icon">set<wbr>Credentials<span class="tsd-signature-symbol">(</span>credentials<span class="tsd-signature-symbol">: </span><a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
354
- </ul>
355
- <ul class="tsd-descriptions">
356
- <li class="tsd-description">
357
- <aside class="tsd-sources">
358
- <ul>
359
- <li>Defined in <a href="https://github.com/motionpicture/coa-service/blob/1047dc3/src/auth/refreshTokenClient.ts#L81">src/auth/refreshTokenClient.ts:81</a></li>
360
- </ul>
361
- </aside>
362
- <div class="tsd-comment tsd-typography">
363
- <div class="lead">
364
- <p>認証情報を手動でセットする</p>
365
- </div>
366
- </div>
367
- <h4 class="tsd-parameters-title">Parameters</h4>
368
- <ul class="tsd-parameters">
369
- <li>
370
- <h5>credentials: <a href="../interfaces/_auth_credentials_.icredentials.html" class="tsd-signature-type">ICredentials</a></h5>
371
- </li>
372
- </ul>
373
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
374
- </li>
375
- </ul>
376
- </section>
377
- </section>
378
- </div>
379
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
380
- <nav class="tsd-navigation primary">
381
- <ul>
382
- <li class="globals ">
383
- <a href="../globals.html"><em>Globals</em></a>
384
- </li>
385
- <li class=" tsd-kind-module">
386
- <a href="../modules/_auth_credentials_.html">&quot;auth/credentials&quot;</a>
387
- </li>
388
- <li class="current tsd-kind-module">
389
- <a href="../modules/_auth_refreshtokenclient_.html">&quot;auth/refresh<wbr>Token<wbr>Client&quot;</a>
390
- </li>
391
- <li class=" tsd-kind-module">
392
- <a href="../modules/_auth_refreshtokenclient_spec_.html">&quot;auth/refresh<wbr>Token<wbr>Client.spec&quot;</a>
393
- </li>
394
- <li class=" tsd-kind-module">
395
- <a href="../modules/_factory_.html">&quot;factory&quot;</a>
396
- </li>
397
- <li class=" tsd-kind-module">
398
- <a href="../modules/_factory_master_.html">&quot;factory/master&quot;</a>
399
- </li>
400
- <li class=" tsd-kind-module">
401
- <a href="../modules/_factory_reserve_.html">&quot;factory/reserve&quot;</a>
402
- </li>
403
- <li class=" tsd-kind-module">
404
- <a href="../modules/_index_.html">&quot;index&quot;</a>
405
- </li>
406
- <li class=" tsd-kind-module">
407
- <a href="../modules/_service_.html">&quot;service&quot;</a>
408
- </li>
409
- <li class=" tsd-kind-module">
410
- <a href="../modules/_service_master_.html">&quot;service/master&quot;</a>
411
- </li>
412
- <li class=" tsd-kind-module">
413
- <a href="../modules/_service_master_spec_.html">&quot;service/master.spec&quot;</a>
414
- </li>
415
- <li class=" tsd-kind-module">
416
- <a href="../modules/_service_reserve_.html">&quot;service/reserve&quot;</a>
417
- </li>
418
- <li class=" tsd-kind-module">
419
- <a href="../modules/_service_reserve_spec_.html">&quot;service/reserve.spec&quot;</a>
420
- </li>
421
- <li class=" tsd-kind-module">
422
- <a href="../modules/_transporters_.html">&quot;transporters&quot;</a>
423
- </li>
424
- </ul>
425
- </nav>
426
- <nav class="tsd-navigation secondary menu-sticky">
427
- <ul class="before-current">
428
- </ul>
429
- <ul class="current">
430
- <li class="current tsd-kind-class tsd-parent-kind-module">
431
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html" class="tsd-kind-icon">Refresh<wbr>Token<wbr>Client</a>
432
- <ul>
433
- <li class=" tsd-kind-constructor tsd-parent-kind-class">
434
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#constructor" class="tsd-kind-icon">constructor</a>
435
- </li>
436
- <li class=" tsd-kind-property tsd-parent-kind-class">
437
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#credentials" class="tsd-kind-icon">credentials</a>
438
- </li>
439
- <li class=" tsd-kind-property tsd-parent-kind-class">
440
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#options" class="tsd-kind-icon">options</a>
441
- </li>
442
- <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
443
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#default_spare_time_in_milliseconds" class="tsd-kind-icon">DEFAULT_<wbr>SPARE_<wbr>TIME_<wbr>IN_<wbr>MILLISECONDS</a>
444
- </li>
445
- <li class=" tsd-kind-method tsd-parent-kind-class">
446
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#getaccesstoken" class="tsd-kind-icon">get<wbr>Access<wbr>Token</a>
447
- </li>
448
- <li class=" tsd-kind-method tsd-parent-kind-class">
449
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#gettoken" class="tsd-kind-icon">get<wbr>Token</a>
450
- </li>
451
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-protected">
452
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#makerequest" class="tsd-kind-icon">make<wbr>Request</a>
453
- </li>
454
- <li class=" tsd-kind-method tsd-parent-kind-class">
455
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#refreshaccesstoken" class="tsd-kind-icon">refresh<wbr>Access<wbr>Token</a>
456
- </li>
457
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-protected">
458
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#refreshtoken" class="tsd-kind-icon">refresh<wbr>Token</a>
459
- </li>
460
- <li class=" tsd-kind-method tsd-parent-kind-class">
461
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#request" class="tsd-kind-icon">request</a>
462
- </li>
463
- <li class=" tsd-kind-method tsd-parent-kind-class">
464
- <a href="_auth_refreshtokenclient_.refreshtokenclient.html#setcredentials" class="tsd-kind-icon">set<wbr>Credentials</a>
465
- </li>
466
- </ul>
467
- </li>
468
- </ul>
469
- <ul class="after-current">
470
- <li class=" tsd-kind-interface tsd-parent-kind-module">
471
- <a href="../interfaces/_auth_refreshtokenclient_.ioptions.html" class="tsd-kind-icon">IOptions</a>
472
- </li>
473
- <li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
474
- <a href="../modules/_auth_refreshtokenclient_.html#debug" class="tsd-kind-icon">debug</a>
475
- </li>
476
- </ul>
477
- </nav>
478
- </div>
479
- </div>
480
- </div>
481
- <footer class="with-border-bottom">
482
- <div class="container">
483
- <h2>Legend</h2>
484
- <div class="tsd-legend-group">
485
- <ul class="tsd-legend">
486
- <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
487
- <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
488
- <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
489
- <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
490
- </ul>
491
- <ul class="tsd-legend">
492
- <li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
493
- <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
494
- <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
495
- </ul>
496
- <ul class="tsd-legend">
497
- <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
498
- </ul>
499
- <ul class="tsd-legend">
500
- <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
501
- </ul>
502
- <ul class="tsd-legend">
503
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
504
- </ul>
505
- <ul class="tsd-legend">
506
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
507
- </ul>
508
- </div>
509
- </div>
510
- </footer>
511
- <div class="container tsd-generator">
512
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
513
- </div>
514
- <div class="overlay"></div>
515
- <script src="../assets/js/main.js"></script>
516
- </body>
517
- </html>