@azure-tools/communication-short-codes 1.0.0-beta.3 → 1.0.0-beta.5
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.
- package/README.md +175 -156
- package/dist/browser/generated/src/index.d.ts +4 -0
- package/dist/browser/generated/src/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/index.js +3 -4
- package/dist/browser/generated/src/index.js.map +1 -0
- package/{types/communication-short-codes.d.ts → dist/browser/generated/src/models/index.d.ts} +422 -377
- package/dist/browser/generated/src/models/index.d.ts.map +1 -0
- package/dist/browser/generated/src/models/index.js.map +1 -0
- package/dist/browser/generated/src/models/mappers.d.ts +23 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +74 -39
- package/dist/browser/generated/src/models/mappers.js.map +1 -0
- package/dist/browser/generated/src/models/parameters.d.ts +19 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +2 -2
- package/dist/browser/generated/src/models/parameters.js.map +1 -0
- package/dist/browser/generated/src/operations/index.d.ts +2 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/index.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/src/operations/index.js.map +1 -1
- package/dist/browser/generated/src/operations/shortCodes.d.ts +143 -0
- package/dist/browser/generated/src/operations/shortCodes.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operations/shortCodesOperations.js → dist/browser/generated/src/operations/shortCodes.js} +194 -128
- package/dist/browser/generated/src/operations/shortCodes.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/index.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/shortCodes.d.ts +80 -0
- package/dist/browser/generated/src/operationsInterfaces/shortCodes.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js → dist/browser/generated/src/operationsInterfaces/shortCodes.js} +1 -1
- package/dist/browser/generated/src/operationsInterfaces/shortCodes.js.map +1 -0
- package/dist/browser/generated/src/shortCodesClient.d.ts +17 -0
- package/dist/browser/generated/src/shortCodesClient.d.ts.map +1 -0
- package/dist/browser/generated/src/shortCodesClient.js +93 -0
- package/dist/browser/generated/src/shortCodesClient.js.map +1 -0
- package/dist/browser/generated/src/tracing.d.ts +2 -0
- package/dist/browser/generated/src/tracing.d.ts.map +1 -0
- package/dist/browser/generated/src/tracing.js +14 -0
- package/dist/browser/generated/src/tracing.js.map +1 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/mappers.d.ts +2 -0
- package/dist/browser/mappers.d.ts.map +1 -0
- package/dist/browser/mappers.js +4 -0
- package/dist/browser/mappers.js.map +1 -0
- package/dist/browser/models.d.ts +34 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/shortCodesClient.d.ts +31 -0
- package/dist/browser/shortCodesClient.d.ts.map +1 -0
- package/dist/browser/shortCodesClient.js +137 -0
- package/dist/browser/shortCodesClient.js.map +1 -0
- package/dist/browser/utils/constants.d.ts +2 -0
- package/dist/browser/utils/constants.d.ts.map +1 -0
- package/dist/browser/utils/constants.js +4 -0
- package/{dist-esm/src → dist/browser}/utils/constants.js.map +1 -1
- package/dist/browser/utils/customPipelinePolicies.d.ts +11 -0
- package/dist/browser/utils/customPipelinePolicies.d.ts.map +1 -0
- package/dist/browser/utils/customPipelinePolicies.js +26 -0
- package/dist/browser/utils/customPipelinePolicies.js.map +1 -0
- package/dist/browser/utils/index.d.ts +3 -0
- package/dist/browser/utils/index.d.ts.map +1 -0
- package/dist/browser/utils/index.js +5 -0
- package/dist/browser/utils/index.js.map +1 -0
- package/dist/browser/utils/logger.d.ts +5 -0
- package/dist/browser/utils/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utils/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/utils/logger.js.map +1 -1
- package/dist/commonjs/generated/src/index.d.ts +4 -0
- package/dist/commonjs/generated/src/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.js +17 -0
- package/dist/commonjs/generated/src/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/index.d.ts +422 -0
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/index.js +10 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts +23 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.js +846 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts +19 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.js +146 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts +2 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/index.js +12 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -0
- package/dist/commonjs/generated/src/operations/shortCodes.d.ts +143 -0
- package/dist/commonjs/generated/src/operations/shortCodes.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/shortCodes.js +605 -0
- package/dist/commonjs/generated/src/operations/shortCodes.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/shortCodes.d.ts +80 -0
- package/dist/commonjs/generated/src/operationsInterfaces/shortCodes.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/shortCodes.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/shortCodes.js.map +1 -0
- package/dist/commonjs/generated/src/shortCodesClient.d.ts +17 -0
- package/dist/commonjs/generated/src/shortCodesClient.d.ts.map +1 -0
- package/dist/commonjs/generated/src/shortCodesClient.js +98 -0
- package/dist/commonjs/generated/src/shortCodesClient.js.map +1 -0
- package/dist/commonjs/generated/src/tracing.d.ts +2 -0
- package/dist/commonjs/generated/src/tracing.d.ts.map +1 -0
- package/dist/commonjs/generated/src/tracing.js +17 -0
- package/dist/commonjs/generated/src/tracing.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +9 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/mappers.d.ts +2 -0
- package/dist/commonjs/mappers.d.ts.map +1 -0
- package/dist/commonjs/mappers.js +11 -0
- package/dist/commonjs/mappers.js.map +1 -0
- package/dist/commonjs/models.d.ts +34 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/shortCodesClient.d.ts +31 -0
- package/dist/commonjs/shortCodesClient.d.ts.map +1 -0
- package/dist/commonjs/shortCodesClient.js +141 -0
- package/dist/commonjs/shortCodesClient.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/utils/constants.d.ts +2 -0
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +7 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/customPipelinePolicies.d.ts +11 -0
- package/dist/commonjs/utils/customPipelinePolicies.d.ts.map +1 -0
- package/dist/commonjs/utils/customPipelinePolicies.js +29 -0
- package/dist/commonjs/utils/customPipelinePolicies.js.map +1 -0
- package/dist/commonjs/utils/index.d.ts +3 -0
- package/dist/commonjs/utils/index.d.ts.map +1 -0
- package/dist/commonjs/utils/index.js +8 -0
- package/dist/commonjs/utils/index.js.map +1 -0
- package/dist/commonjs/utils/logger.d.ts +5 -0
- package/dist/commonjs/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/utils/logger.js +11 -0
- package/dist/commonjs/utils/logger.js.map +1 -0
- package/dist/esm/generated/src/index.d.ts +4 -0
- package/dist/esm/generated/src/index.d.ts.map +1 -0
- package/dist/esm/generated/src/index.js +12 -0
- package/dist/esm/generated/src/index.js.map +1 -0
- package/dist/esm/generated/src/models/index.d.ts +422 -0
- package/dist/esm/generated/src/models/index.d.ts.map +1 -0
- package/dist/esm/generated/src/models/index.js +9 -0
- package/dist/esm/generated/src/models/index.js.map +1 -0
- package/dist/esm/generated/src/models/mappers.d.ts +23 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/src/models/mappers.js +843 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -0
- package/dist/esm/generated/src/models/parameters.d.ts +19 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/src/models/parameters.js +143 -0
- package/dist/esm/generated/src/models/parameters.js.map +1 -0
- package/dist/esm/generated/src/operations/index.d.ts +2 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/index.js +9 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -0
- package/dist/esm/generated/src/operations/shortCodes.d.ts +143 -0
- package/dist/esm/generated/src/operations/shortCodes.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/shortCodes.js +600 -0
- package/dist/esm/generated/src/operations/shortCodes.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/shortCodes.d.ts +80 -0
- package/dist/esm/generated/src/operationsInterfaces/shortCodes.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/shortCodes.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/shortCodes.js.map +1 -0
- package/dist/esm/generated/src/shortCodesClient.d.ts +17 -0
- package/dist/esm/generated/src/shortCodesClient.d.ts.map +1 -0
- package/dist/esm/generated/src/shortCodesClient.js +93 -0
- package/dist/esm/generated/src/shortCodesClient.js.map +1 -0
- package/dist/esm/generated/src/tracing.d.ts +2 -0
- package/dist/esm/generated/src/tracing.d.ts.map +1 -0
- package/dist/esm/generated/src/tracing.js +14 -0
- package/dist/esm/generated/src/tracing.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/mappers.d.ts +2 -0
- package/dist/esm/mappers.d.ts.map +1 -0
- package/dist/esm/mappers.js +4 -0
- package/dist/esm/mappers.js.map +1 -0
- package/dist/esm/models.d.ts +34 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/shortCodesClient.d.ts +31 -0
- package/dist/esm/shortCodesClient.d.ts.map +1 -0
- package/dist/esm/shortCodesClient.js +137 -0
- package/dist/esm/shortCodesClient.js.map +1 -0
- package/dist/esm/utils/constants.d.ts +2 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/dist/esm/utils/constants.js +4 -0
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/customPipelinePolicies.d.ts +11 -0
- package/dist/esm/utils/customPipelinePolicies.d.ts.map +1 -0
- package/dist/esm/utils/customPipelinePolicies.js +26 -0
- package/dist/esm/utils/customPipelinePolicies.js.map +1 -0
- package/dist/esm/utils/index.d.ts +3 -0
- package/dist/esm/utils/index.d.ts.map +1 -0
- package/dist/esm/utils/index.js +5 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/logger.d.ts +5 -0
- package/dist/esm/utils/logger.d.ts.map +1 -0
- package/dist/esm/utils/logger.js +8 -0
- package/dist/esm/utils/logger.js.map +1 -0
- package/dist/react-native/generated/src/index.d.ts +4 -0
- package/dist/react-native/generated/src/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/index.js +12 -0
- package/dist/react-native/generated/src/index.js.map +1 -0
- package/dist/react-native/generated/src/models/index.d.ts +422 -0
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/index.js +9 -0
- package/dist/react-native/generated/src/models/index.js.map +1 -0
- package/dist/react-native/generated/src/models/mappers.d.ts +23 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/mappers.js +843 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -0
- package/dist/react-native/generated/src/models/parameters.d.ts +19 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/parameters.js +143 -0
- package/dist/react-native/generated/src/models/parameters.js.map +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts +2 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/index.js +9 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -0
- package/dist/react-native/generated/src/operations/shortCodes.d.ts +143 -0
- package/dist/react-native/generated/src/operations/shortCodes.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/shortCodes.js +600 -0
- package/dist/react-native/generated/src/operations/shortCodes.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/shortCodes.d.ts +80 -0
- package/dist/react-native/generated/src/operationsInterfaces/shortCodes.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/shortCodes.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/shortCodes.js.map +1 -0
- package/dist/react-native/generated/src/shortCodesClient.d.ts +17 -0
- package/dist/react-native/generated/src/shortCodesClient.d.ts.map +1 -0
- package/dist/react-native/generated/src/shortCodesClient.js +93 -0
- package/dist/react-native/generated/src/shortCodesClient.js.map +1 -0
- package/dist/react-native/generated/src/tracing.d.ts +2 -0
- package/dist/react-native/generated/src/tracing.d.ts.map +1 -0
- package/dist/react-native/generated/src/tracing.js +14 -0
- package/dist/react-native/generated/src/tracing.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/mappers.d.ts +2 -0
- package/dist/react-native/mappers.d.ts.map +1 -0
- package/dist/react-native/mappers.js +4 -0
- package/dist/react-native/mappers.js.map +1 -0
- package/dist/react-native/models.d.ts +34 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/shortCodesClient.d.ts +31 -0
- package/dist/react-native/shortCodesClient.d.ts.map +1 -0
- package/dist/react-native/shortCodesClient.js +137 -0
- package/dist/react-native/shortCodesClient.js.map +1 -0
- package/dist/react-native/utils/constants.d.ts +2 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +4 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/customPipelinePolicies.d.ts +11 -0
- package/dist/react-native/utils/customPipelinePolicies.d.ts.map +1 -0
- package/dist/react-native/utils/customPipelinePolicies.js +26 -0
- package/dist/react-native/utils/customPipelinePolicies.js.map +1 -0
- package/dist/react-native/utils/index.d.ts +3 -0
- package/dist/react-native/utils/index.d.ts.map +1 -0
- package/dist/react-native/utils/index.js +5 -0
- package/dist/react-native/utils/index.js.map +1 -0
- package/dist/react-native/utils/logger.d.ts +5 -0
- package/dist/react-native/utils/logger.d.ts.map +1 -0
- package/dist/react-native/utils/logger.js +8 -0
- package/dist/react-native/utils/logger.js.map +1 -0
- package/package.json +88 -75
- package/dist/index.js +0 -1767
- package/dist/index.js.map +0 -1
- package/dist-esm/src/generated/src/index.js.map +0 -1
- package/dist-esm/src/generated/src/models/index.js.map +0 -1
- package/dist-esm/src/generated/src/models/mappers.js.map +0 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/src/operations/shortCodesOperations.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js.map +0 -1
- package/dist-esm/src/generated/src/shortCodesClient.js +0 -21
- package/dist-esm/src/generated/src/shortCodesClient.js.map +0 -1
- package/dist-esm/src/generated/src/shortCodesClientContext.js +0 -40
- package/dist-esm/src/generated/src/shortCodesClientContext.js.map +0 -1
- package/dist-esm/src/index.js +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/shortCodesClient.js +0 -184
- package/dist-esm/src/shortCodesClient.js.map +0 -1
- package/dist-esm/src/utils/constants.js +0 -4
- package/dist-esm/src/utils/index.js +0 -6
- package/dist-esm/src/utils/index.js.map +0 -1
- package/dist-esm/src/utils/tracing.js +0 -14
- package/dist-esm/src/utils/tracing.js.map +0 -1
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js +0 -0
|
@@ -5,15 +5,16 @@
|
|
|
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 {
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Class containing
|
|
14
|
-
export class
|
|
13
|
+
/** Class containing ShortCodes operations. */
|
|
14
|
+
export class ShortCodesImpl {
|
|
15
|
+
client;
|
|
15
16
|
/**
|
|
16
|
-
* Initialize a new instance of the class
|
|
17
|
+
* Initialize a new instance of the class ShortCodes class.
|
|
17
18
|
* @param client Reference to the service client
|
|
18
19
|
*/
|
|
19
20
|
constructor(client) {
|
|
@@ -37,35 +38,53 @@ export class ShortCodesOperationsImpl {
|
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
getShortCodesPagingPage(options) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
});
|
|
41
|
+
async *getShortCodesPagingPage(options) {
|
|
42
|
+
let result = await this._getShortCodes(options);
|
|
43
|
+
yield result.shortCodes || [];
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = await this._getShortCodesNext(continuationToken, options);
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield result.shortCodes || [];
|
|
49
|
+
}
|
|
51
50
|
}
|
|
52
|
-
getShortCodesPagingAll(options) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
51
|
+
async *getShortCodesPagingAll(options) {
|
|
52
|
+
for await (const page of this.getShortCodesPagingPage(options)) {
|
|
53
|
+
yield* page;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* This method supports pagination via the "skip" and "top" query parameters.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
listCosts(options) {
|
|
61
|
+
const iter = this.getCostsPagingAll(options);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.getCostsPagingPage(options);
|
|
67
71
|
}
|
|
68
|
-
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
async *getCostsPagingPage(options) {
|
|
75
|
+
let result = await this._getCosts(options);
|
|
76
|
+
yield result.costs || [];
|
|
77
|
+
let continuationToken = result.nextLink;
|
|
78
|
+
while (continuationToken) {
|
|
79
|
+
result = await this._getCostsNext(continuationToken, options);
|
|
80
|
+
continuationToken = result.nextLink;
|
|
81
|
+
yield result.costs || [];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
async *getCostsPagingAll(options) {
|
|
85
|
+
for await (const page of this.getCostsPagingPage(options)) {
|
|
86
|
+
yield* page;
|
|
87
|
+
}
|
|
69
88
|
}
|
|
70
89
|
/**
|
|
71
90
|
* Gets the list of US Program Briefs for the current resource.
|
|
@@ -85,35 +104,20 @@ export class ShortCodesOperationsImpl {
|
|
|
85
104
|
}
|
|
86
105
|
};
|
|
87
106
|
}
|
|
88
|
-
getUSProgramBriefsPagingPage(options) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
});
|
|
107
|
+
async *getUSProgramBriefsPagingPage(options) {
|
|
108
|
+
let result = await this._getUSProgramBriefs(options);
|
|
109
|
+
yield result.programBriefs || [];
|
|
110
|
+
let continuationToken = result.nextLink;
|
|
111
|
+
while (continuationToken) {
|
|
112
|
+
result = await this._getUSProgramBriefsNext(continuationToken, options);
|
|
113
|
+
continuationToken = result.nextLink;
|
|
114
|
+
yield result.programBriefs || [];
|
|
115
|
+
}
|
|
99
116
|
}
|
|
100
|
-
getUSProgramBriefsPagingAll(options) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
for (var _b = __asyncValues(this.getUSProgramBriefsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
105
|
-
const page = _c.value;
|
|
106
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
110
|
-
finally {
|
|
111
|
-
try {
|
|
112
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
113
|
-
}
|
|
114
|
-
finally { if (e_2) throw e_2.error; }
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
+
async *getUSProgramBriefsPagingAll(options) {
|
|
118
|
+
for await (const page of this.getUSProgramBriefsPagingPage(options)) {
|
|
119
|
+
yield* page;
|
|
120
|
+
}
|
|
117
121
|
}
|
|
118
122
|
/**
|
|
119
123
|
* Gets the list of attachments from a US Program Brief.
|
|
@@ -134,81 +138,87 @@ export class ShortCodesOperationsImpl {
|
|
|
134
138
|
}
|
|
135
139
|
};
|
|
136
140
|
}
|
|
137
|
-
getUSProgramBriefAttachmentsPagingPage(programBriefId, options) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
});
|
|
141
|
+
async *getUSProgramBriefAttachmentsPagingPage(programBriefId, options) {
|
|
142
|
+
let result = await this._getUSProgramBriefAttachments(programBriefId, options);
|
|
143
|
+
yield result.attachments || [];
|
|
144
|
+
let continuationToken = result.nextLink;
|
|
145
|
+
while (continuationToken) {
|
|
146
|
+
result = await this._getUSProgramBriefAttachmentsNext(programBriefId, continuationToken, options);
|
|
147
|
+
continuationToken = result.nextLink;
|
|
148
|
+
yield result.attachments || [];
|
|
149
|
+
}
|
|
148
150
|
}
|
|
149
|
-
getUSProgramBriefAttachmentsPagingAll(programBriefId, options) {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
for (var _b = __asyncValues(this.getUSProgramBriefAttachmentsPagingPage(programBriefId, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
154
|
-
const page = _c.value;
|
|
155
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
159
|
-
finally {
|
|
160
|
-
try {
|
|
161
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
162
|
-
}
|
|
163
|
-
finally { if (e_3) throw e_3.error; }
|
|
164
|
-
}
|
|
165
|
-
});
|
|
151
|
+
async *getUSProgramBriefAttachmentsPagingAll(programBriefId, options) {
|
|
152
|
+
for await (const page of this.getUSProgramBriefAttachmentsPagingPage(programBriefId, options)) {
|
|
153
|
+
yield* page;
|
|
154
|
+
}
|
|
166
155
|
}
|
|
167
156
|
/**
|
|
168
157
|
* Gets the list of short codes for the current resource.
|
|
169
158
|
* @param options The options parameters.
|
|
170
159
|
*/
|
|
171
|
-
_getShortCodes(options) {
|
|
172
|
-
return
|
|
160
|
+
async _getShortCodes(options) {
|
|
161
|
+
return tracingClient.withSpan("ShortCodesClient._getShortCodes", options ?? {}, async (options) => {
|
|
162
|
+
return this.client.sendOperationRequest({ options }, getShortCodesOperationSpec);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* This method supports pagination via the "skip" and "top" query parameters.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
async _getCosts(options) {
|
|
170
|
+
return tracingClient.withSpan("ShortCodesClient._getCosts", options ?? {}, async (options) => {
|
|
171
|
+
return this.client.sendOperationRequest({ options }, getCostsOperationSpec);
|
|
172
|
+
});
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* Creates or updates a US Program Brief.
|
|
176
176
|
* @param programBriefId Program Brief Id. Must be a valid GUID
|
|
177
177
|
* @param options The options parameters.
|
|
178
178
|
*/
|
|
179
|
-
upsertUSProgramBrief(programBriefId, options) {
|
|
180
|
-
return
|
|
179
|
+
async upsertUSProgramBrief(programBriefId, options) {
|
|
180
|
+
return tracingClient.withSpan("ShortCodesClient.upsertUSProgramBrief", options ?? {}, async (options) => {
|
|
181
|
+
return this.client.sendOperationRequest({ programBriefId, options }, upsertUSProgramBriefOperationSpec);
|
|
182
|
+
});
|
|
181
183
|
}
|
|
182
184
|
/**
|
|
183
185
|
* Deletes a US Program Brief.
|
|
184
186
|
* @param programBriefId Program Brief Id. Must be a valid GUID
|
|
185
187
|
* @param options The options parameters.
|
|
186
188
|
*/
|
|
187
|
-
deleteUSProgramBrief(programBriefId, options) {
|
|
188
|
-
return
|
|
189
|
+
async deleteUSProgramBrief(programBriefId, options) {
|
|
190
|
+
return tracingClient.withSpan("ShortCodesClient.deleteUSProgramBrief", options ?? {}, async (options) => {
|
|
191
|
+
return this.client.sendOperationRequest({ programBriefId, options }, deleteUSProgramBriefOperationSpec);
|
|
192
|
+
});
|
|
189
193
|
}
|
|
190
194
|
/**
|
|
191
195
|
* Get a US Program Brief by id.
|
|
192
196
|
* @param programBriefId Program Brief Id. Must be a valid GUID
|
|
193
197
|
* @param options The options parameters.
|
|
194
198
|
*/
|
|
195
|
-
getUSProgramBrief(programBriefId, options) {
|
|
196
|
-
return
|
|
199
|
+
async getUSProgramBrief(programBriefId, options) {
|
|
200
|
+
return tracingClient.withSpan("ShortCodesClient.getUSProgramBrief", options ?? {}, async (options) => {
|
|
201
|
+
return this.client.sendOperationRequest({ programBriefId, options }, getUSProgramBriefOperationSpec);
|
|
202
|
+
});
|
|
197
203
|
}
|
|
198
204
|
/**
|
|
199
205
|
* Submits a US Program Brief for review.
|
|
200
206
|
* @param programBriefId Program Brief Id. Must be a valid GUID
|
|
201
207
|
* @param options The options parameters.
|
|
202
208
|
*/
|
|
203
|
-
submitUSProgramBrief(programBriefId, options) {
|
|
204
|
-
return
|
|
209
|
+
async submitUSProgramBrief(programBriefId, options) {
|
|
210
|
+
return tracingClient.withSpan("ShortCodesClient.submitUSProgramBrief", options ?? {}, async (options) => {
|
|
211
|
+
return this.client.sendOperationRequest({ programBriefId, options }, submitUSProgramBriefOperationSpec);
|
|
212
|
+
});
|
|
205
213
|
}
|
|
206
214
|
/**
|
|
207
215
|
* Gets the list of US Program Briefs for the current resource.
|
|
208
216
|
* @param options The options parameters.
|
|
209
217
|
*/
|
|
210
|
-
_getUSProgramBriefs(options) {
|
|
211
|
-
return
|
|
218
|
+
async _getUSProgramBriefs(options) {
|
|
219
|
+
return tracingClient.withSpan("ShortCodesClient._getUSProgramBriefs", options ?? {}, async (options) => {
|
|
220
|
+
return this.client.sendOperationRequest({ options }, getUSProgramBriefsOperationSpec);
|
|
221
|
+
});
|
|
212
222
|
}
|
|
213
223
|
/**
|
|
214
224
|
* Creates or replace an attachment on a US Program Brief.
|
|
@@ -224,17 +234,19 @@ export class ShortCodesOperationsImpl {
|
|
|
224
234
|
* e.g. 'callToAction', 'termsOfService'
|
|
225
235
|
* @param options The options parameters.
|
|
226
236
|
*/
|
|
227
|
-
createOrReplaceUSProgramBriefAttachment(programBriefId, attachmentId, id, fileName, fileType, fileContentBase64, type, options) {
|
|
228
|
-
return
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
237
|
+
async createOrReplaceUSProgramBriefAttachment(programBriefId, attachmentId, id, fileName, fileType, fileContentBase64, type, options) {
|
|
238
|
+
return tracingClient.withSpan("ShortCodesClient.createOrReplaceUSProgramBriefAttachment", options ?? {}, async (options) => {
|
|
239
|
+
return this.client.sendOperationRequest({
|
|
240
|
+
programBriefId,
|
|
241
|
+
attachmentId,
|
|
242
|
+
id,
|
|
243
|
+
fileName,
|
|
244
|
+
fileType,
|
|
245
|
+
fileContentBase64,
|
|
246
|
+
type,
|
|
247
|
+
options
|
|
248
|
+
}, createOrReplaceUSProgramBriefAttachmentOperationSpec);
|
|
249
|
+
});
|
|
238
250
|
}
|
|
239
251
|
/**
|
|
240
252
|
* Gets a specific an attachment from a US Program Brief.
|
|
@@ -242,8 +254,10 @@ export class ShortCodesOperationsImpl {
|
|
|
242
254
|
* @param attachmentId Attachment Id. Must be a valid GUID
|
|
243
255
|
* @param options The options parameters.
|
|
244
256
|
*/
|
|
245
|
-
getUSProgramBriefAttachment(programBriefId, attachmentId, options) {
|
|
246
|
-
return
|
|
257
|
+
async getUSProgramBriefAttachment(programBriefId, attachmentId, options) {
|
|
258
|
+
return tracingClient.withSpan("ShortCodesClient.getUSProgramBriefAttachment", options ?? {}, async (options) => {
|
|
259
|
+
return this.client.sendOperationRequest({ programBriefId, attachmentId, options }, getUSProgramBriefAttachmentOperationSpec);
|
|
260
|
+
});
|
|
247
261
|
}
|
|
248
262
|
/**
|
|
249
263
|
* Deletes a specific attachment from a US Program Brief.
|
|
@@ -251,32 +265,50 @@ export class ShortCodesOperationsImpl {
|
|
|
251
265
|
* @param attachmentId Attachment Id. Must be a valid GUID
|
|
252
266
|
* @param options The options parameters.
|
|
253
267
|
*/
|
|
254
|
-
deleteUSProgramBriefAttachment(programBriefId, attachmentId, options) {
|
|
255
|
-
return
|
|
268
|
+
async deleteUSProgramBriefAttachment(programBriefId, attachmentId, options) {
|
|
269
|
+
return tracingClient.withSpan("ShortCodesClient.deleteUSProgramBriefAttachment", options ?? {}, async (options) => {
|
|
270
|
+
return this.client.sendOperationRequest({ programBriefId, attachmentId, options }, deleteUSProgramBriefAttachmentOperationSpec);
|
|
271
|
+
});
|
|
256
272
|
}
|
|
257
273
|
/**
|
|
258
274
|
* Gets the list of attachments from a US Program Brief.
|
|
259
275
|
* @param programBriefId
|
|
260
276
|
* @param options The options parameters.
|
|
261
277
|
*/
|
|
262
|
-
_getUSProgramBriefAttachments(programBriefId, options) {
|
|
263
|
-
return
|
|
278
|
+
async _getUSProgramBriefAttachments(programBriefId, options) {
|
|
279
|
+
return tracingClient.withSpan("ShortCodesClient._getUSProgramBriefAttachments", options ?? {}, async (options) => {
|
|
280
|
+
return this.client.sendOperationRequest({ programBriefId, options }, getUSProgramBriefAttachmentsOperationSpec);
|
|
281
|
+
});
|
|
264
282
|
}
|
|
265
283
|
/**
|
|
266
284
|
* GetShortCodesNext
|
|
267
285
|
* @param nextLink The nextLink from the previous successful call to the GetShortCodes method.
|
|
268
286
|
* @param options The options parameters.
|
|
269
287
|
*/
|
|
270
|
-
_getShortCodesNext(nextLink, options) {
|
|
271
|
-
return
|
|
288
|
+
async _getShortCodesNext(nextLink, options) {
|
|
289
|
+
return tracingClient.withSpan("ShortCodesClient._getShortCodesNext", options ?? {}, async (options) => {
|
|
290
|
+
return this.client.sendOperationRequest({ nextLink, options }, getShortCodesNextOperationSpec);
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* GetCostsNext
|
|
295
|
+
* @param nextLink The nextLink from the previous successful call to the GetCosts method.
|
|
296
|
+
* @param options The options parameters.
|
|
297
|
+
*/
|
|
298
|
+
async _getCostsNext(nextLink, options) {
|
|
299
|
+
return tracingClient.withSpan("ShortCodesClient._getCostsNext", options ?? {}, async (options) => {
|
|
300
|
+
return this.client.sendOperationRequest({ nextLink, options }, getCostsNextOperationSpec);
|
|
301
|
+
});
|
|
272
302
|
}
|
|
273
303
|
/**
|
|
274
304
|
* GetUSProgramBriefsNext
|
|
275
305
|
* @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefs method.
|
|
276
306
|
* @param options The options parameters.
|
|
277
307
|
*/
|
|
278
|
-
_getUSProgramBriefsNext(nextLink, options) {
|
|
279
|
-
return
|
|
308
|
+
async _getUSProgramBriefsNext(nextLink, options) {
|
|
309
|
+
return tracingClient.withSpan("ShortCodesClient._getUSProgramBriefsNext", options ?? {}, async (options) => {
|
|
310
|
+
return this.client.sendOperationRequest({ nextLink, options }, getUSProgramBriefsNextOperationSpec);
|
|
311
|
+
});
|
|
280
312
|
}
|
|
281
313
|
/**
|
|
282
314
|
* GetUSProgramBriefAttachmentsNext
|
|
@@ -285,8 +317,10 @@ export class ShortCodesOperationsImpl {
|
|
|
285
317
|
* method.
|
|
286
318
|
* @param options The options parameters.
|
|
287
319
|
*/
|
|
288
|
-
_getUSProgramBriefAttachmentsNext(programBriefId, nextLink, options) {
|
|
289
|
-
return
|
|
320
|
+
async _getUSProgramBriefAttachmentsNext(programBriefId, nextLink, options) {
|
|
321
|
+
return tracingClient.withSpan("ShortCodesClient._getUSProgramBriefAttachmentsNext", options ?? {}, async (options) => {
|
|
322
|
+
return this.client.sendOperationRequest({ programBriefId, nextLink, options }, getUSProgramBriefAttachmentsNextOperationSpec);
|
|
323
|
+
});
|
|
290
324
|
}
|
|
291
325
|
}
|
|
292
326
|
// Operation Specifications
|
|
@@ -296,7 +330,23 @@ const getShortCodesOperationSpec = {
|
|
|
296
330
|
httpMethod: "GET",
|
|
297
331
|
responses: {
|
|
298
332
|
200: {
|
|
299
|
-
bodyMapper: Mappers.
|
|
333
|
+
bodyMapper: Mappers.AcquiredShortCodes
|
|
334
|
+
},
|
|
335
|
+
default: {
|
|
336
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],
|
|
340
|
+
urlParameters: [Parameters.endpoint],
|
|
341
|
+
headerParameters: [Parameters.accept],
|
|
342
|
+
serializer
|
|
343
|
+
};
|
|
344
|
+
const getCostsOperationSpec = {
|
|
345
|
+
path: "/shortCodes/costs",
|
|
346
|
+
httpMethod: "GET",
|
|
347
|
+
responses: {
|
|
348
|
+
200: {
|
|
349
|
+
bodyMapper: Mappers.ShortCodeCosts
|
|
300
350
|
},
|
|
301
351
|
default: {
|
|
302
352
|
bodyMapper: Mappers.CommunicationErrorResponse
|
|
@@ -413,7 +463,7 @@ const createOrReplaceUSProgramBriefAttachmentOperationSpec = {
|
|
|
413
463
|
fileType: ["fileType"],
|
|
414
464
|
fileContentBase64: ["fileContentBase64"]
|
|
415
465
|
},
|
|
416
|
-
mapper:
|
|
466
|
+
mapper: { ...Mappers.ProgramBriefAttachment, required: true }
|
|
417
467
|
},
|
|
418
468
|
queryParameters: [Parameters.apiVersion],
|
|
419
469
|
urlParameters: [
|
|
@@ -484,7 +534,23 @@ const getShortCodesNextOperationSpec = {
|
|
|
484
534
|
httpMethod: "GET",
|
|
485
535
|
responses: {
|
|
486
536
|
200: {
|
|
487
|
-
bodyMapper: Mappers.
|
|
537
|
+
bodyMapper: Mappers.AcquiredShortCodes
|
|
538
|
+
},
|
|
539
|
+
default: {
|
|
540
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],
|
|
544
|
+
urlParameters: [Parameters.endpoint, Parameters.nextLink],
|
|
545
|
+
headerParameters: [Parameters.accept],
|
|
546
|
+
serializer
|
|
547
|
+
};
|
|
548
|
+
const getCostsNextOperationSpec = {
|
|
549
|
+
path: "{nextLink}",
|
|
550
|
+
httpMethod: "GET",
|
|
551
|
+
responses: {
|
|
552
|
+
200: {
|
|
553
|
+
bodyMapper: Mappers.ShortCodeCosts
|
|
488
554
|
},
|
|
489
555
|
default: {
|
|
490
556
|
bodyMapper: Mappers.CommunicationErrorResponse
|
|
@@ -531,4 +597,4 @@ const getUSProgramBriefAttachmentsNextOperationSpec = {
|
|
|
531
597
|
headerParameters: [Parameters.accept],
|
|
532
598
|
serializer
|
|
533
599
|
};
|
|
534
|
-
//# sourceMappingURL=
|
|
600
|
+
//# sourceMappingURL=shortCodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shortCodes.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/shortCodes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAuCtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAmB;IAE1C;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,cAAc,CACnB,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;QAClD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,uBAAuB,CACpC,OAA+C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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 { tracingClient } from \"../tracing.js\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ShortCodes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ShortCodesClient } from \"../shortCodesClient.js\";\nimport {\n ShortCode,\n ShortCodesGetShortCodesNextOptionalParams,\n ShortCodesGetShortCodesOptionalParams,\n ShortCodeCost,\n ShortCodesGetCostsNextOptionalParams,\n ShortCodesGetCostsOptionalParams,\n USProgramBrief,\n ShortCodesGetUSProgramBriefsNextOptionalParams,\n ShortCodesGetUSProgramBriefsOptionalParams,\n ProgramBriefAttachment,\n ShortCodesGetUSProgramBriefAttachmentsNextOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentsOptionalParams,\n ShortCodesGetShortCodesResponse,\n ShortCodesGetCostsResponse,\n ShortCodesUpsertUSProgramBriefOptionalParams,\n ShortCodesUpsertUSProgramBriefResponse,\n ShortCodesDeleteUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefOptionalParams,\n ShortCodesGetUSProgramBriefResponse,\n ShortCodesSubmitUSProgramBriefOptionalParams,\n ShortCodesSubmitUSProgramBriefResponse,\n ShortCodesGetUSProgramBriefsResponse,\n AttachmentType,\n FileType,\n ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams,\n ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse,\n ShortCodesGetUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentResponse,\n ShortCodesDeleteUSProgramBriefAttachmentOptionalParams,\n ShortCodesGetUSProgramBriefAttachmentsResponse,\n ShortCodesGetShortCodesNextResponse,\n ShortCodesGetCostsNextResponse,\n ShortCodesGetUSProgramBriefsNextResponse,\n ShortCodesGetUSProgramBriefAttachmentsNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ShortCodes operations. */\nexport class ShortCodesImpl implements ShortCodes {\n private readonly client: ShortCodesClient;\n\n /**\n * Initialize a new instance of the class ShortCodes class.\n * @param client Reference to the service client\n */\n constructor(client: ShortCodesClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n public listShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): PagedAsyncIterableIterator<ShortCode> {\n const iter = this.getShortCodesPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getShortCodesPagingPage(options);\n }\n };\n }\n\n private async *getShortCodesPagingPage(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode[]> {\n let result = await this._getShortCodes(options);\n yield result.shortCodes || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getShortCodesNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.shortCodes || [];\n }\n }\n\n private async *getShortCodesPagingAll(\n options?: ShortCodesGetShortCodesOptionalParams\n ): AsyncIterableIterator<ShortCode> {\n for await (const page of this.getShortCodesPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This method supports pagination via the \"skip\" and \"top\" query parameters.\n * @param options The options parameters.\n */\n public listCosts(\n options?: ShortCodesGetCostsOptionalParams\n ): PagedAsyncIterableIterator<ShortCodeCost> {\n const iter = this.getCostsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getCostsPagingPage(options);\n }\n };\n }\n\n private async *getCostsPagingPage(\n options?: ShortCodesGetCostsOptionalParams\n ): AsyncIterableIterator<ShortCodeCost[]> {\n let result = await this._getCosts(options);\n yield result.costs || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getCostsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.costs || [];\n }\n }\n\n private async *getCostsPagingAll(\n options?: ShortCodesGetCostsOptionalParams\n ): AsyncIterableIterator<ShortCodeCost> {\n for await (const page of this.getCostsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n public listUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): PagedAsyncIterableIterator<USProgramBrief> {\n const iter = this.getUSProgramBriefsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getUSProgramBriefsPagingPage(options);\n }\n };\n }\n\n private async *getUSProgramBriefsPagingPage(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief[]> {\n let result = await this._getUSProgramBriefs(options);\n yield result.programBriefs || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getUSProgramBriefsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.programBriefs || [];\n }\n }\n\n private async *getUSProgramBriefsPagingAll(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): AsyncIterableIterator<USProgramBrief> {\n for await (const page of this.getUSProgramBriefsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of attachments from a US Program Brief.\n * @param programBriefId\n * @param options The options parameters.\n */\n public listUSProgramBriefAttachments(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): PagedAsyncIterableIterator<ProgramBriefAttachment> {\n const iter = this.getUSProgramBriefAttachmentsPagingAll(\n programBriefId,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.getUSProgramBriefAttachmentsPagingPage(\n programBriefId,\n options\n );\n }\n };\n }\n\n private async *getUSProgramBriefAttachmentsPagingPage(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): AsyncIterableIterator<ProgramBriefAttachment[]> {\n let result = await this._getUSProgramBriefAttachments(\n programBriefId,\n options\n );\n yield result.attachments || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._getUSProgramBriefAttachmentsNext(\n programBriefId,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.attachments || [];\n }\n }\n\n private async *getUSProgramBriefAttachmentsPagingAll(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): AsyncIterableIterator<ProgramBriefAttachment> {\n for await (const page of this.getUSProgramBriefAttachmentsPagingPage(\n programBriefId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of short codes for the current resource.\n * @param options The options parameters.\n */\n private async _getShortCodes(\n options?: ShortCodesGetShortCodesOptionalParams\n ): Promise<ShortCodesGetShortCodesResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getShortCodes\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getShortCodesOperationSpec\n ) as Promise<ShortCodesGetShortCodesResponse>;\n }\n );\n }\n\n /**\n * This method supports pagination via the \"skip\" and \"top\" query parameters.\n * @param options The options parameters.\n */\n private async _getCosts(\n options?: ShortCodesGetCostsOptionalParams\n ): Promise<ShortCodesGetCostsResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getCosts\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getCostsOperationSpec\n ) as Promise<ShortCodesGetCostsResponse>;\n }\n );\n }\n\n /**\n * Creates or updates a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async upsertUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesUpsertUSProgramBriefOptionalParams\n ): Promise<ShortCodesUpsertUSProgramBriefResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient.upsertUSProgramBrief\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n upsertUSProgramBriefOperationSpec\n ) as Promise<ShortCodesUpsertUSProgramBriefResponse>;\n }\n );\n }\n\n /**\n * Deletes a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async deleteUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesDeleteUSProgramBriefOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ShortCodesClient.deleteUSProgramBrief\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n deleteUSProgramBriefOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Get a US Program Brief by id.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async getUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient.getUSProgramBrief\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n getUSProgramBriefOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefResponse>;\n }\n );\n }\n\n /**\n * Submits a US Program Brief for review.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async submitUSProgramBrief(\n programBriefId: string,\n options?: ShortCodesSubmitUSProgramBriefOptionalParams\n ): Promise<ShortCodesSubmitUSProgramBriefResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient.submitUSProgramBrief\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n submitUSProgramBriefOperationSpec\n ) as Promise<ShortCodesSubmitUSProgramBriefResponse>;\n }\n );\n }\n\n /**\n * Gets the list of US Program Briefs for the current resource.\n * @param options The options parameters.\n */\n private async _getUSProgramBriefs(\n options?: ShortCodesGetUSProgramBriefsOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getUSProgramBriefs\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getUSProgramBriefsOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefsResponse>;\n }\n );\n }\n\n /**\n * Creates or replace an attachment on a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param id Program Brief Attachment Id.\n * @param fileName The name of the file being attached\n * e.g. 'myFile01'\n * @param fileType The type of file being attached\n * e.g. 'pdf', 'jpg', 'png'\n * @param fileContentBase64 File content as base 64 encoded string\n * @param type Attachment type describing the purpose of the attachment\n * e.g. 'callToAction', 'termsOfService'\n * @param options The options parameters.\n */\n async createOrReplaceUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n id: string,\n fileName: string,\n fileType: FileType,\n fileContentBase64: string,\n type: AttachmentType,\n options?: ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams\n ): Promise<ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient.createOrReplaceUSProgramBriefAttachment\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n {\n programBriefId,\n attachmentId,\n id,\n fileName,\n fileType,\n fileContentBase64,\n type,\n options\n },\n createOrReplaceUSProgramBriefAttachmentOperationSpec\n ) as Promise<ShortCodesCreateOrReplaceUSProgramBriefAttachmentResponse>;\n }\n );\n }\n\n /**\n * Gets a specific an attachment from a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async getUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient.getUSProgramBriefAttachment\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, attachmentId, options },\n getUSProgramBriefAttachmentOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefAttachmentResponse>;\n }\n );\n }\n\n /**\n * Deletes a specific attachment from a US Program Brief.\n * @param programBriefId Program Brief Id. Must be a valid GUID\n * @param attachmentId Attachment Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async deleteUSProgramBriefAttachment(\n programBriefId: string,\n attachmentId: string,\n options?: ShortCodesDeleteUSProgramBriefAttachmentOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ShortCodesClient.deleteUSProgramBriefAttachment\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, attachmentId, options },\n deleteUSProgramBriefAttachmentOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Gets the list of attachments from a US Program Brief.\n * @param programBriefId\n * @param options The options parameters.\n */\n private async _getUSProgramBriefAttachments(\n programBriefId: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentsResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getUSProgramBriefAttachments\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, options },\n getUSProgramBriefAttachmentsOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefAttachmentsResponse>;\n }\n );\n }\n\n /**\n * GetShortCodesNext\n * @param nextLink The nextLink from the previous successful call to the GetShortCodes method.\n * @param options The options parameters.\n */\n private async _getShortCodesNext(\n nextLink: string,\n options?: ShortCodesGetShortCodesNextOptionalParams\n ): Promise<ShortCodesGetShortCodesNextResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getShortCodesNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getShortCodesNextOperationSpec\n ) as Promise<ShortCodesGetShortCodesNextResponse>;\n }\n );\n }\n\n /**\n * GetCostsNext\n * @param nextLink The nextLink from the previous successful call to the GetCosts method.\n * @param options The options parameters.\n */\n private async _getCostsNext(\n nextLink: string,\n options?: ShortCodesGetCostsNextOptionalParams\n ): Promise<ShortCodesGetCostsNextResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getCostsNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getCostsNextOperationSpec\n ) as Promise<ShortCodesGetCostsNextResponse>;\n }\n );\n }\n\n /**\n * GetUSProgramBriefsNext\n * @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefs method.\n * @param options The options parameters.\n */\n private async _getUSProgramBriefsNext(\n nextLink: string,\n options?: ShortCodesGetUSProgramBriefsNextOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefsNextResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getUSProgramBriefsNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getUSProgramBriefsNextOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefsNextResponse>;\n }\n );\n }\n\n /**\n * GetUSProgramBriefAttachmentsNext\n * @param programBriefId\n * @param nextLink The nextLink from the previous successful call to the GetUSProgramBriefAttachments\n * method.\n * @param options The options parameters.\n */\n private async _getUSProgramBriefAttachmentsNext(\n programBriefId: string,\n nextLink: string,\n options?: ShortCodesGetUSProgramBriefAttachmentsNextOptionalParams\n ): Promise<ShortCodesGetUSProgramBriefAttachmentsNextResponse> {\n return tracingClient.withSpan(\n \"ShortCodesClient._getUSProgramBriefAttachmentsNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { programBriefId, nextLink, options },\n getUSProgramBriefAttachmentsNextOperationSpec\n ) as Promise<ShortCodesGetUSProgramBriefAttachmentsNextResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getShortCodesOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AcquiredShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getCostsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/costs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodeCosts\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst upsertUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n 201: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst submitUSProgramBriefOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}/:submit\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBrief\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrReplaceUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n 201: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n id: [\"id\"],\n type: [\"type\"],\n fileName: [\"fileName\"],\n fileSizeInBytes: [\"options\", \"fileSizeInBytes\"],\n fileType: [\"fileType\"],\n fileContentBase64: [\"fileContentBase64\"]\n },\n mapper: { ...Mappers.ProgramBriefAttachment, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer\n};\nconst getUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachment\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteUSProgramBriefAttachmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments/{attachmentId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.attachmentId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefAttachmentsOperationSpec: coreClient.OperationSpec = {\n path: \"/shortCodes/countries/US/programBriefs/{programBriefId}/attachments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachments\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.programBriefId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getShortCodesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AcquiredShortCodes\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getCostsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ShortCodeCosts\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.USProgramBriefs\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUSProgramBriefAttachmentsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProgramBriefAttachments\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.skip, Parameters.top, Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.programBriefId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,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\nexport * from \"./shortCodes.js\";\n"]}
|