@azure/keyvault-certificates 4.10.0-beta.1 → 4.10.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.
Files changed (126) hide show
  1. package/dist/browser/certificatesModels.d.ts +2 -2
  2. package/dist/browser/certificatesModels.d.ts.map +1 -1
  3. package/dist/browser/certificatesModels.js +1 -1
  4. package/dist/browser/certificatesModels.js.map +1 -1
  5. package/dist/browser/constants.d.ts.map +1 -1
  6. package/dist/browser/constants.js +1 -1
  7. package/dist/browser/constants.js.map +1 -1
  8. package/dist/browser/generated/api/keyVaultContext.js +1 -1
  9. package/dist/browser/generated/api/keyVaultContext.js.map +1 -1
  10. package/dist/browser/generated/api/operations.d.ts +2 -1
  11. package/dist/browser/generated/api/operations.d.ts.map +1 -1
  12. package/dist/browser/generated/api/operations.js +245 -95
  13. package/dist/browser/generated/api/operations.js.map +1 -1
  14. package/dist/browser/generated/index.d.ts +1 -1
  15. package/dist/browser/generated/index.d.ts.map +1 -1
  16. package/dist/browser/generated/index.js.map +1 -1
  17. package/dist/browser/generated/keyVaultClient.d.ts +2 -1
  18. package/dist/browser/generated/keyVaultClient.d.ts.map +1 -1
  19. package/dist/browser/generated/keyVaultClient.js +2 -1
  20. package/dist/browser/generated/keyVaultClient.js.map +1 -1
  21. package/dist/browser/generated/models/index.d.ts +1 -1
  22. package/dist/browser/generated/models/index.d.ts.map +1 -1
  23. package/dist/browser/generated/models/index.js.map +1 -1
  24. package/dist/browser/generated/models/models.d.ts +23 -27
  25. package/dist/browser/generated/models/models.d.ts.map +1 -1
  26. package/dist/browser/generated/models/models.js +21 -19
  27. package/dist/browser/generated/models/models.js.map +1 -1
  28. package/dist/browser/generated/static-helpers/urlTemplate.d.ts +5 -0
  29. package/dist/browser/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  30. package/dist/browser/generated/static-helpers/urlTemplate.js +172 -0
  31. package/dist/browser/generated/static-helpers/urlTemplate.js.map +1 -0
  32. package/dist/commonjs/certificatesModels.d.ts +2 -2
  33. package/dist/commonjs/certificatesModels.d.ts.map +1 -1
  34. package/dist/commonjs/certificatesModels.js +1 -1
  35. package/dist/commonjs/certificatesModels.js.map +1 -1
  36. package/dist/commonjs/constants.d.ts.map +1 -1
  37. package/dist/commonjs/constants.js +1 -1
  38. package/dist/commonjs/constants.js.map +1 -1
  39. package/dist/commonjs/generated/api/keyVaultContext.js +1 -1
  40. package/dist/commonjs/generated/api/keyVaultContext.js.map +1 -1
  41. package/dist/commonjs/generated/api/operations.d.ts +2 -1
  42. package/dist/commonjs/generated/api/operations.d.ts.map +1 -1
  43. package/dist/commonjs/generated/api/operations.js +245 -95
  44. package/dist/commonjs/generated/api/operations.js.map +1 -1
  45. package/dist/commonjs/generated/index.d.ts +1 -1
  46. package/dist/commonjs/generated/index.d.ts.map +1 -1
  47. package/dist/commonjs/generated/index.js.map +1 -1
  48. package/dist/commonjs/generated/keyVaultClient.d.ts +2 -1
  49. package/dist/commonjs/generated/keyVaultClient.d.ts.map +1 -1
  50. package/dist/commonjs/generated/keyVaultClient.js +28 -27
  51. package/dist/commonjs/generated/keyVaultClient.js.map +1 -1
  52. package/dist/commonjs/generated/models/index.d.ts +1 -1
  53. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  54. package/dist/commonjs/generated/models/index.js.map +1 -1
  55. package/dist/commonjs/generated/models/models.d.ts +23 -27
  56. package/dist/commonjs/generated/models/models.d.ts.map +1 -1
  57. package/dist/commonjs/generated/models/models.js +21 -19
  58. package/dist/commonjs/generated/models/models.js.map +1 -1
  59. package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts +5 -0
  60. package/dist/commonjs/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  61. package/dist/commonjs/generated/static-helpers/urlTemplate.js +175 -0
  62. package/dist/commonjs/generated/static-helpers/urlTemplate.js.map +1 -0
  63. package/dist/commonjs/tsdoc-metadata.json +1 -1
  64. package/dist/esm/certificatesModels.d.ts +2 -2
  65. package/dist/esm/certificatesModels.d.ts.map +1 -1
  66. package/dist/esm/certificatesModels.js +1 -1
  67. package/dist/esm/certificatesModels.js.map +1 -1
  68. package/dist/esm/constants.d.ts.map +1 -1
  69. package/dist/esm/constants.js +1 -1
  70. package/dist/esm/constants.js.map +1 -1
  71. package/dist/esm/generated/api/keyVaultContext.js +1 -1
  72. package/dist/esm/generated/api/keyVaultContext.js.map +1 -1
  73. package/dist/esm/generated/api/operations.d.ts +2 -1
  74. package/dist/esm/generated/api/operations.d.ts.map +1 -1
  75. package/dist/esm/generated/api/operations.js +245 -95
  76. package/dist/esm/generated/api/operations.js.map +1 -1
  77. package/dist/esm/generated/index.d.ts +1 -1
  78. package/dist/esm/generated/index.d.ts.map +1 -1
  79. package/dist/esm/generated/index.js.map +1 -1
  80. package/dist/esm/generated/keyVaultClient.d.ts +2 -1
  81. package/dist/esm/generated/keyVaultClient.d.ts.map +1 -1
  82. package/dist/esm/generated/keyVaultClient.js +2 -1
  83. package/dist/esm/generated/keyVaultClient.js.map +1 -1
  84. package/dist/esm/generated/models/index.d.ts +1 -1
  85. package/dist/esm/generated/models/index.d.ts.map +1 -1
  86. package/dist/esm/generated/models/index.js.map +1 -1
  87. package/dist/esm/generated/models/models.d.ts +23 -27
  88. package/dist/esm/generated/models/models.d.ts.map +1 -1
  89. package/dist/esm/generated/models/models.js +21 -19
  90. package/dist/esm/generated/models/models.js.map +1 -1
  91. package/dist/esm/generated/static-helpers/urlTemplate.d.ts +5 -0
  92. package/dist/esm/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  93. package/dist/esm/generated/static-helpers/urlTemplate.js +172 -0
  94. package/dist/esm/generated/static-helpers/urlTemplate.js.map +1 -0
  95. package/dist/react-native/certificatesModels.d.ts +2 -2
  96. package/dist/react-native/certificatesModels.d.ts.map +1 -1
  97. package/dist/react-native/certificatesModels.js +1 -1
  98. package/dist/react-native/certificatesModels.js.map +1 -1
  99. package/dist/react-native/constants.d.ts.map +1 -1
  100. package/dist/react-native/constants.js +1 -1
  101. package/dist/react-native/constants.js.map +1 -1
  102. package/dist/react-native/generated/api/keyVaultContext.js +1 -1
  103. package/dist/react-native/generated/api/keyVaultContext.js.map +1 -1
  104. package/dist/react-native/generated/api/operations.d.ts +2 -1
  105. package/dist/react-native/generated/api/operations.d.ts.map +1 -1
  106. package/dist/react-native/generated/api/operations.js +245 -95
  107. package/dist/react-native/generated/api/operations.js.map +1 -1
  108. package/dist/react-native/generated/index.d.ts +1 -1
  109. package/dist/react-native/generated/index.d.ts.map +1 -1
  110. package/dist/react-native/generated/index.js.map +1 -1
  111. package/dist/react-native/generated/keyVaultClient.d.ts +2 -1
  112. package/dist/react-native/generated/keyVaultClient.d.ts.map +1 -1
  113. package/dist/react-native/generated/keyVaultClient.js +2 -1
  114. package/dist/react-native/generated/keyVaultClient.js.map +1 -1
  115. package/dist/react-native/generated/models/index.d.ts +1 -1
  116. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  117. package/dist/react-native/generated/models/index.js.map +1 -1
  118. package/dist/react-native/generated/models/models.d.ts +23 -27
  119. package/dist/react-native/generated/models/models.d.ts.map +1 -1
  120. package/dist/react-native/generated/models/models.js +21 -19
  121. package/dist/react-native/generated/models/models.js.map +1 -1
  122. package/dist/react-native/generated/static-helpers/urlTemplate.d.ts +5 -0
  123. package/dist/react-native/generated/static-helpers/urlTemplate.d.ts.map +1 -0
  124. package/dist/react-native/generated/static-helpers/urlTemplate.js +172 -0
  125. package/dist/react-native/generated/static-helpers/urlTemplate.js.map +1 -0
  126. package/package.json +5 -10
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/generated/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAU1E,MAAM,UAAU,kCAAkC,CAChD,IAAS;IAET,OAAO;QACL,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;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AAC;KACzC,CAAC;AACJ,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,2BAA2B;IAC3B,6BAAc,CAAA;IACd,qCAAqC;IACrC,iDAAkC,CAAA;AACpC,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { uint8ArrayToString, stringToUint8Array } from \"@azure/core-util\";\n\n/** The certificate list result. */\nexport interface _CertificateListResult {\n /** A response message containing a list of certificates in the key vault along with a link to the next page of certificates. */\n value?: CertificateItem[];\n /** The URL to get the next set of certificates. */\n readonly nextLink?: string;\n}\n\nexport function _certificateListResultDeserializer(\n item: any,\n): _CertificateListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : certificateItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function certificateItemArrayDeserializer(\n result: Array<CertificateItem>,\n): any[] {\n return result.map((item) => {\n return certificateItemDeserializer(item);\n });\n}\n\n/** The certificate item containing certificate metadata. */\nexport interface CertificateItem {\n /** Certificate identifier. */\n id?: string;\n /** The certificate management attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Thumbprint of the certificate. */\n x509Thumbprint?: Uint8Array;\n}\n\nexport function certificateItemDeserializer(item: any): CertificateItem {\n return {\n id: item[\"id\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n };\n}\n\n/** The certificate management attributes. */\nexport interface CertificateAttributes {\n /** Determines whether the object is enabled. */\n enabled?: boolean;\n /** Not before date in UTC. */\n notBefore?: Date;\n /** Expiry date in UTC. */\n expires?: Date;\n /** Creation time in UTC. */\n readonly created?: Date;\n /** Last updated time in UTC. */\n readonly updated?: Date;\n /** softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0. */\n readonly recoverableDays?: number;\n /** Reflects the deletion recovery level currently in effect for certificates in the current vault. If it contains 'Purgeable', the certificate can be permanently deleted by a privileged user; otherwise, only the system can purge the certificate, at the end of the retention interval. */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n}\n\nexport function certificateAttributesSerializer(\n item: CertificateAttributes,\n): any {\n return {\n enabled: item[\"enabled\"],\n nbf: !item[\"notBefore\"]\n ? item[\"notBefore\"]\n : (item[\"notBefore\"].getTime() / 1000) | 0,\n exp: !item[\"expires\"]\n ? item[\"expires\"]\n : (item[\"expires\"].getTime() / 1000) | 0,\n };\n}\n\nexport function certificateAttributesDeserializer(\n item: any,\n): CertificateAttributes {\n return {\n enabled: item[\"enabled\"],\n notBefore: !item[\"nbf\"] ? item[\"nbf\"] : new Date(item[\"nbf\"] * 1000),\n expires: !item[\"exp\"] ? item[\"exp\"] : new Date(item[\"exp\"] * 1000),\n created: !item[\"created\"]\n ? item[\"created\"]\n : new Date(item[\"created\"] * 1000),\n updated: !item[\"updated\"]\n ? item[\"updated\"]\n : new Date(item[\"updated\"] * 1000),\n recoverableDays: item[\"recoverableDays\"],\n recoveryLevel: item[\"recoveryLevel\"],\n };\n}\n\n/** Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. */\nexport enum KnownDeletionRecoveryLevel {\n /** Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) */\n Purgeable = \"Purgeable\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered */\n RecoverablePurgeable = \"Recoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered */\n Recoverable = \"Recoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered */\n RecoverableProtectedSubscription = \"Recoverable+ProtectedSubscription\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. */\n CustomizedRecoverablePurgeable = \"CustomizedRecoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. */\n CustomizedRecoverable = \"CustomizedRecoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7 <= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled. */\n CustomizedRecoverableProtectedSubscription = \"CustomizedRecoverable+ProtectedSubscription\",\n}\n\n/**\n * Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. \\\n * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Purgeable**: Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) \\\n * **Recoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered \\\n * **CustomizedRecoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. \\\n * **CustomizedRecoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. \\\n * **CustomizedRecoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7 <= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled.\n */\nexport type DeletionRecoveryLevel = string;\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /** The key vault server error. */\n readonly error?: ErrorModel;\n}\n\nexport function keyVaultErrorDeserializer(item: any): KeyVaultError {\n return {\n error: !item[\"error\"]\n ? item[\"error\"]\n : _keyVaultErrorErrorDeserializer(item[\"error\"]),\n };\n}\n\n/** Alias for ErrorModel */\nexport type ErrorModel = {\n code?: string;\n message?: string;\n innerError?: ErrorModel_1;\n} | null;\n\n/** model interface _KeyVaultErrorError */\nexport interface _KeyVaultErrorError {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The key vault server error. */\n readonly innerError?: ErrorModel_1;\n}\n\nexport function _keyVaultErrorErrorDeserializer(\n item: any,\n): _KeyVaultErrorError {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n innerError: !item[\"innererror\"]\n ? item[\"innererror\"]\n : _keyVaultErrorErrorDeserializer(item[\"innererror\"]),\n };\n}\n\n/** Alias for ErrorModel */\nexport type ErrorModel_1 = {\n code?: string;\n message?: string;\n innerError?: ErrorModel_1;\n} | null;\n\n/** A Deleted Certificate consisting of its previous id, attributes and its tags, as well as information on when it will be purged. */\nexport interface DeletedCertificateBundle {\n /** The certificate id. */\n readonly id?: string;\n /** The key id. */\n readonly kid?: string;\n /** The secret id. */\n readonly sid?: string;\n /** Thumbprint of the certificate. */\n readonly x509Thumbprint?: Uint8Array;\n /** The management policy. */\n readonly policy?: CertificatePolicy;\n /** CER contents of x509 certificate. */\n cer?: Uint8Array;\n /** The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12', */\n contentType?: string;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n /** The url of the recovery object, used to identify and recover the deleted certificate. */\n recoveryId?: string;\n /** The time when the certificate is scheduled to be purged, in UTC */\n readonly scheduledPurgeDate?: Date;\n /** The time when the certificate was deleted, in UTC */\n readonly deletedDate?: Date;\n}\n\nexport function deletedCertificateBundleDeserializer(\n item: any,\n): DeletedCertificateBundle {\n return {\n id: item[\"id\"],\n kid: item[\"kid\"],\n sid: item[\"sid\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n policy: !item[\"policy\"]\n ? item[\"policy\"]\n : certificatePolicyDeserializer(item[\"policy\"]),\n cer: !item[\"cer\"]\n ? item[\"cer\"]\n : typeof item[\"cer\"] === \"string\"\n ? stringToUint8Array(item[\"cer\"], \"base64\")\n : item[\"cer\"],\n contentType: item[\"contentType\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n recoveryId: item[\"recoveryId\"],\n scheduledPurgeDate: !item[\"scheduledPurgeDate\"]\n ? item[\"scheduledPurgeDate\"]\n : new Date(item[\"scheduledPurgeDate\"] * 1000),\n deletedDate: !item[\"deletedDate\"]\n ? item[\"deletedDate\"]\n : new Date(item[\"deletedDate\"] * 1000),\n };\n}\n\n/** Management policy for a certificate. */\nexport interface CertificatePolicy {\n /** The certificate id. */\n readonly id?: string;\n /** Properties of the key backing a certificate. */\n keyProperties?: KeyProperties;\n /** Properties of the secret backing a certificate. */\n secretProperties?: SecretProperties;\n /** Properties of the X509 component of a certificate. */\n x509CertificateProperties?: X509CertificateProperties;\n /** Actions that will be performed by Key Vault over the lifetime of a certificate. */\n lifetimeActions?: LifetimeAction[];\n /** Parameters for the issuer of the X509 component of a certificate. */\n issuerParameters?: IssuerParameters;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n}\n\nexport function certificatePolicySerializer(item: CertificatePolicy): any {\n return {\n key_props: !item[\"keyProperties\"]\n ? item[\"keyProperties\"]\n : keyPropertiesSerializer(item[\"keyProperties\"]),\n secret_props: !item[\"secretProperties\"]\n ? item[\"secretProperties\"]\n : secretPropertiesSerializer(item[\"secretProperties\"]),\n x509_props: !item[\"x509CertificateProperties\"]\n ? item[\"x509CertificateProperties\"]\n : x509CertificatePropertiesSerializer(item[\"x509CertificateProperties\"]),\n lifetime_actions: !item[\"lifetimeActions\"]\n ? item[\"lifetimeActions\"]\n : lifetimeActionArraySerializer(item[\"lifetimeActions\"]),\n issuer: !item[\"issuerParameters\"]\n ? item[\"issuerParameters\"]\n : issuerParametersSerializer(item[\"issuerParameters\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesSerializer(item[\"attributes\"]),\n };\n}\n\nexport function certificatePolicyDeserializer(item: any): CertificatePolicy {\n return {\n id: item[\"id\"],\n keyProperties: !item[\"key_props\"]\n ? item[\"key_props\"]\n : keyPropertiesDeserializer(item[\"key_props\"]),\n secretProperties: !item[\"secret_props\"]\n ? item[\"secret_props\"]\n : secretPropertiesDeserializer(item[\"secret_props\"]),\n x509CertificateProperties: !item[\"x509_props\"]\n ? item[\"x509_props\"]\n : x509CertificatePropertiesDeserializer(item[\"x509_props\"]),\n lifetimeActions: !item[\"lifetime_actions\"]\n ? item[\"lifetime_actions\"]\n : lifetimeActionArrayDeserializer(item[\"lifetime_actions\"]),\n issuerParameters: !item[\"issuer\"]\n ? item[\"issuer\"]\n : issuerParametersDeserializer(item[\"issuer\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n };\n}\n\n/** Properties of the key pair backing a certificate. */\nexport interface KeyProperties {\n /** Indicates if the private key can be exported. Release policy must be provided when creating the first version of an exportable key. */\n exportable?: boolean;\n /** The type of key pair to be used for the certificate. */\n keyType?: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** Indicates if the same key pair will be used on certificate renewal. */\n reuseKey?: boolean;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\nexport function keyPropertiesSerializer(item: KeyProperties): any {\n return {\n exportable: item[\"exportable\"],\n kty: item[\"keyType\"],\n key_size: item[\"keySize\"],\n reuse_key: item[\"reuseKey\"],\n crv: item[\"curve\"],\n };\n}\n\nexport function keyPropertiesDeserializer(item: any): KeyProperties {\n return {\n exportable: item[\"exportable\"],\n keyType: item[\"kty\"],\n keySize: item[\"key_size\"],\n reuseKey: item[\"reuse_key\"],\n curve: item[\"crv\"],\n };\n}\n\n/** The type of key pair to be used for the certificate. */\nexport enum KnownJsonWebKeyType {\n /** Elliptic Curve. */\n EC = \"EC\",\n /** Elliptic Curve with a private key which is not exportable from the HSM. */\n EC_HSM = \"EC-HSM\",\n /** RSA (https://tools.ietf.org/html/rfc3447). */\n RSA = \"RSA\",\n /** RSA with a private key which is not exportable from the HSM. */\n RSA_HSM = \"RSA-HSM\",\n /** Octet sequence (used to represent symmetric keys). */\n oct = \"oct\",\n /** Octet sequence with a private key which is not exportable from the HSM. */\n oct_HSM = \"oct-HSM\",\n}\n\n/**\n * The type of key pair to be used for the certificate. \\\n * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EC**: Elliptic Curve. \\\n * **EC-HSM**: Elliptic Curve with a private key which is not exportable from the HSM. \\\n * **RSA**: RSA (https:\\//tools.ietf.org\\/html\\/rfc3447). \\\n * **RSA-HSM**: RSA with a private key which is not exportable from the HSM. \\\n * **oct**: Octet sequence (used to represent symmetric keys). \\\n * **oct-HSM**: Octet sequence with a private key which is not exportable from the HSM.\n */\nexport type JsonWebKeyType = string;\n\n/** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\nexport enum KnownJsonWebKeyCurveName {\n /** The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. */\n P_256 = \"P-256\",\n /** The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. */\n P_384 = \"P-384\",\n /** The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. */\n P_521 = \"P-521\",\n /** The SECG SECP256K1 elliptic curve. */\n P_256K = \"P-256K\",\n}\n\n/**\n * Elliptic curve name. For valid values, see JsonWebKeyCurveName. \\\n * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **P-256**: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. \\\n * **P-384**: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. \\\n * **P-521**: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. \\\n * **P-256K**: The SECG SECP256K1 elliptic curve.\n */\nexport type JsonWebKeyCurveName = string;\n\n/** Properties of the key backing a certificate. */\nexport interface SecretProperties {\n /** The media type (MIME type). */\n contentType?: string;\n}\n\nexport function secretPropertiesSerializer(item: SecretProperties): any {\n return { contentType: item[\"contentType\"] };\n}\n\nexport function secretPropertiesDeserializer(item: any): SecretProperties {\n return {\n contentType: item[\"contentType\"],\n };\n}\n\n/** Properties of the X509 component of a certificate. */\nexport interface X509CertificateProperties {\n /** The subject name. Should be a valid X509 distinguished Name. */\n subject?: string;\n /** The enhanced key usage. */\n ekus?: string[];\n /** The subject alternative names. */\n subjectAlternativeNames?: SubjectAlternativeNames;\n /** Defines how the certificate's key may be used. */\n keyUsage?: KeyUsageType[];\n /** The duration that the certificate is valid in months. */\n validityInMonths?: number;\n}\n\nexport function x509CertificatePropertiesSerializer(\n item: X509CertificateProperties,\n): any {\n return {\n subject: item[\"subject\"],\n ekus: !item[\"ekus\"]\n ? item[\"ekus\"]\n : item[\"ekus\"].map((p: any) => {\n return p;\n }),\n sans: !item[\"subjectAlternativeNames\"]\n ? item[\"subjectAlternativeNames\"]\n : subjectAlternativeNamesSerializer(item[\"subjectAlternativeNames\"]),\n key_usage: !item[\"keyUsage\"]\n ? item[\"keyUsage\"]\n : item[\"keyUsage\"].map((p: any) => {\n return p;\n }),\n validity_months: item[\"validityInMonths\"],\n };\n}\n\nexport function x509CertificatePropertiesDeserializer(\n item: any,\n): X509CertificateProperties {\n return {\n subject: item[\"subject\"],\n ekus: !item[\"ekus\"]\n ? item[\"ekus\"]\n : item[\"ekus\"].map((p: any) => {\n return p;\n }),\n subjectAlternativeNames: !item[\"sans\"]\n ? item[\"sans\"]\n : subjectAlternativeNamesDeserializer(item[\"sans\"]),\n keyUsage: !item[\"key_usage\"]\n ? item[\"key_usage\"]\n : item[\"key_usage\"].map((p: any) => {\n return p;\n }),\n validityInMonths: item[\"validity_months\"],\n };\n}\n\n/** The subject alternate names of a X509 object. */\nexport interface SubjectAlternativeNames {\n /** Email addresses. */\n emails?: string[];\n /** Domain names. */\n dnsNames?: string[];\n /** User principal names. */\n upns?: string[];\n}\n\nexport function subjectAlternativeNamesSerializer(\n item: SubjectAlternativeNames,\n): any {\n return {\n emails: !item[\"emails\"]\n ? item[\"emails\"]\n : item[\"emails\"].map((p: any) => {\n return p;\n }),\n dns_names: !item[\"dnsNames\"]\n ? item[\"dnsNames\"]\n : item[\"dnsNames\"].map((p: any) => {\n return p;\n }),\n upns: !item[\"upns\"]\n ? item[\"upns\"]\n : item[\"upns\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function subjectAlternativeNamesDeserializer(\n item: any,\n): SubjectAlternativeNames {\n return {\n emails: !item[\"emails\"]\n ? item[\"emails\"]\n : item[\"emails\"].map((p: any) => {\n return p;\n }),\n dnsNames: !item[\"dns_names\"]\n ? item[\"dns_names\"]\n : item[\"dns_names\"].map((p: any) => {\n return p;\n }),\n upns: !item[\"upns\"]\n ? item[\"upns\"]\n : item[\"upns\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Supported usages of a certificate key. */\nexport enum KnownKeyUsageType {\n /** Indicates that the certificate key can be used as a digital signature. */\n digitalSignature = \"digitalSignature\",\n /** Indicates that the certificate key can be used for authentication. */\n nonRepudiation = \"nonRepudiation\",\n /** Indicates that the certificate key can be used for key encryption. */\n keyEncipherment = \"keyEncipherment\",\n /** Indicates that the certificate key can be used for data encryption. */\n dataEncipherment = \"dataEncipherment\",\n /** Indicates that the certificate key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm. */\n keyAgreement = \"keyAgreement\",\n /** Indicates that the certificate key can be used to sign certificates. */\n keyCertSign = \"keyCertSign\",\n /** Indicates that the certificate key can be used to sign a certificate revocation list. */\n cRLSign = \"cRLSign\",\n /** Indicates that the certificate key can be used for encryption only. */\n encipherOnly = \"encipherOnly\",\n /** Indicates that the certificate key can be used for decryption only. */\n decipherOnly = \"decipherOnly\",\n}\n\n/**\n * Supported usages of a certificate key. \\\n * {@link KnownKeyUsageType} can be used interchangeably with KeyUsageType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **digitalSignature**: Indicates that the certificate key can be used as a digital signature. \\\n * **nonRepudiation**: Indicates that the certificate key can be used for authentication. \\\n * **keyEncipherment**: Indicates that the certificate key can be used for key encryption. \\\n * **dataEncipherment**: Indicates that the certificate key can be used for data encryption. \\\n * **keyAgreement**: Indicates that the certificate key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm. \\\n * **keyCertSign**: Indicates that the certificate key can be used to sign certificates. \\\n * **cRLSign**: Indicates that the certificate key can be used to sign a certificate revocation list. \\\n * **encipherOnly**: Indicates that the certificate key can be used for encryption only. \\\n * **decipherOnly**: Indicates that the certificate key can be used for decryption only.\n */\nexport type KeyUsageType = string;\n\nexport function lifetimeActionArraySerializer(\n result: Array<LifetimeAction>,\n): any[] {\n return result.map((item) => {\n return lifetimeActionSerializer(item);\n });\n}\n\nexport function lifetimeActionArrayDeserializer(\n result: Array<LifetimeAction>,\n): any[] {\n return result.map((item) => {\n return lifetimeActionDeserializer(item);\n });\n}\n\n/** Action and its trigger that will be performed by Key Vault over the lifetime of a certificate. */\nexport interface LifetimeAction {\n /** The condition that will execute the action. */\n trigger?: Trigger;\n /** The action that will be executed. */\n action?: Action;\n}\n\nexport function lifetimeActionSerializer(item: LifetimeAction): any {\n return {\n trigger: !item[\"trigger\"]\n ? item[\"trigger\"]\n : triggerSerializer(item[\"trigger\"]),\n action: !item[\"action\"] ? item[\"action\"] : actionSerializer(item[\"action\"]),\n };\n}\n\nexport function lifetimeActionDeserializer(item: any): LifetimeAction {\n return {\n trigger: !item[\"trigger\"]\n ? item[\"trigger\"]\n : triggerDeserializer(item[\"trigger\"]),\n action: !item[\"action\"]\n ? item[\"action\"]\n : actionDeserializer(item[\"action\"]),\n };\n}\n\n/** A condition to be satisfied for an action to be executed. */\nexport interface Trigger {\n /** Percentage of lifetime at which to trigger. Value should be between 1 and 99. */\n lifetimePercentage?: number;\n /** Days before expiry to attempt renewal. Value should be between 1 and validity_in_months multiplied by 27. If validity_in_months is 36, then value should be between 1 and 972 (36 * 27). */\n daysBeforeExpiry?: number;\n}\n\nexport function triggerSerializer(item: Trigger): any {\n return {\n lifetime_percentage: item[\"lifetimePercentage\"],\n days_before_expiry: item[\"daysBeforeExpiry\"],\n };\n}\n\nexport function triggerDeserializer(item: any): Trigger {\n return {\n lifetimePercentage: item[\"lifetime_percentage\"],\n daysBeforeExpiry: item[\"days_before_expiry\"],\n };\n}\n\n/** The action that will be executed. */\nexport interface Action {\n /** The type of the action. */\n actionType?: CertificatePolicyAction;\n}\n\nexport function actionSerializer(item: Action): any {\n return { action_type: item[\"actionType\"] };\n}\n\nexport function actionDeserializer(item: any): Action {\n return {\n actionType: item[\"action_type\"],\n };\n}\n\n/** The type of the action. */\nexport type CertificatePolicyAction = \"EmailContacts\" | \"AutoRenew\";\n\n/** Parameters for the issuer of the X509 component of a certificate. */\nexport interface IssuerParameters {\n /** Name of the referenced issuer object or reserved names; for example, 'Self' or 'Unknown'. */\n name?: string;\n /** Certificate type as supported by the provider (optional); for example 'OV-SSL', 'EV-SSL' */\n certificateType?: string;\n /** Indicates if the certificates generated under this policy should be published to certificate transparency logs. */\n certificateTransparency?: boolean;\n}\n\nexport function issuerParametersSerializer(item: IssuerParameters): any {\n return {\n name: item[\"name\"],\n cty: item[\"certificateType\"],\n cert_transparency: item[\"certificateTransparency\"],\n };\n}\n\nexport function issuerParametersDeserializer(item: any): IssuerParameters {\n return {\n name: item[\"name\"],\n certificateType: item[\"cty\"],\n certificateTransparency: item[\"cert_transparency\"],\n };\n}\n\n/** The contacts for the vault certificates. */\nexport interface Contacts {\n /** Identifier for the contacts collection. */\n readonly id?: string;\n /** The contact list for the vault certificates. */\n contactList?: Contact[];\n}\n\nexport function contactsSerializer(item: Contacts): any {\n return {\n contacts: !item[\"contactList\"]\n ? item[\"contactList\"]\n : contactArraySerializer(item[\"contactList\"]),\n };\n}\n\nexport function contactsDeserializer(item: any): Contacts {\n return {\n id: item[\"id\"],\n contactList: !item[\"contacts\"]\n ? item[\"contacts\"]\n : contactArrayDeserializer(item[\"contacts\"]),\n };\n}\n\nexport function contactArraySerializer(result: Array<Contact>): any[] {\n return result.map((item) => {\n return contactSerializer(item);\n });\n}\n\nexport function contactArrayDeserializer(result: Array<Contact>): any[] {\n return result.map((item) => {\n return contactDeserializer(item);\n });\n}\n\n/** The contact information for the vault certificates. */\nexport interface Contact {\n /** Email address. */\n emailAddress?: string;\n /** Name. */\n name?: string;\n /** Phone number. */\n phone?: string;\n}\n\nexport function contactSerializer(item: Contact): any {\n return {\n email: item[\"emailAddress\"],\n name: item[\"name\"],\n phone: item[\"phone\"],\n };\n}\n\nexport function contactDeserializer(item: any): Contact {\n return {\n emailAddress: item[\"email\"],\n name: item[\"name\"],\n phone: item[\"phone\"],\n };\n}\n\n/** The certificate issuer list result. */\nexport interface _CertificateIssuerListResult {\n /** A response message containing a list of certificate issuers in the key vault along with a link to the next page of certificate issuers. */\n readonly value?: CertificateIssuerItem[];\n /** The URL to get the next set of certificate issuers. */\n readonly nextLink?: string;\n}\n\nexport function _certificateIssuerListResultDeserializer(\n item: any,\n): _CertificateIssuerListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : certificateIssuerItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function certificateIssuerItemArrayDeserializer(\n result: Array<CertificateIssuerItem>,\n): any[] {\n return result.map((item) => {\n return certificateIssuerItemDeserializer(item);\n });\n}\n\n/** The certificate issuer item containing certificate issuer metadata. */\nexport interface CertificateIssuerItem {\n /** Certificate Identifier. */\n id?: string;\n /** The issuer provider. */\n provider?: string;\n}\n\nexport function certificateIssuerItemDeserializer(\n item: any,\n): CertificateIssuerItem {\n return {\n id: item[\"id\"],\n provider: item[\"provider\"],\n };\n}\n\n/** The certificate issuer set parameters. */\nexport interface CertificateIssuerSetParameters {\n /** The issuer provider. */\n provider: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function certificateIssuerSetParametersSerializer(\n item: CertificateIssuerSetParameters,\n): any {\n return {\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsSerializer(item[\"credentials\"]),\n org_details: !item[\"organizationDetails\"]\n ? item[\"organizationDetails\"]\n : organizationDetailsSerializer(item[\"organizationDetails\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesSerializer(item[\"attributes\"]),\n };\n}\n\n/** The credentials to be used for the certificate issuer. */\nexport interface IssuerCredentials {\n /** The user name/account name/account id. */\n accountId?: string;\n /** The password/secret/account key. */\n password?: string;\n}\n\nexport function issuerCredentialsSerializer(item: IssuerCredentials): any {\n return { account_id: item[\"accountId\"], pwd: item[\"password\"] };\n}\n\nexport function issuerCredentialsDeserializer(item: any): IssuerCredentials {\n return {\n accountId: item[\"account_id\"],\n password: item[\"pwd\"],\n };\n}\n\n/** Details of the organization of the certificate issuer. */\nexport interface OrganizationDetails {\n /** Id of the organization. */\n id?: string;\n /** Details of the organization administrator. */\n adminDetails?: AdministratorDetails[];\n}\n\nexport function organizationDetailsSerializer(item: OrganizationDetails): any {\n return {\n id: item[\"id\"],\n admin_details: !item[\"adminDetails\"]\n ? item[\"adminDetails\"]\n : administratorDetailsArraySerializer(item[\"adminDetails\"]),\n };\n}\n\nexport function organizationDetailsDeserializer(\n item: any,\n): OrganizationDetails {\n return {\n id: item[\"id\"],\n adminDetails: !item[\"admin_details\"]\n ? item[\"admin_details\"]\n : administratorDetailsArrayDeserializer(item[\"admin_details\"]),\n };\n}\n\nexport function administratorDetailsArraySerializer(\n result: Array<AdministratorDetails>,\n): any[] {\n return result.map((item) => {\n return administratorDetailsSerializer(item);\n });\n}\n\nexport function administratorDetailsArrayDeserializer(\n result: Array<AdministratorDetails>,\n): any[] {\n return result.map((item) => {\n return administratorDetailsDeserializer(item);\n });\n}\n\n/** Details of the organization administrator of the certificate issuer. */\nexport interface AdministratorDetails {\n /** First name. */\n firstName?: string;\n /** Last name. */\n lastName?: string;\n /** Email address. */\n emailAddress?: string;\n /** Phone number. */\n phone?: string;\n}\n\nexport function administratorDetailsSerializer(\n item: AdministratorDetails,\n): any {\n return {\n first_name: item[\"firstName\"],\n last_name: item[\"lastName\"],\n email: item[\"emailAddress\"],\n phone: item[\"phone\"],\n };\n}\n\nexport function administratorDetailsDeserializer(\n item: any,\n): AdministratorDetails {\n return {\n firstName: item[\"first_name\"],\n lastName: item[\"last_name\"],\n emailAddress: item[\"email\"],\n phone: item[\"phone\"],\n };\n}\n\n/** The attributes of an issuer managed by the Key Vault service. */\nexport interface IssuerAttributes {\n /** Determines whether the issuer is enabled. */\n enabled?: boolean;\n /** Creation time in UTC. */\n readonly created?: Date;\n /** Last updated time in UTC. */\n readonly updated?: Date;\n}\n\nexport function issuerAttributesSerializer(item: IssuerAttributes): any {\n return { enabled: item[\"enabled\"] };\n}\n\nexport function issuerAttributesDeserializer(item: any): IssuerAttributes {\n return {\n enabled: item[\"enabled\"],\n created: !item[\"created\"]\n ? item[\"created\"]\n : new Date(item[\"created\"] * 1000),\n updated: !item[\"updated\"]\n ? item[\"updated\"]\n : new Date(item[\"updated\"] * 1000),\n };\n}\n\n/** The issuer for Key Vault certificate. */\nexport interface IssuerBundle {\n /** Identifier for the issuer object. */\n readonly id?: string;\n /** The issuer provider. */\n provider?: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function issuerBundleDeserializer(item: any): IssuerBundle {\n return {\n id: item[\"id\"],\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsDeserializer(item[\"credentials\"]),\n organizationDetails: !item[\"org_details\"]\n ? item[\"org_details\"]\n : organizationDetailsDeserializer(item[\"org_details\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesDeserializer(item[\"attributes\"]),\n };\n}\n\n/** The certificate issuer update parameters. */\nexport interface CertificateIssuerUpdateParameters {\n /** The issuer provider. */\n provider?: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function certificateIssuerUpdateParametersSerializer(\n item: CertificateIssuerUpdateParameters,\n): any {\n return {\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsSerializer(item[\"credentials\"]),\n org_details: !item[\"organizationDetails\"]\n ? item[\"organizationDetails\"]\n : organizationDetailsSerializer(item[\"organizationDetails\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesSerializer(item[\"attributes\"]),\n };\n}\n\n/** The certificate create parameters. */\nexport interface CertificateCreateParameters {\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateCreateParametersSerializer(\n item: CertificateCreateParameters,\n): any {\n return {\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** A certificate operation is returned in case of asynchronous requests. */\nexport interface CertificateOperation {\n /** The certificate id. */\n readonly id?: string;\n /** Parameters for the issuer of the X509 component of a certificate. */\n issuerParameters?: IssuerParameters;\n /** The certificate signing request (CSR) that is being used in the certificate operation. */\n csr?: Uint8Array;\n /** Indicates if cancellation was requested on the certificate operation. */\n cancellationRequested?: boolean;\n /** Status of the certificate operation. */\n status?: string;\n /** The status details of the certificate operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the certificate operation. */\n error?: ErrorModel;\n /** Location which contains the result of the certificate operation. */\n target?: string;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n /** Identifier for the certificate operation. */\n requestId?: string;\n}\n\nexport function certificateOperationDeserializer(\n item: any,\n): CertificateOperation {\n return {\n id: item[\"id\"],\n issuerParameters: !item[\"issuer\"]\n ? item[\"issuer\"]\n : issuerParametersDeserializer(item[\"issuer\"]),\n csr: !item[\"csr\"]\n ? item[\"csr\"]\n : typeof item[\"csr\"] === \"string\"\n ? stringToUint8Array(item[\"csr\"], \"base64\")\n : item[\"csr\"],\n cancellationRequested: item[\"cancellation_requested\"],\n status: item[\"status\"],\n statusDetails: item[\"status_details\"],\n error: !item[\"error\"]\n ? item[\"error\"]\n : _keyVaultErrorErrorDeserializer(item[\"error\"]),\n target: item[\"target\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n requestId: item[\"request_id\"],\n };\n}\n\n/** The certificate import parameters. */\nexport interface CertificateImportParameters {\n /** Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. */\n base64EncodedCertificate: string;\n /** If the private key in base64EncodedCertificate is encrypted, the password used for encryption. */\n password?: string;\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateImportParametersSerializer(\n item: CertificateImportParameters,\n): any {\n return {\n value: item[\"base64EncodedCertificate\"],\n pwd: item[\"password\"],\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** A certificate bundle consists of a certificate (X509) plus its attributes. */\nexport interface CertificateBundle {\n /** The certificate id. */\n readonly id?: string;\n /** The key id. */\n readonly kid?: string;\n /** The secret id. */\n readonly sid?: string;\n /** Thumbprint of the certificate. */\n readonly x509Thumbprint?: Uint8Array;\n /** The management policy. */\n readonly policy?: CertificatePolicy;\n /** CER contents of x509 certificate. */\n cer?: Uint8Array;\n /** The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12', */\n contentType?: string;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateBundleDeserializer(item: any): CertificateBundle {\n return {\n id: item[\"id\"],\n kid: item[\"kid\"],\n sid: item[\"sid\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n policy: !item[\"policy\"]\n ? item[\"policy\"]\n : certificatePolicyDeserializer(item[\"policy\"]),\n cer: !item[\"cer\"]\n ? item[\"cer\"]\n : typeof item[\"cer\"] === \"string\"\n ? stringToUint8Array(item[\"cer\"], \"base64\")\n : item[\"cer\"],\n contentType: item[\"contentType\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** The certificate update parameters. */\nexport interface CertificateUpdateParameters {\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n}\n\nexport function certificateUpdateParametersSerializer(\n item: CertificateUpdateParameters,\n): any {\n return {\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The certificate operation update parameters. */\nexport interface CertificateOperationUpdateParameter {\n /** Indicates if cancellation was requested on the certificate operation. */\n cancellationRequested: boolean;\n}\n\nexport function certificateOperationUpdateParameterSerializer(\n item: CertificateOperationUpdateParameter,\n): any {\n return { cancellation_requested: item[\"cancellationRequested\"] };\n}\n\n/** The certificate merge parameters */\nexport interface CertificateMergeParameters {\n /** The certificate or the certificate chain to merge. */\n x509Certificates: Uint8Array[];\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n}\n\nexport function certificateMergeParametersSerializer(\n item: CertificateMergeParameters,\n): any {\n return {\n x5c: item[\"x509Certificates\"].map((p: any) => {\n return uint8ArrayToString(p, \"base64\");\n }),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The backup certificate result, containing the backup blob. */\nexport interface BackupCertificateResult {\n /** The backup blob containing the backed up certificate. */\n readonly value?: Uint8Array;\n}\n\nexport function backupCertificateResultDeserializer(\n item: any,\n): BackupCertificateResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : typeof item[\"value\"] === \"string\"\n ? stringToUint8Array(item[\"value\"], \"base64url\")\n : item[\"value\"],\n };\n}\n\n/** The certificate restore parameters. */\nexport interface CertificateRestoreParameters {\n /** The backup blob associated with a certificate bundle. */\n certificateBundleBackup: Uint8Array;\n}\n\nexport function certificateRestoreParametersSerializer(\n item: CertificateRestoreParameters,\n): any {\n return {\n value: uint8ArrayToString(item[\"certificateBundleBackup\"], \"base64url\"),\n };\n}\n\n/** A list of certificates that have been deleted in this vault. */\nexport interface _DeletedCertificateListResult {\n /** A response message containing a list of deleted certificates in the vault along with a link to the next page of deleted certificates. */\n readonly value?: DeletedCertificateItem[];\n /** The URL to get the next set of deleted certificates. */\n readonly nextLink?: string;\n}\n\nexport function _deletedCertificateListResultDeserializer(\n item: any,\n): _DeletedCertificateListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : deletedCertificateItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deletedCertificateItemArrayDeserializer(\n result: Array<DeletedCertificateItem>,\n): any[] {\n return result.map((item) => {\n return deletedCertificateItemDeserializer(item);\n });\n}\n\n/** The deleted certificate item containing metadata about the deleted certificate. */\nexport interface DeletedCertificateItem {\n /** Certificate identifier. */\n id?: string;\n /** The certificate management attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Thumbprint of the certificate. */\n x509Thumbprint?: Uint8Array;\n /** The url of the recovery object, used to identify and recover the deleted certificate. */\n recoveryId?: string;\n /** The time when the certificate is scheduled to be purged, in UTC */\n readonly scheduledPurgeDate?: Date;\n /** The time when the certificate was deleted, in UTC */\n readonly deletedDate?: Date;\n}\n\nexport function deletedCertificateItemDeserializer(\n item: any,\n): DeletedCertificateItem {\n return {\n id: item[\"id\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n recoveryId: item[\"recoveryId\"],\n scheduledPurgeDate: !item[\"scheduledPurgeDate\"]\n ? item[\"scheduledPurgeDate\"]\n : new Date(item[\"scheduledPurgeDate\"] * 1000),\n deletedDate: !item[\"deletedDate\"]\n ? item[\"deletedDate\"]\n : new Date(item[\"deletedDate\"] * 1000),\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 7.5 API version. */\n \"v7.5\" = \"7.5\",\n /** The 7.6-preview.2 API version. */\n \"v7.6_preview.2\" = \"7.6-preview.2\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/generated/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAU1E,MAAM,UAAU,kCAAkC,CAChD,IAAS;IAET,OAAO;QACL,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;YACnB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;YACf,CAAC,CAAC,gCAAgC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,MAA8B;IAE9B,OAAO,MAAM,C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OxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { uint8ArrayToString, stringToUint8Array } from \"@azure/core-util\";\n\n/** The certificate list result. */\nexport interface _CertificateListResult {\n /** A response message containing a list of certificates in the key vault along with a link to the next page of certificates. */\n value?: CertificateItem[];\n /** The URL to get the next set of certificates. */\n readonly nextLink?: string;\n}\n\nexport function _certificateListResultDeserializer(\n item: any,\n): _CertificateListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : certificateItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function certificateItemArrayDeserializer(\n result: Array<CertificateItem>,\n): any[] {\n return result.map((item) => {\n return certificateItemDeserializer(item);\n });\n}\n\n/** The certificate item containing certificate metadata. */\nexport interface CertificateItem {\n /** Certificate identifier. */\n id?: string;\n /** The certificate management attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Thumbprint of the certificate. */\n x509Thumbprint?: Uint8Array;\n}\n\nexport function certificateItemDeserializer(item: any): CertificateItem {\n return {\n id: item[\"id\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n };\n}\n\n/** The certificate management attributes. */\nexport interface CertificateAttributes {\n /** Determines whether the object is enabled. */\n enabled?: boolean;\n /** Not before date in UTC. */\n notBefore?: Date;\n /** Expiry date in UTC. */\n expires?: Date;\n /** Creation time in UTC. */\n readonly created?: Date;\n /** Last updated time in UTC. */\n readonly updated?: Date;\n /** softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0. */\n readonly recoverableDays?: number;\n /** Reflects the deletion recovery level currently in effect for certificates in the current vault. If it contains 'Purgeable', the certificate can be permanently deleted by a privileged user; otherwise, only the system can purge the certificate, at the end of the retention interval. */\n readonly recoveryLevel?: DeletionRecoveryLevel;\n}\n\nexport function certificateAttributesSerializer(\n item: CertificateAttributes,\n): any {\n return {\n enabled: item[\"enabled\"],\n nbf: !item[\"notBefore\"]\n ? item[\"notBefore\"]\n : (item[\"notBefore\"].getTime() / 1000) | 0,\n exp: !item[\"expires\"]\n ? item[\"expires\"]\n : (item[\"expires\"].getTime() / 1000) | 0,\n };\n}\n\nexport function certificateAttributesDeserializer(\n item: any,\n): CertificateAttributes {\n return {\n enabled: item[\"enabled\"],\n notBefore: !item[\"nbf\"] ? item[\"nbf\"] : new Date(item[\"nbf\"] * 1000),\n expires: !item[\"exp\"] ? item[\"exp\"] : new Date(item[\"exp\"] * 1000),\n created: !item[\"created\"]\n ? item[\"created\"]\n : new Date(item[\"created\"] * 1000),\n updated: !item[\"updated\"]\n ? item[\"updated\"]\n : new Date(item[\"updated\"] * 1000),\n recoverableDays: item[\"recoverableDays\"],\n recoveryLevel: item[\"recoveryLevel\"],\n };\n}\n\n/** Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. */\nexport enum KnownDeletionRecoveryLevel {\n /** Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) */\n Purgeable = \"Purgeable\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered */\n RecoverablePurgeable = \"Recoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered */\n Recoverable = \"Recoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered */\n RecoverableProtectedSubscription = \"Recoverable+ProtectedSubscription\",\n /** Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. */\n CustomizedRecoverablePurgeable = \"CustomizedRecoverable+Purgeable\",\n /** Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. */\n CustomizedRecoverable = \"CustomizedRecoverable\",\n /** Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7 <= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled. */\n CustomizedRecoverableProtectedSubscription = \"CustomizedRecoverable+ProtectedSubscription\",\n}\n\n/**\n * Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. \\\n * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Purgeable**: Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) \\\n * **Recoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered \\\n * **Recoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered \\\n * **CustomizedRecoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90). This level guarantees the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription is cancelled. \\\n * **CustomizedRecoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge when 7 <= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability of the deleted entity during the retention interval and while the subscription is still available. \\\n * **CustomizedRecoverable+ProtectedSubscription**: Denotes a vault and subscription state in which deletion is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot be permanently canceled when 7 <= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled.\n */\nexport type DeletionRecoveryLevel = string;\n\n/** The key vault error exception. */\nexport interface KeyVaultError {\n /** The key vault server error. */\n readonly error?: ErrorModel;\n}\n\nexport function keyVaultErrorDeserializer(item: any): KeyVaultError {\n return {\n error: !item[\"error\"]\n ? item[\"error\"]\n : _keyVaultErrorErrorDeserializer(item[\"error\"]),\n };\n}\n\n/** Alias for ErrorModel */\nexport type ErrorModel = {\n code?: string;\n message?: string;\n innerError?: ErrorModel;\n} | null;\n\n/** model interface _KeyVaultErrorError */\nexport interface _KeyVaultErrorError {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The key vault server error. */\n readonly innerError?: ErrorModel;\n}\n\nexport function _keyVaultErrorErrorDeserializer(\n item: any,\n): _KeyVaultErrorError {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n innerError: !item[\"innererror\"]\n ? item[\"innererror\"]\n : _keyVaultErrorErrorDeserializer(item[\"innererror\"]),\n };\n}\n\n/** A Deleted Certificate consisting of its previous id, attributes and its tags, as well as information on when it will be purged. */\nexport interface DeletedCertificateBundle {\n /** The certificate id. */\n readonly id?: string;\n /** The key id. */\n readonly kid?: string;\n /** The secret id. */\n readonly sid?: string;\n /** Thumbprint of the certificate. */\n readonly x509Thumbprint?: Uint8Array;\n /** The management policy. */\n readonly policy?: CertificatePolicy;\n /** CER contents of x509 certificate. */\n cer?: Uint8Array;\n /** The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12', */\n contentType?: string;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n /** The url of the recovery object, used to identify and recover the deleted certificate. */\n recoveryId?: string;\n /** The time when the certificate is scheduled to be purged, in UTC */\n readonly scheduledPurgeDate?: Date;\n /** The time when the certificate was deleted, in UTC */\n readonly deletedDate?: Date;\n}\n\nexport function deletedCertificateBundleDeserializer(\n item: any,\n): DeletedCertificateBundle {\n return {\n id: item[\"id\"],\n kid: item[\"kid\"],\n sid: item[\"sid\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n policy: !item[\"policy\"]\n ? item[\"policy\"]\n : certificatePolicyDeserializer(item[\"policy\"]),\n cer: !item[\"cer\"]\n ? item[\"cer\"]\n : typeof item[\"cer\"] === \"string\"\n ? stringToUint8Array(item[\"cer\"], \"base64\")\n : item[\"cer\"],\n contentType: item[\"contentType\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n recoveryId: item[\"recoveryId\"],\n scheduledPurgeDate: !item[\"scheduledPurgeDate\"]\n ? item[\"scheduledPurgeDate\"]\n : new Date(item[\"scheduledPurgeDate\"] * 1000),\n deletedDate: !item[\"deletedDate\"]\n ? item[\"deletedDate\"]\n : new Date(item[\"deletedDate\"] * 1000),\n };\n}\n\n/** Management policy for a certificate. */\nexport interface CertificatePolicy {\n /** The certificate id. */\n readonly id?: string;\n /** Properties of the key backing a certificate. */\n keyProperties?: KeyProperties;\n /** Properties of the secret backing a certificate. */\n secretProperties?: SecretProperties;\n /** Properties of the X509 component of a certificate. */\n x509CertificateProperties?: X509CertificateProperties;\n /** Actions that will be performed by Key Vault over the lifetime of a certificate. */\n lifetimeActions?: LifetimeAction[];\n /** Parameters for the issuer of the X509 component of a certificate. */\n issuerParameters?: IssuerParameters;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n}\n\nexport function certificatePolicySerializer(item: CertificatePolicy): any {\n return {\n key_props: !item[\"keyProperties\"]\n ? item[\"keyProperties\"]\n : keyPropertiesSerializer(item[\"keyProperties\"]),\n secret_props: !item[\"secretProperties\"]\n ? item[\"secretProperties\"]\n : secretPropertiesSerializer(item[\"secretProperties\"]),\n x509_props: !item[\"x509CertificateProperties\"]\n ? item[\"x509CertificateProperties\"]\n : x509CertificatePropertiesSerializer(item[\"x509CertificateProperties\"]),\n lifetime_actions: !item[\"lifetimeActions\"]\n ? item[\"lifetimeActions\"]\n : lifetimeActionArraySerializer(item[\"lifetimeActions\"]),\n issuer: !item[\"issuerParameters\"]\n ? item[\"issuerParameters\"]\n : issuerParametersSerializer(item[\"issuerParameters\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesSerializer(item[\"attributes\"]),\n };\n}\n\nexport function certificatePolicyDeserializer(item: any): CertificatePolicy {\n return {\n id: item[\"id\"],\n keyProperties: !item[\"key_props\"]\n ? item[\"key_props\"]\n : keyPropertiesDeserializer(item[\"key_props\"]),\n secretProperties: !item[\"secret_props\"]\n ? item[\"secret_props\"]\n : secretPropertiesDeserializer(item[\"secret_props\"]),\n x509CertificateProperties: !item[\"x509_props\"]\n ? item[\"x509_props\"]\n : x509CertificatePropertiesDeserializer(item[\"x509_props\"]),\n lifetimeActions: !item[\"lifetime_actions\"]\n ? item[\"lifetime_actions\"]\n : lifetimeActionArrayDeserializer(item[\"lifetime_actions\"]),\n issuerParameters: !item[\"issuer\"]\n ? item[\"issuer\"]\n : issuerParametersDeserializer(item[\"issuer\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n };\n}\n\n/** Properties of the key pair backing a certificate. */\nexport interface KeyProperties {\n /** Indicates if the private key can be exported. Release policy must be provided when creating the first version of an exportable key. */\n exportable?: boolean;\n /** The type of key pair to be used for the certificate. */\n keyType?: JsonWebKeyType;\n /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */\n keySize?: number;\n /** Indicates if the same key pair will be used on certificate renewal. */\n reuseKey?: boolean;\n /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\n curve?: JsonWebKeyCurveName;\n}\n\nexport function keyPropertiesSerializer(item: KeyProperties): any {\n return {\n exportable: item[\"exportable\"],\n kty: item[\"keyType\"],\n key_size: item[\"keySize\"],\n reuse_key: item[\"reuseKey\"],\n crv: item[\"curve\"],\n };\n}\n\nexport function keyPropertiesDeserializer(item: any): KeyProperties {\n return {\n exportable: item[\"exportable\"],\n keyType: item[\"kty\"],\n keySize: item[\"key_size\"],\n reuseKey: item[\"reuse_key\"],\n curve: item[\"crv\"],\n };\n}\n\n/** The type of key pair to be used for the certificate. */\nexport enum KnownJsonWebKeyType {\n /** Elliptic Curve. */\n EC = \"EC\",\n /** Elliptic Curve with a private key which is not exportable from the HSM. */\n ECHSM = \"EC-HSM\",\n /** RSA (https://tools.ietf.org/html/rfc3447). */\n RSA = \"RSA\",\n /** RSA with a private key which is not exportable from the HSM. */\n RSAHSM = \"RSA-HSM\",\n /** Octet sequence (used to represent symmetric keys). */\n Oct = \"oct\",\n /** Octet sequence with a private key which is not exportable from the HSM. */\n OctHSM = \"oct-HSM\",\n}\n\n/**\n * The type of key pair to be used for the certificate. \\\n * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EC**: Elliptic Curve. \\\n * **EC-HSM**: Elliptic Curve with a private key which is not exportable from the HSM. \\\n * **RSA**: RSA (https:\\//tools.ietf.org\\/html\\/rfc3447). \\\n * **RSA-HSM**: RSA with a private key which is not exportable from the HSM. \\\n * **oct**: Octet sequence (used to represent symmetric keys). \\\n * **oct-HSM**: Octet sequence with a private key which is not exportable from the HSM.\n */\nexport type JsonWebKeyType = string;\n\n/** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */\nexport enum KnownJsonWebKeyCurveName {\n /** The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. */\n P256 = \"P-256\",\n /** The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. */\n P384 = \"P-384\",\n /** The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. */\n P521 = \"P-521\",\n /** The SECG SECP256K1 elliptic curve. */\n P256K = \"P-256K\",\n}\n\n/**\n * Elliptic curve name. For valid values, see JsonWebKeyCurveName. \\\n * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **P-256**: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. \\\n * **P-384**: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. \\\n * **P-521**: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. \\\n * **P-256K**: The SECG SECP256K1 elliptic curve.\n */\nexport type JsonWebKeyCurveName = string;\n\n/** Properties of the key backing a certificate. */\nexport interface SecretProperties {\n /** The media type (MIME type). */\n contentType?: string;\n}\n\nexport function secretPropertiesSerializer(item: SecretProperties): any {\n return { contentType: item[\"contentType\"] };\n}\n\nexport function secretPropertiesDeserializer(item: any): SecretProperties {\n return {\n contentType: item[\"contentType\"],\n };\n}\n\n/** Properties of the X509 component of a certificate. */\nexport interface X509CertificateProperties {\n /** The subject name. Should be a valid X509 distinguished Name. */\n subject?: string;\n /** The enhanced key usage. */\n ekus?: string[];\n /** The subject alternative names. */\n subjectAlternativeNames?: SubjectAlternativeNames;\n /** Defines how the certificate's key may be used. */\n keyUsage?: KeyUsageType[];\n /** The duration that the certificate is valid in months. */\n validityInMonths?: number;\n}\n\nexport function x509CertificatePropertiesSerializer(\n item: X509CertificateProperties,\n): any {\n return {\n subject: item[\"subject\"],\n ekus: !item[\"ekus\"]\n ? item[\"ekus\"]\n : item[\"ekus\"].map((p: any) => {\n return p;\n }),\n sans: !item[\"subjectAlternativeNames\"]\n ? item[\"subjectAlternativeNames\"]\n : subjectAlternativeNamesSerializer(item[\"subjectAlternativeNames\"]),\n key_usage: !item[\"keyUsage\"]\n ? item[\"keyUsage\"]\n : item[\"keyUsage\"].map((p: any) => {\n return p;\n }),\n validity_months: item[\"validityInMonths\"],\n };\n}\n\nexport function x509CertificatePropertiesDeserializer(\n item: any,\n): X509CertificateProperties {\n return {\n subject: item[\"subject\"],\n ekus: !item[\"ekus\"]\n ? item[\"ekus\"]\n : item[\"ekus\"].map((p: any) => {\n return p;\n }),\n subjectAlternativeNames: !item[\"sans\"]\n ? item[\"sans\"]\n : subjectAlternativeNamesDeserializer(item[\"sans\"]),\n keyUsage: !item[\"key_usage\"]\n ? item[\"key_usage\"]\n : item[\"key_usage\"].map((p: any) => {\n return p;\n }),\n validityInMonths: item[\"validity_months\"],\n };\n}\n\n/** The subject alternate names of a X509 object. */\nexport interface SubjectAlternativeNames {\n /** Email addresses. */\n emails?: string[];\n /** Domain names. */\n dnsNames?: string[];\n /** User principal names. */\n upns?: string[];\n}\n\nexport function subjectAlternativeNamesSerializer(\n item: SubjectAlternativeNames,\n): any {\n return {\n emails: !item[\"emails\"]\n ? item[\"emails\"]\n : item[\"emails\"].map((p: any) => {\n return p;\n }),\n dns_names: !item[\"dnsNames\"]\n ? item[\"dnsNames\"]\n : item[\"dnsNames\"].map((p: any) => {\n return p;\n }),\n upns: !item[\"upns\"]\n ? item[\"upns\"]\n : item[\"upns\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function subjectAlternativeNamesDeserializer(\n item: any,\n): SubjectAlternativeNames {\n return {\n emails: !item[\"emails\"]\n ? item[\"emails\"]\n : item[\"emails\"].map((p: any) => {\n return p;\n }),\n dnsNames: !item[\"dns_names\"]\n ? item[\"dns_names\"]\n : item[\"dns_names\"].map((p: any) => {\n return p;\n }),\n upns: !item[\"upns\"]\n ? item[\"upns\"]\n : item[\"upns\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Supported usages of a certificate key. */\nexport enum KnownKeyUsageType {\n /** Indicates that the certificate key can be used as a digital signature. */\n DigitalSignature = \"digitalSignature\",\n /** Indicates that the certificate key can be used for authentication. */\n NonRepudiation = \"nonRepudiation\",\n /** Indicates that the certificate key can be used for key encryption. */\n KeyEncipherment = \"keyEncipherment\",\n /** Indicates that the certificate key can be used for data encryption. */\n DataEncipherment = \"dataEncipherment\",\n /** Indicates that the certificate key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm. */\n KeyAgreement = \"keyAgreement\",\n /** Indicates that the certificate key can be used to sign certificates. */\n KeyCertSign = \"keyCertSign\",\n /** Indicates that the certificate key can be used to sign a certificate revocation list. */\n CRLSign = \"cRLSign\",\n /** Indicates that the certificate key can be used for encryption only. */\n EncipherOnly = \"encipherOnly\",\n /** Indicates that the certificate key can be used for decryption only. */\n DecipherOnly = \"decipherOnly\",\n}\n\n/**\n * Supported usages of a certificate key. \\\n * {@link KnownKeyUsageType} can be used interchangeably with KeyUsageType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **digitalSignature**: Indicates that the certificate key can be used as a digital signature. \\\n * **nonRepudiation**: Indicates that the certificate key can be used for authentication. \\\n * **keyEncipherment**: Indicates that the certificate key can be used for key encryption. \\\n * **dataEncipherment**: Indicates that the certificate key can be used for data encryption. \\\n * **keyAgreement**: Indicates that the certificate key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm. \\\n * **keyCertSign**: Indicates that the certificate key can be used to sign certificates. \\\n * **cRLSign**: Indicates that the certificate key can be used to sign a certificate revocation list. \\\n * **encipherOnly**: Indicates that the certificate key can be used for encryption only. \\\n * **decipherOnly**: Indicates that the certificate key can be used for decryption only.\n */\nexport type KeyUsageType = string;\n\nexport function lifetimeActionArraySerializer(\n result: Array<LifetimeAction>,\n): any[] {\n return result.map((item) => {\n return lifetimeActionSerializer(item);\n });\n}\n\nexport function lifetimeActionArrayDeserializer(\n result: Array<LifetimeAction>,\n): any[] {\n return result.map((item) => {\n return lifetimeActionDeserializer(item);\n });\n}\n\n/** Action and its trigger that will be performed by Key Vault over the lifetime of a certificate. */\nexport interface LifetimeAction {\n /** The condition that will execute the action. */\n trigger?: Trigger;\n /** The action that will be executed. */\n action?: Action;\n}\n\nexport function lifetimeActionSerializer(item: LifetimeAction): any {\n return {\n trigger: !item[\"trigger\"]\n ? item[\"trigger\"]\n : triggerSerializer(item[\"trigger\"]),\n action: !item[\"action\"] ? item[\"action\"] : actionSerializer(item[\"action\"]),\n };\n}\n\nexport function lifetimeActionDeserializer(item: any): LifetimeAction {\n return {\n trigger: !item[\"trigger\"]\n ? item[\"trigger\"]\n : triggerDeserializer(item[\"trigger\"]),\n action: !item[\"action\"]\n ? item[\"action\"]\n : actionDeserializer(item[\"action\"]),\n };\n}\n\n/** A condition to be satisfied for an action to be executed. */\nexport interface Trigger {\n /** Percentage of lifetime at which to trigger. Value should be between 1 and 99. */\n lifetimePercentage?: number;\n /** Days before expiry to attempt renewal. Value should be between 1 and validity_in_months multiplied by 27. If validity_in_months is 36, then value should be between 1 and 972 (36 * 27). */\n daysBeforeExpiry?: number;\n}\n\nexport function triggerSerializer(item: Trigger): any {\n return {\n lifetime_percentage: item[\"lifetimePercentage\"],\n days_before_expiry: item[\"daysBeforeExpiry\"],\n };\n}\n\nexport function triggerDeserializer(item: any): Trigger {\n return {\n lifetimePercentage: item[\"lifetime_percentage\"],\n daysBeforeExpiry: item[\"days_before_expiry\"],\n };\n}\n\n/** The action that will be executed. */\nexport interface Action {\n /** The type of the action. */\n actionType?: CertificatePolicyAction;\n}\n\nexport function actionSerializer(item: Action): any {\n return { action_type: item[\"actionType\"] };\n}\n\nexport function actionDeserializer(item: any): Action {\n return {\n actionType: item[\"action_type\"],\n };\n}\n\n/** The type of the action. */\nexport type CertificatePolicyAction = \"EmailContacts\" | \"AutoRenew\";\n\n/** Parameters for the issuer of the X509 component of a certificate. */\nexport interface IssuerParameters {\n /** Name of the referenced issuer object or reserved names; for example, 'Self' or 'Unknown'. */\n name?: string;\n /** Certificate type as supported by the provider (optional); for example 'OV-SSL', 'EV-SSL' */\n certificateType?: string;\n /** Indicates if the certificates generated under this policy should be published to certificate transparency logs. */\n certificateTransparency?: boolean;\n}\n\nexport function issuerParametersSerializer(item: IssuerParameters): any {\n return {\n name: item[\"name\"],\n cty: item[\"certificateType\"],\n cert_transparency: item[\"certificateTransparency\"],\n };\n}\n\nexport function issuerParametersDeserializer(item: any): IssuerParameters {\n return {\n name: item[\"name\"],\n certificateType: item[\"cty\"],\n certificateTransparency: item[\"cert_transparency\"],\n };\n}\n\n/** The contacts for the vault certificates. */\nexport interface Contacts {\n /** Identifier for the contacts collection. */\n readonly id?: string;\n /** The contact list for the vault certificates. */\n contactList?: Contact[];\n}\n\nexport function contactsSerializer(item: Contacts): any {\n return {\n contacts: !item[\"contactList\"]\n ? item[\"contactList\"]\n : contactArraySerializer(item[\"contactList\"]),\n };\n}\n\nexport function contactsDeserializer(item: any): Contacts {\n return {\n id: item[\"id\"],\n contactList: !item[\"contacts\"]\n ? item[\"contacts\"]\n : contactArrayDeserializer(item[\"contacts\"]),\n };\n}\n\nexport function contactArraySerializer(result: Array<Contact>): any[] {\n return result.map((item) => {\n return contactSerializer(item);\n });\n}\n\nexport function contactArrayDeserializer(result: Array<Contact>): any[] {\n return result.map((item) => {\n return contactDeserializer(item);\n });\n}\n\n/** The contact information for the vault certificates. */\nexport interface Contact {\n /** Email address. */\n emailAddress?: string;\n /** Name. */\n name?: string;\n /** Phone number. */\n phone?: string;\n}\n\nexport function contactSerializer(item: Contact): any {\n return {\n email: item[\"emailAddress\"],\n name: item[\"name\"],\n phone: item[\"phone\"],\n };\n}\n\nexport function contactDeserializer(item: any): Contact {\n return {\n emailAddress: item[\"email\"],\n name: item[\"name\"],\n phone: item[\"phone\"],\n };\n}\n\n/** The certificate issuer list result. */\nexport interface _CertificateIssuerListResult {\n /** A response message containing a list of certificate issuers in the key vault along with a link to the next page of certificate issuers. */\n readonly value?: CertificateIssuerItem[];\n /** The URL to get the next set of certificate issuers. */\n readonly nextLink?: string;\n}\n\nexport function _certificateIssuerListResultDeserializer(\n item: any,\n): _CertificateIssuerListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : certificateIssuerItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function certificateIssuerItemArrayDeserializer(\n result: Array<CertificateIssuerItem>,\n): any[] {\n return result.map((item) => {\n return certificateIssuerItemDeserializer(item);\n });\n}\n\n/** The certificate issuer item containing certificate issuer metadata. */\nexport interface CertificateIssuerItem {\n /** Certificate Identifier. */\n id?: string;\n /** The issuer provider. */\n provider?: string;\n}\n\nexport function certificateIssuerItemDeserializer(\n item: any,\n): CertificateIssuerItem {\n return {\n id: item[\"id\"],\n provider: item[\"provider\"],\n };\n}\n\n/** The certificate issuer set parameters. */\nexport interface CertificateIssuerSetParameters {\n /** The issuer provider. */\n provider: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function certificateIssuerSetParametersSerializer(\n item: CertificateIssuerSetParameters,\n): any {\n return {\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsSerializer(item[\"credentials\"]),\n org_details: !item[\"organizationDetails\"]\n ? item[\"organizationDetails\"]\n : organizationDetailsSerializer(item[\"organizationDetails\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesSerializer(item[\"attributes\"]),\n };\n}\n\n/** The credentials to be used for the certificate issuer. */\nexport interface IssuerCredentials {\n /** The user name/account name/account id. */\n accountId?: string;\n /** The password/secret/account key. */\n password?: string;\n}\n\nexport function issuerCredentialsSerializer(item: IssuerCredentials): any {\n return { account_id: item[\"accountId\"], pwd: item[\"password\"] };\n}\n\nexport function issuerCredentialsDeserializer(item: any): IssuerCredentials {\n return {\n accountId: item[\"account_id\"],\n password: item[\"pwd\"],\n };\n}\n\n/** Details of the organization of the certificate issuer. */\nexport interface OrganizationDetails {\n /** Id of the organization. */\n id?: string;\n /** Details of the organization administrator. */\n adminDetails?: AdministratorDetails[];\n}\n\nexport function organizationDetailsSerializer(item: OrganizationDetails): any {\n return {\n id: item[\"id\"],\n admin_details: !item[\"adminDetails\"]\n ? item[\"adminDetails\"]\n : administratorDetailsArraySerializer(item[\"adminDetails\"]),\n };\n}\n\nexport function organizationDetailsDeserializer(\n item: any,\n): OrganizationDetails {\n return {\n id: item[\"id\"],\n adminDetails: !item[\"admin_details\"]\n ? item[\"admin_details\"]\n : administratorDetailsArrayDeserializer(item[\"admin_details\"]),\n };\n}\n\nexport function administratorDetailsArraySerializer(\n result: Array<AdministratorDetails>,\n): any[] {\n return result.map((item) => {\n return administratorDetailsSerializer(item);\n });\n}\n\nexport function administratorDetailsArrayDeserializer(\n result: Array<AdministratorDetails>,\n): any[] {\n return result.map((item) => {\n return administratorDetailsDeserializer(item);\n });\n}\n\n/** Details of the organization administrator of the certificate issuer. */\nexport interface AdministratorDetails {\n /** First name. */\n firstName?: string;\n /** Last name. */\n lastName?: string;\n /** Email address. */\n emailAddress?: string;\n /** Phone number. */\n phone?: string;\n}\n\nexport function administratorDetailsSerializer(\n item: AdministratorDetails,\n): any {\n return {\n first_name: item[\"firstName\"],\n last_name: item[\"lastName\"],\n email: item[\"emailAddress\"],\n phone: item[\"phone\"],\n };\n}\n\nexport function administratorDetailsDeserializer(\n item: any,\n): AdministratorDetails {\n return {\n firstName: item[\"first_name\"],\n lastName: item[\"last_name\"],\n emailAddress: item[\"email\"],\n phone: item[\"phone\"],\n };\n}\n\n/** The attributes of an issuer managed by the Key Vault service. */\nexport interface IssuerAttributes {\n /** Determines whether the issuer is enabled. */\n enabled?: boolean;\n /** Creation time in UTC. */\n readonly created?: Date;\n /** Last updated time in UTC. */\n readonly updated?: Date;\n}\n\nexport function issuerAttributesSerializer(item: IssuerAttributes): any {\n return { enabled: item[\"enabled\"] };\n}\n\nexport function issuerAttributesDeserializer(item: any): IssuerAttributes {\n return {\n enabled: item[\"enabled\"],\n created: !item[\"created\"]\n ? item[\"created\"]\n : new Date(item[\"created\"] * 1000),\n updated: !item[\"updated\"]\n ? item[\"updated\"]\n : new Date(item[\"updated\"] * 1000),\n };\n}\n\n/** The issuer for Key Vault certificate. */\nexport interface IssuerBundle {\n /** Identifier for the issuer object. */\n readonly id?: string;\n /** The issuer provider. */\n provider?: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function issuerBundleDeserializer(item: any): IssuerBundle {\n return {\n id: item[\"id\"],\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsDeserializer(item[\"credentials\"]),\n organizationDetails: !item[\"org_details\"]\n ? item[\"org_details\"]\n : organizationDetailsDeserializer(item[\"org_details\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesDeserializer(item[\"attributes\"]),\n };\n}\n\n/** The certificate issuer update parameters. */\nexport interface CertificateIssuerUpdateParameters {\n /** The issuer provider. */\n provider?: string;\n /** The credentials to be used for the issuer. */\n credentials?: IssuerCredentials;\n /** Details of the organization as provided to the issuer. */\n organizationDetails?: OrganizationDetails;\n /** Attributes of the issuer object. */\n attributes?: IssuerAttributes;\n}\n\nexport function certificateIssuerUpdateParametersSerializer(\n item: CertificateIssuerUpdateParameters,\n): any {\n return {\n provider: item[\"provider\"],\n credentials: !item[\"credentials\"]\n ? item[\"credentials\"]\n : issuerCredentialsSerializer(item[\"credentials\"]),\n org_details: !item[\"organizationDetails\"]\n ? item[\"organizationDetails\"]\n : organizationDetailsSerializer(item[\"organizationDetails\"]),\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : issuerAttributesSerializer(item[\"attributes\"]),\n };\n}\n\n/** The certificate create parameters. */\nexport interface CertificateCreateParameters {\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateCreateParametersSerializer(\n item: CertificateCreateParameters,\n): any {\n return {\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** A certificate operation is returned in case of asynchronous requests. */\nexport interface CertificateOperation {\n /** The certificate id. */\n readonly id?: string;\n /** Parameters for the issuer of the X509 component of a certificate. */\n issuerParameters?: IssuerParameters;\n /** The certificate signing request (CSR) that is being used in the certificate operation. */\n csr?: Uint8Array;\n /** Indicates if cancellation was requested on the certificate operation. */\n cancellationRequested?: boolean;\n /** Status of the certificate operation. */\n status?: string;\n /** The status details of the certificate operation. */\n statusDetails?: string;\n /** Error encountered, if any, during the certificate operation. */\n error?: ErrorModel;\n /** Location which contains the result of the certificate operation. */\n target?: string;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n /** Identifier for the certificate operation. */\n requestId?: string;\n}\n\nexport function certificateOperationDeserializer(\n item: any,\n): CertificateOperation {\n return {\n id: item[\"id\"],\n issuerParameters: !item[\"issuer\"]\n ? item[\"issuer\"]\n : issuerParametersDeserializer(item[\"issuer\"]),\n csr: !item[\"csr\"]\n ? item[\"csr\"]\n : typeof item[\"csr\"] === \"string\"\n ? stringToUint8Array(item[\"csr\"], \"base64\")\n : item[\"csr\"],\n cancellationRequested: item[\"cancellation_requested\"],\n status: item[\"status\"],\n statusDetails: item[\"status_details\"],\n error: !item[\"error\"]\n ? item[\"error\"]\n : _keyVaultErrorErrorDeserializer(item[\"error\"]),\n target: item[\"target\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n requestId: item[\"request_id\"],\n };\n}\n\n/** The certificate import parameters. */\nexport interface CertificateImportParameters {\n /** Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. */\n base64EncodedCertificate: string;\n /** If the private key in base64EncodedCertificate is encrypted, the password used for encryption. */\n password?: string;\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateImportParametersSerializer(\n item: CertificateImportParameters,\n): any {\n return {\n value: item[\"base64EncodedCertificate\"],\n pwd: item[\"password\"],\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** A certificate bundle consists of a certificate (X509) plus its attributes. */\nexport interface CertificateBundle {\n /** The certificate id. */\n readonly id?: string;\n /** The key id. */\n readonly kid?: string;\n /** The secret id. */\n readonly sid?: string;\n /** Thumbprint of the certificate. */\n readonly x509Thumbprint?: Uint8Array;\n /** The management policy. */\n readonly policy?: CertificatePolicy;\n /** CER contents of x509 certificate. */\n cer?: Uint8Array;\n /** The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12', */\n contentType?: string;\n /** The certificate attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs */\n tags?: Record<string, string>;\n /** Specifies whether the certificate chain preserves its original order. The default value is false, which sets the leaf certificate at index 0. */\n preserveCertOrder?: boolean;\n}\n\nexport function certificateBundleDeserializer(item: any): CertificateBundle {\n return {\n id: item[\"id\"],\n kid: item[\"kid\"],\n sid: item[\"sid\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n policy: !item[\"policy\"]\n ? item[\"policy\"]\n : certificatePolicyDeserializer(item[\"policy\"]),\n cer: !item[\"cer\"]\n ? item[\"cer\"]\n : typeof item[\"cer\"] === \"string\"\n ? stringToUint8Array(item[\"cer\"], \"base64\")\n : item[\"cer\"],\n contentType: item[\"contentType\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n preserveCertOrder: item[\"preserveCertOrder\"],\n };\n}\n\n/** The certificate update parameters. */\nexport interface CertificateUpdateParameters {\n /** The management policy for the certificate. */\n certificatePolicy?: CertificatePolicy;\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n}\n\nexport function certificateUpdateParametersSerializer(\n item: CertificateUpdateParameters,\n): any {\n return {\n policy: !item[\"certificatePolicy\"]\n ? item[\"certificatePolicy\"]\n : certificatePolicySerializer(item[\"certificatePolicy\"]),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The certificate operation update parameters. */\nexport interface CertificateOperationUpdateParameter {\n /** Indicates if cancellation was requested on the certificate operation. */\n cancellationRequested: boolean;\n}\n\nexport function certificateOperationUpdateParameterSerializer(\n item: CertificateOperationUpdateParameter,\n): any {\n return { cancellation_requested: item[\"cancellationRequested\"] };\n}\n\n/** The certificate merge parameters */\nexport interface CertificateMergeParameters {\n /** The certificate or the certificate chain to merge. */\n x509Certificates: Uint8Array[];\n /** The attributes of the certificate (optional). */\n certificateAttributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n}\n\nexport function certificateMergeParametersSerializer(\n item: CertificateMergeParameters,\n): any {\n return {\n x5c: item[\"x509Certificates\"].map((p: any) => {\n return uint8ArrayToString(p, \"base64\");\n }),\n attributes: !item[\"certificateAttributes\"]\n ? item[\"certificateAttributes\"]\n : certificateAttributesSerializer(item[\"certificateAttributes\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The backup certificate result, containing the backup blob. */\nexport interface BackupCertificateResult {\n /** The backup blob containing the backed up certificate. */\n readonly value?: Uint8Array;\n}\n\nexport function backupCertificateResultDeserializer(\n item: any,\n): BackupCertificateResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : typeof item[\"value\"] === \"string\"\n ? stringToUint8Array(item[\"value\"], \"base64url\")\n : item[\"value\"],\n };\n}\n\n/** The certificate restore parameters. */\nexport interface CertificateRestoreParameters {\n /** The backup blob associated with a certificate bundle. */\n certificateBundleBackup: Uint8Array;\n}\n\nexport function certificateRestoreParametersSerializer(\n item: CertificateRestoreParameters,\n): any {\n return {\n value: uint8ArrayToString(item[\"certificateBundleBackup\"], \"base64url\"),\n };\n}\n\n/** A list of certificates that have been deleted in this vault. */\nexport interface _DeletedCertificateListResult {\n /** A response message containing a list of deleted certificates in the vault along with a link to the next page of deleted certificates. */\n readonly value?: DeletedCertificateItem[];\n /** The URL to get the next set of deleted certificates. */\n readonly nextLink?: string;\n}\n\nexport function _deletedCertificateListResultDeserializer(\n item: any,\n): _DeletedCertificateListResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : deletedCertificateItemArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deletedCertificateItemArrayDeserializer(\n result: Array<DeletedCertificateItem>,\n): any[] {\n return result.map((item) => {\n return deletedCertificateItemDeserializer(item);\n });\n}\n\n/** The deleted certificate item containing metadata about the deleted certificate. */\nexport interface DeletedCertificateItem {\n /** Certificate identifier. */\n id?: string;\n /** The certificate management attributes. */\n attributes?: CertificateAttributes;\n /** Application specific metadata in the form of key-value pairs. */\n tags?: Record<string, string>;\n /** Thumbprint of the certificate. */\n x509Thumbprint?: Uint8Array;\n /** The url of the recovery object, used to identify and recover the deleted certificate. */\n recoveryId?: string;\n /** The time when the certificate is scheduled to be purged, in UTC */\n readonly scheduledPurgeDate?: Date;\n /** The time when the certificate was deleted, in UTC */\n readonly deletedDate?: Date;\n}\n\nexport function deletedCertificateItemDeserializer(\n item: any,\n): DeletedCertificateItem {\n return {\n id: item[\"id\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : certificateAttributesDeserializer(item[\"attributes\"]),\n tags: item[\"tags\"],\n x509Thumbprint: !item[\"x5t\"]\n ? item[\"x5t\"]\n : typeof item[\"x5t\"] === \"string\"\n ? stringToUint8Array(item[\"x5t\"], \"base64url\")\n : item[\"x5t\"],\n recoveryId: item[\"recoveryId\"],\n scheduledPurgeDate: !item[\"scheduledPurgeDate\"]\n ? item[\"scheduledPurgeDate\"]\n : new Date(item[\"scheduledPurgeDate\"] * 1000),\n deletedDate: !item[\"deletedDate\"]\n ? item[\"deletedDate\"]\n : new Date(item[\"deletedDate\"] * 1000),\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 7.5 API version. */\n V75 = \"7.5\",\n /** The 7.6-preview.2 API version. */\n V76Preview2 = \"7.6-preview.2\",\n /** The 7.6 API version. */\n V76 = \"7.6\",\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export interface UrlTemplateOptions {
2
+ allowReserved?: boolean;
3
+ }
4
+ export declare function expandUrlTemplate(template: string, context: Record<string, any>, option?: UrlTemplateOptions): string;
5
+ //# sourceMappingURL=urlTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"urlTemplate.d.ts","sourceRoot":"","sources":["../../../../src/generated/static-helpers/urlTemplate.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,kBAAkB;IAEjC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAmJD,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,MAAM,CAAC,EAAE,kBAAkB,GAC1B,MAAM,CA8BR"}
@@ -0,0 +1,172 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // ---------------------
4
+ // helpers
5
+ // ---------------------
6
+ function encodeComponent(val, reserved, op) {
7
+ return (reserved !== null && reserved !== void 0 ? reserved : op === "+") || op === "#"
8
+ ? encodeReservedComponent(val)
9
+ : encodeRFC3986URIComponent(val);
10
+ }
11
+ function encodeReservedComponent(str) {
12
+ return str
13
+ .split(/(%[0-9A-Fa-f]{2})/g)
14
+ .map((part) => (!/%[0-9A-Fa-f]/.test(part) ? encodeURI(part) : part))
15
+ .join("");
16
+ }
17
+ function encodeRFC3986URIComponent(str) {
18
+ return encodeURIComponent(str).replace(/[!'()*]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
19
+ }
20
+ function isDefined(val) {
21
+ return val !== undefined && val !== null;
22
+ }
23
+ function getNamedAndIfEmpty(op) {
24
+ return [
25
+ !!op && [";", "?", "&"].includes(op),
26
+ !!op && ["?", "&"].includes(op) ? "=" : "",
27
+ ];
28
+ }
29
+ function getFirstOrSep(op, isFirst = false) {
30
+ if (isFirst) {
31
+ return !op || op === "+" ? "" : op;
32
+ }
33
+ else if (!op || op === "+" || op === "#") {
34
+ return ",";
35
+ }
36
+ else if (op === "?") {
37
+ return "&";
38
+ }
39
+ else {
40
+ return op;
41
+ }
42
+ }
43
+ function getExpandedValue(option) {
44
+ let isFirst = option.isFirst;
45
+ const { op, varName, varValue: value, reserved } = option;
46
+ const vals = [];
47
+ const [named, ifEmpty] = getNamedAndIfEmpty(op);
48
+ if (Array.isArray(value)) {
49
+ for (const val of value.filter(isDefined)) {
50
+ // prepare the following parts: separator, varName, value
51
+ vals.push(`${getFirstOrSep(op, isFirst)}`);
52
+ if (named && varName) {
53
+ vals.push(`${encodeURIComponent(varName)}`);
54
+ val === "" ? vals.push(ifEmpty) : vals.push("=");
55
+ }
56
+ vals.push(encodeComponent(val, reserved, op));
57
+ isFirst = false;
58
+ }
59
+ }
60
+ else if (typeof value === "object") {
61
+ for (const key of Object.keys(value)) {
62
+ const val = value[key];
63
+ if (!isDefined(val)) {
64
+ continue;
65
+ }
66
+ // prepare the following parts: separator, key, value
67
+ vals.push(`${getFirstOrSep(op, isFirst)}`);
68
+ if (key) {
69
+ vals.push(`${encodeURIComponent(key)}`);
70
+ named && val === "" ? vals.push(ifEmpty) : vals.push("=");
71
+ }
72
+ vals.push(encodeComponent(val, reserved, op));
73
+ isFirst = false;
74
+ }
75
+ }
76
+ return vals.join("");
77
+ }
78
+ function getNonExpandedValue(option) {
79
+ const { op, varName, varValue: value, isFirst, reserved } = option;
80
+ const vals = [];
81
+ const first = getFirstOrSep(op, isFirst);
82
+ const [named, ifEmpty] = getNamedAndIfEmpty(op);
83
+ if (named && varName) {
84
+ vals.push(encodeComponent(varName, reserved, op));
85
+ if (value === "") {
86
+ if (!ifEmpty) {
87
+ vals.push(ifEmpty);
88
+ }
89
+ return !vals.join("") ? undefined : `${first}${vals.join("")}`;
90
+ }
91
+ vals.push("=");
92
+ }
93
+ const items = [];
94
+ if (Array.isArray(value)) {
95
+ for (const val of value.filter(isDefined)) {
96
+ items.push(encodeComponent(val, reserved, op));
97
+ }
98
+ }
99
+ else if (typeof value === "object") {
100
+ for (const key of Object.keys(value)) {
101
+ if (!isDefined(value[key])) {
102
+ continue;
103
+ }
104
+ items.push(encodeRFC3986URIComponent(key));
105
+ items.push(encodeComponent(value[key], reserved, op));
106
+ }
107
+ }
108
+ vals.push(items.join(","));
109
+ return !vals.join(",") ? undefined : `${first}${vals.join("")}`;
110
+ }
111
+ function getVarValue(option) {
112
+ const { op, varName, modifier, isFirst, reserved, varValue: value } = option;
113
+ if (!isDefined(value)) {
114
+ return undefined;
115
+ }
116
+ else if (["string", "number", "boolean"].includes(typeof value)) {
117
+ let val = value.toString();
118
+ const [named, ifEmpty] = getNamedAndIfEmpty(op);
119
+ const vals = [getFirstOrSep(op, isFirst)];
120
+ if (named && varName) {
121
+ // No need to encode varName considering it is already encoded
122
+ vals.push(varName);
123
+ val === "" ? vals.push(ifEmpty) : vals.push("=");
124
+ }
125
+ if (modifier && modifier !== "*") {
126
+ val = val.substring(0, parseInt(modifier, 10));
127
+ }
128
+ vals.push(encodeComponent(val, reserved, op));
129
+ return vals.join("");
130
+ }
131
+ else if (modifier === "*") {
132
+ return getExpandedValue(option);
133
+ }
134
+ else {
135
+ return getNonExpandedValue(option);
136
+ }
137
+ }
138
+ // ---------------------------------------------------------------------------------------------------
139
+ // This is an implementation of RFC 6570 URI Template: https://datatracker.ietf.org/doc/html/rfc6570.
140
+ // ---------------------------------------------------------------------------------------------------
141
+ export function expandUrlTemplate(template, context, option) {
142
+ return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, (_, expr, text) => {
143
+ if (!expr) {
144
+ return encodeReservedComponent(text);
145
+ }
146
+ let op;
147
+ if (["+", "#", ".", "/", ";", "?", "&"].includes(expr[0])) {
148
+ (op = expr[0]), (expr = expr.slice(1));
149
+ }
150
+ const varList = expr.split(/,/g);
151
+ const result = [];
152
+ for (const varSpec of varList) {
153
+ const varMatch = /([^:\*]*)(?::(\d+)|(\*))?/.exec(varSpec);
154
+ if (!varMatch || !varMatch[1]) {
155
+ continue;
156
+ }
157
+ const varValue = getVarValue({
158
+ isFirst: result.length === 0,
159
+ op,
160
+ varValue: context[varMatch[1]],
161
+ varName: varMatch[1],
162
+ modifier: varMatch[2] || varMatch[3],
163
+ reserved: option === null || option === void 0 ? void 0 : option.allowReserved,
164
+ });
165
+ if (varValue) {
166
+ result.push(varValue);
167
+ }
168
+ }
169
+ return result.join("");
170
+ });
171
+ }
172
+ //# sourceMappingURL=urlTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"urlTemplate.js","sourceRoot":"","sources":["../../../../src/generated/static-helpers/urlTemplate.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAmBlC,wBAAwB;AACxB,UAAU;AACV,wBAAwB;AACxB,SAAS,eAAe,CAAC,GAAW,EAAE,QAAkB,EAAE,EAAW;IACnE,OAAO,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,KAAK,GAAG,CAAC,IAAI,EAAE,KAAK,GAAG;QAC3C,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,uBAAu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BAC5B,EAAE;gBACF,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAC9B,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;gBACpB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC;gBACpC,QAAQ,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa;aAChC,CAAC,CAAC;YACH,IAAI,QAAQ,EAAE,CAAC;gBACb,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n//---------------------\n// interfaces\n//---------------------\ninterface ValueOptions {\n isFirst: boolean; // is first value in the expression\n op?: string; // operator\n varValue?: any; // variable value\n varName?: string; // variable name\n modifier?: string; // modifier e.g *\n reserved?: boolean; // if true we'll keep reserved words with not encoding\n}\n\nexport interface UrlTemplateOptions {\n // if set to true, reserved characters will not be encoded\n allowReserved?: boolean;\n}\n\n// ---------------------\n// helpers\n// ---------------------\nfunction encodeComponent(val: string, reserved?: boolean, op?: string) {\n return (reserved ?? op === \"+\") || op === \"#\"\n ? encodeReservedComponent(val)\n : encodeRFC3986URIComponent(val);\n}\n\nfunction encodeReservedComponent(str: string) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map((part) => (!/%[0-9A-Fa-f]/.test(part) ? encodeURI(part) : part))\n .join(\"\");\n}\n\nfunction encodeRFC3986URIComponent(str: string) {\n return encodeURIComponent(str).replace(\n /[!'()*]/g,\n (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`,\n );\n}\n\nfunction isDefined(val: any) {\n return val !== undefined && val !== null;\n}\n\nfunction getNamedAndIfEmpty(op?: string): [boolean, string] {\n return [\n !!op && [\";\", \"?\", \"&\"].includes(op),\n !!op && [\"?\", \"&\"].includes(op) ? \"=\" : \"\",\n ];\n}\n\nfunction getFirstOrSep(op?: string, isFirst = false) {\n if (isFirst) {\n return !op || op === \"+\" ? \"\" : op;\n } else if (!op || op === \"+\" || op === \"#\") {\n return \",\";\n } else if (op === \"?\") {\n return \"&\";\n } else {\n return op;\n }\n}\n\nfunction getExpandedValue(option: ValueOptions) {\n let isFirst = option.isFirst;\n const { op, varName, varValue: value, reserved } = option;\n const vals: string[] = [];\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n // prepare the following parts: separator, varName, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (named && varName) {\n vals.push(`${encodeURIComponent(varName)}`);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n const val = value[key];\n if (!isDefined(val)) {\n continue;\n }\n // prepare the following parts: separator, key, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (key) {\n vals.push(`${encodeURIComponent(key)}`);\n named && val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n }\n return vals.join(\"\");\n}\n\nfunction getNonExpandedValue(option: ValueOptions) {\n const { op, varName, varValue: value, isFirst, reserved } = option;\n const vals: string[] = [];\n const first = getFirstOrSep(op, isFirst);\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n if (named && varName) {\n vals.push(encodeComponent(varName, reserved, op));\n if (value === \"\") {\n if (!ifEmpty) {\n vals.push(ifEmpty);\n }\n return !vals.join(\"\") ? undefined : `${first}${vals.join(\"\")}`;\n }\n vals.push(\"=\");\n }\n\n const items = [];\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n items.push(encodeComponent(val, reserved, op));\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n if (!isDefined(value[key])) {\n continue;\n }\n items.push(encodeRFC3986URIComponent(key));\n items.push(encodeComponent(value[key], reserved, op));\n }\n }\n vals.push(items.join(\",\"));\n return !vals.join(\",\") ? undefined : `${first}${vals.join(\"\")}`;\n}\n\nfunction getVarValue(option: ValueOptions): string | undefined {\n const { op, varName, modifier, isFirst, reserved, varValue: value } = option;\n\n if (!isDefined(value)) {\n return undefined;\n } else if ([\"string\", \"number\", \"boolean\"].includes(typeof value)) {\n let val = value.toString();\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n const vals: string[] = [getFirstOrSep(op, isFirst)];\n if (named && varName) {\n // No need to encode varName considering it is already encoded\n vals.push(varName);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n if (modifier && modifier !== \"*\") {\n val = val.substring(0, parseInt(modifier, 10));\n }\n vals.push(encodeComponent(val, reserved, op));\n return vals.join(\"\");\n } else if (modifier === \"*\") {\n return getExpandedValue(option);\n } else {\n return getNonExpandedValue(option);\n }\n}\n\n// ---------------------------------------------------------------------------------------------------\n// This is an implementation of RFC 6570 URI Template: https://datatracker.ietf.org/doc/html/rfc6570.\n// ---------------------------------------------------------------------------------------------------\nexport function expandUrlTemplate(\n template: string,\n context: Record<string, any>,\n option?: UrlTemplateOptions,\n): string {\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, (_, expr, text) => {\n if (!expr) {\n return encodeReservedComponent(text);\n }\n let op;\n if ([\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"].includes(expr[0])) {\n (op = expr[0]), (expr = expr.slice(1));\n }\n const varList = expr.split(/,/g);\n const result = [];\n for (const varSpec of varList) {\n const varMatch = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(varSpec);\n if (!varMatch || !varMatch[1]) {\n continue;\n }\n const varValue = getVarValue({\n isFirst: result.length === 0,\n op,\n varValue: context[varMatch[1]],\n varName: varMatch[1],\n modifier: varMatch[2] || varMatch[3],\n reserved: option?.allowReserved,\n });\n if (varValue) {\n result.push(varValue);\n }\n }\n return result.join(\"\");\n });\n}\n"]}