@azure-tools/communication-short-codes 1.0.0-beta.1 → 1.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +596 -267
  3. package/dist/index.js.map +1 -1
  4. package/dist-esm/src/generated/src/index.js +1 -1
  5. package/dist-esm/src/generated/src/index.js.map +1 -1
  6. package/dist-esm/src/generated/src/models/index.js.map +1 -1
  7. package/dist-esm/src/generated/src/models/mappers.js +153 -91
  8. package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
  9. package/dist-esm/src/generated/src/models/parameters.js +48 -2
  10. package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
  11. package/dist-esm/src/generated/src/operations/index.js +1 -1
  12. package/dist-esm/src/generated/src/operations/index.js.map +1 -1
  13. package/dist-esm/src/generated/src/operations/shortCodesOperations.js +561 -0
  14. package/dist-esm/src/generated/src/operations/shortCodesOperations.js.map +1 -0
  15. package/dist-esm/src/generated/src/operationsInterfaces/index.js +9 -0
  16. package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +1 -0
  17. package/dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js +9 -0
  18. package/dist-esm/src/generated/src/operationsInterfaces/shortCodesOperations.js.map +1 -0
  19. package/dist-esm/src/generated/src/shortCodesClient.js +70 -5
  20. package/dist-esm/src/generated/src/shortCodesClient.js.map +1 -1
  21. package/dist-esm/src/generated/src/tracing.js +14 -0
  22. package/dist-esm/src/generated/src/tracing.js.map +1 -0
  23. package/dist-esm/src/models.js.map +1 -1
  24. package/dist-esm/src/shortCodesClient.js +53 -76
  25. package/dist-esm/src/shortCodesClient.js.map +1 -1
  26. package/dist-esm/src/utils/constants.js +1 -1
  27. package/dist-esm/src/utils/constants.js.map +1 -1
  28. package/dist-esm/src/utils/index.js +0 -1
  29. package/dist-esm/src/utils/index.js.map +1 -1
  30. package/package.json +42 -40
  31. package/types/communication-short-codes.d.ts +105 -26
  32. package/CHANGELOG.md +0 -10
  33. package/dist-esm/src/generated/src/operations/shortCodes.js +0 -341
  34. package/dist-esm/src/generated/src/operations/shortCodes.js.map +0 -1
  35. package/dist-esm/src/generated/src/shortCodesClientContext.js +0 -38
  36. package/dist-esm/src/generated/src/shortCodesClientContext.js.map +0 -1
  37. package/dist-esm/src/utils/tracing.js +0 -14
  38. package/dist-esm/src/utils/tracing.js.map +0 -1
@@ -45,8 +45,7 @@ export const ShortCode = {
45
45
  numberType: {
46
46
  serializedName: "numberType",
47
47
  type: {
48
- name: "Enum",
49
- allowedValues: ["shortCode", "alphaId"]
48
+ name: "String"
50
49
  }
51
50
  },
52
51
  countryCode: {
@@ -154,15 +153,7 @@ export const USProgramBrief = {
154
153
  status: {
155
154
  serializedName: "status",
156
155
  type: {
157
- name: "Enum",
158
- allowedValues: [
159
- "submitted",
160
- "approved",
161
- "submitNewVanityNumbers",
162
- "updateProgramBrief",
163
- "draft",
164
- "denied"
165
- ]
156
+ name: "String"
166
157
  }
167
158
  },
168
159
  number: {
@@ -234,6 +225,18 @@ export const USProgramBrief = {
234
225
  name: "Composite",
235
226
  className: "TrafficDetails"
236
227
  }
228
+ },
229
+ attachments: {
230
+ serializedName: "attachments",
231
+ type: {
232
+ name: "Sequence",
233
+ element: {
234
+ type: {
235
+ name: "Composite",
236
+ className: "ProgramBriefAttachmentSummary"
237
+ }
238
+ }
239
+ }
237
240
  }
238
241
  }
239
242
  }
@@ -281,8 +284,7 @@ export const ShortCodeCost = {
281
284
  serializedName: "billingFrequency",
282
285
  required: true,
283
286
  type: {
284
- name: "Enum",
285
- allowedValues: ["monthly", "once"]
287
+ name: "String"
286
288
  }
287
289
  }
288
290
  }
@@ -313,8 +315,7 @@ export const ProgramDetails = {
313
315
  numberType: {
314
316
  serializedName: "numberType",
315
317
  type: {
316
- name: "Enum",
317
- allowedValues: ["shortCode", "alphaId"]
318
+ name: "String"
318
319
  }
319
320
  },
320
321
  isPoliticalCampaign: {
@@ -341,8 +342,8 @@ export const ProgramDetails = {
341
342
  name: "String"
342
343
  }
343
344
  },
344
- signUpTypes: {
345
- serializedName: "signUpTypes",
345
+ callToActionTypes: {
346
+ serializedName: "callToActionTypes",
346
347
  type: {
347
348
  name: "Sequence",
348
349
  element: {
@@ -358,8 +359,14 @@ export const ProgramDetails = {
358
359
  }
359
360
  }
360
361
  },
361
- signUpUrl: {
362
- serializedName: "signUpUrl",
362
+ callToActionUrl: {
363
+ serializedName: "callToActionUrl",
364
+ type: {
365
+ name: "String"
366
+ }
367
+ },
368
+ callToAction: {
369
+ serializedName: "callToAction",
363
370
  type: {
364
371
  name: "String"
365
372
  }
@@ -476,51 +483,44 @@ export const MessageDetails = {
476
483
  name: "Composite",
477
484
  className: "MessageDetails",
478
485
  modelProperties: {
479
- supportedProtocols: {
480
- serializedName: "supportedProtocols",
486
+ supportedProtocol: {
487
+ serializedName: "supportedProtocol",
481
488
  type: {
482
- name: "Sequence",
483
- element: {
484
- type: {
485
- name: "Enum",
486
- allowedValues: ["sms", "mms"]
487
- }
488
- }
489
+ name: "String"
489
490
  }
490
491
  },
491
492
  recurrence: {
492
493
  serializedName: "recurrence",
493
494
  type: {
494
- name: "Enum",
495
- allowedValues: ["subscription", "transaction"]
495
+ name: "String"
496
496
  }
497
497
  },
498
- helpMessage: {
499
- serializedName: "helpMessage",
498
+ helpAnswerToUser: {
499
+ serializedName: "helpAnswerToUser",
500
500
  type: {
501
501
  name: "String"
502
502
  }
503
503
  },
504
- optOutMessage: {
505
- serializedName: "optOutMessage",
504
+ optOutAnswerToUser: {
505
+ serializedName: "optOutAnswerToUser",
506
506
  type: {
507
507
  name: "String"
508
508
  }
509
509
  },
510
- optInMessage: {
511
- serializedName: "optInMessage",
510
+ optInMessageToUser: {
511
+ serializedName: "optInMessageToUser",
512
512
  type: {
513
513
  name: "String"
514
514
  }
515
515
  },
516
- optInReply: {
517
- serializedName: "optInReply",
516
+ optInAnswerFromUser: {
517
+ serializedName: "optInAnswerFromUser",
518
518
  type: {
519
519
  name: "String"
520
520
  }
521
521
  },
522
- confirmationMessage: {
523
- serializedName: "confirmationMessage",
522
+ optInConfirmationMessageToUser: {
523
+ serializedName: "optInConfirmationMessageToUser",
524
524
  type: {
525
525
  name: "String"
526
526
  }
@@ -528,8 +528,7 @@ export const MessageDetails = {
528
528
  directionality: {
529
529
  serializedName: "directionality",
530
530
  type: {
531
- name: "Enum",
532
- allowedValues: ["oneWay", "twoWay"]
531
+ name: "String"
533
532
  }
534
533
  },
535
534
  useCases: {
@@ -552,53 +551,16 @@ export const UseCase = {
552
551
  name: "Composite",
553
552
  className: "UseCase",
554
553
  modelProperties: {
555
- contentCategory: {
556
- serializedName: "contentCategory",
557
- type: {
558
- name: "Enum",
559
- allowedValues: [
560
- "ringTones",
561
- "smsChat",
562
- "video",
563
- "loyaltyProgramPointsPrizes",
564
- "gifting",
565
- "inApplicationBilling",
566
- "textToScreen",
567
- "games",
568
- "audioChat",
569
- "mmsPictures",
570
- "sweepstakesContestAuction",
571
- "financialBanking",
572
- "premiumWap",
573
- "queryService",
574
- "wallpaperScreensaver",
575
- "voting",
576
- "application",
577
- "mobileGivingDonations",
578
- "coupons",
579
- "loyaltyProgram",
580
- "noPointsPrizes",
581
- "informationalAlerts",
582
- "microBilling",
583
- "trivia",
584
- "entertainmentAlerts",
585
- "accountNotification",
586
- "ageGatedContent",
587
- "conversationalMessaging",
588
- "deliveryNotification",
589
- "education",
590
- "emergencyAlerts",
591
- "fraudAlerts",
592
- "loanArrangement",
593
- "onBehalfOfCarrier",
594
- "political",
595
- "promotionalMarketing",
596
- "publicServiceAnnouncements",
597
- "securityAlerts",
598
- "socialMedia",
599
- "twoFactorAuthentication",
600
- "other"
601
- ]
554
+ contentType: {
555
+ serializedName: "contentType",
556
+ type: {
557
+ name: "String"
558
+ }
559
+ },
560
+ customContentType: {
561
+ serializedName: "customContentType",
562
+ type: {
563
+ name: "String"
602
564
  }
603
565
  },
604
566
  examples: {
@@ -644,8 +606,7 @@ export const MessageExample = {
644
606
  direction: {
645
607
  serializedName: "direction",
646
608
  type: {
647
- name: "Enum",
648
- allowedValues: ["toUser", "fromUser"]
609
+ name: "String"
649
610
  }
650
611
  },
651
612
  text: {
@@ -717,6 +678,32 @@ export const TrafficDetails = {
717
678
  }
718
679
  }
719
680
  };
681
+ export const ProgramBriefAttachmentSummary = {
682
+ type: {
683
+ name: "Composite",
684
+ className: "ProgramBriefAttachmentSummary",
685
+ modelProperties: {
686
+ id: {
687
+ serializedName: "id",
688
+ type: {
689
+ name: "Uuid"
690
+ }
691
+ },
692
+ type: {
693
+ serializedName: "type",
694
+ type: {
695
+ name: "String"
696
+ }
697
+ },
698
+ fileName: {
699
+ serializedName: "fileName",
700
+ type: {
701
+ name: "String"
702
+ }
703
+ }
704
+ }
705
+ }
706
+ };
720
707
  export const USProgramBriefs = {
721
708
  type: {
722
709
  name: "Composite",
@@ -743,4 +730,79 @@ export const USProgramBriefs = {
743
730
  }
744
731
  }
745
732
  };
733
+ export const ProgramBriefAttachment = {
734
+ type: {
735
+ name: "Composite",
736
+ className: "ProgramBriefAttachment",
737
+ modelProperties: {
738
+ id: {
739
+ serializedName: "id",
740
+ required: true,
741
+ type: {
742
+ name: "Uuid"
743
+ }
744
+ },
745
+ type: {
746
+ serializedName: "type",
747
+ required: true,
748
+ type: {
749
+ name: "String"
750
+ }
751
+ },
752
+ fileName: {
753
+ serializedName: "fileName",
754
+ required: true,
755
+ type: {
756
+ name: "String"
757
+ }
758
+ },
759
+ fileSizeInBytes: {
760
+ serializedName: "fileSizeInBytes",
761
+ type: {
762
+ name: "Number"
763
+ }
764
+ },
765
+ fileType: {
766
+ serializedName: "fileType",
767
+ required: true,
768
+ type: {
769
+ name: "String"
770
+ }
771
+ },
772
+ fileContentBase64: {
773
+ serializedName: "fileContentBase64",
774
+ required: true,
775
+ type: {
776
+ name: "String"
777
+ }
778
+ }
779
+ }
780
+ }
781
+ };
782
+ export const ProgramBriefAttachments = {
783
+ type: {
784
+ name: "Composite",
785
+ className: "ProgramBriefAttachments",
786
+ modelProperties: {
787
+ attachments: {
788
+ serializedName: "attachments",
789
+ type: {
790
+ name: "Sequence",
791
+ element: {
792
+ type: {
793
+ name: "Composite",
794
+ className: "ProgramBriefAttachment"
795
+ }
796
+ }
797
+ }
798
+ },
799
+ nextLink: {
800
+ serializedName: "nextLink",
801
+ type: {
802
+ name: "String"
803
+ }
804
+ }
805
+ }
806
+ }
807
+ };
746
808
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,UAAU,GAA6B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA6B;IACjD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC;iBACxC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AAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,yBAAyB,EAAE;gBACzB,WAAW,EAAE;oBACX,gBAAgB,EAAE,UAAU;oBAC5B,gBAAgB,EAAE,CAAC;iBACpB;gBACD,cAAc,EAAE,2BAA2B;gBAC3C,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA6B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,gBAAgB;yBAC5B;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,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 coreHttp from \"@azure/core-http\";\n\nexport const ShortCodes: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodes\",\n modelProperties: {\n shortCodes: {\n serializedName: \"shortCodes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ShortCode: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCode\",\n modelProperties: {\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"shortCode\", \"alphaId\"]\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n type: {\n name: \"String\"\n }\n },\n programBriefIds: {\n serializedName: \"programBriefIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const USProgramBrief: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"submitted\",\n \"approved\",\n \"submitNewVanityNumbers\",\n \"updateProgramBrief\",\n \"draft\",\n \"denied\"\n ]\n }\n },\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n reviewNotes: {\n serializedName: \"reviewNotes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\"\n }\n }\n }\n },\n costs: {\n serializedName: \"costs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\"\n }\n }\n }\n },\n submissionDate: {\n serializedName: \"submissionDate\",\n type: {\n name: \"DateTime\"\n }\n },\n statusUpdatedDate: {\n serializedName: \"statusUpdatedDate\",\n type: {\n name: \"DateTime\"\n }\n },\n programDetails: {\n serializedName: \"programDetails\",\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\"\n }\n },\n companyInformation: {\n serializedName: \"companyInformation\",\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\"\n }\n },\n messageDetails: {\n serializedName: \"messageDetails\",\n type: {\n name: \"Composite\",\n className: \"MessageDetails\"\n }\n },\n trafficDetails: {\n serializedName: \"trafficDetails\",\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\"\n }\n }\n }\n }\n};\n\nexport const ReviewNote: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ShortCodeCost: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\",\n modelProperties: {\n amount: {\n serializedName: \"amount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n currencyCode: {\n serializedName: \"currencyCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n billingFrequency: {\n serializedName: \"billingFrequency\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"monthly\", \"once\"]\n }\n }\n }\n }\n};\n\nexport const ProgramDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\",\n modelProperties: {\n isVanity: {\n serializedName: \"isVanity\",\n type: {\n name: \"Boolean\"\n }\n },\n preferredVanityNumbers: {\n serializedName: \"preferredVanityNumbers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"shortCode\", \"alphaId\"]\n }\n },\n isPoliticalCampaign: {\n serializedName: \"isPoliticalCampaign\",\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n signUpTypes: {\n serializedName: \"signUpTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"website\",\n \"pointOfSale\",\n \"sms\",\n \"interactiveVoiceResponse\"\n ]\n }\n }\n }\n },\n signUpUrl: {\n serializedName: \"signUpUrl\",\n type: {\n name: \"String\"\n }\n },\n termsOfServiceUrl: {\n serializedName: \"termsOfServiceUrl\",\n type: {\n name: \"String\"\n }\n },\n privacyPolicyUrl: {\n serializedName: \"privacyPolicyUrl\",\n type: {\n name: \"String\"\n }\n },\n expectedDateOfService: {\n serializedName: \"expectedDateOfService\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CompanyInformation: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n address: {\n serializedName: \"address\",\n type: {\n name: \"String\"\n }\n },\n contactInformation: {\n serializedName: \"contactInformation\",\n type: {\n name: \"Composite\",\n className: \"ContactInformation\"\n }\n },\n customerCareInformation: {\n serializedName: \"customerCareInformation\",\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\"\n }\n }\n }\n }\n};\n\nexport const ContactInformation: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n phone: {\n serializedName: \"phone\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomerCareInformation: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\",\n modelProperties: {\n tollFreeNumber: {\n serializedName: \"tollFreeNumber\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MessageDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageDetails\",\n modelProperties: {\n supportedProtocols: {\n serializedName: \"supportedProtocols\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\"sms\", \"mms\"]\n }\n }\n }\n },\n recurrence: {\n serializedName: \"recurrence\",\n type: {\n name: \"Enum\",\n allowedValues: [\"subscription\", \"transaction\"]\n }\n },\n helpMessage: {\n serializedName: \"helpMessage\",\n type: {\n name: \"String\"\n }\n },\n optOutMessage: {\n serializedName: \"optOutMessage\",\n type: {\n name: \"String\"\n }\n },\n optInMessage: {\n serializedName: \"optInMessage\",\n type: {\n name: \"String\"\n }\n },\n optInReply: {\n serializedName: \"optInReply\",\n type: {\n name: \"String\"\n }\n },\n confirmationMessage: {\n serializedName: \"confirmationMessage\",\n type: {\n name: \"String\"\n }\n },\n directionality: {\n serializedName: \"directionality\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneWay\", \"twoWay\"]\n }\n },\n useCases: {\n serializedName: \"useCases\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"UseCase\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UseCase: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UseCase\",\n modelProperties: {\n contentCategory: {\n serializedName: \"contentCategory\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"ringTones\",\n \"smsChat\",\n \"video\",\n \"loyaltyProgramPointsPrizes\",\n \"gifting\",\n \"inApplicationBilling\",\n \"textToScreen\",\n \"games\",\n \"audioChat\",\n \"mmsPictures\",\n \"sweepstakesContestAuction\",\n \"financialBanking\",\n \"premiumWap\",\n \"queryService\",\n \"wallpaperScreensaver\",\n \"voting\",\n \"application\",\n \"mobileGivingDonations\",\n \"coupons\",\n \"loyaltyProgram\",\n \"noPointsPrizes\",\n \"informationalAlerts\",\n \"microBilling\",\n \"trivia\",\n \"entertainmentAlerts\",\n \"accountNotification\",\n \"ageGatedContent\",\n \"conversationalMessaging\",\n \"deliveryNotification\",\n \"education\",\n \"emergencyAlerts\",\n \"fraudAlerts\",\n \"loanArrangement\",\n \"onBehalfOfCarrier\",\n \"political\",\n \"promotionalMarketing\",\n \"publicServiceAnnouncements\",\n \"securityAlerts\",\n \"socialMedia\",\n \"twoFactorAuthentication\",\n \"other\"\n ]\n }\n },\n examples: {\n serializedName: \"examples\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExampleSequence: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\",\n modelProperties: {\n messages: {\n serializedName: \"messages\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExample\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExample: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExample\",\n modelProperties: {\n direction: {\n serializedName: \"direction\",\n type: {\n name: \"Enum\",\n allowedValues: [\"toUser\", \"fromUser\"]\n }\n },\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficDetails: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\",\n modelProperties: {\n totalMonthlyVolume: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"totalMonthlyVolume\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesFromUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesFromUser\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesToUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesToUser\",\n type: {\n name: \"Number\"\n }\n },\n isSpiky: {\n serializedName: \"isSpiky\",\n type: {\n name: \"Boolean\"\n }\n },\n spikeDetails: {\n serializedName: \"spikeDetails\",\n type: {\n name: \"String\"\n }\n },\n estimatedRampUpTimeInDays: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"estimatedRampUpTimeInDays\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const USProgramBriefs: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBriefs\",\n modelProperties: {\n programBriefs: {\n serializedName: \"programBriefs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MA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,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,wBAAwB;yBACpC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,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 ShortCodes: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodes\",\n modelProperties: {\n shortCodes: {\n serializedName: \"shortCodes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCode\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ShortCode: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCode\",\n modelProperties: {\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n countryCode: {\n serializedName: \"countryCode\",\n type: {\n name: \"String\"\n }\n },\n programBriefIds: {\n serializedName: \"programBriefIds\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n purchaseDate: {\n serializedName: \"purchaseDate\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const USProgramBrief: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n number: {\n serializedName: \"number\",\n type: {\n name: \"String\"\n }\n },\n reviewNotes: {\n serializedName: \"reviewNotes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\"\n }\n }\n }\n },\n costs: {\n serializedName: \"costs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\"\n }\n }\n }\n },\n submissionDate: {\n serializedName: \"submissionDate\",\n type: {\n name: \"DateTime\"\n }\n },\n statusUpdatedDate: {\n serializedName: \"statusUpdatedDate\",\n type: {\n name: \"DateTime\"\n }\n },\n programDetails: {\n serializedName: \"programDetails\",\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\"\n }\n },\n companyInformation: {\n serializedName: \"companyInformation\",\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\"\n }\n },\n messageDetails: {\n serializedName: \"messageDetails\",\n type: {\n name: \"Composite\",\n className: \"MessageDetails\"\n }\n },\n trafficDetails: {\n serializedName: \"trafficDetails\",\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\"\n }\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachmentSummary\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ReviewNote: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ReviewNote\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n date: {\n serializedName: \"date\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const ShortCodeCost: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ShortCodeCost\",\n modelProperties: {\n amount: {\n serializedName: \"amount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n currencyCode: {\n serializedName: \"currencyCode\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n billingFrequency: {\n serializedName: \"billingFrequency\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramDetails\",\n modelProperties: {\n isVanity: {\n serializedName: \"isVanity\",\n type: {\n name: \"Boolean\"\n }\n },\n preferredVanityNumbers: {\n serializedName: \"preferredVanityNumbers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n numberType: {\n serializedName: \"numberType\",\n type: {\n name: \"String\"\n }\n },\n isPoliticalCampaign: {\n serializedName: \"isPoliticalCampaign\",\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n callToActionTypes: {\n serializedName: \"callToActionTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"website\",\n \"pointOfSale\",\n \"sms\",\n \"interactiveVoiceResponse\"\n ]\n }\n }\n }\n },\n callToActionUrl: {\n serializedName: \"callToActionUrl\",\n type: {\n name: \"String\"\n }\n },\n callToAction: {\n serializedName: \"callToAction\",\n type: {\n name: \"String\"\n }\n },\n termsOfServiceUrl: {\n serializedName: \"termsOfServiceUrl\",\n type: {\n name: \"String\"\n }\n },\n privacyPolicyUrl: {\n serializedName: \"privacyPolicyUrl\",\n type: {\n name: \"String\"\n }\n },\n expectedDateOfService: {\n serializedName: \"expectedDateOfService\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CompanyInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CompanyInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\"\n }\n },\n address: {\n serializedName: \"address\",\n type: {\n name: \"String\"\n }\n },\n contactInformation: {\n serializedName: \"contactInformation\",\n type: {\n name: \"Composite\",\n className: \"ContactInformation\"\n }\n },\n customerCareInformation: {\n serializedName: \"customerCareInformation\",\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\"\n }\n }\n }\n }\n};\n\nexport const ContactInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ContactInformation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n phone: {\n serializedName: \"phone\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CustomerCareInformation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CustomerCareInformation\",\n modelProperties: {\n tollFreeNumber: {\n serializedName: \"tollFreeNumber\",\n type: {\n name: \"String\"\n }\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MessageDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageDetails\",\n modelProperties: {\n supportedProtocol: {\n serializedName: \"supportedProtocol\",\n type: {\n name: \"String\"\n }\n },\n recurrence: {\n serializedName: \"recurrence\",\n type: {\n name: \"String\"\n }\n },\n helpAnswerToUser: {\n serializedName: \"helpAnswerToUser\",\n type: {\n name: \"String\"\n }\n },\n optOutAnswerToUser: {\n serializedName: \"optOutAnswerToUser\",\n type: {\n name: \"String\"\n }\n },\n optInMessageToUser: {\n serializedName: \"optInMessageToUser\",\n type: {\n name: \"String\"\n }\n },\n optInAnswerFromUser: {\n serializedName: \"optInAnswerFromUser\",\n type: {\n name: \"String\"\n }\n },\n optInConfirmationMessageToUser: {\n serializedName: \"optInConfirmationMessageToUser\",\n type: {\n name: \"String\"\n }\n },\n directionality: {\n serializedName: \"directionality\",\n type: {\n name: \"String\"\n }\n },\n useCases: {\n serializedName: \"useCases\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"UseCase\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UseCase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UseCase\",\n modelProperties: {\n contentType: {\n serializedName: \"contentType\",\n type: {\n name: \"String\"\n }\n },\n customContentType: {\n serializedName: \"customContentType\",\n type: {\n name: \"String\"\n }\n },\n examples: {\n serializedName: \"examples\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExampleSequence: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExampleSequence\",\n modelProperties: {\n messages: {\n serializedName: \"messages\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MessageExample\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MessageExample: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageExample\",\n modelProperties: {\n direction: {\n serializedName: \"direction\",\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficDetails\",\n modelProperties: {\n totalMonthlyVolume: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"totalMonthlyVolume\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesFromUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesFromUser\",\n type: {\n name: \"Number\"\n }\n },\n monthlyAverageMessagesToUser: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"monthlyAverageMessagesToUser\",\n type: {\n name: \"Number\"\n }\n },\n isSpiky: {\n serializedName: \"isSpiky\",\n type: {\n name: \"Boolean\"\n }\n },\n spikeDetails: {\n serializedName: \"spikeDetails\",\n type: {\n name: \"String\"\n }\n },\n estimatedRampUpTimeInDays: {\n constraints: {\n InclusiveMaximum: 2147483647,\n InclusiveMinimum: 0\n },\n serializedName: \"estimatedRampUpTimeInDays\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachmentSummary: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachmentSummary\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"Uuid\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n fileName: {\n serializedName: \"fileName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const USProgramBriefs: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"USProgramBriefs\",\n modelProperties: {\n programBriefs: {\n serializedName: \"programBriefs\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"USProgramBrief\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileName: {\n serializedName: \"fileName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileSizeInBytes: {\n serializedName: \"fileSizeInBytes\",\n type: {\n name: \"Number\"\n }\n },\n fileType: {\n serializedName: \"fileType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n fileContentBase64: {\n serializedName: \"fileContentBase64\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProgramBriefAttachments: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachments\",\n modelProperties: {\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProgramBriefAttachment\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
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 { USProgramBrief as USProgramBriefMapper } from "../models/mappers";
8
+ import { USProgramBrief as USProgramBriefMapper, ProgramBriefAttachment as ProgramBriefAttachmentMapper } from "../models/mappers";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -31,6 +31,7 @@ export const endpoint = {
31
31
  export const skip = {
32
32
  parameterPath: ["options", "skip"],
33
33
  mapper: {
34
+ defaultValue: 0,
34
35
  serializedName: "skip",
35
36
  type: {
36
37
  name: "Number"
@@ -50,7 +51,7 @@ export const top = {
50
51
  export const apiVersion = {
51
52
  parameterPath: "apiVersion",
52
53
  mapper: {
53
- defaultValue: "2021-10-25-preview",
54
+ defaultValue: "2022-09-06",
54
55
  isConstant: true,
55
56
  serializedName: "api-version",
56
57
  type: {
@@ -83,6 +84,51 @@ export const programBriefId = {
83
84
  }
84
85
  }
85
86
  };
87
+ export const contentType1 = {
88
+ parameterPath: ["options", "contentType"],
89
+ mapper: {
90
+ defaultValue: "application/json",
91
+ isConstant: true,
92
+ serializedName: "Content-Type",
93
+ type: {
94
+ name: "String"
95
+ }
96
+ }
97
+ };
98
+ export const id = {
99
+ parameterPath: "id",
100
+ mapper: ProgramBriefAttachmentMapper
101
+ };
102
+ export const type = {
103
+ parameterPath: "type",
104
+ mapper: ProgramBriefAttachmentMapper
105
+ };
106
+ export const fileName = {
107
+ parameterPath: "fileName",
108
+ mapper: ProgramBriefAttachmentMapper
109
+ };
110
+ export const fileSizeInBytes = {
111
+ parameterPath: ["options", "fileSizeInBytes"],
112
+ mapper: ProgramBriefAttachmentMapper
113
+ };
114
+ export const fileType = {
115
+ parameterPath: "fileType",
116
+ mapper: ProgramBriefAttachmentMapper
117
+ };
118
+ export const fileContentBase64 = {
119
+ parameterPath: "fileContentBase64",
120
+ mapper: ProgramBriefAttachmentMapper
121
+ };
122
+ export const attachmentId = {
123
+ parameterPath: "attachmentId",
124
+ mapper: {
125
+ serializedName: "attachmentId",
126
+ required: true,
127
+ type: {
128
+ name: "Uuid"
129
+ }
130
+ }
131
+ };
86
132
  export const nextLink = {
87
133
  parameterPath: "nextLink",
88
134
  mapper: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE3E,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY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C,MAAM,IAAI,GAAuB;IACtC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,oBAAoB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEF,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","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 OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-http\";\nimport { USProgramBrief as USProgramBriefMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const 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 skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-10-25-preview\",\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/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: USProgramBriefMapper\n};\n\nexport const programBriefId: OperationURLParameter = {\n parameterPath: \"programBriefId\",\n mapper: {\n serializedName: \"programBriefId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,sBAAsB,IAAI,4BAA4B,EACvD,MAAM,mBAAmB,CAAC;AAE3B,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,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,IAAI,GAA4B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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 OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n USProgramBrief as USProgramBriefMapper,\n ProgramBriefAttachment as ProgramBriefAttachmentMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const 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 skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n defaultValue: 0,\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n defaultValue: 100,\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-09-06\",\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/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: USProgramBriefMapper\n};\n\nexport const programBriefId: OperationURLParameter = {\n parameterPath: \"programBriefId\",\n mapper: {\n serializedName: \"programBriefId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const contentType1: 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 id: OperationParameter = {\n parameterPath: \"id\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const type: OperationParameter = {\n parameterPath: \"type\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileName: OperationParameter = {\n parameterPath: \"fileName\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileSizeInBytes: OperationParameter = {\n parameterPath: [\"options\", \"fileSizeInBytes\"],\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileType: OperationParameter = {\n parameterPath: \"fileType\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const fileContentBase64: OperationParameter = {\n parameterPath: \"fileContentBase64\",\n mapper: ProgramBriefAttachmentMapper\n};\n\nexport const attachmentId: OperationURLParameter = {\n parameterPath: \"attachmentId\",\n mapper: {\n serializedName: \"attachmentId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n"]}
@@ -5,5 +5,5 @@
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 * from "./shortCodes";
8
+ export * from "./shortCodesOperations";
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,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\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,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 \"./shortCodesOperations\";\n"]}