@@ -132,7 +132,7 @@ <h3 class="tsd-anchor-link"><span>create<wbr/>Data<wbr/>Key</span><a href="#crea
132
132
< h4 class ="tsd-parameters-title "> Parameters</ h4 >
133
133
< ul class ="tsd-parameter-list ">
134
134
< li >
135
- < h5 > < span class ="tsd-kind-parameter "> provider</ span > : < span class ="tsd-signature-type " > string </ span > </ h5 > </ li >
135
+ < h5 > < span class ="tsd-kind-parameter "> provider</ span > : < span class ="tsd-signature-symbol " > keyof </ span > < a href =" ../interfaces/KMSProviders.html " class =" tsd-signature-type tsd-kind-interface " > KMSProviders </ a > </ h5 > </ li >
136
136
< li >
137
137
< h5 > < span class ="tsd-kind-parameter "> options</ span > : < a href ="../interfaces/ClientEncryptionCreateDataKeyProviderOptions.html " class ="tsd-signature-type tsd-kind-interface "> ClientEncryptionCreateDataKeyProviderOptions</ a > < span class ="tsd-signature-symbol "> = {}</ span > </ h5 > </ li > </ ul > </ div >
138
138
< h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="BSON.UUID.html " class ="tsd-signature-type tsd-kind-class "> UUID</ a > < span class ="tsd-signature-symbol "> ></ span > </ h4 >
@@ -176,7 +176,7 @@ <h5><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-typ
176
176
</ div >
177
177
< div class ="tsd-comment tsd-typography "> </ div > </ li >
178
178
< li >
179
- < h5 > < span class ="tsd-kind-parameter "> options</ span > : < span class ="tsd-signature-symbol "> { </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> createCollectionOptions</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Omit</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="../interfaces/CreateCollectionOptions.html " class ="tsd-signature-type tsd-kind-interface "> CreateCollectionOptions</ a > < span class ="tsd-signature-symbol "> , </ span > < span class ="tsd-signature-type "> "encryptedFields"</ span > < span class ="tsd-signature-symbol "> ></ span > < span class ="tsd-signature-symbol "> & </ span > < span class ="tsd-signature-symbol "> { </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> encryptedFields</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="../interfaces/BSON.Document.html " class ="tsd-signature-type tsd-kind-interface "> Document</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> masterKey</ span > < span class ="tsd-signature-symbol "> ?: </ span > < a href ="../interfaces/AWSEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AWSEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/AzureEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AzureEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/GCPEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> GCPEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> provider</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> string</ span > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span class ="tsd-signature-symbol "> }</ span > </ h5 >
179
+ < h5 > < span class ="tsd-kind-parameter "> options</ span > : < span class ="tsd-signature-symbol "> { </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> createCollectionOptions</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Omit</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="../interfaces/CreateCollectionOptions.html " class ="tsd-signature-type tsd-kind-interface "> CreateCollectionOptions</ a > < span class ="tsd-signature-symbol "> , </ span > < span class ="tsd-signature-type "> "encryptedFields"</ span > < span class ="tsd-signature-symbol "> ></ span > < span class ="tsd-signature-symbol "> & </ span > < span class ="tsd-signature-symbol "> { </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> encryptedFields</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="../interfaces/BSON.Document.html " class ="tsd-signature-type tsd-kind-interface "> Document</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> masterKey</ span > < span class ="tsd-signature-symbol "> ?: </ span > < a href ="../interfaces/AWSEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AWSEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/AzureEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AzureEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/GCPEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> GCPEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> provider</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-symbol "> keyof </ span > < a href ="../interfaces/KMSProviders.html " class ="tsd-signature-type tsd-kind-interface "> KMSProviders</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span class ="tsd-signature-symbol "> }</ span > </ h5 >
180
180
< div class ="tsd-comment tsd-typography "> < p > Options for createDataKey and for createCollection</ p >
181
181
</ div >
182
182
< div class ="tsd-comment tsd-typography "> </ div >
@@ -186,7 +186,7 @@ <h5><span class="tsd-kind-property">create<wbr/>Collection<wbr/>Options</span><s
186
186
< li class ="tsd-parameter ">
187
187
< h5 > < code class ="tsd-tag ts-flagOptional "> Optional</ code > < span class ="tsd-kind-property "> master< wbr /> Key</ span > < span class ="tsd-signature-symbol "> ?: </ span > < a href ="../interfaces/AWSEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AWSEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/AzureEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> AzureEncryptionKeyOptions</ a > < span class ="tsd-signature-symbol "> | </ span > < a href ="../interfaces/GCPEncryptionKeyOptions.html " class ="tsd-signature-type tsd-kind-interface "> GCPEncryptionKeyOptions</ a > </ h5 > </ li >
188
188
< li class ="tsd-parameter ">
189
- < h5 > < span class ="tsd-kind-property "> provider</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type " > string </ span > </ h5 > </ li > </ ul > </ li > </ ul > </ div >
189
+ < h5 > < span class ="tsd-kind-property "> provider</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-symbol " > keyof </ span > < a href =" ../interfaces/KMSProviders.html " class =" tsd-signature-type tsd-kind-interface " > KMSProviders </ a > </ h5 > </ li > </ ul > </ li > </ ul > </ div >
190
190
< h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-symbol "> { </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> collection</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="Collection.html " class ="tsd-signature-type tsd-kind-class "> Collection</ a > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type tsd-kind-type-parameter "> TSchema</ span > < span class ="tsd-signature-symbol "> ></ span > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span > </ span > < span class ="tsd-kind-property "> encryptedFields</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="../interfaces/BSON.Document.html " class ="tsd-signature-type tsd-kind-interface "> Document</ a > < span class ="tsd-signature-symbol "> ; </ span > < br /> < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> ></ span > </ h4 > < p > created collection and generated encryptedFields</ p >
191
191
192
192
< div class ="tsd-comment tsd-typography ">
0 commit comments