@azure/arm-orbital 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +98 -0
  4. package/dist/index.js +2783 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/azureOrbital.d.ts +19 -0
  9. package/dist-esm/src/azureOrbital.d.ts.map +1 -0
  10. package/dist-esm/src/azureOrbital.js +26 -0
  11. package/dist-esm/src/azureOrbital.js.map +1 -0
  12. package/dist-esm/src/azureOrbitalContext.d.ts +16 -0
  13. package/dist-esm/src/azureOrbitalContext.d.ts.map +1 -0
  14. package/dist-esm/src/azureOrbitalContext.js +49 -0
  15. package/dist-esm/src/azureOrbitalContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +757 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +61 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +30 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/dist-esm/src/models/mappers.js +1041 -0
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +33 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +218 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/availableGroundStations.d.ts +41 -0
  37. package/dist-esm/src/operations/availableGroundStations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/availableGroundStations.js +155 -0
  39. package/dist-esm/src/operations/availableGroundStations.js.map +1 -0
  40. package/dist-esm/src/operations/contactProfiles.d.ts +86 -0
  41. package/dist-esm/src/operations/contactProfiles.d.ts.map +1 -0
  42. package/dist-esm/src/operations/contactProfiles.js +392 -0
  43. package/dist-esm/src/operations/contactProfiles.js.map +1 -0
  44. package/dist-esm/src/operations/contacts.d.ts +73 -0
  45. package/dist-esm/src/operations/contacts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/contacts.js +295 -0
  47. package/dist-esm/src/operations/contacts.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +6 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +13 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +26 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +90 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operations/spacecrafts.d.ts +108 -0
  57. package/dist-esm/src/operations/spacecrafts.d.ts.map +1 -0
  58. package/dist-esm/src/operations/spacecrafts.js +499 -0
  59. package/dist-esm/src/operations/spacecrafts.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/availableGroundStations.d.ts +18 -0
  61. package/dist-esm/src/operationsInterfaces/availableGroundStations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/availableGroundStations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/availableGroundStations.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/contactProfiles.d.ts +63 -0
  65. package/dist-esm/src/operationsInterfaces/contactProfiles.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/contactProfiles.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/contactProfiles.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/contacts.d.ts +56 -0
  69. package/dist-esm/src/operationsInterfaces/contacts.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/contacts.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/contacts.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/spacecrafts.d.ts +85 -0
  81. package/dist-esm/src/operationsInterfaces/spacecrafts.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/spacecrafts.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/spacecrafts.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +2 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +40 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +92 -0
  89. package/review/arm-orbital.api.md +600 -0
  90. package/rollup.config.js +188 -0
  91. package/src/azureOrbital.ts +52 -0
  92. package/src/azureOrbitalContext.ts +70 -0
  93. package/src/index.ts +13 -0
  94. package/src/lroImpl.ts +34 -0
  95. package/src/models/index.ts +853 -0
  96. package/src/models/mappers.ts +1111 -0
  97. package/src/models/parameters.ts +260 -0
  98. package/src/operations/availableGroundStations.ts +199 -0
  99. package/src/operations/contactProfiles.ts +510 -0
  100. package/src/operations/contacts.ts +412 -0
  101. package/src/operations/index.ts +13 -0
  102. package/src/operations/operations.ts +98 -0
  103. package/src/operations/spacecrafts.ts +669 -0
  104. package/src/operationsInterfaces/availableGroundStations.ts +39 -0
  105. package/src/operationsInterfaces/contactProfiles.ts +121 -0
  106. package/src/operationsInterfaces/contacts.ts +109 -0
  107. package/src/operationsInterfaces/index.ts +13 -0
  108. package/src/operationsInterfaces/operations.ts +22 -0
  109. package/src/operationsInterfaces/spacecrafts.ts +167 -0
  110. package/tsconfig.json +19 -0
  111. package/types/arm-orbital.d.ts +1097 -0
  112. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/lroImpl.ts","../src/operations/spacecrafts.ts","../src/operations/contacts.ts","../src/operations/contactProfiles.ts","../src/operations/availableGroundStations.ts","../src/azureOrbitalContext.ts","../src/azureOrbital.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\n/** An error response from the service. */\nexport interface CloudError {\n /** An error response from the service. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** Response for the ListSpacecrafts API service call. */\nexport interface SpacecraftListResult {\n /** A list of spacecraft resources in a resource group. */\n value?: Spacecraft[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Spacecraft Link */\nexport interface SpacecraftLink {\n /** Center Frequency in MHz */\n centerFrequencyMHz: number;\n /** Bandwidth in MHz */\n bandwidthMHz: number;\n /** Direction (uplink or downlink) */\n direction: Direction;\n /** polarization. eg (RHCP, LHCP) */\n polarization: Polarization;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Tags object for patch operations. */\nexport interface TagsObject {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** Response for the ListContacts API service call. */\nexport interface ContactListResult {\n /** A list of contact resources in a resource group. */\n value?: Contact[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Resource Reference */\nexport interface ResourceReference {\n /** Resource ID. */\n id?: string;\n}\n\n/** Parameters that define the contact resource. */\nexport interface ContactParameters {\n /** The reference to the contact profile resource. */\n contactProfile: ResourceReference;\n /** Name of Azure Ground Station. */\n groundStationName: string;\n /** Start time of a contact. */\n startTime: Date;\n /** End time of a contact. */\n endTime: Date;\n}\n\n/** Response for the ListAvailableContacts API service call. */\nexport interface AvailableContactsListResult {\n /** A list of available contacts */\n value?: AvailableContacts[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Customer retrieves list of Available Contacts for a spacecraft resource. Later, one of the available contact can be selected to create a contact. */\nexport interface AvailableContacts {\n /** The reference to the spacecraft resource. */\n spacecraft?: ResourceReference;\n /**\n * Name of Azure Ground Station.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly groundStationName?: string;\n /**\n * Maximum elevation of the antenna during the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maximumElevationDegrees?: number;\n /**\n * Time at which antenna transmit will be enabled.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly txStartTime?: Date;\n /**\n * Time at which antenna transmit will be disabled.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly txEndTime?: Date;\n /**\n * Earliest time to receive a signal.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly rxStartTime?: Date;\n /**\n * Time to lost receiving a signal.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly rxEndTime?: Date;\n /**\n * Azimuth of the antenna at the start of the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startAzimuthDegrees?: number;\n /**\n * Azimuth of the antenna at the end of the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endAzimuthDegrees?: number;\n /**\n * Spacecraft elevation above the horizon at contact start.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startElevationDegrees?: number;\n /**\n * Spacecraft elevation above the horizon at contact end.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endElevationDegrees?: number;\n}\n\n/** Contact Profile link */\nexport interface ContactProfileLink {\n /** polarization. eg (RHCP, LHCP) */\n polarization: Polarization;\n /** Direction (uplink or downlink) */\n direction: Direction;\n /** Gain To Noise Temperature in db/K. */\n gainOverTemperature?: number;\n /** Effective Isotropic Radiated Power (EIRP) in dBW. */\n eirpdBW?: number;\n /** Contact Profile Link Channel */\n channels: ContactProfileLinkChannel[];\n}\n\n/** Contact Profile Link Channel */\nexport interface ContactProfileLinkChannel {\n /** Center Frequency in MHz */\n centerFrequencyMHz: number;\n /** Bandwidth in MHz */\n bandwidthMHz: number;\n /** Customer End point to store/retrieve data during a contact. */\n endPoint: EndPoint;\n /** Configuration for modulation */\n modulationConfiguration?: string;\n /** Configuration for demodulation */\n demodulationConfiguration?: string;\n /** Configuration for encoding */\n encodingConfiguration?: string;\n /** Configuration for decoding */\n decodingConfiguration?: string;\n}\n\n/** Customer End point to store/retrieve data during a contact. */\nexport interface EndPoint {\n /** IP Address. */\n ipAddress: string;\n /** Name of an end point. */\n endPointName: string;\n /** TCP port to listen on to receive data. */\n port: string;\n /** Protocol either UDP or TCP. */\n protocol: Protocol;\n}\n\n/** Response for the ListContactProfiles API service call. */\nexport interface ContactProfileListResult {\n /** A list of contact profile resources in a resource group. */\n value?: ContactProfile[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Response for the AvailableGroundStations API service call. */\nexport interface AvailableGroundStationListResult {\n /** A list of ground station resources. */\n value?: AvailableGroundStation[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** GroundStations available to schedule Contacts */\nexport interface AvailableGroundStation {\n /**\n * Id of groundStation\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of the ground station.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** Azure region */\n location?: string;\n /**\n * Resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** City of ground station. */\n city?: string;\n /** Ground station provider name. */\n providerName?: string;\n /** Longitude of the ground station in decimal degrees. */\n longitudeDegrees?: number;\n /** Latitude of the ground station in decimal degrees. */\n latitudeDegrees?: number;\n /** Altitude of the ground station */\n altitudeMeters?: number;\n}\n\n/** Response for an API service call that lists the resource IDs of resources associated with another resource. */\nexport interface ResourceIdListResult {\n /** A list of Azure Resource IDs. */\n value?: ResourceIdListResultValueItem[];\n /**\n * The URL to get the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\nexport interface ResourceIdListResultValueItem {\n /** The Azure Resource ID */\n id?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport type TrackedResource = Resource & {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n};\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport type ProxyResource = Resource & {};\n\n/** Customer creates a spacecraft resource to schedule a contact. */\nexport type Spacecraft = TrackedResource & {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /** NORAD ID of the spacecraft. */\n noradId?: string;\n /**\n * Authorization status of spacecraft.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly authorizationStatus?: AuthorizationStatus;\n /**\n * Details of the authorization status.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly authorizationStatusExtended?: string;\n /** Title line of Two Line Element (TLE). */\n titleLine?: string;\n /** Line 1 of Two Line Element (TLE). */\n tleLine1?: string;\n /** Line 2 of Two Line Element (TLE). */\n tleLine2?: string;\n /** Links of the Spacecraft */\n links?: SpacecraftLink[];\n};\n\n/** Customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact. */\nexport type ContactProfile = TrackedResource & {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /** Minimum viable contact duration in ISO 8601 format. */\n minimumViableContactDuration?: string;\n /** Minimum viable elevation for the contact in decimal degrees. */\n minimumElevationDegrees?: number;\n /** Auto track configuration. */\n autoTrackingConfiguration?: AutoTrackingConfiguration;\n /** Links of the Contact Profile */\n links?: ContactProfileLink[];\n};\n\n/** Customer creates a contact resource for a spacecraft resource. */\nexport type Contact = ProxyResource & {\n /**\n * A unique read-only string that changes whenever the resource is updated.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly etag?: string;\n /**\n * Status of a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly status?: Status;\n /** Reservation start time of a contact. */\n reservationStartTime?: Date;\n /** Reservation end time of a contact. */\n reservationEndTime?: Date;\n /**\n * Receive start time of a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly rxStartTime?: Date;\n /**\n * Receive end time of a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly rxEndTime?: Date;\n /**\n * Transmit start time of a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly txStartTime?: Date;\n /**\n * Transmit end time of a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly txEndTime?: Date;\n /**\n * Any error message while scheduling a contact.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly errorMessage?: string;\n /**\n * Maximum elevation of the antenna during the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maximumElevationDegrees?: number;\n /**\n * Azimuth of the antenna at the start of the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startAzimuthDegrees?: number;\n /**\n * Azimuth of the antenna at the end of the contact in decimal degrees.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endAzimuthDegrees?: number;\n /** Azure Ground Station name. */\n groundStationName?: string;\n /**\n * Spacecraft elevation above the horizon at contact start.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startElevationDegrees?: number;\n /**\n * Spacecraft elevation above the horizon at contact end.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly endElevationDegrees?: number;\n /** The reference to the contact profile resource. */\n contactProfile?: ResourceReference;\n};\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n User = \"user\",\n System = \"system\",\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Known values of {@link Direction} that the service accepts. */\nexport enum KnownDirection {\n Uplink = \"uplink\",\n Downlink = \"downlink\"\n}\n\n/**\n * Defines values for Direction. \\\n * {@link KnownDirection} can be used interchangeably with Direction,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **uplink** \\\n * **downlink**\n */\nexport type Direction = string;\n\n/** Known values of {@link Polarization} that the service accepts. */\nexport enum KnownPolarization {\n Rhcp = \"RHCP\",\n Lhcp = \"LHCP\",\n DualRhcpLhcp = \"dualRhcpLhcp\",\n LinearVertical = \"linearVertical\",\n LinearHorizontal = \"linearHorizontal\"\n}\n\n/**\n * Defines values for Polarization. \\\n * {@link KnownPolarization} can be used interchangeably with Polarization,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **RHCP** \\\n * **LHCP** \\\n * **dualRhcpLhcp** \\\n * **linearVertical** \\\n * **linearHorizontal**\n */\nexport type Polarization = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link Protocol} that the service accepts. */\nexport enum KnownProtocol {\n TCP = \"TCP\",\n UDP = \"UDP\"\n}\n\n/**\n * Defines values for Protocol. \\\n * {@link KnownProtocol} can be used interchangeably with Protocol,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TCP** \\\n * **UDP**\n */\nexport type Protocol = string;\n\n/** Known values of {@link Enum6} that the service accepts. */\nexport enum KnownEnum6 {\n EarthObservation = \"EarthObservation\",\n Communication = \"Communication\"\n}\n\n/**\n * Defines values for Enum6. \\\n * {@link KnownEnum6} can be used interchangeably with Enum6,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EarthObservation** \\\n * **Communication**\n */\nexport type Enum6 = string;\n\n/** Known values of {@link Capability} that the service accepts. */\nexport enum KnownCapability {\n EarthObservation = \"EarthObservation\",\n Communication = \"Communication\"\n}\n\n/**\n * Defines values for Capability. \\\n * {@link KnownCapability} can be used interchangeably with Capability,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EarthObservation** \\\n * **Communication**\n */\nexport type Capability = string;\n/** Defines values for AuthorizationStatus. */\nexport type AuthorizationStatus = \"Allowed\" | \"Pending\" | \"Denied\";\n/** Defines values for Status. */\nexport type Status =\n | \"scheduled\"\n | \"cancelled\"\n | \"succeeded\"\n | \"failed\"\n | \"providerCancelled\";\n/** Defines values for AutoTrackingConfiguration. */\nexport type AutoTrackingConfiguration = \"disabled\" | \"xBand\" | \"sBand\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface SpacecraftsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type SpacecraftsListBySubscriptionResponse = SpacecraftListResult;\n\n/** Optional parameters. */\nexport interface SpacecraftsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type SpacecraftsListResponse = SpacecraftListResult;\n\n/** Optional parameters. */\nexport interface SpacecraftsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SpacecraftsGetResponse = Spacecraft;\n\n/** Optional parameters. */\nexport interface SpacecraftsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** NORAD ID of the spacecraft. */\n noradId?: string;\n /** Title line of Two Line Element (TLE). */\n titleLine?: string;\n /** Line 1 of Two Line Element (TLE). */\n tleLine1?: string;\n /** Line 2 of Two Line Element (TLE). */\n tleLine2?: string;\n /** Links of the Spacecraft */\n links?: SpacecraftLink[];\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type SpacecraftsCreateOrUpdateResponse = Spacecraft;\n\n/** Optional parameters. */\nexport interface SpacecraftsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface SpacecraftsUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type SpacecraftsUpdateTagsResponse = Spacecraft;\n\n/** Optional parameters. */\nexport interface SpacecraftsListAvailableContactsOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the listAvailableContacts operation. */\nexport type SpacecraftsListAvailableContactsResponse = AvailableContactsListResult;\n\n/** Optional parameters. */\nexport interface ContactsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ContactsListResponse = ContactListResult;\n\n/** Optional parameters. */\nexport interface ContactsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ContactsGetResponse = Contact;\n\n/** Optional parameters. */\nexport interface ContactsCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type ContactsCreateResponse = Contact;\n\n/** Optional parameters. */\nexport interface ContactsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ContactProfilesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ContactProfilesGetResponse = ContactProfile;\n\n/** Optional parameters. */\nexport interface ContactProfilesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Minimum viable contact duration in ISO 8601 format. */\n minimumViableContactDuration?: string;\n /** Minimum viable elevation for the contact in decimal degrees. */\n minimumElevationDegrees?: number;\n /** Auto track configuration. */\n autoTrackingConfiguration?: AutoTrackingConfiguration;\n /** Links of the Contact Profile */\n links?: ContactProfileLink[];\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ContactProfilesCreateOrUpdateResponse = ContactProfile;\n\n/** Optional parameters. */\nexport interface ContactProfilesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ContactProfilesUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type ContactProfilesUpdateTagsResponse = ContactProfile;\n\n/** Optional parameters. */\nexport interface ContactProfilesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ContactProfilesListBySubscriptionResponse = ContactProfileListResult;\n\n/** Optional parameters. */\nexport interface ContactProfilesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ContactProfilesListResponse = ContactProfileListResult;\n\n/** Optional parameters. */\nexport interface AvailableGroundStationsListByCapabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCapability operation. */\nexport type AvailableGroundStationsListByCapabilityResponse = AvailableGroundStationListResult;\n\n/** Optional parameters. */\nexport interface AvailableGroundStationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AvailableGroundStationsGetResponse = AvailableGroundStation;\n\n/** Optional parameters. */\nexport interface AvailableGroundStationsListByCapabilityNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCapabilityNext operation. */\nexport type AvailableGroundStationsListByCapabilityNextResponse = AvailableGroundStationListResult;\n\n/** Optional parameters. */\nexport interface AzureOrbitalOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SpacecraftListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SpacecraftListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Spacecraft\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SpacecraftLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SpacecraftLink\",\n modelProperties: {\n centerFrequencyMHz: {\n serializedName: \"centerFrequencyMHz\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n bandwidthMHz: {\n serializedName: \"bandwidthMHz\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n direction: {\n serializedName: \"direction\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n polarization: {\n serializedName: \"polarization\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const TagsObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagsObject\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ContactListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Contact\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceReference: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceReference\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContactParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactParameters\",\n modelProperties: {\n contactProfile: {\n serializedName: \"contactProfile\",\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n },\n groundStationName: {\n serializedName: \"groundStationName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n },\n endTime: {\n serializedName: \"endTime\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const AvailableContactsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailableContactsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AvailableContacts\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AvailableContacts: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailableContacts\",\n modelProperties: {\n spacecraft: {\n serializedName: \"spacecraft\",\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n },\n groundStationName: {\n serializedName: \"groundStationName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n maximumElevationDegrees: {\n serializedName: \"properties.maximumElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n txStartTime: {\n serializedName: \"properties.txStartTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n txEndTime: {\n serializedName: \"properties.txEndTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n rxStartTime: {\n serializedName: \"properties.rxStartTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n rxEndTime: {\n serializedName: \"properties.rxEndTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n startAzimuthDegrees: {\n serializedName: \"properties.startAzimuthDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n endAzimuthDegrees: {\n serializedName: \"properties.endAzimuthDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n startElevationDegrees: {\n serializedName: \"properties.startElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n endElevationDegrees: {\n serializedName: \"properties.endElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ContactProfileLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactProfileLink\",\n modelProperties: {\n polarization: {\n serializedName: \"polarization\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n direction: {\n serializedName: \"direction\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n gainOverTemperature: {\n serializedName: \"gainOverTemperature\",\n type: {\n name: \"Number\"\n }\n },\n eirpdBW: {\n serializedName: \"eirpdBW\",\n type: {\n name: \"Number\"\n }\n },\n channels: {\n serializedName: \"channels\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ContactProfileLinkChannel\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ContactProfileLinkChannel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactProfileLinkChannel\",\n modelProperties: {\n centerFrequencyMHz: {\n serializedName: \"centerFrequencyMHz\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n bandwidthMHz: {\n serializedName: \"bandwidthMHz\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n endPoint: {\n serializedName: \"endPoint\",\n type: {\n name: \"Composite\",\n className: \"EndPoint\"\n }\n },\n modulationConfiguration: {\n serializedName: \"modulationConfiguration\",\n type: {\n name: \"String\"\n }\n },\n demodulationConfiguration: {\n serializedName: \"demodulationConfiguration\",\n type: {\n name: \"String\"\n }\n },\n encodingConfiguration: {\n serializedName: \"encodingConfiguration\",\n type: {\n name: \"String\"\n }\n },\n decodingConfiguration: {\n serializedName: \"decodingConfiguration\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EndPoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndPoint\",\n modelProperties: {\n ipAddress: {\n serializedName: \"ipAddress\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n endPointName: {\n serializedName: \"endPointName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n port: {\n serializedName: \"port\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n protocol: {\n serializedName: \"protocol\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ContactProfileListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactProfileListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ContactProfile\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AvailableGroundStationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailableGroundStationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AvailableGroundStation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AvailableGroundStation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailableGroundStation\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n city: {\n serializedName: \"properties.city\",\n type: {\n name: \"String\"\n }\n },\n providerName: {\n serializedName: \"properties.providerName\",\n type: {\n name: \"String\"\n }\n },\n longitudeDegrees: {\n serializedName: \"properties.longitudeDegrees\",\n type: {\n name: \"Number\"\n }\n },\n latitudeDegrees: {\n serializedName: \"properties.latitudeDegrees\",\n type: {\n name: \"Number\"\n }\n },\n altitudeMeters: {\n serializedName: \"properties.altitudeMeters\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ResourceIdListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceIdListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceIdListResultValueItem\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceIdListResultValueItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceIdListResultValueItem\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const Spacecraft: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Spacecraft\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n noradId: {\n serializedName: \"properties.noradId\",\n type: {\n name: \"String\"\n }\n },\n authorizationStatus: {\n serializedName: \"properties.authorizationStatus\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"Allowed\", \"Pending\", \"Denied\"]\n }\n },\n authorizationStatusExtended: {\n serializedName: \"properties.authorizationStatusExtended\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n titleLine: {\n serializedName: \"properties.titleLine\",\n type: {\n name: \"String\"\n }\n },\n tleLine1: {\n serializedName: \"properties.tleLine1\",\n type: {\n name: \"String\"\n }\n },\n tleLine2: {\n serializedName: \"properties.tleLine2\",\n type: {\n name: \"String\"\n }\n },\n links: {\n serializedName: \"properties.links\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SpacecraftLink\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ContactProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactProfile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n minimumViableContactDuration: {\n serializedName: \"properties.minimumViableContactDuration\",\n type: {\n name: \"String\"\n }\n },\n minimumElevationDegrees: {\n serializedName: \"properties.minimumElevationDegrees\",\n type: {\n name: \"Number\"\n }\n },\n autoTrackingConfiguration: {\n serializedName: \"properties.autoTrackingConfiguration\",\n type: {\n name: \"Enum\",\n allowedValues: [\"disabled\", \"xBand\", \"sBand\"]\n }\n },\n links: {\n serializedName: \"properties.links\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ContactProfileLink\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Contact: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Contact\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"scheduled\",\n \"cancelled\",\n \"succeeded\",\n \"failed\",\n \"providerCancelled\"\n ]\n }\n },\n reservationStartTime: {\n serializedName: \"properties.reservationStartTime\",\n type: {\n name: \"DateTime\"\n }\n },\n reservationEndTime: {\n serializedName: \"properties.reservationEndTime\",\n type: {\n name: \"DateTime\"\n }\n },\n rxStartTime: {\n serializedName: \"properties.rxStartTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n rxEndTime: {\n serializedName: \"properties.rxEndTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n txStartTime: {\n serializedName: \"properties.txStartTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n txEndTime: {\n serializedName: \"properties.txEndTime\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n errorMessage: {\n serializedName: \"properties.errorMessage\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n maximumElevationDegrees: {\n serializedName: \"properties.maximumElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n startAzimuthDegrees: {\n serializedName: \"properties.startAzimuthDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n endAzimuthDegrees: {\n serializedName: \"properties.endAzimuthDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n groundStationName: {\n serializedName: \"properties.groundStationName\",\n type: {\n name: \"String\"\n }\n },\n startElevationDegrees: {\n serializedName: \"properties.startElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n endElevationDegrees: {\n serializedName: \"properties.endElevationDegrees\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n contactProfile: {\n serializedName: \"properties.contactProfile\",\n type: {\n name: \"Composite\",\n className: \"ResourceReference\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Spacecraft as SpacecraftMapper,\n TagsObject as TagsObjectMapper,\n ContactParameters as ContactParametersMapper,\n Contact as ContactMapper,\n ContactProfile as ContactProfileMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-04-04-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const spacecraftName: OperationURLParameter = {\n parameterPath: \"spacecraftName\",\n mapper: {\n serializedName: \"spacecraftName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: SpacecraftMapper\n};\n\nexport const location: OperationParameter = {\n parameterPath: \"location\",\n mapper: SpacecraftMapper\n};\n\nexport const noradId: OperationParameter = {\n parameterPath: [\"options\", \"noradId\"],\n mapper: SpacecraftMapper\n};\n\nexport const titleLine: OperationParameter = {\n parameterPath: [\"options\", \"titleLine\"],\n mapper: SpacecraftMapper\n};\n\nexport const tleLine1: OperationParameter = {\n parameterPath: [\"options\", \"tleLine1\"],\n mapper: SpacecraftMapper\n};\n\nexport const tleLine2: OperationParameter = {\n parameterPath: [\"options\", \"tleLine2\"],\n mapper: SpacecraftMapper\n};\n\nexport const links: OperationParameter = {\n parameterPath: [\"options\", \"links\"],\n mapper: SpacecraftMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsObjectMapper\n};\n\nexport const contactProfile: OperationParameter = {\n parameterPath: \"contactProfile\",\n mapper: ContactParametersMapper\n};\n\nexport const groundStationName: OperationParameter = {\n parameterPath: \"groundStationName\",\n mapper: ContactParametersMapper\n};\n\nexport const startTime: OperationParameter = {\n parameterPath: \"startTime\",\n mapper: ContactParametersMapper\n};\n\nexport const endTime: OperationParameter = {\n parameterPath: \"endTime\",\n mapper: ContactParametersMapper\n};\n\nexport const contactName: OperationURLParameter = {\n parameterPath: \"contactName\",\n mapper: {\n serializedName: \"contactName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ContactMapper\n};\n\nexport const contactProfileName: OperationURLParameter = {\n parameterPath: \"contactProfileName\",\n mapper: {\n serializedName: \"contactProfileName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tags1: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: ContactProfileMapper\n};\n\nexport const location1: OperationParameter = {\n parameterPath: \"location\",\n mapper: ContactProfileMapper\n};\n\nexport const minimumViableContactDuration: OperationParameter = {\n parameterPath: [\"options\", \"minimumViableContactDuration\"],\n mapper: ContactProfileMapper\n};\n\nexport const minimumElevationDegrees: OperationParameter = {\n parameterPath: [\"options\", \"minimumElevationDegrees\"],\n mapper: ContactProfileMapper\n};\n\nexport const autoTrackingConfiguration: OperationParameter = {\n parameterPath: [\"options\", \"autoTrackingConfiguration\"],\n mapper: ContactProfileMapper\n};\n\nexport const links1: OperationParameter = {\n parameterPath: [\"options\", \"links\"],\n mapper: ContactProfileMapper\n};\n\nexport const capability: OperationQueryParameter = {\n parameterPath: \"capability\",\n mapper: {\n defaultValue: \"EarthObservation\",\n serializedName: \"capability\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const groundStationName1: OperationURLParameter = {\n parameterPath: \"groundStationName\",\n mapper: {\n serializedName: \"groundStationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureOrbitalContext } from \"../azureOrbitalContext\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: AzureOrbitalContext;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureOrbitalContext) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Orbital Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Orbital Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Orbital/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Spacecrafts } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureOrbitalContext } from \"../azureOrbitalContext\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Spacecraft,\n SpacecraftsListBySubscriptionOptionalParams,\n SpacecraftsListOptionalParams,\n SpacecraftsListBySubscriptionResponse,\n SpacecraftsListResponse,\n SpacecraftsGetOptionalParams,\n SpacecraftsGetResponse,\n SpacecraftsCreateOrUpdateOptionalParams,\n SpacecraftsCreateOrUpdateResponse,\n SpacecraftsDeleteOptionalParams,\n TagsObject,\n SpacecraftsUpdateTagsOptionalParams,\n SpacecraftsUpdateTagsResponse,\n ResourceReference,\n SpacecraftsListAvailableContactsOptionalParams,\n SpacecraftsListAvailableContactsResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Spacecrafts operations. */\nexport class SpacecraftsImpl implements Spacecrafts {\n private readonly client: AzureOrbitalContext;\n\n /**\n * Initialize a new instance of the class Spacecrafts class.\n * @param client Reference to the service client\n */\n constructor(client: AzureOrbitalContext) {\n this.client = client;\n }\n\n /**\n * Return list of spacecrafts\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: SpacecraftsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Spacecraft> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: SpacecraftsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Spacecraft[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: SpacecraftsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Spacecraft> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of spacecrafts\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: SpacecraftsListOptionalParams\n ): PagedAsyncIterableIterator<Spacecraft> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: SpacecraftsListOptionalParams\n ): AsyncIterableIterator<Spacecraft[]> {\n let result = await this._list(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: SpacecraftsListOptionalParams\n ): AsyncIterableIterator<Spacecraft> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Return list of spacecrafts\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: SpacecraftsListBySubscriptionOptionalParams\n ): Promise<SpacecraftsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Return list of spacecrafts\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: SpacecraftsListOptionalParams\n ): Promise<SpacecraftsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the specified spacecraft in a specified resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n spacecraftName: string,\n options?: SpacecraftsGetOptionalParams\n ): Promise<SpacecraftsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, spacecraftName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a spacecraft resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param location The geo-location where the resource lives\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n spacecraftName: string,\n location: string,\n options?: SpacecraftsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SpacecraftsCreateOrUpdateResponse>,\n SpacecraftsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SpacecraftsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, spacecraftName, location, options },\n createOrUpdateOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n }\n\n /**\n * Creates or updates a spacecraft resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param location The geo-location where the resource lives\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n spacecraftName: string,\n location: string,\n options?: SpacecraftsCreateOrUpdateOptionalParams\n ): Promise<SpacecraftsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n spacecraftName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified spacecraft resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n spacecraftName: string,\n options?: SpacecraftsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, spacecraftName, options },\n deleteOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n }\n\n /**\n * Deletes a specified spacecraft resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n spacecraftName: string,\n options?: SpacecraftsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n spacecraftName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specified spacecraft tags.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param parameters Parameters supplied to update spacecraft tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n spacecraftName: string,\n parameters: TagsObject,\n options?: SpacecraftsUpdateTagsOptionalParams\n ): Promise<SpacecraftsUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, spacecraftName, parameters, options },\n updateTagsOperationSpec\n );\n }\n\n /**\n * Return list of available contacts\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactProfile The reference to the contact profile resource.\n * @param groundStationName Name of Azure Ground Station.\n * @param startTime Start time of a contact.\n * @param endTime End time of a contact.\n * @param options The options parameters.\n */\n async beginListAvailableContacts(\n resourceGroupName: string,\n spacecraftName: string,\n contactProfile: ResourceReference,\n groundStationName: string,\n startTime: Date,\n endTime: Date,\n options?: SpacecraftsListAvailableContactsOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SpacecraftsListAvailableContactsResponse>,\n SpacecraftsListAvailableContactsResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SpacecraftsListAvailableContactsResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n spacecraftName,\n contactProfile,\n groundStationName,\n startTime,\n endTime,\n options\n },\n listAvailableContactsOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n }\n\n /**\n * Return list of available contacts\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactProfile The reference to the contact profile resource.\n * @param groundStationName Name of Azure Ground Station.\n * @param startTime Start time of a contact.\n * @param endTime End time of a contact.\n * @param options The options parameters.\n */\n async beginListAvailableContactsAndWait(\n resourceGroupName: string,\n spacecraftName: string,\n contactProfile: ResourceReference,\n groundStationName: string,\n startTime: Date,\n endTime: Date,\n options?: SpacecraftsListAvailableContactsOptionalParams\n ): Promise<SpacecraftsListAvailableContactsResponse> {\n const poller = await this.beginListAvailableContacts(\n resourceGroupName,\n spacecraftName,\n contactProfile,\n groundStationName,\n startTime,\n endTime,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/spacecrafts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SpacecraftListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SpacecraftListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Spacecraft\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Spacecraft\n },\n 201: {\n bodyMapper: Mappers.Spacecraft\n },\n 202: {\n bodyMapper: Mappers.Spacecraft\n },\n 204: {\n bodyMapper: Mappers.Spacecraft\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n tags: [\"options\", \"tags\"],\n location: [\"location\"],\n noradId: [\"options\", \"noradId\"],\n titleLine: [\"options\", \"titleLine\"],\n tleLine1: [\"options\", \"tleLine1\"],\n tleLine2: [\"options\", \"tleLine2\"],\n links: [\"options\", \"links\"]\n },\n mapper: { ...Mappers.Spacecraft, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Spacecraft\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listAvailableContactsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/listAvailableContacts\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableContactsListResult\n },\n 201: {\n bodyMapper: Mappers.AvailableContactsListResult\n },\n 202: {\n bodyMapper: Mappers.AvailableContactsListResult\n },\n 204: {\n bodyMapper: Mappers.AvailableContactsListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n contactProfile: [\"contactProfile\"],\n groundStationName: [\"groundStationName\"],\n startTime: [\"startTime\"],\n endTime: [\"endTime\"]\n },\n mapper: { ...Mappers.ContactParameters, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Contacts } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureOrbitalContext } from \"../azureOrbitalContext\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Contact,\n ContactsListOptionalParams,\n ContactsListResponse,\n ContactsGetOptionalParams,\n ContactsGetResponse,\n ContactsCreateOptionalParams,\n ContactsCreateResponse,\n ContactsDeleteOptionalParams\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Contacts operations. */\nexport class ContactsImpl implements Contacts {\n private readonly client: AzureOrbitalContext;\n\n /**\n * Initialize a new instance of the class Contacts class.\n * @param client Reference to the service client\n */\n constructor(client: AzureOrbitalContext) {\n this.client = client;\n }\n\n /**\n * Returns list of contacts by spacecraftName\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n spacecraftName: string,\n options?: ContactsListOptionalParams\n ): PagedAsyncIterableIterator<Contact> {\n const iter = this.listPagingAll(resourceGroupName, spacecraftName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(resourceGroupName, spacecraftName, options);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n spacecraftName: string,\n options?: ContactsListOptionalParams\n ): AsyncIterableIterator<Contact[]> {\n let result = await this._list(resourceGroupName, spacecraftName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n spacecraftName: string,\n options?: ContactsListOptionalParams\n ): AsyncIterableIterator<Contact> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n spacecraftName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns list of contacts by spacecraftName\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n spacecraftName: string,\n options?: ContactsListOptionalParams\n ): Promise<ContactsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, spacecraftName, options },\n listOperationSpec\n );\n }\n\n /**\n * Gets the specified contact in a specified resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactName Contact Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n spacecraftName: string,\n contactName: string,\n options?: ContactsGetOptionalParams\n ): Promise<ContactsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, spacecraftName, contactName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates a contact.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactName Contact Name\n * @param parameters The parameters to provide for the created contact.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n spacecraftName: string,\n contactName: string,\n parameters: Contact,\n options?: ContactsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ContactsCreateResponse>,\n ContactsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ContactsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, spacecraftName, contactName, parameters, options },\n createOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n }\n\n /**\n * Creates a contact.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactName Contact Name\n * @param parameters The parameters to provide for the created contact.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n spacecraftName: string,\n contactName: string,\n parameters: Contact,\n options?: ContactsCreateOptionalParams\n ): Promise<ContactsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n spacecraftName,\n contactName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified contact\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactName Contact Name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n spacecraftName: string,\n contactName: string,\n options?: ContactsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, spacecraftName, contactName, options },\n deleteOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n }\n\n /**\n * Deletes a specified contact\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param spacecraftName Spacecraft ID\n * @param contactName Contact Name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n spacecraftName: string,\n contactName: string,\n options?: ContactsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n spacecraftName,\n contactName,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Contact\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName,\n Parameters.contactName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Contact\n },\n 201: {\n bodyMapper: Mappers.Contact\n },\n 202: {\n bodyMapper: Mappers.Contact\n },\n 204: {\n bodyMapper: Mappers.Contact\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName,\n Parameters.contactName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.spacecraftName,\n Parameters.contactName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ContactProfiles } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureOrbitalContext } from \"../azureOrbitalContext\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n ContactProfile,\n ContactProfilesListBySubscriptionOptionalParams,\n ContactProfilesListOptionalParams,\n ContactProfilesGetOptionalParams,\n ContactProfilesGetResponse,\n ContactProfilesCreateOrUpdateOptionalParams,\n ContactProfilesCreateOrUpdateResponse,\n ContactProfilesDeleteOptionalParams,\n TagsObject,\n ContactProfilesUpdateTagsOptionalParams,\n ContactProfilesUpdateTagsResponse,\n ContactProfilesListBySubscriptionResponse,\n ContactProfilesListResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContactProfiles operations. */\nexport class ContactProfilesImpl implements ContactProfiles {\n private readonly client: AzureOrbitalContext;\n\n /**\n * Initialize a new instance of the class ContactProfiles class.\n * @param client Reference to the service client\n */\n constructor(client: AzureOrbitalContext) {\n this.client = client;\n }\n\n /**\n * Returns list of contact profiles\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ContactProfilesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ContactProfile> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ContactProfilesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ContactProfile[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ContactProfilesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ContactProfile> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns list of contact profiles\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n options?: ContactProfilesListOptionalParams\n ): PagedAsyncIterableIterator<ContactProfile> {\n const iter = this.listPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n options?: ContactProfilesListOptionalParams\n ): AsyncIterableIterator<ContactProfile[]> {\n let result = await this._list(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n options?: ContactProfilesListOptionalParams\n ): AsyncIterableIterator<ContactProfile> {\n for await (const page of this.listPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the specified contact Profile in a specified resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n contactProfileName: string,\n options?: ContactProfilesGetOptionalParams\n ): Promise<ContactProfilesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, contactProfileName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a contact profile\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param location The geo-location where the resource lives\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n contactProfileName: string,\n location: string,\n options?: ContactProfilesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ContactProfilesCreateOrUpdateResponse>,\n ContactProfilesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ContactProfilesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, contactProfileName, location, options },\n createOrUpdateOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n }\n\n /**\n * Creates or updates a contact profile\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param location The geo-location where the resource lives\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n contactProfileName: string,\n location: string,\n options?: ContactProfilesCreateOrUpdateOptionalParams\n ): Promise<ContactProfilesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n contactProfileName,\n location,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified contact profile resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n contactProfileName: string,\n options?: ContactProfilesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, contactProfileName, options },\n deleteOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n }\n\n /**\n * Deletes a specified contact profile resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n contactProfileName: string,\n options?: ContactProfilesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n contactProfileName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specified contact profile tags.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param contactProfileName Contact Profile Name\n * @param parameters Parameters supplied to update contact profile tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n contactProfileName: string,\n parameters: TagsObject,\n options?: ContactProfilesUpdateTagsOptionalParams\n ): Promise<ContactProfilesUpdateTagsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, contactProfileName, parameters, options },\n updateTagsOperationSpec\n );\n }\n\n /**\n * Returns list of contact profiles\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ContactProfilesListBySubscriptionOptionalParams\n ): Promise<ContactProfilesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns list of contact profiles\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n options?: ContactProfilesListOptionalParams\n ): Promise<ContactProfilesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactProfile\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.contactProfileName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactProfile\n },\n 201: {\n bodyMapper: Mappers.ContactProfile\n },\n 202: {\n bodyMapper: Mappers.ContactProfile\n },\n 204: {\n bodyMapper: Mappers.ContactProfile\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: {\n parameterPath: {\n tags: [\"options\", \"tags\"],\n location: [\"location\"],\n minimumViableContactDuration: [\"options\", \"minimumViableContactDuration\"],\n minimumElevationDegrees: [\"options\", \"minimumElevationDegrees\"],\n autoTrackingConfiguration: [\"options\", \"autoTrackingConfiguration\"],\n links: [\"options\", \"links\"]\n },\n mapper: { ...Mappers.ContactProfile, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.contactProfileName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.contactProfileName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateTagsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactProfile\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.contactProfileName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/contactProfiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactProfileListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContactProfileListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { AvailableGroundStations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { AzureOrbitalContext } from \"../azureOrbitalContext\";\nimport {\n AvailableGroundStation,\n Enum6,\n AvailableGroundStationsListByCapabilityNextOptionalParams,\n AvailableGroundStationsListByCapabilityOptionalParams,\n AvailableGroundStationsListByCapabilityResponse,\n AvailableGroundStationsGetOptionalParams,\n AvailableGroundStationsGetResponse,\n AvailableGroundStationsListByCapabilityNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing AvailableGroundStations operations. */\nexport class AvailableGroundStationsImpl implements AvailableGroundStations {\n private readonly client: AzureOrbitalContext;\n\n /**\n * Initialize a new instance of the class AvailableGroundStations class.\n * @param client Reference to the service client\n */\n constructor(client: AzureOrbitalContext) {\n this.client = client;\n }\n\n /**\n * Returns list of available ground stations\n * @param capability Ground Station Capability\n * @param options The options parameters.\n */\n public listByCapability(\n capability: Enum6,\n options?: AvailableGroundStationsListByCapabilityOptionalParams\n ): PagedAsyncIterableIterator<AvailableGroundStation> {\n const iter = this.listByCapabilityPagingAll(capability, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByCapabilityPagingPage(capability, options);\n }\n };\n }\n\n private async *listByCapabilityPagingPage(\n capability: Enum6,\n options?: AvailableGroundStationsListByCapabilityOptionalParams\n ): AsyncIterableIterator<AvailableGroundStation[]> {\n let result = await this._listByCapability(capability, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByCapabilityNext(\n capability,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByCapabilityPagingAll(\n capability: Enum6,\n options?: AvailableGroundStationsListByCapabilityOptionalParams\n ): AsyncIterableIterator<AvailableGroundStation> {\n for await (const page of this.listByCapabilityPagingPage(\n capability,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns list of available ground stations\n * @param capability Ground Station Capability\n * @param options The options parameters.\n */\n private _listByCapability(\n capability: Enum6,\n options?: AvailableGroundStationsListByCapabilityOptionalParams\n ): Promise<AvailableGroundStationsListByCapabilityResponse> {\n return this.client.sendOperationRequest(\n { capability, options },\n listByCapabilityOperationSpec\n );\n }\n\n /**\n * Gets the specified available ground station\n * @param groundStationName Ground Station name\n * @param options The options parameters.\n */\n get(\n groundStationName: string,\n options?: AvailableGroundStationsGetOptionalParams\n ): Promise<AvailableGroundStationsGetResponse> {\n return this.client.sendOperationRequest(\n { groundStationName, options },\n getOperationSpec\n );\n }\n\n /**\n * ListByCapabilityNext\n * @param capability Ground Station Capability\n * @param nextLink The nextLink from the previous successful call to the ListByCapability method.\n * @param options The options parameters.\n */\n private _listByCapabilityNext(\n capability: Enum6,\n nextLink: string,\n options?: AvailableGroundStationsListByCapabilityNextOptionalParams\n ): Promise<AvailableGroundStationsListByCapabilityNextResponse> {\n return this.client.sendOperationRequest(\n { capability, nextLink, options },\n listByCapabilityNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByCapabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/availableGroundStations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableGroundStationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.capability],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/availableGroundStations/{groundStationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableGroundStation\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groundStationName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByCapabilityNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AvailableGroundStationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.capability],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AzureOrbitalOptionalParams } from \"./models\";\n\nexport class AzureOrbitalContext extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureOrbitalContext class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureOrbitalOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureOrbitalOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-orbital/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-04-04-preview\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n SpacecraftsImpl,\n ContactsImpl,\n ContactProfilesImpl,\n AvailableGroundStationsImpl\n} from \"./operations\";\nimport {\n Operations,\n Spacecrafts,\n Contacts,\n ContactProfiles,\n AvailableGroundStations\n} from \"./operationsInterfaces\";\nimport { AzureOrbitalContext } from \"./azureOrbitalContext\";\nimport { AzureOrbitalOptionalParams } from \"./models\";\n\nexport class AzureOrbital extends AzureOrbitalContext {\n /**\n * Initializes a new instance of the AzureOrbital class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureOrbitalOptionalParams\n ) {\n super(credentials, subscriptionId, options);\n this.operations = new OperationsImpl(this);\n this.spacecrafts = new SpacecraftsImpl(this);\n this.contacts = new ContactsImpl(this);\n this.contactProfiles = new ContactProfilesImpl(this);\n this.availableGroundStations = new AvailableGroundStationsImpl(this);\n }\n\n operations: Operations;\n spacecrafts: Spacecrafts;\n contacts: Contacts;\n contactProfiles: ContactProfiles;\n availableGroundStations: AvailableGroundStations;\n}\n"],"names":["KnownOrigin","KnownActionType","KnownDirection","KnownPolarization","KnownCreatedByType","KnownProtocol","KnownEnum6","KnownCapability","TagsObjectMapper","ContactMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.OperationListResult","Mappers.CloudError","Parameters.apiVersion","Parameters.$host","Parameters.accept","listOperationSpec","LroEngine","serializer","Mappers.SpacecraftListResult","Parameters.subscriptionId","Parameters.resourceGroupName","Mappers.Spacecraft","Parameters.spacecraftName","Parameters.contentType","Parameters.parameters1","Mappers.AvailableContactsListResult","Mappers.ContactParameters","getOperationSpec","deleteOperationSpec","Mappers.ContactListResult","Mappers.Contact","Parameters.contactName","Parameters.parameters3","createOrUpdateOperationSpec","updateTagsOperationSpec","listBySubscriptionOperationSpec","Mappers.ContactProfile","Parameters.contactProfileName","Mappers.ContactProfileListResult","Mappers.AvailableGroundStationListResult","Parameters.capability","Mappers.AvailableGroundStation","Parameters.groundStationName1","Parameters.nextLink","coreClient.ServiceClient"],"mappings":";;;;;;;;AAAA;;;;;;;AAofA,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAJWA,mBAAW,KAAXA,mBAAW,QAItB;AAcD,WAAY,eAAe;IACzB,wCAAqB,CAAA;AACvB,CAAC,EAFWC,uBAAe,KAAfA,uBAAe,QAE1B;AAYD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;AACvB,CAAC,EAHWC,sBAAc,KAAdA,sBAAc,QAGzB;AAaD,WAAY,iBAAiB;IAC3B,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,kDAA6B,CAAA;IAC7B,sDAAiC,CAAA;IACjC,0DAAqC,CAAA;AACvC,CAAC,EANWC,yBAAiB,KAAjBA,yBAAiB,QAM5B;AAgBD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;AACb,CAAC,EALWC,0BAAkB,KAAlBA,0BAAkB,QAK7B;AAeD,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,4BAAW,CAAA;AACb,CAAC,EAHWC,qBAAa,KAAbA,qBAAa,QAGxB;AAaD,WAAY,UAAU;IACpB,mDAAqC,CAAA;IACrC,6CAA+B,CAAA;AACjC,CAAC,EAHWC,kBAAU,KAAVA,kBAAU,QAGrB;AAaD,WAAY,eAAe;IACzB,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;AACjC,CAAC,EAHWC,uBAAe,KAAfA,uBAAe;;AC9mB3B;;;;;;;AAUA,AAAO,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EA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GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;KAC9D;CACF;;ACrED;;;;;;;AASA,MAiBa,YAAa,SAAQ,mBAAmB;;;;;;;IAOnD,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAoC;QAEpC,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,WAAW,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,uBAAuB,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,CAAC;KACtE;CAOF;;;;;"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreLro=require("@azure/core-lro");!function(e){e.User="user",e.System="system",e.UserSystem="user,system"}(exports.KnownOrigin||(exports.KnownOrigin={})),(exports.KnownActionType||(exports.KnownActionType={})).Internal="Internal",function(e){e.Uplink="uplink",e.Downlink="downlink"}(exports.KnownDirection||(exports.KnownDirection={})),function(e){e.Rhcp="RHCP",e.Lhcp="LHCP",e.DualRhcpLhcp="dualRhcpLhcp",e.LinearVertical="linearVertical",e.LinearHorizontal="linearHorizontal"}(exports.KnownPolarization||(exports.KnownPolarization={})),function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),function(e){e.TCP="TCP",e.UDP="UDP"}(exports.KnownProtocol||(exports.KnownProtocol={})),function(e){e.EarthObservation="EarthObservation",e.Communication="Communication"}(exports.KnownEnum6||(exports.KnownEnum6={})),function(e){e.EarthObservation="EarthObservation",e.Communication="Communication"}(exports.KnownCapability||(exports.KnownCapability={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",readOnly:!0,type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},actionType:{serializedName:"actionType",readOnly:!0,type:{name:"String"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CloudErrorBody"}}}}},CloudErrorBody={type:{name:"Composite",className:"CloudErrorBody",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"CloudErrorBody"}}}}}}},SpacecraftListResult={type:{name:"Composite",className:"SpacecraftListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Spacecraft"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},SpacecraftLink={type:{name:"Composite",className:"SpacecraftLink",modelProperties:{centerFrequencyMHz:{serializedName:"centerFrequencyMHz",required:!0,type:{name:"Number"}},bandwidthMHz:{serializedName:"bandwidthMHz",required:!0,type:{name:"Number"}},direction:{serializedName:"direction",required:!0,type:{name:"String"}},polarization:{serializedName:"polarization",required:!0,type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},TagsObject={type:{name:"Composite",className:"TagsObject",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},ContactListResult={type:{name:"Composite",className:"ContactListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Contact"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceReference={type:{name:"Composite",className:"ResourceReference",modelProperties:{id:{serializedName:"id",type:{name:"String"}}}}},ContactParameters={type:{name:"Composite",className:"ContactParameters",modelProperties:{contactProfile:{serializedName:"contactProfile",type:{name:"Composite",className:"ResourceReference"}},groundStationName:{serializedName:"groundStationName",required:!0,type:{name:"String"}},startTime:{serializedName:"startTime",required:!0,type:{name:"DateTime"}},endTime:{serializedName:"endTime",required:!0,type:{name:"DateTime"}}}}},AvailableContactsListResult={type:{name:"Composite",className:"AvailableContactsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailableContacts"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AvailableContacts={type:{name:"Composite",className:"AvailableContacts",modelProperties:{spacecraft:{serializedName:"spacecraft",type:{name:"Composite",className:"ResourceReference"}},groundStationName:{serializedName:"groundStationName",readOnly:!0,type:{name:"String"}},maximumElevationDegrees:{serializedName:"properties.maximumElevationDegrees",readOnly:!0,type:{name:"Number"}},txStartTime:{serializedName:"properties.txStartTime",readOnly:!0,type:{name:"DateTime"}},txEndTime:{serializedName:"properties.txEndTime",readOnly:!0,type:{name:"DateTime"}},rxStartTime:{serializedName:"properties.rxStartTime",readOnly:!0,type:{name:"DateTime"}},rxEndTime:{serializedName:"properties.rxEndTime",readOnly:!0,type:{name:"DateTime"}},startAzimuthDegrees:{serializedName:"properties.startAzimuthDegrees",readOnly:!0,type:{name:"Number"}},endAzimuthDegrees:{serializedName:"properties.endAzimuthDegrees",readOnly:!0,type:{name:"Number"}},startElevationDegrees:{serializedName:"properties.startElevationDegrees",readOnly:!0,type:{name:"Number"}},endElevationDegrees:{serializedName:"properties.endElevationDegrees",readOnly:!0,type:{name:"Number"}}}}},ContactProfileLink={type:{name:"Composite",className:"ContactProfileLink",modelProperties:{polarization:{serializedName:"polarization",required:!0,type:{name:"String"}},direction:{serializedName:"direction",required:!0,type:{name:"String"}},gainOverTemperature:{serializedName:"gainOverTemperature",type:{name:"Number"}},eirpdBW:{serializedName:"eirpdBW",type:{name:"Number"}},channels:{serializedName:"channels",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ContactProfileLinkChannel"}}}}}}},ContactProfileLinkChannel={type:{name:"Composite",className:"ContactProfileLinkChannel",modelProperties:{centerFrequencyMHz:{serializedName:"centerFrequencyMHz",required:!0,type:{name:"Number"}},bandwidthMHz:{serializedName:"bandwidthMHz",required:!0,type:{name:"Number"}},endPoint:{serializedName:"endPoint",type:{name:"Composite",className:"EndPoint"}},modulationConfiguration:{serializedName:"modulationConfiguration",type:{name:"String"}},demodulationConfiguration:{serializedName:"demodulationConfiguration",type:{name:"String"}},encodingConfiguration:{serializedName:"encodingConfiguration",type:{name:"String"}},decodingConfiguration:{serializedName:"decodingConfiguration",type:{name:"String"}}}}},EndPoint={type:{name:"Composite",className:"EndPoint",modelProperties:{ipAddress:{serializedName:"ipAddress",required:!0,type:{name:"String"}},endPointName:{serializedName:"endPointName",required:!0,type:{name:"String"}},port:{serializedName:"port",required:!0,type:{name:"String"}},protocol:{serializedName:"protocol",required:!0,type:{name:"String"}}}}},ContactProfileListResult={type:{name:"Composite",className:"ContactProfileListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContactProfile"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AvailableGroundStationListResult={type:{name:"Composite",className:"AvailableGroundStationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"AvailableGroundStation"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},AvailableGroundStation={type:{name:"Composite",className:"AvailableGroundStation",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},city:{serializedName:"properties.city",type:{name:"String"}},providerName:{serializedName:"properties.providerName",type:{name:"String"}},longitudeDegrees:{serializedName:"properties.longitudeDegrees",type:{name:"Number"}},latitudeDegrees:{serializedName:"properties.latitudeDegrees",type:{name:"Number"}},altitudeMeters:{serializedName:"properties.altitudeMeters",type:{name:"Number"}}}}},ResourceIdListResult={type:{name:"Composite",className:"ResourceIdListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceIdListResultValueItem"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceIdListResultValueItem={type:{name:"Composite",className:"ResourceIdListResultValueItem",modelProperties:{id:{serializedName:"id",type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},location:{serializedName:"location",required:!0,type:{name:"String"}}})}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:Object.assign({},Resource.type.modelProperties)}},Spacecraft={type:{name:"Composite",className:"Spacecraft",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},noradId:{serializedName:"properties.noradId",type:{name:"String"}},authorizationStatus:{serializedName:"properties.authorizationStatus",readOnly:!0,type:{name:"Enum",allowedValues:["Allowed","Pending","Denied"]}},authorizationStatusExtended:{serializedName:"properties.authorizationStatusExtended",readOnly:!0,type:{name:"String"}},titleLine:{serializedName:"properties.titleLine",type:{name:"String"}},tleLine1:{serializedName:"properties.tleLine1",type:{name:"String"}},tleLine2:{serializedName:"properties.tleLine2",type:{name:"String"}},links:{serializedName:"properties.links",type:{name:"Sequence",element:{type:{name:"Composite",className:"SpacecraftLink"}}}}})}},ContactProfile={type:{name:"Composite",className:"ContactProfile",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},minimumViableContactDuration:{serializedName:"properties.minimumViableContactDuration",type:{name:"String"}},minimumElevationDegrees:{serializedName:"properties.minimumElevationDegrees",type:{name:"Number"}},autoTrackingConfiguration:{serializedName:"properties.autoTrackingConfiguration",type:{name:"Enum",allowedValues:["disabled","xBand","sBand"]}},links:{serializedName:"properties.links",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContactProfileLink"}}}}})}},Contact={type:{name:"Composite",className:"Contact",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{etag:{serializedName:"etag",readOnly:!0,type:{name:"String"}},status:{serializedName:"properties.status",readOnly:!0,type:{name:"Enum",allowedValues:["scheduled","cancelled","succeeded","failed","providerCancelled"]}},reservationStartTime:{serializedName:"properties.reservationStartTime",type:{name:"DateTime"}},reservationEndTime:{serializedName:"properties.reservationEndTime",type:{name:"DateTime"}},rxStartTime:{serializedName:"properties.rxStartTime",readOnly:!0,type:{name:"DateTime"}},rxEndTime:{serializedName:"properties.rxEndTime",readOnly:!0,type:{name:"DateTime"}},txStartTime:{serializedName:"properties.txStartTime",readOnly:!0,type:{name:"DateTime"}},txEndTime:{serializedName:"properties.txEndTime",readOnly:!0,type:{name:"DateTime"}},errorMessage:{serializedName:"properties.errorMessage",readOnly:!0,type:{name:"String"}},maximumElevationDegrees:{serializedName:"properties.maximumElevationDegrees",readOnly:!0,type:{name:"Number"}},startAzimuthDegrees:{serializedName:"properties.startAzimuthDegrees",readOnly:!0,type:{name:"Number"}},endAzimuthDegrees:{serializedName:"properties.endAzimuthDegrees",readOnly:!0,type:{name:"Number"}},groundStationName:{serializedName:"properties.groundStationName",type:{name:"String"}},startElevationDegrees:{serializedName:"properties.startElevationDegrees",readOnly:!0,type:{name:"Number"}},endElevationDegrees:{serializedName:"properties.endElevationDegrees",readOnly:!0,type:{name:"Number"}},contactProfile:{serializedName:"properties.contactProfile",type:{name:"Composite",className:"ResourceReference"}}})}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,CloudError:CloudError,CloudErrorBody:CloudErrorBody,SpacecraftListResult:SpacecraftListResult,SpacecraftLink:SpacecraftLink,Resource:Resource,SystemData:SystemData,TagsObject:TagsObject,ContactListResult:ContactListResult,ResourceReference:ResourceReference,ContactParameters:ContactParameters,AvailableContactsListResult:AvailableContactsListResult,AvailableContacts:AvailableContacts,ContactProfileLink:ContactProfileLink,ContactProfileLinkChannel:ContactProfileLinkChannel,EndPoint:EndPoint,ContactProfileListResult:ContactProfileListResult,AvailableGroundStationListResult:AvailableGroundStationListResult,AvailableGroundStation:AvailableGroundStation,ResourceIdListResult:ResourceIdListResult,ResourceIdListResultValueItem:ResourceIdListResultValueItem,TrackedResource:TrackedResource,ProxyResource:ProxyResource,Spacecraft:Spacecraft,ContactProfile:ContactProfile,Contact:Contact});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-04-04-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{constraints:{MinLength:1},serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},spacecraftName={parameterPath:"spacecraftName",mapper:{serializedName:"spacecraftName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:TagsObject},contactName={parameterPath:"contactName",mapper:{serializedName:"contactName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:Contact},contactProfileName={parameterPath:"contactProfileName",mapper:{serializedName:"contactProfileName",required:!0,type:{name:"String"}}},capability={parameterPath:"capability",mapper:{defaultValue:"EarthObservation",serializedName:"capability",required:!0,type:{name:"String"}}},groundStationName1={parameterPath:"groundStationName",mapper:{serializedName:"groundStationName",required:!0,type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0};class OperationsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t));yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listPagingPage(s));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Orbital/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer};class LroImpl{constructor(e,t,a,r=a.path,i=a.httpMethod){this.sendOperationFn=e,this.args=t,this.spec=a,this.requestPath=r,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(t){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:t,httpMethod:"GET"}))})}}class SpacecraftsImpl{constructor(e){this.client=e}listBySubscription(e){const t=this.listBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}list(e,t){const a=this.listPagingAll(e,t);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,a));yield yield tslib.__await(e.value||[])})}listPagingAll(s,o){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listPagingPage(s,o));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_list(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listOperationSpec$1)}get(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,spacecraftName:t,options:a},getOperationSpec)}beginCreateOrUpdate(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,spacecraftName:a,location:r,options:i},createOrUpdateOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"})})}beginCreateOrUpdateAndWait(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(t,a,r,i);return e.pollUntilDone()})}beginDelete(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,spacecraftName:a,options:r},deleteOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs,lroResourceLocationConfig:"location"})})}beginDeleteAndWait(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(t,a,r);return e.pollUntilDone()})}updateTags(e,t,a,r){return this.client.sendOperationRequest({resourceGroupName:e,spacecraftName:t,parameters:a,options:r},updateTagsOperationSpec)}beginListAvailableContacts(t,a,r,i,o,n,l){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,spacecraftName:a,contactProfile:r,groundStationName:i,startTime:o,endTime:n,options:l},listAvailableContactsOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==l?void 0:l.resumeFrom,intervalInMs:null==l?void 0:l.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"})})}beginListAvailableContactsAndWait(t,a,r,i,s,o,n){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginListAvailableContacts(t,a,r,i,s,o,n);return e.pollUntilDone()})}}const serializer$1=coreClient.createSerializer(Mappers,!1),listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/spacecrafts",httpMethod:"GET",responses:{200:{bodyMapper:SpacecraftListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts",httpMethod:"GET",responses:{200:{bodyMapper:SpacecraftListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$1},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}",httpMethod:"GET",responses:{200:{bodyMapper:Spacecraft},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}",httpMethod:"PUT",responses:{200:{bodyMapper:Spacecraft},201:{bodyMapper:Spacecraft},202:{bodyMapper:Spacecraft},204:{bodyMapper:Spacecraft},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{tags:["options","tags"],location:["location"],noradId:["options","noradId"],titleLine:["options","titleLine"],tleLine1:["options","tleLine1"],tleLine2:["options","tleLine2"],links:["options","links"]},mapper:Object.assign(Object.assign({},Spacecraft),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept],serializer:serializer$1},updateTagsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Spacecraft},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},listAvailableContactsOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/listAvailableContacts",httpMethod:"POST",responses:{200:{bodyMapper:AvailableContactsListResult},201:{bodyMapper:AvailableContactsListResult},202:{bodyMapper:AvailableContactsListResult},204:{bodyMapper:AvailableContactsListResult},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{contactProfile:["contactProfile"],groundStationName:["groundStationName"],startTime:["startTime"],endTime:["endTime"]},mapper:Object.assign(Object.assign({},ContactParameters),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1};class ContactsImpl{constructor(e){this.client=e}list(e,t,a){const r=this.listPagingAll(e,t,a);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t,a)}}listPagingPage(t,a,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,a,r));yield yield tslib.__await(e.value||[])})}listPagingAll(s,o,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listPagingPage(s,o,n));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_list(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,spacecraftName:t,options:a},listOperationSpec$2)}get(e,t,a,r){return this.client.sendOperationRequest({resourceGroupName:e,spacecraftName:t,contactName:a,options:r},getOperationSpec$1)}beginCreate(t,a,r,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,spacecraftName:a,contactName:r,parameters:i,options:o},createOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"})})}beginCreateAndWait(t,a,r,i,s){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreate(t,a,r,i,s);return e.pollUntilDone()})}beginDelete(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,spacecraftName:a,contactName:r,options:i},deleteOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"location"})})}beginDeleteAndWait(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(t,a,r,i);return e.pollUntilDone()})}}const serializer$2=coreClient.createSerializer(Mappers,!1),listOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts",httpMethod:"GET",responses:{200:{bodyMapper:ContactListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName],headerParameters:[accept],serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}",httpMethod:"GET",responses:{200:{bodyMapper:Contact},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName,contactName],headerParameters:[accept],serializer:serializer$2},createOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}",httpMethod:"PUT",responses:{200:{bodyMapper:Contact},201:{bodyMapper:Contact},202:{bodyMapper:Contact},204:{bodyMapper:Contact},default:{bodyMapper:CloudError}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName,contactName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$2},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,spacecraftName,contactName],headerParameters:[accept],serializer:serializer$2};class ContactProfilesImpl{constructor(e){this.client=e}listBySubscription(e){const t=this.listBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}list(e,t){const a=this.listPagingAll(e,t);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t)}}listPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(t,a));yield yield tslib.__await(e.value||[])})}listPagingAll(s,o){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listPagingPage(s,o));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}get(e,t,a){return this.client.sendOperationRequest({resourceGroupName:e,contactProfileName:t,options:a},getOperationSpec$2)}beginCreateOrUpdate(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,contactProfileName:a,location:r,options:i},createOrUpdateOperationSpec$1);return new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"})})}beginCreateOrUpdateAndWait(t,a,r,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(t,a,r,i);return e.pollUntilDone()})}beginDelete(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,t)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,t)});var e=new LroImpl((t,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const r=null===(e=t.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{onResponse:(e,t)=>{a=e,null!==r&&void 0!==r&&r(e,t)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:t,contactProfileName:a,options:r},deleteOperationSpec$2);return new coreLro.LroEngine(e,{resumeFrom:null==r?void 0:r.resumeFrom,intervalInMs:null==r?void 0:r.updateIntervalInMs,lroResourceLocationConfig:"location"})})}beginDeleteAndWait(t,a,r){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(t,a,r);return e.pollUntilDone()})}updateTags(e,t,a,r){return this.client.sendOperationRequest({resourceGroupName:e,contactProfileName:t,parameters:a,options:r},updateTagsOperationSpec$1)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$1)}_list(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listOperationSpec$3)}}const serializer$3=coreClient.createSerializer(Mappers,!1),getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",httpMethod:"GET",responses:{200:{bodyMapper:ContactProfile},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,contactProfileName],headerParameters:[accept],serializer:serializer$3},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",httpMethod:"PUT",responses:{200:{bodyMapper:ContactProfile},201:{bodyMapper:ContactProfile},202:{bodyMapper:ContactProfile},204:{bodyMapper:ContactProfile},default:{bodyMapper:CloudError}},requestBody:{parameterPath:{tags:["options","tags"],location:["location"],minimumViableContactDuration:["options","minimumViableContactDuration"],minimumElevationDegrees:["options","minimumElevationDegrees"],autoTrackingConfiguration:["options","autoTrackingConfiguration"],links:["options","links"]},mapper:Object.assign(Object.assign({},ContactProfile),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,contactProfileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,contactProfileName],headerParameters:[accept],serializer:serializer$3},updateTagsOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:ContactProfile},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,contactProfileName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$3},listBySubscriptionOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/contactProfiles",httpMethod:"GET",responses:{200:{bodyMapper:ContactProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3},listOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles",httpMethod:"GET",responses:{200:{bodyMapper:ContactProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$3};class AvailableGroundStationsImpl{constructor(e){this.client=e}listByCapability(e,t){const a=this.listByCapabilityPagingAll(e,t);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByCapabilityPagingPage(e,t)}}listByCapabilityPagingPage(a,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByCapability(a,r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listByCapabilityNext(a,t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listByCapabilityPagingAll(s,o){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var a,r=tslib.__asyncValues(this.listByCapabilityPagingPage(s,o));!(a=yield tslib.__await(r.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_listByCapability(e,t){return this.client.sendOperationRequest({capability:e,options:t},listByCapabilityOperationSpec)}get(e,t){return this.client.sendOperationRequest({groundStationName:e,options:t},getOperationSpec$3)}_listByCapabilityNext(e,t,a){return this.client.sendOperationRequest({capability:e,nextLink:t,options:a},listByCapabilityNextOperationSpec)}}const serializer$4=coreClient.createSerializer(Mappers,!1),listByCapabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/availableGroundStations",httpMethod:"GET",responses:{200:{bodyMapper:AvailableGroundStationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,capability],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Orbital/availableGroundStations/{groundStationName}",httpMethod:"GET",responses:{200:{bodyMapper:AvailableGroundStation},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,groundStationName1],headerParameters:[accept],serializer:serializer$4},listByCapabilityNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:AvailableGroundStationListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,capability],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$4};class AzureOrbitalContext extends coreClient.ServiceClient{constructor(e,t,a){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var r={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-orbital/1.0.0-beta.1",e=(a=a||{}).userAgentOptions&&a.userAgentOptions.userAgentPrefix?a.userAgentOptions.userAgentPrefix+" "+e:e;a.credentialScopes||(a.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},r),a),{userAgentOptions:{userAgentPrefix:e},baseUri:a.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=a.$host||"https://management.azure.com",this.apiVersion=a.apiVersion||"2021-04-04-preview"}}class AzureOrbital extends AzureOrbitalContext{constructor(e,t,a){super(e,t,a),this.operations=new OperationsImpl(this),this.spacecrafts=new SpacecraftsImpl(this),this.contacts=new ContactsImpl(this),this.contactProfiles=new ContactProfilesImpl(this),this.availableGroundStations=new AvailableGroundStationsImpl(this)}}exports.AzureOrbital=AzureOrbital,exports.AzureOrbitalContext=AzureOrbitalContext;