{"version":3,"sources":["../../src/velo-secrets-vault-v1-secret-secrets.http.ts","../../src/velo-secrets-vault-v1-secret-secrets.types.ts","../../src/velo-secrets-vault-v1-secret-secrets.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'service.wix-code.com': [\n      {\n        srcPath: '/_api/cloud-secrets-vault-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/secrets-service',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/cloud-secrets-vault-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/secrets-service',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/cloud-secrets-vault-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/secrets-service',\n        destPath: '',\n      },\n    ],\n    'service-int.wix-code.com': [\n      {\n        srcPath: '/_api/cloud-secrets-vault-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/secrets-service',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/_api/cloud-secrets-vault-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/secrets-service',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_secrets_secrets';\n\n/**\n * Retrieves a secret value by name.\n *\n * <blockquote class=\"caution\">\n * __Caution:__\n * Only use a secret's value in the backend code. Returning the secret value in the frontend is a security risk.\n * </blockquote>\n */\nexport function getSecretValue(payload: object): RequestOptionsFactory<any> {\n  function __getSecretValue({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.velo.secrets_vault.v1.secret',\n      method: 'GET' as any,\n      methodFqn: 'wix.velo.secrets_vault.v1.SecretsVaultService.GetSecretValue',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl({\n        protoPath: '/api/v1/secrets/name/{name}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getSecretValue;\n}\n\n/**\n * Retrieves a list of secrets.\n *\n * > **Note:** This method doesn't return the secret's value for security reasons. To retrieve the value, call [Get Secret Value](https://dev.wix.com/docs/rest/business-management/secrets/get-secret-value).\n */\nexport function listSecretInfo(payload: object): RequestOptionsFactory<any> {\n  function __listSecretInfo({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.velo.secrets_vault.v1.secret',\n      method: 'GET' as any,\n      methodFqn: 'wix.velo.secrets_vault.v1.SecretsVaultService.ListSecretInfo',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl({\n        protoPath: '/api/v1/secrets',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'secrets.createdDate' },\n              { path: 'secrets.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listSecretInfo;\n}\n\n/** Creates a secret. */\nexport function createSecret(payload: object): RequestOptionsFactory<any> {\n  function __createSecret({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'secret.createdDate' }, { path: 'secret.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.velo.secrets_vault.v1.secret',\n      method: 'POST' as any,\n      methodFqn: 'wix.velo.secrets_vault.v1.SecretsVaultService.CreateSecret',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl({\n        protoPath: '/api/v1/secrets',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __createSecret;\n}\n\n/**\n * Deletes a secret.\n *\n * <blockquote class=\"warning\">\n * <strong>Warning:</strong>\n * Deleting a secret is irreversible and will break all code using the secret.\n * </blockquote>\n */\nexport function deleteSecret(payload: object): RequestOptionsFactory<any> {\n  function __deleteSecret({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.velo.secrets_vault.v1.secret',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.velo.secrets_vault.v1.SecretsVaultService.DeleteSecret',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl({\n        protoPath: '/api/v1/secrets/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteSecret;\n}\n\n/**\n * Updates 1 or all fields of a secret.\n *\n * To get the secret ID, call [List Secret Info](https://dev.wix.com/docs/rest/business-management/secrets/list-secret-info).\n */\nexport function partiallyUpdateSecret(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __partiallyUpdateSecret({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'secret.createdDate' }, { path: 'secret.updatedDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.velo.secrets_vault.v1.secret',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.velo.secrets_vault.v1.SecretsVaultService.PartiallyUpdateSecret',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixVeloSecretsVaultV1SecretsVaultServiceUrl({\n        protoPath: '/api/v1/secrets/{id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __partiallyUpdateSecret;\n}\n","export interface Secret {\n  /**\n   * Unique secret ID.\n   * @readonly\n   * @format GUID\n   */\n  id?: string | null;\n  /**\n   * A unique, human-friendly name for the secret. Use it to retrieve the secret value with Get Secret Value.\n   *\n   * **Note:** You can use alphanumeric characters and the following special characters: `_+=-@#$`. Spaces are not supported.\n   * @maxLength 50\n   */\n  name?: string | null;\n  /**\n   * Optional text describing the secret's purpose or any other notes about it.\n   * @maxLength 200\n   */\n  description?: string | null;\n  /**\n   * The encrypted confidential value.\n   * @minLength 1\n   * @maxLength 3500\n   */\n  value?: string | null;\n  /**\n   * Date and time when the secret was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time when the secret was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n}\n\nexport interface GetSecretValueRequest {\n  /** Secret name. */\n  name: string;\n}\n\nexport interface GetSecretValueResponse {\n  /** The confidential value to protect, such as an API key. */\n  value?: string;\n}\n\nexport interface ListSecretInfoRequest {}\n\nexport interface ListSecretInfoResponse {\n  /** A list of secrets with encrypted values. */\n  secrets?: Secret[];\n}\n\nexport interface CreateSecretRequest {\n  /** Details of a secret. */\n  secret: Secret;\n}\n\nexport interface CreateSecretResponse {\n  /** Unique secret ID. */\n  id?: string;\n}\n\nexport interface DeleteSecretRequest {\n  /**\n   * ID of the secret to delete.\n   * @format GUID\n   */\n  id: string;\n}\n\nexport interface DeleteSecretResponse {}\n\nexport interface UpdateSecretRequest {\n  /**\n   * ID of the secret to update.\n   * @format GUID\n   */\n  id: string;\n  /** Details of a secret. */\n  secret: Secret;\n}\n\nexport interface UpdateSecretResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n","import * as ambassadorWixVeloSecretsVaultV1Secret from './velo-secrets-vault-v1-secret-secrets.http.js';\nimport * as ambassadorWixVeloSecretsVaultV1SecretTypes from './velo-secrets-vault-v1-secret-secrets.types.js';\nimport * as ambassadorWixVeloSecretsVaultV1SecretUniversalTypes from './velo-secrets-vault-v1-secret-secrets.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function getSecretValue(): __PublicMethodMetaInfo<\n  'GET',\n  { name: string },\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.GetSecretValueRequest,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.GetSecretValueRequest,\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.GetSecretValueResponse,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.GetSecretValueResponse\n> {\n  const payload = { name: ':name' } as any;\n\n  const getRequestOptions =\n    ambassadorWixVeloSecretsVaultV1Secret.getSecretValue(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/api/v1/secrets/name/{name}',\n    pathParams: { name: 'name' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listSecretInfo(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.ListSecretInfoRequest,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.ListSecretInfoRequest,\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.ListSecretInfoResponse,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.ListSecretInfoResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixVeloSecretsVaultV1Secret.listSecretInfo(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/api/v1/secrets',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createSecret(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.CreateSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.CreateSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.CreateSecretResponse,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.CreateSecretResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixVeloSecretsVaultV1Secret.createSecret(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/api/v1/secrets',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteSecret(): __PublicMethodMetaInfo<\n  'DELETE',\n  { id: string },\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.DeleteSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.DeleteSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.DeleteSecretResponse,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.DeleteSecretResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixVeloSecretsVaultV1Secret.deleteSecret(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/api/v1/secrets/{id}',\n    pathParams: { id: 'id' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateSecret(): __PublicMethodMetaInfo<\n  'PATCH',\n  { id: string },\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.UpdateSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.UpdateSecretRequest,\n  ambassadorWixVeloSecretsVaultV1SecretUniversalTypes.UpdateSecretResponse,\n  ambassadorWixVeloSecretsVaultV1SecretTypes.UpdateSecretResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixVeloSecretsVaultV1Secret.partiallyUpdateSecret(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/api/v1/secrets/{id}',\n    pathParams: { id: 'id' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  Secret as SecretOriginal,\n  GetSecretValueRequest as GetSecretValueRequestOriginal,\n  GetSecretValueResponse as GetSecretValueResponseOriginal,\n  ListSecretInfoRequest as ListSecretInfoRequestOriginal,\n  ListSecretInfoResponse as ListSecretInfoResponseOriginal,\n  CreateSecretRequest as CreateSecretRequestOriginal,\n  CreateSecretResponse as CreateSecretResponseOriginal,\n  DeleteSecretRequest as DeleteSecretRequestOriginal,\n  DeleteSecretResponse as DeleteSecretResponseOriginal,\n  UpdateSecretRequest as UpdateSecretRequestOriginal,\n  UpdateSecretResponse as UpdateSecretResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './velo-secrets-vault-v1-secret-secrets.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,mDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAA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;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACkC,aAAa,OAAO;AAE5D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACkC,aAAa,OAAO;AAE5D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAAS,eAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACkC,sBAAsB,OAAO;AAErE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","WebhookIdentityType","getSecretValue","listSecretInfo","createSecret","deleteSecret"]}