@microsoft/sp-http-msgraph 1.20.0-beta.0 → 1.20.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aec2bbfd-a968-4d5b-a279-12e570f378e6.manifest.json +128 -128
- package/dist/chunk.sp-http-msgraphclientv3_none_df61f49dc36b3abf0e83.js +2 -0
- package/dist/index-internal-beta.d.ts +1 -2
- package/dist/index-internal-public.d.ts +1 -2
- package/dist/index-internal.d.ts +1 -2
- package/dist/{sp-http-msgraph_default_b53b1083d371948fec48.js → sp-http-msgraph_default_4667031b3978a420e01f.js} +1 -1
- package/dist/{sp-http-msgraph_en-us_fc0182a40346df555b0f.js → sp-http-msgraph_en-us_cfda7d677f14f5282290.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploc_2169f92c8110010ec3eb.js → sp-http-msgraph_qps-ploc_b55db0e8ffd8c14ef4b3.js} +1 -1
- package/dist/{sp-http-msgraph_qps-ploca_52c3fc5b481f2fb5b9a8.js → sp-http-msgraph_qps-ploca_219e13a719a5aa2f5c1f.js} +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib-commonjs/MSGraphClientV3.js +47 -114
- package/lib-commonjs/common/Killswitches.js +5 -23
- package/package.json +9 -8
- package/dist/chunk.sp-http-msgraphclientv3_none_6f1792b6a68aceb18399.js +0 -2
|
@@ -14,261 +14,261 @@
|
|
|
14
14
|
"type": "localizedPath",
|
|
15
15
|
"paths": {
|
|
16
16
|
"default": {
|
|
17
|
-
"path": "sp-http-
|
|
18
|
-
"integrity": "sha256-
|
|
17
|
+
"path": "sp-http-msgraph_default_4667031b3978a420e01f.js",
|
|
18
|
+
"integrity": "sha256-kRIVU4Btq0dB5f9tnNSnPfdRgInA9rHQzVEZ0UlaICg="
|
|
19
19
|
},
|
|
20
20
|
"en-US": {
|
|
21
|
-
"path": "sp-http-msgraph_en-
|
|
22
|
-
"integrity": "sha256
|
|
21
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
22
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
23
23
|
},
|
|
24
24
|
"qps-ploca": {
|
|
25
|
-
"path": "sp-http-msgraph_qps-
|
|
26
|
-
"integrity": "sha256
|
|
25
|
+
"path": "sp-http-msgraph_qps-ploca_219e13a719a5aa2f5c1f.js",
|
|
26
|
+
"integrity": "sha256-/EeA/N9/HKSoNM4ZaUlPZKac6gOrIL9MvqKxABE7ee4="
|
|
27
27
|
},
|
|
28
28
|
"qps-ploc": {
|
|
29
|
-
"path": "sp-http-msgraph_qps-
|
|
30
|
-
"integrity": "sha256-
|
|
29
|
+
"path": "sp-http-msgraph_qps-ploc_b55db0e8ffd8c14ef4b3.js",
|
|
30
|
+
"integrity": "sha256-HC7MOjxrHAhLuFF3QNyuHZ7Ov56Lo+AklkI9fyv/Hww="
|
|
31
31
|
},
|
|
32
32
|
"en-GB": {
|
|
33
|
-
"path": "sp-http-msgraph_en-
|
|
34
|
-
"integrity": "sha256
|
|
33
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
34
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
35
35
|
},
|
|
36
36
|
"en-NZ": {
|
|
37
|
-
"path": "sp-http-msgraph_en-
|
|
38
|
-
"integrity": "sha256
|
|
37
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
38
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
39
39
|
},
|
|
40
40
|
"en-IE": {
|
|
41
|
-
"path": "sp-http-msgraph_en-
|
|
42
|
-
"integrity": "sha256
|
|
41
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
42
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
43
43
|
},
|
|
44
44
|
"en-AU": {
|
|
45
|
-
"path": "sp-http-msgraph_en-
|
|
46
|
-
"integrity": "sha256
|
|
45
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
46
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
47
47
|
},
|
|
48
48
|
"bn": {
|
|
49
|
-
"path": "sp-http-msgraph_en-
|
|
50
|
-
"integrity": "sha256
|
|
49
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
50
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
51
51
|
},
|
|
52
52
|
"chr": {
|
|
53
|
-
"path": "sp-http-msgraph_en-
|
|
54
|
-
"integrity": "sha256
|
|
53
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
54
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
55
55
|
},
|
|
56
56
|
"dv": {
|
|
57
|
-
"path": "sp-http-msgraph_en-
|
|
58
|
-
"integrity": "sha256
|
|
57
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
58
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
59
59
|
},
|
|
60
60
|
"div": {
|
|
61
|
-
"path": "sp-http-msgraph_en-
|
|
62
|
-
"integrity": "sha256
|
|
61
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
62
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
63
63
|
},
|
|
64
64
|
"en": {
|
|
65
|
-
"path": "sp-http-msgraph_en-
|
|
66
|
-
"integrity": "sha256
|
|
65
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
66
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
67
67
|
},
|
|
68
68
|
"fil": {
|
|
69
|
-
"path": "sp-http-msgraph_en-
|
|
70
|
-
"integrity": "sha256
|
|
69
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
70
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
71
71
|
},
|
|
72
72
|
"haw": {
|
|
73
|
-
"path": "sp-http-msgraph_en-
|
|
74
|
-
"integrity": "sha256
|
|
73
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
74
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
75
75
|
},
|
|
76
76
|
"iu": {
|
|
77
|
-
"path": "sp-http-msgraph_en-
|
|
78
|
-
"integrity": "sha256
|
|
77
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
78
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
79
79
|
},
|
|
80
80
|
"lo": {
|
|
81
|
-
"path": "sp-http-msgraph_en-
|
|
82
|
-
"integrity": "sha256
|
|
81
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
82
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
83
83
|
},
|
|
84
84
|
"moh": {
|
|
85
|
-
"path": "sp-http-msgraph_en-
|
|
86
|
-
"integrity": "sha256
|
|
85
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
86
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
87
87
|
},
|
|
88
88
|
"sq": {
|
|
89
|
-
"path": "sp-http-msgraph_en-
|
|
90
|
-
"integrity": "sha256
|
|
89
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
90
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
91
91
|
},
|
|
92
92
|
"am": {
|
|
93
|
-
"path": "sp-http-msgraph_en-
|
|
94
|
-
"integrity": "sha256
|
|
93
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
94
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
95
95
|
},
|
|
96
96
|
"hy": {
|
|
97
|
-
"path": "sp-http-msgraph_en-
|
|
98
|
-
"integrity": "sha256
|
|
97
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
98
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
99
99
|
},
|
|
100
100
|
"mk": {
|
|
101
|
-
"path": "sp-http-msgraph_en-
|
|
102
|
-
"integrity": "sha256
|
|
101
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
102
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
103
103
|
},
|
|
104
104
|
"bs": {
|
|
105
|
-
"path": "sp-http-msgraph_en-
|
|
106
|
-
"integrity": "sha256
|
|
105
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
106
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
107
107
|
},
|
|
108
108
|
"my": {
|
|
109
|
-
"path": "sp-http-msgraph_en-
|
|
110
|
-
"integrity": "sha256
|
|
109
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
110
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
111
111
|
},
|
|
112
112
|
"dz": {
|
|
113
|
-
"path": "sp-http-msgraph_en-
|
|
114
|
-
"integrity": "sha256
|
|
113
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
114
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
115
115
|
},
|
|
116
116
|
"en-CY": {
|
|
117
|
-
"path": "sp-http-msgraph_en-
|
|
118
|
-
"integrity": "sha256
|
|
117
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
118
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
119
119
|
},
|
|
120
120
|
"en-EG": {
|
|
121
|
-
"path": "sp-http-msgraph_en-
|
|
122
|
-
"integrity": "sha256
|
|
121
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
122
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
123
123
|
},
|
|
124
124
|
"en-IL": {
|
|
125
|
-
"path": "sp-http-msgraph_en-
|
|
126
|
-
"integrity": "sha256
|
|
125
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
126
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
127
127
|
},
|
|
128
128
|
"en-IS": {
|
|
129
|
-
"path": "sp-http-msgraph_en-
|
|
130
|
-
"integrity": "sha256
|
|
129
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
130
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
131
131
|
},
|
|
132
132
|
"en-JO": {
|
|
133
|
-
"path": "sp-http-msgraph_en-
|
|
134
|
-
"integrity": "sha256
|
|
133
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
134
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
135
135
|
},
|
|
136
136
|
"en-KE": {
|
|
137
|
-
"path": "sp-http-msgraph_en-
|
|
138
|
-
"integrity": "sha256
|
|
137
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
138
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
139
139
|
},
|
|
140
140
|
"en-KW": {
|
|
141
|
-
"path": "sp-http-msgraph_en-
|
|
142
|
-
"integrity": "sha256
|
|
141
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
142
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
143
143
|
},
|
|
144
144
|
"en-MK": {
|
|
145
|
-
"path": "sp-http-msgraph_en-
|
|
146
|
-
"integrity": "sha256
|
|
145
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
146
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
147
147
|
},
|
|
148
148
|
"en-MT": {
|
|
149
|
-
"path": "sp-http-msgraph_en-
|
|
150
|
-
"integrity": "sha256
|
|
149
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
150
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
151
151
|
},
|
|
152
152
|
"en-PK": {
|
|
153
|
-
"path": "sp-http-msgraph_en-
|
|
154
|
-
"integrity": "sha256
|
|
153
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
154
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
155
155
|
},
|
|
156
156
|
"en-QA": {
|
|
157
|
-
"path": "sp-http-msgraph_en-
|
|
158
|
-
"integrity": "sha256
|
|
157
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
158
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
159
159
|
},
|
|
160
160
|
"en-SA": {
|
|
161
|
-
"path": "sp-http-msgraph_en-
|
|
162
|
-
"integrity": "sha256
|
|
161
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
162
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
163
163
|
},
|
|
164
164
|
"en-LK": {
|
|
165
|
-
"path": "sp-http-msgraph_en-
|
|
166
|
-
"integrity": "sha256
|
|
165
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
166
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
167
167
|
},
|
|
168
168
|
"en-AE": {
|
|
169
|
-
"path": "sp-http-msgraph_en-
|
|
170
|
-
"integrity": "sha256
|
|
169
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
170
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
171
171
|
},
|
|
172
172
|
"en-VN": {
|
|
173
|
-
"path": "sp-http-msgraph_en-
|
|
174
|
-
"integrity": "sha256
|
|
173
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
174
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
175
175
|
},
|
|
176
176
|
"is": {
|
|
177
|
-
"path": "sp-http-msgraph_en-
|
|
178
|
-
"integrity": "sha256
|
|
177
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
178
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
179
179
|
},
|
|
180
180
|
"km": {
|
|
181
|
-
"path": "sp-http-msgraph_en-
|
|
182
|
-
"integrity": "sha256
|
|
181
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
182
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
183
183
|
},
|
|
184
184
|
"kh": {
|
|
185
|
-
"path": "sp-http-msgraph_en-
|
|
186
|
-
"integrity": "sha256
|
|
185
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
186
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
187
187
|
},
|
|
188
188
|
"mt": {
|
|
189
|
-
"path": "sp-http-msgraph_en-
|
|
190
|
-
"integrity": "sha256
|
|
189
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
190
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
191
191
|
},
|
|
192
192
|
"fa": {
|
|
193
|
-
"path": "sp-http-msgraph_en-
|
|
194
|
-
"integrity": "sha256
|
|
193
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
194
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
195
195
|
},
|
|
196
196
|
"gd": {
|
|
197
|
-
"path": "sp-http-msgraph_en-
|
|
198
|
-
"integrity": "sha256
|
|
197
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
198
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
199
199
|
},
|
|
200
200
|
"sr-Cyrl-BA": {
|
|
201
|
-
"path": "sp-http-msgraph_en-
|
|
202
|
-
"integrity": "sha256
|
|
201
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
202
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
203
203
|
},
|
|
204
204
|
"sr-Latn-BA": {
|
|
205
|
-
"path": "sp-http-msgraph_en-
|
|
206
|
-
"integrity": "sha256
|
|
205
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
206
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
207
207
|
},
|
|
208
208
|
"sd": {
|
|
209
|
-
"path": "sp-http-msgraph_en-
|
|
210
|
-
"integrity": "sha256
|
|
209
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
210
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
211
211
|
},
|
|
212
212
|
"si": {
|
|
213
|
-
"path": "sp-http-msgraph_en-
|
|
214
|
-
"integrity": "sha256
|
|
213
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
214
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
215
215
|
},
|
|
216
216
|
"so": {
|
|
217
|
-
"path": "sp-http-msgraph_en-
|
|
218
|
-
"integrity": "sha256
|
|
217
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
218
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
219
219
|
},
|
|
220
220
|
"ti-ET": {
|
|
221
|
-
"path": "sp-http-msgraph_en-
|
|
222
|
-
"integrity": "sha256
|
|
221
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
222
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
223
223
|
},
|
|
224
224
|
"uz": {
|
|
225
|
-
"path": "sp-http-msgraph_en-
|
|
226
|
-
"integrity": "sha256
|
|
225
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
226
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
227
227
|
},
|
|
228
228
|
"en-SG": {
|
|
229
|
-
"path": "sp-http-msgraph_en-
|
|
230
|
-
"integrity": "sha256
|
|
229
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
230
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
231
231
|
},
|
|
232
232
|
"en-HK": {
|
|
233
|
-
"path": "sp-http-msgraph_en-
|
|
234
|
-
"integrity": "sha256
|
|
233
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
234
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
235
235
|
},
|
|
236
236
|
"en-MY": {
|
|
237
|
-
"path": "sp-http-msgraph_en-
|
|
238
|
-
"integrity": "sha256
|
|
237
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
238
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
239
239
|
},
|
|
240
240
|
"en-PH": {
|
|
241
|
-
"path": "sp-http-msgraph_en-
|
|
242
|
-
"integrity": "sha256
|
|
241
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
242
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
243
243
|
},
|
|
244
244
|
"en-TT": {
|
|
245
|
-
"path": "sp-http-msgraph_en-
|
|
246
|
-
"integrity": "sha256
|
|
245
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
246
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
247
247
|
},
|
|
248
248
|
"en-AZ": {
|
|
249
|
-
"path": "sp-http-msgraph_en-
|
|
250
|
-
"integrity": "sha256
|
|
249
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
250
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
251
251
|
},
|
|
252
252
|
"en-BH": {
|
|
253
|
-
"path": "sp-http-msgraph_en-
|
|
254
|
-
"integrity": "sha256
|
|
253
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
254
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
255
255
|
},
|
|
256
256
|
"en-BN": {
|
|
257
|
-
"path": "sp-http-msgraph_en-
|
|
258
|
-
"integrity": "sha256
|
|
257
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
258
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
259
259
|
},
|
|
260
260
|
"en-ID": {
|
|
261
|
-
"path": "sp-http-msgraph_en-
|
|
262
|
-
"integrity": "sha256
|
|
261
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
262
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
263
263
|
},
|
|
264
264
|
"mi": {
|
|
265
|
-
"path": "sp-http-msgraph_en-
|
|
266
|
-
"integrity": "sha256
|
|
265
|
+
"path": "sp-http-msgraph_en-us_cfda7d677f14f5282290.js",
|
|
266
|
+
"integrity": "sha256-w+LzRGqOuWh4zInSXTSseArqsI4wsXbMghue6lbPyIY="
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
"defaultPath": {
|
|
270
|
-
"path": "sp-http-
|
|
271
|
-
"integrity": "sha256-
|
|
270
|
+
"path": "sp-http-msgraph_default_4667031b3978a420e01f.js",
|
|
271
|
+
"integrity": "sha256-kRIVU4Btq0dB5f9tnNSnPfdRgInA9rHQzVEZ0UlaICg="
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
"tslib": {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[]).push([[224],{963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(553),i=n(878),r=n(377),o=n(17),s=n(61);function c(){return i._SPKillSwitch.isActivated("cf20bd1c-8f94-466b-b394-382640c75c23")}var d=function(){function e(e,t,n){this._tokenProvider=e,this._graphBaseUrl=t,this._isInternal=n}return e.prototype.getAccessToken=function(){return this._isInternal?this._getInternalToken(this._tokenProvider):this._getOAuthToken(this._tokenProvider)},e.prototype._getOAuthToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(this._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e.prototype._getInternalToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchInternalGraphToken");return e._getTokenInternal(this._graphBaseUrl,s._AadTokenProviders.preAuthorizedConfiguration).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e}();const l=function(){function e(t,n,a,r){var o=this;this._isInternal=!1,t.whenFinished(function(){if(e._graphBaseUrl||(e._graphBaseUrl=t.consume(s._GraphHttpClientContext.serviceKey).getGraphEndpointUrl()),!c()){var d=t.consume(i._ClientManifestData.serviceKey);o._consumerComponentManifest=d.manifest}r?(o._isInternal=!0,e._internalInstance||(e._internalInstance=o._createInternalGraphClientInstance(s._AadTokenProviders.configurable,n))):e._instance||(e._instance=void 0!==a?o._createGraphClientInstanceWithMiddleware(s._AadTokenProviders.configurable,a):o._createGraphClientInstance(s._AadTokenProviders.configurable,n))})}return e.prototype.api=function(t){return i.Validate.isNonemptyString(t,"path"),this._isInternal?e._internalInstance.api(t):e._instance.api(t)},Object.defineProperty(e.prototype,"client",{get:function(){return this._isInternal?e._internalInstance:e._instance},enumerable:!1,configurable:!0}),e.prototype._createGraphClientInstance=function(e,t){var n,i=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstance");try{n=this._createClientInstance((0,a.__assign)((0,a.__assign)({},t),{authProvider:void 0}),e,!1)}catch(e){throw i.writeUnexpectedFailure(e.message,e),e}return n},e.prototype._createGraphClientInstanceWithMiddleware=function(e,t){var n,a=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstanceWithMiddleware");try{return n=this._createClientInstance(t,e,!1),a.writeSuccess(),n}catch(e){throw a.writeUnexpectedFailure(e.message,e),e}},e.prototype._createInternalGraphClientInstance=function(e,t){var n,i=new r._QosMonitor("MSGraphClientV3.CreateInternalGraphClientInstance");try{n=this._createClientInstance((0,a.__assign)((0,a.__assign)({},t),{authProvider:void 0}),e,!0)}catch(e){throw i.writeUnexpectedFailure(e.message,e),e}return n},e.prototype._createClientInstance=function(t,n,a){var i,r=t||{};if(r.baseUrl=e._graphBaseUrl,r.middleware?(i=[new o.AuthenticationHandler(new d(n,e._graphBaseUrl,a))],Array.isArray(r.middleware)?i.push.apply(i,r.middleware):i.push(r.middleware)):i=o.MiddlewareFactory.getDefaultMiddlewareChain(new d(n,e._graphBaseUrl,a)),!c()&&this._consumerComponentManifest){r.fetchOptions||(r.fetchOptions={}),r.fetchOptions.headers||(r.fetchOptions.headers={});var s="SPFx/".concat(this._consumerComponentManifest.alias,"/").concat(this._consumerComponentManifest.id,"/Is3PRequest:").concat(this._consumerComponentManifest.isInternal?"0":"1"),l=r.fetchOptions.headers;if(Array.isArray(l)){var u=l.findIndex(function(e){return"SdkVersion"===e[0]});-1===u?l.push(["SdkVersion",s]):l[u][1]+=", ".concat(s)}else l instanceof Headers?l.has("SdkVersion")?l.set("SdkVersion","".concat(l.get("SdkVersion"),", ").concat(s)):l.set("SdkVersion",s):l.SdkVersion=l.SdkVersions?"".concat(l.SdkVersion,", ").concat(s):s}return r.middleware=i,o.Client.initWithMiddleware(r)},e}()}
|
|
2
|
+
}]);
|
|
@@ -158,6 +158,7 @@ export declare class MSGraphClientV3 {
|
|
|
158
158
|
private static _internalInstance;
|
|
159
159
|
private static _graphBaseUrl;
|
|
160
160
|
private _isInternal;
|
|
161
|
+
private _consumerComponentManifest;
|
|
161
162
|
/* Excluded from this release type: __constructor */
|
|
162
163
|
/**
|
|
163
164
|
* All calls to Microsoft Graph are chained together starting with the api function.
|
|
@@ -184,8 +185,6 @@ export declare class MSGraphClientV3 {
|
|
|
184
185
|
private _createGraphClientInstanceWithMiddleware;
|
|
185
186
|
private _createInternalGraphClientInstance;
|
|
186
187
|
private _createClientInstance;
|
|
187
|
-
private _getOAuthToken;
|
|
188
|
-
private _getInternalToken;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
export { }
|
|
@@ -158,6 +158,7 @@ export declare class MSGraphClientV3 {
|
|
|
158
158
|
private static _internalInstance;
|
|
159
159
|
private static _graphBaseUrl;
|
|
160
160
|
private _isInternal;
|
|
161
|
+
private _consumerComponentManifest;
|
|
161
162
|
/* Excluded from this release type: __constructor */
|
|
162
163
|
/**
|
|
163
164
|
* All calls to Microsoft Graph are chained together starting with the api function.
|
|
@@ -184,8 +185,6 @@ export declare class MSGraphClientV3 {
|
|
|
184
185
|
private _createGraphClientInstanceWithMiddleware;
|
|
185
186
|
private _createInternalGraphClientInstance;
|
|
186
187
|
private _createClientInstance;
|
|
187
|
-
private _getOAuthToken;
|
|
188
|
-
private _getInternalToken;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
export { }
|
package/dist/index-internal.d.ts
CHANGED
|
@@ -158,6 +158,7 @@ export declare class MSGraphClientV3 {
|
|
|
158
158
|
private static _internalInstance;
|
|
159
159
|
private static _graphBaseUrl;
|
|
160
160
|
private _isInternal;
|
|
161
|
+
private _consumerComponentManifest;
|
|
161
162
|
/* Excluded from this release type: __constructor */
|
|
162
163
|
/**
|
|
163
164
|
* All calls to Microsoft Graph are chained together starting with the api function.
|
|
@@ -184,8 +185,6 @@ export declare class MSGraphClientV3 {
|
|
|
184
185
|
private _createGraphClientInstanceWithMiddleware;
|
|
185
186
|
private _createInternalGraphClientInstance;
|
|
186
187
|
private _createClientInstance;
|
|
187
|
-
private _getOAuthToken;
|
|
188
|
-
private _getInternalToken;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
export { }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"graphClientInitializationError"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"Sorry, we couldn\\u0027t make a connection to Microsoft Graph."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"[!!--##Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ.##--!!]"}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"
|
|
1
|
+
(()=>{var e=document.currentScript;define("aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0",["tslib","@microsoft/sp-core-library","@microsoft/sp-diagnostics","@microsoft/sp-http-base","@microsoft/sp-loader"],(t,n,a,i,r)=>(()=>{"use strict";var o,s,c,d,l,u={878:e=>{e.exports=n},377:e=>{e.exports=a},61:e=>{e.exports=i},37:e=>{e.exports=r},553:e=>{e.exports=t}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return u[e](n,n.exports,p),n.exports}p.m=u,s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);p.r(n);var a={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;"object"==typeof i&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,p.d(n,a),n},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce((t,n)=>(p.f[n](e,t),t),[])),p.u=e=>"chunk."+{224:"sp-http-msgraphclientv3",302:"sp-http-msgraphclient"}[e]+"_none_"+{224:"df61f49dc36b3abf0e83",302:"0ee8c29b65f15147d1e4"}[e]+".js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},d="aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0:",p.l=(e,t,n,a)=>{if(c[e])c[e].push(t);else{var i,r;if(void 0!==n)for(var o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var l=o[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==d+n){i=l;break}}i||(r=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.setAttribute("data-webpack",d+n),i.src=e,0!==i.src.indexOf(window.location.origin+"/")&&(i.crossOrigin="anonymous")),c[e]=[t];var u=(t,n)=>{i.onerror=i.onload=null,clearTimeout(f);var a=c[e];if(delete c[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),t)return t(n)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),r&&document.head.appendChild(i)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l=e?e.src:"",p.p=l.slice(0,l.lastIndexOf("/")+1),p.f.compat=(e,t)=>{for(var n=function(e){return{224:[{i:"32b9363b-09ff-4959-929a-cab2663fb223",v:"3.0.2",m:17}]}[e]||[]}(e),a=0;a<n.length;a++)p.m[n[a].m]||(e=>{t.push(m.SPComponentLoader.loadComponentById(e.i,e.v).then(t=>{p.m[e.m]=e=>e.exports=t}))})(n[a])};var m=p(37);(()=>{var e={341:0};p.f.j=(t,n)=>{var a=p.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var r=p.p+p.u(t),o=new Error;p.l(r,n=>{if(p.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",o.name="ChunkLoadError",o.type=i,o.request=r,a[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var a,i,[r,o,s]=n,c=0;if(r.some(t=>0!==e[t])){for(a in o)p.o(o,a)&&(p.m[a]=o[a]);s&&s(p)}for(t&&t(n);c<r.length;c++)i=r[c],p.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var _={};return(()=>{p.r(_),p.d(_,{MSGraphClient:()=>r,MSGraphClientFactory:()=>s});var e=p(553),t=p(878),n=p(377),a=p(61);const i=JSON.parse('{"F":"Śōŕŕŷ, ŵē ćōũĺďń\\u0027ţ màķē à ćōńńēćţĩōń ţō Mĩćŕōśōƒţ Ĝŕàƥĥ."}'),r=function(){function r(e){var t=this;e.whenFinished(function(){r._graphBaseUrl=e.consume(a._GraphHttpClientContext.serviceKey).getGraphEndpointUrl(),r._instance||(r._instance=t._createGraphClientInstance(a._AadTokenProviders.configurable))})}return r.prototype.api=function(n,a){return t.Validate.isNonemptyString(n,"path"),r._instance.config=(0,e.__assign)((0,e.__assign)({},r._originalConfig),a||{}),r._instance.api(n)},r.prototype._createGraphClientInstance=function(e){var t,n=this;if(!r._window.MicrosoftGraph||!r._window.MicrosoftGraph.Client)throw new Error(i.F);t=r._window.MicrosoftGraph.Client,r._window.MicrosoftGraph=void 0;var a=t.init({authProvider:function(t){n._getOAuthToken(e).then(function(e){t(void 0,e)}).catch(function(e){t(e,"")})},baseUrl:r._graphBaseUrl});return r._originalConfig=a.config,a},r.prototype._getOAuthToken=function(e){var t=new n._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(r._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},r._window=window,r}();function o(){return t._SPKillSwitch.isActivated("416713e6-ce26-48f7-9e12-28fe39f77b1e")}const s=function(){function e(e){this._serviceScope=e}return e.prototype.getClient=function(e,a){var i=this;if(e&&"1"!==e){if("3"!==e||t._SPKillSwitch.isActivated("24401914-15d6-4c3c-aeea-4aace46d5586"))throw Error("Not yet implemented.");var s=new n._QosMonitor("MSGraphClientFactory.GetClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return s.writeSuccess({version:3,options:!!a}),new e.default(i._serviceScope,a,void 0)}).catch(function(e){throw o()||s.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})}return r._instance?Promise.resolve(new r(this._serviceScope)):p.e(302).then(p.t.bind(p,201,23)).then(function(){return new r(i._serviceScope)})},e.prototype.getClientWithMiddleware=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetClientV3WithMiddleware");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3}),new e.default(a._serviceScope,void 0,t)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.prototype.getClientInternal=function(e,t){var a=this,i=new n._QosMonitor("MSGraphClientFactory.GetInternalClientV3");return p.e(224).then(p.bind(p,963)).then(function(e){return i.writeSuccess({version:3,options:!!t}),new e.default(a._serviceScope,t,void 0,!0)}).catch(function(e){throw o()||i.writeUnexpectedFailure("ImportMSGraphV3ChunkFailed",e),e})},e.serviceKey=t.ServiceKey.create("sp-http:MSGraphClientFactory",e),e}()})(),_})())})();
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -35,38 +35,15 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
35
35
|
.consume(sp_http_base_1._GraphHttpClientContext.serviceKey)
|
|
36
36
|
.getGraphEndpointUrl();
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
// MSGraphClientV3._internalInstance = this._createInternalGraphClientInstance(
|
|
43
|
-
// _AadTokenProviders.configurable as AadTokenProvider,
|
|
44
|
-
// options
|
|
45
|
-
// );
|
|
46
|
-
// }
|
|
47
|
-
// }
|
|
48
|
-
// else if (!MSGraphClientV3._instance) {
|
|
49
|
-
// if (clientOptions !== undefined) {
|
|
50
|
-
// MSGraphClientV3._instance = this._createGraphClientInstanceWithMiddleware(
|
|
51
|
-
// _AadTokenProviders.configurable,
|
|
52
|
-
// clientOptions
|
|
53
|
-
// );
|
|
54
|
-
// } else {
|
|
55
|
-
// MSGraphClientV3._instance = this._createGraphClientInstance(
|
|
56
|
-
// _AadTokenProviders.configurable,
|
|
57
|
-
// options
|
|
58
|
-
// );
|
|
59
|
-
// }
|
|
60
|
-
// }
|
|
61
|
-
//
|
|
38
|
+
if (!(0, Killswitches_1.isPassSdkVersionKSActivated)()) {
|
|
39
|
+
var clientManifestData = serviceScope.consume(sp_core_library_1._ClientManifestData.serviceKey);
|
|
40
|
+
_this._consumerComponentManifest = clientManifestData.manifest;
|
|
41
|
+
}
|
|
62
42
|
if (internalClient) {
|
|
63
43
|
_this._isInternal = true;
|
|
64
|
-
if (!
|
|
44
|
+
if (!MSGraphClientV3._internalInstance) {
|
|
65
45
|
MSGraphClientV3._internalInstance = _this._createInternalGraphClientInstance(sp_http_base_1._AadTokenProviders.configurable, options);
|
|
66
46
|
}
|
|
67
|
-
else if ((0, Killswitches_1.isUseSeparateInternalInstanceKSActivated)() && !MSGraphClientV3._instance) {
|
|
68
|
-
MSGraphClientV3._instance = _this._createInternalGraphClientInstance(sp_http_base_1._AadTokenProviders.configurable, options);
|
|
69
|
-
}
|
|
70
47
|
}
|
|
71
48
|
else if (!MSGraphClientV3._instance) {
|
|
72
49
|
if (clientOptions !== undefined) {
|
|
@@ -96,7 +73,7 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
96
73
|
*/
|
|
97
74
|
MSGraphClientV3.prototype.api = function (path) {
|
|
98
75
|
sp_core_library_1.Validate.isNonemptyString(path, 'path');
|
|
99
|
-
if (
|
|
76
|
+
if (this._isInternal) {
|
|
100
77
|
return MSGraphClientV3._internalInstance.api(path);
|
|
101
78
|
}
|
|
102
79
|
return MSGraphClientV3._instance.api(path);
|
|
@@ -106,7 +83,7 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
106
83
|
* Gets the instance of the instantiated Client object from Microsoft Graph SDK.
|
|
107
84
|
*/
|
|
108
85
|
get: function () {
|
|
109
|
-
if (
|
|
86
|
+
if (this._isInternal) {
|
|
110
87
|
return MSGraphClientV3._internalInstance;
|
|
111
88
|
}
|
|
112
89
|
return MSGraphClientV3._instance;
|
|
@@ -115,51 +92,22 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
115
92
|
configurable: true
|
|
116
93
|
});
|
|
117
94
|
MSGraphClientV3.prototype._createGraphClientInstance = function (tokenProvider, options) {
|
|
118
|
-
var _this = this;
|
|
119
95
|
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClientV3.CreateGraphClientInstance');
|
|
120
96
|
var graphClient;
|
|
121
|
-
|
|
122
|
-
graphClient =
|
|
123
|
-
_this._getOAuthToken(tokenProvider)
|
|
124
|
-
.then(function (token) {
|
|
125
|
-
done(undefined /** error object */, token);
|
|
126
|
-
qosMonitor.writeSuccess();
|
|
127
|
-
})
|
|
128
|
-
.catch(function (e) {
|
|
129
|
-
// The functions will return a rejected promise if it fails to get an OAuth2Token.
|
|
130
|
-
done(e, '');
|
|
131
|
-
qosMonitor.writeExpectedFailure(e.message);
|
|
132
|
-
});
|
|
133
|
-
}, baseUrl: MSGraphClientV3._graphBaseUrl }, options // with this, the user can override the baseUrl and authProvider too
|
|
134
|
-
));
|
|
97
|
+
try {
|
|
98
|
+
graphClient = this._createClientInstance(tslib_1.__assign(tslib_1.__assign({}, options), { authProvider: undefined }), tokenProvider, false);
|
|
135
99
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
catch (e) {
|
|
141
|
-
qosMonitor.writeUnexpectedFailure(e.message, e);
|
|
142
|
-
throw e;
|
|
143
|
-
}
|
|
100
|
+
catch (e) {
|
|
101
|
+
qosMonitor.writeUnexpectedFailure(e.message, e);
|
|
102
|
+
throw e;
|
|
144
103
|
}
|
|
145
104
|
return graphClient;
|
|
146
105
|
};
|
|
147
106
|
MSGraphClientV3.prototype._createGraphClientInstanceWithMiddleware = function (tokenProvider, options) {
|
|
148
|
-
var _this = this;
|
|
149
107
|
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClientV3.CreateGraphClientInstanceWithMiddleware');
|
|
150
108
|
var graphClient;
|
|
151
109
|
try {
|
|
152
|
-
|
|
153
|
-
graphClient = ms_graph_v3_bundle_1.Client.initWithMiddleware(tslib_1.__assign({ authProvider: {
|
|
154
|
-
getAccessToken: function (authenticationProviderOptions) {
|
|
155
|
-
return _this._getOAuthToken(tokenProvider);
|
|
156
|
-
}
|
|
157
|
-
}, baseUrl: MSGraphClientV3._graphBaseUrl }, options // with this, the user can override the baseUrl and authProvider too
|
|
158
|
-
));
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
graphClient = this._createClientInstance(options, tokenProvider, false);
|
|
162
|
-
}
|
|
110
|
+
graphClient = this._createClientInstance(options, tokenProvider, false);
|
|
163
111
|
qosMonitor.writeSuccess();
|
|
164
112
|
return graphClient;
|
|
165
113
|
}
|
|
@@ -169,32 +117,14 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
169
117
|
}
|
|
170
118
|
};
|
|
171
119
|
MSGraphClientV3.prototype._createInternalGraphClientInstance = function (tokenProvider, options) {
|
|
172
|
-
var _this = this;
|
|
173
120
|
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClientV3.CreateInternalGraphClientInstance');
|
|
174
121
|
var graphClient;
|
|
175
|
-
|
|
176
|
-
graphClient =
|
|
177
|
-
_this._getInternalToken(tokenProvider)
|
|
178
|
-
.then(function (token) {
|
|
179
|
-
done(undefined /** error object */, token);
|
|
180
|
-
qosMonitor.writeSuccess();
|
|
181
|
-
})
|
|
182
|
-
.catch(function (e) {
|
|
183
|
-
// The functions will return a rejected promise if it fails to get an OAuth2Token.
|
|
184
|
-
done(e, '');
|
|
185
|
-
qosMonitor.writeExpectedFailure(e.message);
|
|
186
|
-
});
|
|
187
|
-
}, baseUrl: MSGraphClientV3._graphBaseUrl }, options // with this, the user can override the baseUrl and authProvider too
|
|
188
|
-
));
|
|
122
|
+
try {
|
|
123
|
+
graphClient = this._createClientInstance(tslib_1.__assign(tslib_1.__assign({}, options), { authProvider: undefined }), tokenProvider, true);
|
|
189
124
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
catch (e) {
|
|
195
|
-
qosMonitor.writeUnexpectedFailure(e.message, e);
|
|
196
|
-
throw e;
|
|
197
|
-
}
|
|
125
|
+
catch (e) {
|
|
126
|
+
qosMonitor.writeUnexpectedFailure(e.message, e);
|
|
127
|
+
throw e;
|
|
198
128
|
}
|
|
199
129
|
return graphClient;
|
|
200
130
|
};
|
|
@@ -217,36 +147,39 @@ var MSGraphClientV3 = /** @class */ (function () {
|
|
|
217
147
|
middlewareChain.push(clientOptions.middleware);
|
|
218
148
|
}
|
|
219
149
|
}
|
|
150
|
+
if (!(0, Killswitches_1.isPassSdkVersionKSActivated)() && this._consumerComponentManifest) {
|
|
151
|
+
if (!clientOptions.fetchOptions) {
|
|
152
|
+
clientOptions.fetchOptions = {};
|
|
153
|
+
}
|
|
154
|
+
if (!clientOptions.fetchOptions.headers) {
|
|
155
|
+
clientOptions.fetchOptions.headers = {};
|
|
156
|
+
}
|
|
157
|
+
var sdkVersionValue = "SPFx/".concat(this._consumerComponentManifest.alias, "/").concat(this._consumerComponentManifest.id, "/Is3PRequest:").concat(this._consumerComponentManifest.isInternal ? '0' : '1');
|
|
158
|
+
var headers = clientOptions.fetchOptions.headers;
|
|
159
|
+
if (Array.isArray(headers)) {
|
|
160
|
+
var sdkVersionHeaderIndex = headers.findIndex(function (header) { return header[0] === 'SdkVersion'; });
|
|
161
|
+
if (sdkVersionHeaderIndex === -1) {
|
|
162
|
+
headers.push(['SdkVersion', sdkVersionValue]);
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
headers[sdkVersionHeaderIndex][1] += ", ".concat(sdkVersionValue);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
else if (headers instanceof Headers) {
|
|
169
|
+
headers.has('SdkVersion')
|
|
170
|
+
? headers.set('SdkVersion', "".concat(headers.get('SdkVersion'), ", ").concat(sdkVersionValue))
|
|
171
|
+
: headers.set('SdkVersion', sdkVersionValue);
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
headers.SdkVersion = headers.SdkVersions
|
|
175
|
+
? "".concat(headers.SdkVersion, ", ").concat(sdkVersionValue)
|
|
176
|
+
: sdkVersionValue;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
220
179
|
// we can add more middleware to the end of the chain here
|
|
221
180
|
clientOptions.middleware = middlewareChain;
|
|
222
181
|
return ms_graph_v3_bundle_1.Client.initWithMiddleware(clientOptions);
|
|
223
182
|
};
|
|
224
|
-
MSGraphClientV3.prototype._getOAuthToken = function (tokenProvider) {
|
|
225
|
-
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClient.FetchGraphToken');
|
|
226
|
-
return tokenProvider
|
|
227
|
-
.getToken(MSGraphClientV3._graphBaseUrl)
|
|
228
|
-
.then(function (response) {
|
|
229
|
-
qosMonitor.writeSuccess();
|
|
230
|
-
return response;
|
|
231
|
-
})
|
|
232
|
-
.catch(function (error) {
|
|
233
|
-
qosMonitor.writeUnexpectedFailure(error.message, error);
|
|
234
|
-
throw error;
|
|
235
|
-
});
|
|
236
|
-
};
|
|
237
|
-
MSGraphClientV3.prototype._getInternalToken = function (tokenProvider) {
|
|
238
|
-
var qosMonitor = new sp_diagnostics_1._QosMonitor('MSGraphClient.FetchInternalGraphToken');
|
|
239
|
-
return tokenProvider
|
|
240
|
-
._getTokenInternal(MSGraphClientV3._graphBaseUrl, sp_http_base_1._AadTokenProviders.preAuthorizedConfiguration)
|
|
241
|
-
.then(function (response) {
|
|
242
|
-
qosMonitor.writeSuccess();
|
|
243
|
-
return response;
|
|
244
|
-
})
|
|
245
|
-
.catch(function (error) {
|
|
246
|
-
qosMonitor.writeUnexpectedFailure(error.message, error);
|
|
247
|
-
throw error;
|
|
248
|
-
});
|
|
249
|
-
};
|
|
250
183
|
return MSGraphClientV3;
|
|
251
184
|
}());
|
|
252
185
|
exports.default = MSGraphClientV3;
|
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isPassSdkVersionKSActivated = void 0;
|
|
4
4
|
var sp_core_library_1 = require("@microsoft/sp-core-library");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
function isUseAuthProviderAsMiddlewareKSActivated() {
|
|
9
|
-
return sp_core_library_1._SPKillSwitch.isActivated('fc060cb5-65ce-406c-88e4-c05007eb611f'
|
|
10
|
-
/* '04/10/2023', 'Use Auth Provider as Middleware'*/
|
|
5
|
+
function isPassSdkVersionKSActivated() {
|
|
6
|
+
return sp_core_library_1._SPKillSwitch.isActivated('cf20bd1c-8f94-466b-b394-382640c75c23'
|
|
7
|
+
/* '04/10/2023', 'aterentiev - Pass SdkVersion header to MS Graph requests'*/
|
|
11
8
|
);
|
|
12
9
|
}
|
|
13
|
-
exports.
|
|
14
|
-
/**
|
|
15
|
-
* KS to use auth provider middleware in default init
|
|
16
|
-
*/
|
|
17
|
-
function isUseAuthProviderClassInDefaultInitKSActivated() {
|
|
18
|
-
return sp_core_library_1._SPKillSwitch.isActivated('df724ea6-3681-4d8b-989f-85bede997509'
|
|
19
|
-
/* '04/10/2023', 'Use Auth Provider Middleware in default init'*/
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
exports.isUseAuthProviderClassInDefaultInitKSActivated = isUseAuthProviderClassInDefaultInitKSActivated;
|
|
23
|
-
function isUseSeparateInternalInstanceKSActivated() {
|
|
24
|
-
return sp_core_library_1._SPKillSwitch.isActivated('c4f7a9ac-2822-43fd-ba58-b01454ba8bed'
|
|
25
|
-
/* '04/10/2023', 'Use separate internal instance'*/
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
exports.isUseSeparateInternalInstanceKSActivated = isUseSeparateInternalInstanceKSActivated;
|
|
10
|
+
exports.isPassSdkVersionKSActivated = isPassSdkVersionKSActivated;
|
|
29
11
|
//# sourceMappingURL=Killswitches.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-http-msgraph",
|
|
3
|
-
"version": "1.20.0-
|
|
3
|
+
"version": "1.20.0-rc.0",
|
|
4
4
|
"description": "Microsoft Graph communication layer for the SharePoint Framework",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@microsoft/microsoft-graph-clientv1": "npm:@microsoft/microsoft-graph-client@1.7.2-spfx",
|
|
15
15
|
"tslib": "2.3.1",
|
|
16
|
-
"@microsoft/sp-core-library": "1.20.0-
|
|
17
|
-
"@microsoft/sp-http-base": "1.20.0-
|
|
18
|
-
"@microsoft/sp-
|
|
19
|
-
"@microsoft/sp-
|
|
16
|
+
"@microsoft/sp-core-library": "1.20.0-rc.0",
|
|
17
|
+
"@microsoft/sp-http-base": "1.20.0-rc.0",
|
|
18
|
+
"@microsoft/sp-diagnostics": "1.20.0-rc.0",
|
|
19
|
+
"@microsoft/sp-loader": "1.20.0-rc.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@microsoft/microsoft-graph-client": "3.0.2",
|
|
23
|
-
"@rushstack/heft": "0.
|
|
23
|
+
"@rushstack/heft": "0.67.0",
|
|
24
24
|
"eslint": "8.57.0",
|
|
25
|
-
"@
|
|
26
|
-
"@ms/spfx-internal-web-build-rig": "0.1.0"
|
|
25
|
+
"@microsoft/sp-module-interfaces": "1.20.1-tool-dev.146",
|
|
26
|
+
"@ms/spfx-internal-web-build-rig": "0.1.0",
|
|
27
|
+
"@ms/ms-graph-v3-bundle": "3.0.2"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"@microsoft/microsoft-graph-client": "3.0.2"
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]=self["webpackJsonp_aec2bbfd-a968-4d5b-a279-12e570f378e6_1.20.0"]||[]).push([[224],{963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var a=n(553),i=n(878),r=n(377),o=n(17),s=n(61);function c(){return i._SPKillSwitch.isActivated("df724ea6-3681-4d8b-989f-85bede997509")}function d(){return i._SPKillSwitch.isActivated("c4f7a9ac-2822-43fd-ba58-b01454ba8bed")}var l=function(){function e(e,t,n){this._tokenProvider=e,this._graphBaseUrl=t,this._isInternal=n}return e.prototype.getAccessToken=function(){return this._isInternal?this._getInternalToken(this._tokenProvider):this._getOAuthToken(this._tokenProvider)},e.prototype._getOAuthToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchGraphToken");return e.getToken(this._graphBaseUrl).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e.prototype._getInternalToken=function(e){var t=new r._QosMonitor("MSGraphClient.FetchInternalGraphToken");return e._getTokenInternal(this._graphBaseUrl,s._AadTokenProviders.preAuthorizedConfiguration).then(function(e){return t.writeSuccess(),e}).catch(function(e){throw t.writeUnexpectedFailure(e.message,e),e})},e}();const u=function(){function e(t,n,a,i){var r=this;this._isInternal=!1,t.whenFinished(function(){e._graphBaseUrl||(e._graphBaseUrl=t.consume(s._GraphHttpClientContext.serviceKey).getGraphEndpointUrl()),i?(r._isInternal=!0,d()||e._internalInstance?d()&&!e._instance&&(e._instance=r._createInternalGraphClientInstance(s._AadTokenProviders.configurable,n)):e._internalInstance=r._createInternalGraphClientInstance(s._AadTokenProviders.configurable,n)):e._instance||(e._instance=void 0!==a?r._createGraphClientInstanceWithMiddleware(s._AadTokenProviders.configurable,a):r._createGraphClientInstance(s._AadTokenProviders.configurable,n))})}return e.prototype.api=function(t){return i.Validate.isNonemptyString(t,"path"),!d()&&this._isInternal?e._internalInstance.api(t):e._instance.api(t)},Object.defineProperty(e.prototype,"client",{get:function(){return!d()&&this._isInternal?e._internalInstance:e._instance},enumerable:!1,configurable:!0}),e.prototype._createGraphClientInstance=function(t,n){var i,s=this,d=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstance");if(c())i=o.Client.init((0,a.__assign)({authProvider:function(e){s._getOAuthToken(t).then(function(t){e(void 0,t),d.writeSuccess()}).catch(function(t){e(t,""),d.writeExpectedFailure(t.message)})},baseUrl:e._graphBaseUrl},n));else try{i=this._createClientInstance((0,a.__assign)((0,a.__assign)({},n),{authProvider:void 0}),t,!1)}catch(e){throw d.writeUnexpectedFailure(e.message,e),e}return i},e.prototype._createGraphClientInstanceWithMiddleware=function(t,n){var s,c=this,d=new r._QosMonitor("MSGraphClientV3.CreateGraphClientInstanceWithMiddleware");try{return s=i._SPKillSwitch.isActivated("fc060cb5-65ce-406c-88e4-c05007eb611f")?o.Client.initWithMiddleware((0,a.__assign)({authProvider:{getAccessToken:function(e){return c._getOAuthToken(t)}},baseUrl:e._graphBaseUrl},n)):this._createClientInstance(n,t,!1),d.writeSuccess(),s}catch(e){throw d.writeUnexpectedFailure(e.message,e),e}},e.prototype._createInternalGraphClientInstance=function(t,n){var i,s=this,d=new r._QosMonitor("MSGraphClientV3.CreateInternalGraphClientInstance");if(c())i=o.Client.init((0,a.__assign)({authProvider:function(e){s._getInternalToken(t).then(function(t){e(void 0,t),d.writeSuccess()}).catch(function(t){e(t,""),d.writeExpectedFailure(t.message)})},baseUrl:e._graphBaseUrl},n));else try{i=this._createClientInstance((0,a.__assign)((0,a.__assign)({},n),{authProvider:void 0}),t,!0)}catch(e){throw d.writeUnexpectedFailure(e.message,e),e}return i},e.prototype._createClientInstance=function(t,n,a){var i,r=t||{};return r.baseUrl=e._graphBaseUrl,r.middleware?(i=[new o.AuthenticationHandler(new l(n,e._graphBaseUrl,a))],Array.isArray(r.middleware)?i.push.apply(i,r.middleware):i.push(r.middleware)):i=o.MiddlewareFactory.getDefaultMiddlewareChain(new l(n,e._graphBaseUrl,a)),r.middleware=i,o.Client.initWithMiddleware(r)},e.prototype._getOAuthToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchGraphToken");return t.getToken(e._graphBaseUrl).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure(e.message,e),e})},e.prototype._getInternalToken=function(t){var n=new r._QosMonitor("MSGraphClient.FetchInternalGraphToken");return t._getTokenInternal(e._graphBaseUrl,s._AadTokenProviders.preAuthorizedConfiguration).then(function(e){return n.writeSuccess(),e}).catch(function(e){throw n.writeUnexpectedFailure(e.message,e),e})},e}()}
|
|
2
|
-
}]);
|