@azure/keyvault-certificates 4.10.2 → 4.11.0-beta.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 (82) hide show
  1. package/dist/browser/api/keyVaultContext.js +3 -2
  2. package/dist/browser/api/keyVaultContext.js.map +1 -1
  3. package/dist/browser/certificatesModels.d.ts +11 -3
  4. package/dist/browser/certificatesModels.js +1 -1
  5. package/dist/browser/certificatesModels.js.map +1 -1
  6. package/dist/browser/constants.js +1 -1
  7. package/dist/browser/constants.js.map +1 -1
  8. package/dist/browser/index.d.ts +2 -2
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/models/models.d.ts +16 -1
  11. package/dist/browser/models/models.js +21 -0
  12. package/dist/browser/models/models.js.map +1 -1
  13. package/dist/browser/transformations.js +4 -0
  14. package/dist/browser/transformations.js.map +1 -1
  15. package/dist/browser/utils.d.ts +2 -2
  16. package/dist/browser/utils.js +8 -29
  17. package/dist/browser/utils.js.map +1 -1
  18. package/dist/commonjs/api/keyVaultContext.js +3 -2
  19. package/dist/commonjs/api/keyVaultContext.js.map +2 -2
  20. package/dist/commonjs/certificatesModels.d.ts +11 -3
  21. package/dist/commonjs/certificatesModels.js +1 -1
  22. package/dist/commonjs/certificatesModels.js.map +2 -2
  23. package/dist/commonjs/constants.js +1 -1
  24. package/dist/commonjs/constants.js.map +1 -1
  25. package/dist/commonjs/index.d.ts +2 -2
  26. package/dist/commonjs/index.js.map +2 -2
  27. package/dist/commonjs/models/models.d.ts +16 -1
  28. package/dist/commonjs/models/models.js +19 -2
  29. package/dist/commonjs/models/models.js.map +2 -2
  30. package/dist/commonjs/transformations.js +4 -0
  31. package/dist/commonjs/transformations.js.map +2 -2
  32. package/dist/commonjs/tsdoc-metadata.json +1 -1
  33. package/dist/commonjs/utils.d.ts +2 -2
  34. package/dist/commonjs/utils.js +10 -26
  35. package/dist/commonjs/utils.js.map +3 -3
  36. package/dist/esm/api/keyVaultContext.js +3 -2
  37. package/dist/esm/api/keyVaultContext.js.map +1 -1
  38. package/dist/esm/certificatesModels.d.ts +11 -3
  39. package/dist/esm/certificatesModels.js +1 -1
  40. package/dist/esm/certificatesModels.js.map +1 -1
  41. package/dist/esm/constants.js +1 -1
  42. package/dist/esm/constants.js.map +1 -1
  43. package/dist/esm/index.d.ts +2 -2
  44. package/dist/esm/index.js.map +1 -1
  45. package/dist/esm/models/models.d.ts +16 -1
  46. package/dist/esm/models/models.js +21 -0
  47. package/dist/esm/models/models.js.map +1 -1
  48. package/dist/esm/transformations.js +4 -0
  49. package/dist/esm/transformations.js.map +1 -1
  50. package/dist/esm/utils.d.ts +2 -2
  51. package/dist/esm/utils.js +8 -29
  52. package/dist/esm/utils.js.map +1 -1
  53. package/dist/react-native/api/keyVaultContext.js +3 -2
  54. package/dist/react-native/api/keyVaultContext.js.map +1 -1
  55. package/dist/react-native/certificatesModels.d.ts +11 -3
  56. package/dist/react-native/certificatesModels.js +1 -1
  57. package/dist/react-native/certificatesModels.js.map +1 -1
  58. package/dist/react-native/constants.js +1 -1
  59. package/dist/react-native/constants.js.map +1 -1
  60. package/dist/react-native/index.d.ts +2 -2
  61. package/dist/react-native/index.js.map +1 -1
  62. package/dist/react-native/models/models.d.ts +16 -1
  63. package/dist/react-native/models/models.js +21 -0
  64. package/dist/react-native/models/models.js.map +1 -1
  65. package/dist/react-native/transformations.js +4 -0
  66. package/dist/react-native/transformations.js.map +1 -1
  67. package/dist/react-native/utils.d.ts +2 -2
  68. package/dist/react-native/utils.js +8 -29
  69. package/dist/react-native/utils.js.map +1 -1
  70. package/package.json +25 -10
  71. package/dist/browser/models/index.d.ts +0 -2
  72. package/dist/browser/models/index.js +0 -4
  73. package/dist/browser/models/index.js.map +0 -1
  74. package/dist/commonjs/models/index.d.ts +0 -2
  75. package/dist/commonjs/models/index.js +0 -36
  76. package/dist/commonjs/models/index.js.map +0 -7
  77. package/dist/esm/models/index.d.ts +0 -2
  78. package/dist/esm/models/index.js +0 -4
  79. package/dist/esm/models/index.js.map +0 -1
  80. package/dist/react-native/models/index.d.ts +0 -2
  81. package/dist/react-native/models/index.js +0 -4
  82. package/dist/react-native/models/index.js.map +0 -1
@@ -1,53 +1,33 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { isNode } from "@azure/core-util";
3
+ import { uint8ArrayToString, stringToUint8Array as coreStringToUint8Array } from "@azure/core-util";
4
4
  /**
5
5
  * Decodes a Uint8Array into a Base64 string.
6
6
  * @internal
7
7
  */
8
8
  export function toBase64(bytes) {
9
- if (isNode) {
10
- return Buffer.from(bytes).toString("base64");
11
- }
12
- else {
13
- return btoa(String.fromCharCode.apply(null, bytes));
14
- }
9
+ return uint8ArrayToString(bytes, "base64");
15
10
  }
16
11
  /**
17
- * Decodes a Uint8Array into an ASCII string.
12
+ * Decodes a Uint8Array into a UTF-8 string.
18
13
  * @internal
19
14
  */
20
- export function toAscii(bytes) {
21
- if (isNode) {
22
- return Buffer.from(bytes).toString("ascii");
23
- }
24
- else {
25
- return new TextDecoder("ascii").decode(bytes);
26
- }
15
+ export function toUtf8(bytes) {
16
+ return uint8ArrayToString(bytes, "utf-8");
27
17
  }
28
18
  /**
29
19
  * Encodes a JavaScript string into a Uint8Array.
30
20
  * @internal
31
21
  */
32
22
  export function stringToUint8Array(value) {
33
- if (isNode) {
34
- return Buffer.from(value);
35
- }
36
- else {
37
- return new TextEncoder().encode(value);
38
- }
23
+ return coreStringToUint8Array(value, "utf-8");
39
24
  }
40
25
  /**
41
26
  * Encodes a Base64 string into a Uint8Array.
42
27
  * @internal
43
28
  */
44
29
  export function base64ToUint8Array(value) {
45
- if (isNode) {
46
- return Buffer.from(value, "base64");
47
- }
48
- else {
49
- return Uint8Array.from(atob(value), (c) => c.charCodeAt(0));
50
- }
30
+ return coreStringToUint8Array(value, "base64");
51
31
  }
52
32
  /**
53
33
  * Parses the PFX or ASCII PEM formatted value of the certificate containing both the X.509 certificates and the private key
@@ -59,8 +39,7 @@ export function base64ToUint8Array(value) {
59
39
  */
60
40
  export function parseCertificateBytes(certificateBytes, contentType) {
61
41
  if (contentType === "application/x-pem-file") {
62
- // PEM files have the certificate bytes already Base64 formatted.
63
- return toAscii(certificateBytes);
42
+ return toUtf8(certificateBytes);
64
43
  }
65
44
  else {
66
45
  return toBase64(certificateBytes);
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAiB;IACxC,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,KAAwB,CAAC,CAAC,CAAC;IACzE,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,KAAiB;IACvC,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChD,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,gBAA4B,EAC5B,WAAmC;IAEnC,IAAI,WAAW,KAAK,wBAAwB,EAAE,CAAC;QAC7C,iEAAiE;QACjE,OAAO,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACnC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACpC,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CertificateContentType } from \"./certificatesModels.js\";\nimport { isNode } from \"@azure/core-util\";\n\n/**\n * Decodes a Uint8Array into a Base64 string.\n * @internal\n */\nexport function toBase64(bytes: Uint8Array): string {\n if (isNode) {\n return Buffer.from(bytes).toString(\"base64\");\n } else {\n return btoa(String.fromCharCode.apply(null, bytes as any as number[]));\n }\n}\n\n/**\n * Decodes a Uint8Array into an ASCII string.\n * @internal\n */\nexport function toAscii(bytes: Uint8Array): string {\n if (isNode) {\n return Buffer.from(bytes).toString(\"ascii\");\n } else {\n return new TextDecoder(\"ascii\").decode(bytes);\n }\n}\n\n/**\n * Encodes a JavaScript string into a Uint8Array.\n * @internal\n */\nexport function stringToUint8Array(value: string): Uint8Array {\n if (isNode) {\n return Buffer.from(value);\n } else {\n return new TextEncoder().encode(value);\n }\n}\n\n/**\n * Encodes a Base64 string into a Uint8Array.\n * @internal\n */\nexport function base64ToUint8Array(value: string): Uint8Array {\n if (isNode) {\n return Buffer.from(value, \"base64\");\n } else {\n return Uint8Array.from(atob(value), (c) => c.charCodeAt(0));\n }\n}\n\n/**\n * Parses the PFX or ASCII PEM formatted value of the certificate containing both the X.509 certificates and the private key\n * into a Base64 encoded string.\n *\n * @internal\n * @param certificateBytes - The PFX or ASCII PEM formatted value of the certificate containing both the X.509 certificates and the private key\n * @param contentType - \"application/x-pem-file\", \"application/x-pkcs12\" or undefined\n */\nexport function parseCertificateBytes(\n certificateBytes: Uint8Array,\n contentType: CertificateContentType,\n): string {\n if (contentType === \"application/x-pem-file\") {\n // PEM files have the certificate bytes already Base64 formatted.\n return toAscii(certificateBytes);\n } else {\n return toBase64(certificateBytes);\n }\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAGpG;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAiB;IACxC,OAAO,kBAAkB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,MAAM,CAAC,KAAiB;IACtC,OAAO,kBAAkB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAC5C,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC9C,OAAO,sBAAsB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AACjD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,gBAA4B,EAC5B,WAAmC;IAEnC,IAAI,WAAW,KAAK,wBAAwB,EAAE,CAAC;QAC7C,OAAO,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACpC,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { uint8ArrayToString, stringToUint8Array as coreStringToUint8Array } from \"@azure/core-util\";\nimport type { CertificateContentType } from \"./certificatesModels.js\";\n\n/**\n * Decodes a Uint8Array into a Base64 string.\n * @internal\n */\nexport function toBase64(bytes: Uint8Array): string {\n return uint8ArrayToString(bytes, \"base64\");\n}\n\n/**\n * Decodes a Uint8Array into a UTF-8 string.\n * @internal\n */\nexport function toUtf8(bytes: Uint8Array): string {\n return uint8ArrayToString(bytes, \"utf-8\");\n}\n\n/**\n * Encodes a JavaScript string into a Uint8Array.\n * @internal\n */\nexport function stringToUint8Array(value: string): Uint8Array {\n return coreStringToUint8Array(value, \"utf-8\");\n}\n\n/**\n * Encodes a Base64 string into a Uint8Array.\n * @internal\n */\nexport function base64ToUint8Array(value: string): Uint8Array {\n return coreStringToUint8Array(value, \"base64\");\n}\n\n/**\n * Parses the PFX or ASCII PEM formatted value of the certificate containing both the X.509 certificates and the private key\n * into a Base64 encoded string.\n *\n * @internal\n * @param certificateBytes - The PFX or ASCII PEM formatted value of the certificate containing both the X.509 certificates and the private key\n * @param contentType - \"application/x-pem-file\", \"application/x-pkcs12\" or undefined\n */\nexport function parseCertificateBytes(\n certificateBytes: Uint8Array,\n contentType: CertificateContentType,\n): string {\n if (contentType === \"application/x-pem-file\") {\n return toUtf8(certificateBytes);\n } else {\n return toBase64(certificateBytes);\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/keyvault-certificates",
3
- "version": "4.10.2",
3
+ "version": "4.11.0-beta.1",
4
4
  "description": "Azure Key Vault Certificates",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -51,7 +51,11 @@
51
51
  "LICENSE"
52
52
  ],
53
53
  "sdk-type": "client",
54
- "repository": "github:Azure/azure-sdk-for-js",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/Azure/azure-sdk-for-js",
57
+ "directory": "sdk/keyvault/keyvault-certificates"
58
+ },
55
59
  "bugs": {
56
60
  "url": "https://github.com/Azure/azure-sdk-for-js/issues"
57
61
  },
@@ -59,6 +63,10 @@
59
63
  "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
60
64
  "//metadata": {
61
65
  "constantPaths": [
66
+ {
67
+ "path": "src/constants.ts",
68
+ "prefix": "SDK_VERSION"
69
+ },
62
70
  {
63
71
  "path": "generated/api/keyVaultContext.ts",
64
72
  "prefix": "userAgentInfo"
@@ -66,7 +74,6 @@
66
74
  ]
67
75
  },
68
76
  "dependencies": {
69
- "@azure/core-util": "^1.12.0",
70
77
  "@azure-rest/core-client": "^2.3.1",
71
78
  "@azure/abort-controller": "^2.1.2",
72
79
  "@azure/core-auth": "^1.9.0",
@@ -74,7 +81,8 @@
74
81
  "@azure/core-paging": "^1.6.2",
75
82
  "@azure/core-rest-pipeline": "^1.20.0",
76
83
  "@azure/core-tracing": "^1.2.0",
77
- "@azure/keyvault-common": "^2.0.0",
84
+ "@azure/core-util": "^1.12.0",
85
+ "@azure/keyvault-common": "^2.1.0",
78
86
  "@azure/logger": "^1.2.0",
79
87
  "tslib": "^2.8.1"
80
88
  },
@@ -87,17 +95,25 @@
87
95
  "cross-env": "^10.1.0",
88
96
  "dotenv": "^16.6.1",
89
97
  "eslint": "^9.39.1",
90
- "playwright": "^1.58.2",
98
+ "playwright": "^1.60.0",
91
99
  "prettier": "^3.6.2",
100
+ "react-native": "^0.84.1",
92
101
  "rimraf": "^6.1.0",
93
102
  "typescript": "~6.0.2",
94
103
  "vitest": "^4.1.2",
95
104
  "@azure-tools/test-credential": "^2.1.2",
96
- "@azure/dev-tool": "^1.0.0",
97
- "@azure-tools/test-utils-vitest": "^2.0.1",
98
105
  "@azure-tools/test-recorder": "^4.1.1",
106
+ "@azure-tools/test-utils-vitest": "^2.0.1",
107
+ "@azure/dev-tool": "^1.0.0",
99
108
  "@azure/eslint-plugin-azure-sdk": "^3.0.0"
100
109
  },
110
+ "imports": {
111
+ "#platform/*": {
112
+ "browser": "./src/*-browser.mts",
113
+ "react-native": "./src/*-react-native.mts",
114
+ "default": "./src/*.ts"
115
+ }
116
+ },
101
117
  "scripts": {
102
118
  "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
103
119
  "extract-api": "rimraf review && dev-tool run extract-api",
@@ -111,9 +127,8 @@
111
127
  "generate:client": "echo skipped",
112
128
  "test:browser": "echo skipped",
113
129
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
114
- "test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
115
- "test:node:esm": "dev-tool run test:vitest --esm",
116
- "test": "npm run test:node && npm run test:browser",
130
+ "test:node": "dev-tool run test:vitest",
131
+ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser",
117
132
  "update-snippets": "dev-tool run update-snippets"
118
133
  }
119
134
  }
@@ -1,2 +0,0 @@
1
- export { type CertificateItem, type CertificateAttributes, KnownDeletionRecoveryLevel, type DeletionRecoveryLevel, type KeyVaultError, type ErrorModel, type DeletedCertificateBundle, type CertificatePolicy, type KeyProperties, KnownJsonWebKeyType, type JsonWebKeyType, KnownJsonWebKeyCurveName, type JsonWebKeyCurveName, type SecretProperties, type X509CertificateProperties, type SubjectAlternativeNames, KnownKeyUsageType, type KeyUsageType, type LifetimeAction, type Trigger, type Action, type CertificatePolicyAction, type IssuerParameters, type Contacts, type Contact, type CertificateIssuerItem, type CertificateIssuerSetParameters, type IssuerCredentials, type OrganizationDetails, type AdministratorDetails, type IssuerAttributes, type IssuerBundle, type CertificateIssuerUpdateParameters, type CertificateCreateParameters, type CertificateOperation, type CertificateImportParameters, type CertificateBundle, type CertificateUpdateParameters, type CertificateOperationUpdateParameter, type CertificateMergeParameters, type BackupCertificateResult, type CertificateRestoreParameters, type DeletedCertificateItem, KnownVersions, } from "./models.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { KnownDeletionRecoveryLevel, KnownJsonWebKeyType, KnownJsonWebKeyCurveName, KnownKeyUsageType, KnownVersions, } from "./models.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,0BAA0B,EAO1B,mBAAmB,EAEnB,wBAAwB,EAKxB,iBAAiB,EA2BjB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n type CertificateItem,\n type CertificateAttributes,\n KnownDeletionRecoveryLevel,\n type DeletionRecoveryLevel,\n type KeyVaultError,\n type ErrorModel,\n type DeletedCertificateBundle,\n type CertificatePolicy,\n type KeyProperties,\n KnownJsonWebKeyType,\n type JsonWebKeyType,\n KnownJsonWebKeyCurveName,\n type JsonWebKeyCurveName,\n type SecretProperties,\n type X509CertificateProperties,\n type SubjectAlternativeNames,\n KnownKeyUsageType,\n type KeyUsageType,\n type LifetimeAction,\n type Trigger,\n type Action,\n type CertificatePolicyAction,\n type IssuerParameters,\n type Contacts,\n type Contact,\n type CertificateIssuerItem,\n type CertificateIssuerSetParameters,\n type IssuerCredentials,\n type OrganizationDetails,\n type AdministratorDetails,\n type IssuerAttributes,\n type IssuerBundle,\n type CertificateIssuerUpdateParameters,\n type CertificateCreateParameters,\n type CertificateOperation,\n type CertificateImportParameters,\n type CertificateBundle,\n type CertificateUpdateParameters,\n type CertificateOperationUpdateParameter,\n type CertificateMergeParameters,\n type BackupCertificateResult,\n type CertificateRestoreParameters,\n type DeletedCertificateItem,\n KnownVersions,\n} from \"./models.js\";\n"]}
@@ -1,2 +0,0 @@
1
- export { type CertificateItem, type CertificateAttributes, KnownDeletionRecoveryLevel, type DeletionRecoveryLevel, type KeyVaultError, type ErrorModel, type DeletedCertificateBundle, type CertificatePolicy, type KeyProperties, KnownJsonWebKeyType, type JsonWebKeyType, KnownJsonWebKeyCurveName, type JsonWebKeyCurveName, type SecretProperties, type X509CertificateProperties, type SubjectAlternativeNames, KnownKeyUsageType, type KeyUsageType, type LifetimeAction, type Trigger, type Action, type CertificatePolicyAction, type IssuerParameters, type Contacts, type Contact, type CertificateIssuerItem, type CertificateIssuerSetParameters, type IssuerCredentials, type OrganizationDetails, type AdministratorDetails, type IssuerAttributes, type IssuerBundle, type CertificateIssuerUpdateParameters, type CertificateCreateParameters, type CertificateOperation, type CertificateImportParameters, type CertificateBundle, type CertificateUpdateParameters, type CertificateOperationUpdateParameter, type CertificateMergeParameters, type BackupCertificateResult, type CertificateRestoreParameters, type DeletedCertificateItem, KnownVersions, } from "./models.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,36 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var models_exports = {};
19
- __export(models_exports, {
20
- KnownDeletionRecoveryLevel: () => import_models.KnownDeletionRecoveryLevel,
21
- KnownJsonWebKeyCurveName: () => import_models.KnownJsonWebKeyCurveName,
22
- KnownJsonWebKeyType: () => import_models.KnownJsonWebKeyType,
23
- KnownKeyUsageType: () => import_models.KnownKeyUsageType,
24
- KnownVersions: () => import_models.KnownVersions
25
- });
26
- module.exports = __toCommonJS(models_exports);
27
- var import_models = require("./models.js");
28
- // Annotate the CommonJS export names for ESM import in node:
29
- 0 && (module.exports = {
30
- KnownDeletionRecoveryLevel,
31
- KnownJsonWebKeyCurveName,
32
- KnownJsonWebKeyType,
33
- KnownKeyUsageType,
34
- KnownVersions
35
- });
36
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/models/index.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n type CertificateItem,\n type CertificateAttributes,\n KnownDeletionRecoveryLevel,\n type DeletionRecoveryLevel,\n type KeyVaultError,\n type ErrorModel,\n type DeletedCertificateBundle,\n type CertificatePolicy,\n type KeyProperties,\n KnownJsonWebKeyType,\n type JsonWebKeyType,\n KnownJsonWebKeyCurveName,\n type JsonWebKeyCurveName,\n type SecretProperties,\n type X509CertificateProperties,\n type SubjectAlternativeNames,\n KnownKeyUsageType,\n type KeyUsageType,\n type LifetimeAction,\n type Trigger,\n type Action,\n type CertificatePolicyAction,\n type IssuerParameters,\n type Contacts,\n type Contact,\n type CertificateIssuerItem,\n type CertificateIssuerSetParameters,\n type IssuerCredentials,\n type OrganizationDetails,\n type AdministratorDetails,\n type IssuerAttributes,\n type IssuerBundle,\n type CertificateIssuerUpdateParameters,\n type CertificateCreateParameters,\n type CertificateOperation,\n type CertificateImportParameters,\n type CertificateBundle,\n type CertificateUpdateParameters,\n type CertificateOperationUpdateParameter,\n type CertificateMergeParameters,\n type BackupCertificateResult,\n type CertificateRestoreParameters,\n type DeletedCertificateItem,\n KnownVersions,\n} from \"./models.js\";\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBA6CO;",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- export { type CertificateItem, type CertificateAttributes, KnownDeletionRecoveryLevel, type DeletionRecoveryLevel, type KeyVaultError, type ErrorModel, type DeletedCertificateBundle, type CertificatePolicy, type KeyProperties, KnownJsonWebKeyType, type JsonWebKeyType, KnownJsonWebKeyCurveName, type JsonWebKeyCurveName, type SecretProperties, type X509CertificateProperties, type SubjectAlternativeNames, KnownKeyUsageType, type KeyUsageType, type LifetimeAction, type Trigger, type Action, type CertificatePolicyAction, type IssuerParameters, type Contacts, type Contact, type CertificateIssuerItem, type CertificateIssuerSetParameters, type IssuerCredentials, type OrganizationDetails, type AdministratorDetails, type IssuerAttributes, type IssuerBundle, type CertificateIssuerUpdateParameters, type CertificateCreateParameters, type CertificateOperation, type CertificateImportParameters, type CertificateBundle, type CertificateUpdateParameters, type CertificateOperationUpdateParameter, type CertificateMergeParameters, type BackupCertificateResult, type CertificateRestoreParameters, type DeletedCertificateItem, KnownVersions, } from "./models.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { KnownDeletionRecoveryLevel, KnownJsonWebKeyType, KnownJsonWebKeyCurveName, KnownKeyUsageType, KnownVersions, } from "./models.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,0BAA0B,EAO1B,mBAAmB,EAEnB,wBAAwB,EAKxB,iBAAiB,EA2BjB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n type CertificateItem,\n type CertificateAttributes,\n KnownDeletionRecoveryLevel,\n type DeletionRecoveryLevel,\n type KeyVaultError,\n type ErrorModel,\n type DeletedCertificateBundle,\n type CertificatePolicy,\n type KeyProperties,\n KnownJsonWebKeyType,\n type JsonWebKeyType,\n KnownJsonWebKeyCurveName,\n type JsonWebKeyCurveName,\n type SecretProperties,\n type X509CertificateProperties,\n type SubjectAlternativeNames,\n KnownKeyUsageType,\n type KeyUsageType,\n type LifetimeAction,\n type Trigger,\n type Action,\n type CertificatePolicyAction,\n type IssuerParameters,\n type Contacts,\n type Contact,\n type CertificateIssuerItem,\n type CertificateIssuerSetParameters,\n type IssuerCredentials,\n type OrganizationDetails,\n type AdministratorDetails,\n type IssuerAttributes,\n type IssuerBundle,\n type CertificateIssuerUpdateParameters,\n type CertificateCreateParameters,\n type CertificateOperation,\n type CertificateImportParameters,\n type CertificateBundle,\n type CertificateUpdateParameters,\n type CertificateOperationUpdateParameter,\n type CertificateMergeParameters,\n type BackupCertificateResult,\n type CertificateRestoreParameters,\n type DeletedCertificateItem,\n KnownVersions,\n} from \"./models.js\";\n"]}
@@ -1,2 +0,0 @@
1
- export { type CertificateItem, type CertificateAttributes, KnownDeletionRecoveryLevel, type DeletionRecoveryLevel, type KeyVaultError, type ErrorModel, type DeletedCertificateBundle, type CertificatePolicy, type KeyProperties, KnownJsonWebKeyType, type JsonWebKeyType, KnownJsonWebKeyCurveName, type JsonWebKeyCurveName, type SecretProperties, type X509CertificateProperties, type SubjectAlternativeNames, KnownKeyUsageType, type KeyUsageType, type LifetimeAction, type Trigger, type Action, type CertificatePolicyAction, type IssuerParameters, type Contacts, type Contact, type CertificateIssuerItem, type CertificateIssuerSetParameters, type IssuerCredentials, type OrganizationDetails, type AdministratorDetails, type IssuerAttributes, type IssuerBundle, type CertificateIssuerUpdateParameters, type CertificateCreateParameters, type CertificateOperation, type CertificateImportParameters, type CertificateBundle, type CertificateUpdateParameters, type CertificateOperationUpdateParameter, type CertificateMergeParameters, type BackupCertificateResult, type CertificateRestoreParameters, type DeletedCertificateItem, KnownVersions, } from "./models.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export { KnownDeletionRecoveryLevel, KnownJsonWebKeyType, KnownJsonWebKeyCurveName, KnownKeyUsageType, KnownVersions, } from "./models.js";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,0BAA0B,EAO1B,mBAAmB,EAEnB,wBAAwB,EAKxB,iBAAiB,EA2BjB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n type CertificateItem,\n type CertificateAttributes,\n KnownDeletionRecoveryLevel,\n type DeletionRecoveryLevel,\n type KeyVaultError,\n type ErrorModel,\n type DeletedCertificateBundle,\n type CertificatePolicy,\n type KeyProperties,\n KnownJsonWebKeyType,\n type JsonWebKeyType,\n KnownJsonWebKeyCurveName,\n type JsonWebKeyCurveName,\n type SecretProperties,\n type X509CertificateProperties,\n type SubjectAlternativeNames,\n KnownKeyUsageType,\n type KeyUsageType,\n type LifetimeAction,\n type Trigger,\n type Action,\n type CertificatePolicyAction,\n type IssuerParameters,\n type Contacts,\n type Contact,\n type CertificateIssuerItem,\n type CertificateIssuerSetParameters,\n type IssuerCredentials,\n type OrganizationDetails,\n type AdministratorDetails,\n type IssuerAttributes,\n type IssuerBundle,\n type CertificateIssuerUpdateParameters,\n type CertificateCreateParameters,\n type CertificateOperation,\n type CertificateImportParameters,\n type CertificateBundle,\n type CertificateUpdateParameters,\n type CertificateOperationUpdateParameter,\n type CertificateMergeParameters,\n type BackupCertificateResult,\n type CertificateRestoreParameters,\n type DeletedCertificateItem,\n KnownVersions,\n} from \"./models.js\";\n"]}