@azure/web-pubsub 1.1.2-alpha.20230418.1 → 1.1.3-alpha.20230727.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,18 +26,18 @@ export class GeneratedClient extends coreClient.ServiceClient {
26
26
  const defaults = {
27
27
  requestContentType: "application/json; charset=utf-8"
28
28
  };
29
- const packageDetails = `azsdk-js-web-pubsub/1.1.0`;
29
+ const packageDetails = `azsdk-js-web-pubsub/1.1.3`;
30
30
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
31
31
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
32
32
  : `${packageDetails}`;
33
33
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
34
34
  userAgentPrefix
35
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{Endpoint}" });
35
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
36
36
  super(optionsWithDefaults);
37
37
  // Parameter assignments
38
38
  this.endpoint = endpoint;
39
39
  // Assigning values to Constant parameters
40
- this.apiVersion = options.apiVersion || "2022-11-01";
40
+ this.apiVersion = options.apiVersion || "2023-07-01";
41
41
  this.healthApi = new HealthApiImpl(this);
42
42
  this.webPubSub = new WebPubSubImpl(this);
43
43
  this.addCustomApiVersionPolicy(options.apiVersion);
@@ -1 +1 @@
1
- {"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAMjD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAI5D,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,UAAU,CAAC,aAAa;IAI3D;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;;QACn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IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;oBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;4BACpC,OAAO,cAAc,GAAG,UAAU,CAAC;yBACpC;6BAAM;4BACL,OAAO,IAAI,CAAC;yBACb;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;iBACpD;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF","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\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport { HealthApiImpl, WebPubSubImpl } from \"./operations\";\nimport { HealthApi, WebPubSub } from \"./operationsInterfaces\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\n/** @internal */\nexport class GeneratedClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint HTTP or HTTPS endpoint for the Web PubSub service instance.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-web-pubsub/1.1.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint ?? options.baseUri ?? \"{Endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2022-11-01\";\n this.healthApi = new HealthApiImpl(this);\n this.webPubSub = new WebPubSubImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n healthApi: HealthApi;\n webPubSub: WebPubSub;\n}\n"]}
1
+ {"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAMjD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE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ACnD,IAAI,CAAC,UAAU,EAAE;YACf,OAAO;SACR;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;oBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;4BACpC,OAAO,cAAc,GAAG,UAAU,CAAC;yBACpC;6BAAM;4BACL,OAAO,IAAI,CAAC;yBACb;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;iBACpD;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAIF","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\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport { HealthApiImpl, WebPubSubImpl } from \"./operations\";\nimport { HealthApi, WebPubSub } from \"./operationsInterfaces\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\n/** @internal */\nexport class GeneratedClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint HTTP or HTTPS endpoint for the Web PubSub service instance.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-web-pubsub/1.1.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2023-07-01\";\n this.healthApi = new HealthApiImpl(this);\n this.webPubSub = new WebPubSubImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n healthApi: HealthApi;\n webPubSub: WebPubSub;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAsIH,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,kBAAkB;IAClB,uDAA2B,CAAA;IAC3B,qBAAqB;IACrB,6DAAiC,CAAA;AACnC,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC","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/** The error object. */\nexport interface ErrorDetail {\n /** One of a server-defined set of error codes. */\n code?: string;\n /** A human-readable representation of the error. */\n message?: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorDetail[];\n inner?: InnerError;\n}\n\nexport interface InnerError {\n /** A more specific error code than was provided by the containing error. */\n code?: string;\n inner?: InnerError;\n}\n\n/** The response object containing the token for the client */\nexport interface ClientTokenResponse {\n /** The token value for the WebSocket client to connect to the service */\n token?: string;\n}\n\n/** Defines headers for WebPubSub_closeAllConnections operation. */\nexport interface WebPubSubCloseAllConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_generateClientToken operation. */\nexport interface WebPubSubGenerateClientTokenExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToAll operation. */\nexport interface WebPubSubSendToAllExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeConnection operation. */\nexport interface WebPubSubCloseConnectionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_connectionExists operation. */\nexport interface WebPubSubConnectionExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToConnection operation. */\nexport interface WebPubSubSendToConnectionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeConnectionFromAllGroups operation. */\nexport interface WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_groupExists operation. */\nexport interface WebPubSubGroupExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeGroupConnections operation. */\nexport interface WebPubSubCloseGroupConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToGroup operation. */\nexport interface WebPubSubSendToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeConnectionFromGroup operation. */\nexport interface WebPubSubRemoveConnectionFromGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_addConnectionToGroup operation. */\nexport interface WebPubSubAddConnectionToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_revokePermission operation. */\nexport interface WebPubSubRevokePermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_checkPermission operation. */\nexport interface WebPubSubCheckPermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_grantPermission operation. */\nexport interface WebPubSubGrantPermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_userExists operation. */\nexport interface WebPubSubUserExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeUserConnections operation. */\nexport interface WebPubSubCloseUserConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToUser operation. */\nexport interface WebPubSubSendToUserExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeUserFromAllGroups operation. */\nexport interface WebPubSubRemoveUserFromAllGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeUserFromGroup operation. */\nexport interface WebPubSubRemoveUserFromGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_addUserToGroup operation. */\nexport interface WebPubSubAddUserToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Known values of {@link WebPubSubPermission} that the service accepts. */\nexport enum KnownWebPubSubPermission {\n /** SendToGroup */\n SendToGroup = \"sendToGroup\",\n /** JoinLeaveGroup */\n JoinLeaveGroup = \"joinLeaveGroup\"\n}\n\n/**\n * Defines values for WebPubSubPermission. \\\n * {@link KnownWebPubSubPermission} can be used interchangeably with WebPubSubPermission,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **sendToGroup** \\\n * **joinLeaveGroup**\n */\nexport type WebPubSubPermission = string;\n/** Defines values for ContentType. */\nexport type ContentType = \"application/json\" | \"application/octet-stream\";\n\n/** Optional parameters. */\nexport interface HealthApiGetServiceStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseAllConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections in the hub. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubGenerateClientTokenOptionalParams\n extends coreClient.OperationOptions {\n /** User Id. */\n userId?: string;\n /** Roles that the connection with the generated token will have. */\n roles?: string[];\n /** The expire time of the generated token. */\n expirationTimeInMinutes?: number;\n /** Groups that the connection will join when it connects. */\n groups?: string[];\n}\n\n/** Contains response data for the generateClientToken operation. */\nexport type WebPubSubGenerateClientTokenResponse = ClientTokenResponse;\n\n/** Optional parameters. */\nexport interface WebPubSubSendToAll$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids. */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToAll$textOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids. */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseConnectionOptionalParams\n extends coreClient.OperationOptions {\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubConnectionExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToConnection$binaryOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToConnection$textOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveConnectionFromAllGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubGroupExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseGroupConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections in the group. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToGroup$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToGroup$textOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveConnectionFromGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubAddConnectionToGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubRevokePermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubCheckPermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubGrantPermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubUserExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseUserConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections for the user. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToUser$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToUser$textOptionalParams\n extends coreClient.OperationOptions {\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveUserFromAllGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveUserFromGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubAddUserToGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgKH,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,kBAAkB;IAClB,uDAA2B,CAAA;IAC3B,qBAAqB;IACrB,6DAAiC,CAAA;AACnC,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC","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/** The request object containing targets groups and a connection filter */\nexport interface AddToGroupsRequest {\n /** A list of groups which target connections will be added into */\n groups?: string[];\n /** An OData filter which target connections satisfy */\n filter?: string;\n}\n\n/** The error object. */\nexport interface ErrorDetail {\n /** One of a server-defined set of error codes. */\n code?: string;\n /** A human-readable representation of the error. */\n message?: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorDetail[];\n inner?: InnerError;\n}\n\nexport interface InnerError {\n /** A more specific error code than was provided by the containing error. */\n code?: string;\n inner?: InnerError;\n}\n\n/** The response object containing the token for the client */\nexport interface ClientTokenResponse {\n /** The token value for the WebSocket client to connect to the service */\n token?: string;\n}\n\n/** The request object containing targets groups and a connection filter */\nexport interface RemoveFromGroupsRequest {\n /** A list of groups which target connections will be removed from */\n groups?: string[];\n /** An OData filter which target connections satisfy */\n filter?: string;\n}\n\n/** Defines headers for WebPubSub_addConnectionsToGroups operation. */\nexport interface WebPubSubAddConnectionsToGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeAllConnections operation. */\nexport interface WebPubSubCloseAllConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_generateClientToken operation. */\nexport interface WebPubSubGenerateClientTokenExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeConnectionsFromGroups operation. */\nexport interface WebPubSubRemoveConnectionsFromGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToAll operation. */\nexport interface WebPubSubSendToAllExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeConnection operation. */\nexport interface WebPubSubCloseConnectionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_connectionExists operation. */\nexport interface WebPubSubConnectionExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToConnection operation. */\nexport interface WebPubSubSendToConnectionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeConnectionFromAllGroups operation. */\nexport interface WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_groupExists operation. */\nexport interface WebPubSubGroupExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeGroupConnections operation. */\nexport interface WebPubSubCloseGroupConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToGroup operation. */\nexport interface WebPubSubSendToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeConnectionFromGroup operation. */\nexport interface WebPubSubRemoveConnectionFromGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_addConnectionToGroup operation. */\nexport interface WebPubSubAddConnectionToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_revokePermission operation. */\nexport interface WebPubSubRevokePermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_checkPermission operation. */\nexport interface WebPubSubCheckPermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_grantPermission operation. */\nexport interface WebPubSubGrantPermissionExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_userExists operation. */\nexport interface WebPubSubUserExistsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_closeUserConnections operation. */\nexport interface WebPubSubCloseUserConnectionsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_sendToUser operation. */\nexport interface WebPubSubSendToUserExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeUserFromAllGroups operation. */\nexport interface WebPubSubRemoveUserFromAllGroupsExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_removeUserFromGroup operation. */\nexport interface WebPubSubRemoveUserFromGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Defines headers for WebPubSub_addUserToGroup operation. */\nexport interface WebPubSubAddUserToGroupExceptionHeaders {\n errorCode?: string;\n}\n\n/** Known values of {@link WebPubSubPermission} that the service accepts. */\nexport enum KnownWebPubSubPermission {\n /** SendToGroup */\n SendToGroup = \"sendToGroup\",\n /** JoinLeaveGroup */\n JoinLeaveGroup = \"joinLeaveGroup\"\n}\n\n/**\n * Defines values for WebPubSubPermission. \\\n * {@link KnownWebPubSubPermission} can be used interchangeably with WebPubSubPermission,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **sendToGroup** \\\n * **joinLeaveGroup**\n */\nexport type WebPubSubPermission = string;\n/** Defines values for ContentType. */\nexport type ContentType = \"application/json\" | \"application/octet-stream\";\n\n/** Optional parameters. */\nexport interface HealthApiGetServiceStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubAddConnectionsToGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseAllConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections in the hub. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubGenerateClientTokenOptionalParams\n extends coreClient.OperationOptions {\n /** User Id. */\n userId?: string;\n /** Roles that the connection with the generated token will have. */\n roles?: string[];\n /** The expire time of the generated token. */\n expirationTimeInMinutes?: number;\n /** Groups that the connection will join when it connects. */\n groups?: string[];\n}\n\n/** Contains response data for the generateClientToken operation. */\nexport type WebPubSubGenerateClientTokenResponse = ClientTokenResponse;\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveConnectionsFromGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToAll$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids. */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToAll$textOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids. */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseConnectionOptionalParams\n extends coreClient.OperationOptions {\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubConnectionExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToConnection$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToConnection$textOptionalParams\n extends coreClient.OperationOptions {\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveConnectionFromAllGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubGroupExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseGroupConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections in the group. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToGroup$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToGroup$textOptionalParams\n extends coreClient.OperationOptions {\n /** Excluded connection Ids */\n excludedConnections?: string[];\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveConnectionFromGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubAddConnectionToGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubRevokePermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubCheckPermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubGrantPermissionOptionalParams\n extends coreClient.OperationOptions {\n /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */\n targetName?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubUserExistsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubCloseUserConnectionsOptionalParams\n extends coreClient.OperationOptions {\n /** Exclude these connectionIds when closing the connections for the user. */\n excluded?: string[];\n /** The reason closing the client connection. */\n reason?: string;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToUser$binaryOptionalParams\n extends coreClient.OperationOptions {\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubSendToUser$textOptionalParams\n extends coreClient.OperationOptions {\n /** Following OData filter syntax to filter out the subscribers receiving the messages. */\n filter?: string;\n /** The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited. */\n messageTtlSeconds?: number;\n}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveUserFromAllGroupsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubRemoveUserFromGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface WebPubSubAddUserToGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -5,6 +5,31 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ export const AddToGroupsRequest = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "AddToGroupsRequest",
12
+ modelProperties: {
13
+ groups: {
14
+ serializedName: "groups",
15
+ type: {
16
+ name: "Sequence",
17
+ element: {
18
+ type: {
19
+ name: "String"
20
+ }
21
+ }
22
+ }
23
+ },
24
+ filter: {
25
+ serializedName: "filter",
26
+ type: {
27
+ name: "String"
28
+ }
29
+ }
30
+ }
31
+ }
32
+ };
8
33
  export const ErrorDetail = {
9
34
  type: {
10
35
  name: "Composite",
@@ -85,6 +110,45 @@ export const ClientTokenResponse = {
85
110
  }
86
111
  }
87
112
  };
113
+ export const RemoveFromGroupsRequest = {
114
+ type: {
115
+ name: "Composite",
116
+ className: "RemoveFromGroupsRequest",
117
+ modelProperties: {
118
+ groups: {
119
+ serializedName: "groups",
120
+ type: {
121
+ name: "Sequence",
122
+ element: {
123
+ type: {
124
+ name: "String"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ filter: {
130
+ serializedName: "filter",
131
+ type: {
132
+ name: "String"
133
+ }
134
+ }
135
+ }
136
+ }
137
+ };
138
+ export const WebPubSubAddConnectionsToGroupsExceptionHeaders = {
139
+ type: {
140
+ name: "Composite",
141
+ className: "WebPubSubAddConnectionsToGroupsExceptionHeaders",
142
+ modelProperties: {
143
+ errorCode: {
144
+ serializedName: "x-ms-error-code",
145
+ type: {
146
+ name: "String"
147
+ }
148
+ }
149
+ }
150
+ }
151
+ };
88
152
  export const WebPubSubCloseAllConnectionsExceptionHeaders = {
89
153
  type: {
90
154
  name: "Composite",
@@ -113,6 +177,20 @@ export const WebPubSubGenerateClientTokenExceptionHeaders = {
113
177
  }
114
178
  }
115
179
  };
180
+ export const WebPubSubRemoveConnectionsFromGroupsExceptionHeaders = {
181
+ type: {
182
+ name: "Composite",
183
+ className: "WebPubSubRemoveConnectionsFromGroupsExceptionHeaders",
184
+ modelProperties: {
185
+ errorCode: {
186
+ serializedName: "x-ms-error-code",
187
+ type: {
188
+ name: "String"
189
+ }
190
+ }
191
+ }
192
+ }
193
+ };
116
194
  export const WebPubSubSendToAllExceptionHeaders = {
117
195
  type: {
118
196
  name: "Composite",
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,aAAa;yBACzB;qBACF;iBACF;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW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AE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAA+B;IAC1F,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kDAAkD;QAC7D,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAA+B;IACtF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8CAA8C;QACzD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAA+B;IACjF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yCAAyC;QACpD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","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\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\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: \"ErrorDetail\"\n }\n }\n }\n },\n inner: {\n serializedName: \"inner\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n }\n }\n }\n};\n\nexport const InnerError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InnerError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n inner: {\n serializedName: \"inner\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n }\n }\n }\n};\n\nexport const ClientTokenResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ClientTokenResponse\",\n modelProperties: {\n token: {\n serializedName: \"token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseAllConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseAllConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGenerateClientTokenExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGenerateClientTokenExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToAllExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToAllExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseConnectionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseConnectionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubConnectionExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubConnectionExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToConnectionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToConnectionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGroupExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGroupExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseGroupConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseGroupConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveConnectionFromGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveConnectionFromGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubAddConnectionToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubAddConnectionToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRevokePermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRevokePermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCheckPermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCheckPermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGrantPermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGrantPermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubUserExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubUserExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseUserConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseUserConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToUserExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToUserExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveUserFromAllGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveUserFromAllGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveUserFromGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveUserFromGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubAddUserToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubAddUserToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oBAAoB;QAC/B,eAAe,EAAE;YACf,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;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AA+B;IACjF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yCAAyC;QACpD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","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\nexport const AddToGroupsRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AddToGroupsRequest\",\n modelProperties: {\n groups: {\n serializedName: \"groups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\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: \"ErrorDetail\"\n }\n }\n }\n },\n inner: {\n serializedName: \"inner\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n }\n }\n }\n};\n\nexport const InnerError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InnerError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n inner: {\n serializedName: \"inner\",\n type: {\n name: \"Composite\",\n className: \"InnerError\"\n }\n }\n }\n }\n};\n\nexport const ClientTokenResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ClientTokenResponse\",\n modelProperties: {\n token: {\n serializedName: \"token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RemoveFromGroupsRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RemoveFromGroupsRequest\",\n modelProperties: {\n groups: {\n serializedName: \"groups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubAddConnectionsToGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubAddConnectionsToGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseAllConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseAllConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGenerateClientTokenExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGenerateClientTokenExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveConnectionsFromGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveConnectionsFromGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToAllExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToAllExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseConnectionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseConnectionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubConnectionExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubConnectionExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToConnectionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToConnectionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveConnectionFromAllGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGroupExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGroupExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseGroupConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseGroupConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveConnectionFromGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveConnectionFromGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubAddConnectionToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubAddConnectionToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRevokePermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRevokePermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCheckPermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCheckPermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubGrantPermissionExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubGrantPermissionExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubUserExistsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubUserExistsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubCloseUserConnectionsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubCloseUserConnectionsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubSendToUserExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubSendToUserExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveUserFromAllGroupsExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveUserFromAllGroupsExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubRemoveUserFromGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubRemoveUserFromGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WebPubSubAddUserToGroupExceptionHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WebPubSubAddUserToGroupExceptionHeaders\",\n modelProperties: {\n errorCode: {\n serializedName: \"x-ms-error-code\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,10 +5,11 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { AddToGroupsRequest as AddToGroupsRequestMapper, RemoveFromGroupsRequest as RemoveFromGroupsRequestMapper } from "../models/mappers";
8
9
  export const endpoint = {
9
10
  parameterPath: "endpoint",
10
11
  mapper: {
11
- serializedName: "Endpoint",
12
+ serializedName: "endpoint",
12
13
  required: true,
13
14
  type: {
14
15
  name: "String"
@@ -19,7 +20,7 @@ export const endpoint = {
19
20
  export const apiVersion = {
20
21
  parameterPath: "apiVersion",
21
22
  mapper: {
22
- defaultValue: "2022-11-01",
23
+ defaultValue: "2023-07-01",
23
24
  isConstant: true,
24
25
  serializedName: "api-version",
25
26
  type: {
@@ -27,6 +28,21 @@ export const apiVersion = {
27
28
  }
28
29
  }
29
30
  };
31
+ export const contentType = {
32
+ parameterPath: ["options", "contentType"],
33
+ mapper: {
34
+ defaultValue: "application/json",
35
+ isConstant: true,
36
+ serializedName: "Content-Type",
37
+ type: {
38
+ name: "String"
39
+ }
40
+ }
41
+ };
42
+ export const groupsToAdd = {
43
+ parameterPath: "groupsToAdd",
44
+ mapper: AddToGroupsRequestMapper
45
+ };
30
46
  export const accept = {
31
47
  parameterPath: "accept",
32
48
  mapper: {
@@ -138,7 +154,11 @@ export const groups = {
138
154
  },
139
155
  collectionFormat: "Multi"
140
156
  };
141
- export const contentType = {
157
+ export const groupsToRemove = {
158
+ parameterPath: "groupsToRemove",
159
+ mapper: RemoveFromGroupsRequestMapper
160
+ };
161
+ export const contentType1 = {
142
162
  parameterPath: "contentType",
143
163
  mapper: {
144
164
  serializedName: "Content-Type",
@@ -170,7 +190,7 @@ export const accept2 = {
170
190
  }
171
191
  }
172
192
  };
173
- export const contentType1 = {
193
+ export const contentType2 = {
174
194
  parameterPath: "contentType",
175
195
  mapper: {
176
196
  defaultValue: "text/plain",
@@ -226,6 +246,19 @@ export const filter = {
226
246
  }
227
247
  }
228
248
  };
249
+ export const messageTtlSeconds = {
250
+ parameterPath: ["options", "messageTtlSeconds"],
251
+ mapper: {
252
+ constraints: {
253
+ InclusiveMaximum: 300,
254
+ InclusiveMinimum: 0
255
+ },
256
+ serializedName: "messageTtlSeconds",
257
+ type: {
258
+ name: "Number"
259
+ }
260
+ }
261
+ };
229
262
  export const connectionId = {
230
263
  parameterPath: "connectionId",
231
264
  mapper: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAA0B;IACxC,aAAa,EAAE,KAAK;IACpB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,sCAAsC,CAAC;SAC5D;QACD,cAAc,EAAE,KAAK;QACrB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA4B;IAC/C,aAAa,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACtC,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAA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EAAE,IAAI,MAAM,CAAC,eAAe,CAAC;YACpC,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;IACxC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA0B;IAC5C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","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 {\n OperationURLParameter,\n OperationQueryParameter,\n OperationParameter\n} from \"@azure/core-client\";\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"Endpoint\",\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: \"2022-11-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\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 hub: OperationURLParameter = {\n parameterPath: \"hub\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z][A-Za-z0-9_`,.[\\\\]]{0,127}$\")\n },\n serializedName: \"hub\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const excluded: OperationQueryParameter = {\n parameterPath: [\"options\", \"excluded\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const reason: OperationQueryParameter = {\n parameterPath: [\"options\", \"reason\"],\n mapper: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const userId: OperationQueryParameter = {\n parameterPath: [\"options\", \"userId\"],\n mapper: {\n serializedName: \"userId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const roles: OperationQueryParameter = {\n parameterPath: [\"options\", \"roles\"],\n mapper: {\n serializedName: \"role\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const expirationTimeInMinutes: OperationQueryParameter = {\n parameterPath: [\"options\", \"expirationTimeInMinutes\"],\n mapper: {\n defaultValue: 60,\n constraints: {\n InclusiveMinimum: 1\n },\n serializedName: \"minutesToExpire\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const groups: OperationQueryParameter = {\n parameterPath: [\"options\", \"groups\"],\n mapper: {\n serializedName: \"group\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n serializedName: \"Content-Type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"application/json\", \"application/octet-stream\"]\n }\n }\n};\n\nexport const message: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const accept2: 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 contentType1: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n defaultValue: \"text/plain\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const message1: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept3: 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 excludedConnections: OperationQueryParameter = {\n parameterPath: [\"options\", \"excludedConnections\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const connectionId: OperationURLParameter = {\n parameterPath: \"connectionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"connectionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const group: OperationURLParameter = {\n parameterPath: \"group\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^(?!\\\\s+$).+$\"),\n MaxLength: 1024,\n MinLength: 1\n },\n serializedName: \"group\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const permission: OperationURLParameter = {\n parameterPath: \"permission\",\n mapper: {\n serializedName: \"permission\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const targetName: OperationQueryParameter = {\n parameterPath: [\"options\", \"targetName\"],\n mapper: {\n serializedName: \"targetName\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const userId1: OperationURLParameter = {\n parameterPath: \"userId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,kBAAkB,IAAI,wBAAwB,EAC9C,uBAAuB,IAAI,6BAA6B,EACzD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QACh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E,IAAI,MAAM,CAAC,eAAe,CAAC;YACpC,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;IACxC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA0B;IAC5C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","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 {\n OperationURLParameter,\n OperationQueryParameter,\n OperationParameter\n} from \"@azure/core-client\";\nimport {\n AddToGroupsRequest as AddToGroupsRequestMapper,\n RemoveFromGroupsRequest as RemoveFromGroupsRequestMapper\n} from \"../models/mappers\";\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\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: \"2023-07-01\",\n isConstant: true,\n serializedName: \"api-version\",\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 groupsToAdd: OperationParameter = {\n parameterPath: \"groupsToAdd\",\n mapper: AddToGroupsRequestMapper\n};\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 hub: OperationURLParameter = {\n parameterPath: \"hub\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z][A-Za-z0-9_`,.[\\\\]]{0,127}$\")\n },\n serializedName: \"hub\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const excluded: OperationQueryParameter = {\n parameterPath: [\"options\", \"excluded\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const reason: OperationQueryParameter = {\n parameterPath: [\"options\", \"reason\"],\n mapper: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const userId: OperationQueryParameter = {\n parameterPath: [\"options\", \"userId\"],\n mapper: {\n serializedName: \"userId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const roles: OperationQueryParameter = {\n parameterPath: [\"options\", \"roles\"],\n mapper: {\n serializedName: \"role\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const expirationTimeInMinutes: OperationQueryParameter = {\n parameterPath: [\"options\", \"expirationTimeInMinutes\"],\n mapper: {\n defaultValue: 60,\n constraints: {\n InclusiveMinimum: 1\n },\n serializedName: \"minutesToExpire\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const groups: OperationQueryParameter = {\n parameterPath: [\"options\", \"groups\"],\n mapper: {\n serializedName: \"group\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const groupsToRemove: OperationParameter = {\n parameterPath: \"groupsToRemove\",\n mapper: RemoveFromGroupsRequestMapper\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n serializedName: \"Content-Type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"application/json\", \"application/octet-stream\"]\n }\n }\n};\n\nexport const message: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"Stream\"\n }\n }\n};\n\nexport const accept2: 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 contentType2: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n defaultValue: \"text/plain\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const message1: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept3: 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 excludedConnections: OperationQueryParameter = {\n parameterPath: [\"options\", \"excludedConnections\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const messageTtlSeconds: OperationQueryParameter = {\n parameterPath: [\"options\", \"messageTtlSeconds\"],\n mapper: {\n constraints: {\n InclusiveMaximum: 300,\n InclusiveMinimum: 0\n },\n serializedName: \"messageTtlSeconds\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const connectionId: OperationURLParameter = {\n parameterPath: \"connectionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"connectionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const group: OperationURLParameter = {\n parameterPath: \"group\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^(?!\\\\s+$).+$\"),\n MaxLength: 1024,\n MinLength: 1\n },\n serializedName: \"group\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const permission: OperationURLParameter = {\n parameterPath: \"permission\",\n mapper: {\n serializedName: \"permission\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const targetName: OperationQueryParameter = {\n parameterPath: [\"options\", \"targetName\"],\n mapper: {\n serializedName: \"targetName\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const userId1: OperationURLParameter = {\n parameterPath: \"userId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"]}
@@ -17,6 +17,16 @@ export class WebPubSubImpl {
17
17
  constructor(client) {
18
18
  this.client = client;
19
19
  }
20
+ /**
21
+ * Add filtered connections to multiple groups.
22
+ * @param hub Target hub name, which should start with alphabetic characters and only contain
23
+ * alpha-numeric characters or underscore.
24
+ * @param groupsToAdd Target groups and connection filter.
25
+ * @param options The options parameters.
26
+ */
27
+ addConnectionsToGroups(hub, groupsToAdd, options) {
28
+ return this.client.sendOperationRequest({ hub, groupsToAdd, options }, addConnectionsToGroupsOperationSpec);
29
+ }
20
30
  /**
21
31
  * Close the connections in the hub.
22
32
  * @param hub Target hub name, which should start with alphabetic characters and only contain
@@ -35,6 +45,16 @@ export class WebPubSubImpl {
35
45
  generateClientToken(hub, options) {
36
46
  return this.client.sendOperationRequest({ hub, options }, generateClientTokenOperationSpec);
37
47
  }
48
+ /**
49
+ * Remove filtered connections from multiple groups.
50
+ * @param hub Target hub name, which should start with alphabetic characters and only contain
51
+ * alpha-numeric characters or underscore.
52
+ * @param groupsToRemove Target groups and connection filter.
53
+ * @param options The options parameters.
54
+ */
55
+ removeConnectionsFromGroups(hub, groupsToRemove, options) {
56
+ return this.client.sendOperationRequest({ hub, groupsToRemove, options }, removeConnectionsFromGroupsOperationSpec);
57
+ }
38
58
  /**
39
59
  * Broadcast content inside request body to all the connected client connections.
40
60
  * @param args Includes all the parameters for this operation.
@@ -341,6 +361,23 @@ export class WebPubSubImpl {
341
361
  }
342
362
  // Operation Specifications
343
363
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
364
+ const addConnectionsToGroupsOperationSpec = {
365
+ path: "/api/hubs/{hub}/:addToGroups",
366
+ httpMethod: "POST",
367
+ responses: {
368
+ 200: {},
369
+ default: {
370
+ bodyMapper: Mappers.ErrorDetail,
371
+ headersMapper: Mappers.WebPubSubAddConnectionsToGroupsExceptionHeaders
372
+ }
373
+ },
374
+ requestBody: Parameters.groupsToAdd,
375
+ queryParameters: [Parameters.apiVersion],
376
+ urlParameters: [Parameters.endpoint, Parameters.hub],
377
+ headerParameters: [Parameters.contentType, Parameters.accept],
378
+ mediaType: "json",
379
+ serializer
380
+ };
344
381
  const closeAllConnectionsOperationSpec = {
345
382
  path: "/api/hubs/{hub}/:closeConnections",
346
383
  httpMethod: "POST",
@@ -383,6 +420,23 @@ const generateClientTokenOperationSpec = {
383
420
  headerParameters: [Parameters.accept1],
384
421
  serializer
385
422
  };
423
+ const removeConnectionsFromGroupsOperationSpec = {
424
+ path: "/api/hubs/{hub}/:removeFromGroups",
425
+ httpMethod: "POST",
426
+ responses: {
427
+ 200: {},
428
+ default: {
429
+ bodyMapper: Mappers.ErrorDetail,
430
+ headersMapper: Mappers.WebPubSubRemoveConnectionsFromGroupsExceptionHeaders
431
+ }
432
+ },
433
+ requestBody: Parameters.groupsToRemove,
434
+ queryParameters: [Parameters.apiVersion],
435
+ urlParameters: [Parameters.endpoint, Parameters.hub],
436
+ headerParameters: [Parameters.contentType, Parameters.accept],
437
+ mediaType: "json",
438
+ serializer
439
+ };
386
440
  const sendToAll$binaryOperationSpec = {
387
441
  path: "/api/hubs/{hub}/:send",
388
442
  httpMethod: "POST",
@@ -397,10 +451,11 @@ const sendToAll$binaryOperationSpec = {
397
451
  queryParameters: [
398
452
  Parameters.apiVersion,
399
453
  Parameters.excludedConnections,
400
- Parameters.filter
454
+ Parameters.filter,
455
+ Parameters.messageTtlSeconds
401
456
  ],
402
457
  urlParameters: [Parameters.endpoint, Parameters.hub],
403
- headerParameters: [Parameters.contentType, Parameters.accept2],
458
+ headerParameters: [Parameters.contentType1, Parameters.accept2],
404
459
  mediaType: "binary",
405
460
  serializer
406
461
  };
@@ -418,10 +473,11 @@ const sendToAll$textOperationSpec = {
418
473
  queryParameters: [
419
474
  Parameters.apiVersion,
420
475
  Parameters.excludedConnections,
421
- Parameters.filter
476
+ Parameters.filter,
477
+ Parameters.messageTtlSeconds
422
478
  ],
423
479
  urlParameters: [Parameters.endpoint, Parameters.hub],
424
- headerParameters: [Parameters.contentType1, Parameters.accept3],
480
+ headerParameters: [Parameters.contentType2, Parameters.accept3],
425
481
  mediaType: "text",
426
482
  serializer
427
483
  };
@@ -465,9 +521,9 @@ const sendToConnection$binaryOperationSpec = {
465
521
  }
466
522
  },
467
523
  requestBody: Parameters.message,
468
- queryParameters: [Parameters.apiVersion],
524
+ queryParameters: [Parameters.apiVersion, Parameters.messageTtlSeconds],
469
525
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
470
- headerParameters: [Parameters.contentType, Parameters.accept2],
526
+ headerParameters: [Parameters.contentType1, Parameters.accept2],
471
527
  mediaType: "binary",
472
528
  serializer
473
529
  };
@@ -482,9 +538,9 @@ const sendToConnection$textOperationSpec = {
482
538
  }
483
539
  },
484
540
  requestBody: Parameters.message1,
485
- queryParameters: [Parameters.apiVersion],
541
+ queryParameters: [Parameters.apiVersion, Parameters.messageTtlSeconds],
486
542
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.connectionId],
487
- headerParameters: [Parameters.contentType1, Parameters.accept3],
543
+ headerParameters: [Parameters.contentType2, Parameters.accept3],
488
544
  mediaType: "text",
489
545
  serializer
490
546
  };
@@ -550,10 +606,11 @@ const sendToGroup$binaryOperationSpec = {
550
606
  queryParameters: [
551
607
  Parameters.apiVersion,
552
608
  Parameters.excludedConnections,
553
- Parameters.filter
609
+ Parameters.filter,
610
+ Parameters.messageTtlSeconds
554
611
  ],
555
612
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
556
- headerParameters: [Parameters.contentType, Parameters.accept2],
613
+ headerParameters: [Parameters.contentType1, Parameters.accept2],
557
614
  mediaType: "binary",
558
615
  serializer
559
616
  };
@@ -571,10 +628,11 @@ const sendToGroup$textOperationSpec = {
571
628
  queryParameters: [
572
629
  Parameters.apiVersion,
573
630
  Parameters.excludedConnections,
574
- Parameters.filter
631
+ Parameters.filter,
632
+ Parameters.messageTtlSeconds
575
633
  ],
576
634
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.group],
577
- headerParameters: [Parameters.contentType1, Parameters.accept3],
635
+ headerParameters: [Parameters.contentType2, Parameters.accept3],
578
636
  mediaType: "text",
579
637
  serializer
580
638
  };
@@ -721,9 +779,13 @@ const sendToUser$binaryOperationSpec = {
721
779
  }
722
780
  },
723
781
  requestBody: Parameters.message,
724
- queryParameters: [Parameters.apiVersion, Parameters.filter],
782
+ queryParameters: [
783
+ Parameters.apiVersion,
784
+ Parameters.filter,
785
+ Parameters.messageTtlSeconds
786
+ ],
725
787
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
726
- headerParameters: [Parameters.contentType, Parameters.accept2],
788
+ headerParameters: [Parameters.contentType1, Parameters.accept2],
727
789
  mediaType: "binary",
728
790
  serializer
729
791
  };
@@ -738,9 +800,13 @@ const sendToUser$textOperationSpec = {
738
800
  }
739
801
  },
740
802
  requestBody: Parameters.message1,
741
- queryParameters: [Parameters.apiVersion, Parameters.filter],
803
+ queryParameters: [
804
+ Parameters.apiVersion,
805
+ Parameters.filter,
806
+ Parameters.messageTtlSeconds
807
+ ],
742
808
  urlParameters: [Parameters.endpoint, Parameters.hub, Parameters.userId1],
743
- headerParameters: [Parameters.contentType1, Parameters.accept3],
809
+ headerParameters: [Parameters.contentType2, Parameters.accept3],
744
810
  mediaType: "text",
745
811
  serializer
746
812
  };