@pulumi-labs/vonage 0.1.0 → 0.2.0

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 (132) hide show
  1. package/README.md +1 -1
  2. package/bin/accountSettings.d.ts +62 -0
  3. package/bin/accountSettings.d.ts.map +1 -0
  4. package/bin/accountSettings.js +87 -0
  5. package/bin/accountSettings.js.map +1 -0
  6. package/bin/config/vars.d.ts +2 -2
  7. package/bin/externalAccountApplicationLink.d.ts +58 -0
  8. package/bin/externalAccountApplicationLink.d.ts.map +1 -0
  9. package/bin/externalAccountApplicationLink.js +92 -0
  10. package/bin/externalAccountApplicationLink.js.map +1 -0
  11. package/bin/getAccountSettings.d.ts +34 -0
  12. package/bin/getAccountSettings.d.ts.map +1 -0
  13. package/bin/getAccountSettings.js +48 -0
  14. package/bin/getAccountSettings.js.map +1 -0
  15. package/bin/getApplication.d.ts +33 -0
  16. package/bin/getApplication.d.ts.map +1 -1
  17. package/bin/getApplication.js.map +1 -1
  18. package/bin/getExternalAccount.d.ts +56 -0
  19. package/bin/getExternalAccount.d.ts.map +1 -0
  20. package/bin/getExternalAccount.js +53 -0
  21. package/bin/getExternalAccount.js.map +1 -0
  22. package/bin/getExternalAccountApplicationLink.d.ts +56 -0
  23. package/bin/getExternalAccountApplicationLink.d.ts.map +1 -0
  24. package/bin/getExternalAccountApplicationLink.js +55 -0
  25. package/bin/getExternalAccountApplicationLink.js.map +1 -0
  26. package/bin/getExternalAccounts.d.ts +29 -0
  27. package/bin/getExternalAccounts.d.ts.map +1 -0
  28. package/bin/getExternalAccounts.js +53 -0
  29. package/bin/getExternalAccounts.js.map +1 -0
  30. package/bin/getMessengerAccount.d.ts +48 -0
  31. package/bin/getMessengerAccount.d.ts.map +1 -0
  32. package/bin/getMessengerAccount.js +51 -0
  33. package/bin/getMessengerAccount.js.map +1 -0
  34. package/bin/getNetworkApplicationProfile.d.ts +77 -0
  35. package/bin/getNetworkApplicationProfile.d.ts.map +1 -0
  36. package/bin/getNetworkApplicationProfile.js +51 -0
  37. package/bin/getNetworkApplicationProfile.js.map +1 -0
  38. package/bin/getNetworkApplicationProfileShare.d.ts +40 -0
  39. package/bin/getNetworkApplicationProfileShare.d.ts.map +1 -0
  40. package/bin/getNetworkApplicationProfileShare.js +53 -0
  41. package/bin/getNetworkApplicationProfileShare.js.map +1 -0
  42. package/bin/getNetworkApplicationProfileShares.d.ts +28 -0
  43. package/bin/getNetworkApplicationProfileShares.d.ts.map +1 -0
  44. package/bin/getNetworkApplicationProfileShares.js +51 -0
  45. package/bin/getNetworkApplicationProfileShares.js.map +1 -0
  46. package/bin/getNetworkApplicationProfiles.d.ts +45 -0
  47. package/bin/getNetworkApplicationProfiles.d.ts.map +1 -0
  48. package/bin/getNetworkApplicationProfiles.js +57 -0
  49. package/bin/getNetworkApplicationProfiles.js.map +1 -0
  50. package/bin/getNetworkBusinessProfile.d.ts +85 -0
  51. package/bin/getNetworkBusinessProfile.d.ts.map +1 -0
  52. package/bin/getNetworkBusinessProfile.js +51 -0
  53. package/bin/getNetworkBusinessProfile.js.map +1 -0
  54. package/bin/getNetworkBusinessProfiles.d.ts +29 -0
  55. package/bin/getNetworkBusinessProfiles.d.ts.map +1 -0
  56. package/bin/getNetworkBusinessProfiles.js +53 -0
  57. package/bin/getNetworkBusinessProfiles.js.map +1 -0
  58. package/bin/getNetworkRegistryCatalogue.d.ts +65 -0
  59. package/bin/getNetworkRegistryCatalogue.d.ts.map +1 -0
  60. package/bin/getNetworkRegistryCatalogue.js +55 -0
  61. package/bin/getNetworkRegistryCatalogue.js.map +1 -0
  62. package/bin/getNetworkTermsAndConditions.d.ts +36 -0
  63. package/bin/getNetworkTermsAndConditions.d.ts.map +1 -0
  64. package/bin/getNetworkTermsAndConditions.js +51 -0
  65. package/bin/getNetworkTermsAndConditions.js.map +1 -0
  66. package/bin/getNumberPool.d.ts +44 -0
  67. package/bin/getNumberPool.d.ts.map +1 -0
  68. package/bin/getNumberPool.js +51 -0
  69. package/bin/getNumberPool.js.map +1 -0
  70. package/bin/getNumberPoolNumber.d.ts +40 -0
  71. package/bin/getNumberPoolNumber.d.ts.map +1 -0
  72. package/bin/getNumberPoolNumber.js +53 -0
  73. package/bin/getNumberPoolNumber.js.map +1 -0
  74. package/bin/getNumberPoolNumbers.d.ts +28 -0
  75. package/bin/getNumberPoolNumbers.d.ts.map +1 -0
  76. package/bin/getNumberPoolNumbers.js +51 -0
  77. package/bin/getNumberPoolNumbers.js.map +1 -0
  78. package/bin/getNumberPools.d.ts +19 -0
  79. package/bin/getNumberPools.d.ts.map +1 -0
  80. package/bin/getNumberPools.js +48 -0
  81. package/bin/getNumberPools.js.map +1 -0
  82. package/bin/getPricing.d.ts +53 -0
  83. package/bin/getPricing.d.ts.map +1 -0
  84. package/bin/getPricing.js +57 -0
  85. package/bin/getPricing.js.map +1 -0
  86. package/bin/getUser.d.ts +59 -0
  87. package/bin/getUser.d.ts.map +1 -0
  88. package/bin/getUser.js +55 -0
  89. package/bin/getUser.js.map +1 -0
  90. package/bin/getUsers.d.ts +29 -0
  91. package/bin/getUsers.d.ts.map +1 -0
  92. package/bin/getUsers.js +53 -0
  93. package/bin/getUsers.js.map +1 -0
  94. package/bin/index.d.ts +87 -0
  95. package/bin/index.d.ts.map +1 -1
  96. package/bin/index.js +98 -1
  97. package/bin/index.js.map +1 -1
  98. package/bin/messengerAccount.d.ts +66 -0
  99. package/bin/messengerAccount.d.ts.map +1 -0
  100. package/bin/messengerAccount.js +95 -0
  101. package/bin/messengerAccount.js.map +1 -0
  102. package/bin/networkApplicationProfile.d.ts +120 -0
  103. package/bin/networkApplicationProfile.d.ts.map +1 -0
  104. package/bin/networkApplicationProfile.js +118 -0
  105. package/bin/networkApplicationProfile.js.map +1 -0
  106. package/bin/networkApplicationProfileShare.d.ts +50 -0
  107. package/bin/networkApplicationProfileShare.d.ts.map +1 -0
  108. package/bin/networkApplicationProfileShare.js +87 -0
  109. package/bin/networkApplicationProfileShare.js.map +1 -0
  110. package/bin/networkBusinessProfile.d.ts +200 -0
  111. package/bin/networkBusinessProfile.d.ts.map +1 -0
  112. package/bin/networkBusinessProfile.js +150 -0
  113. package/bin/networkBusinessProfile.js.map +1 -0
  114. package/bin/numberPool.d.ts +70 -0
  115. package/bin/numberPool.d.ts.map +1 -0
  116. package/bin/numberPool.js +93 -0
  117. package/bin/numberPool.js.map +1 -0
  118. package/bin/numberPoolNumber.d.ts +50 -0
  119. package/bin/numberPoolNumber.d.ts.map +1 -0
  120. package/bin/numberPoolNumber.js +87 -0
  121. package/bin/numberPoolNumber.js.map +1 -0
  122. package/bin/package.json +3 -3
  123. package/bin/provider.d.ts +4 -4
  124. package/bin/types/input.d.ts +128 -0
  125. package/bin/types/input.d.ts.map +1 -1
  126. package/bin/types/output.d.ts +450 -0
  127. package/bin/types/output.d.ts.map +1 -1
  128. package/bin/user.d.ts +80 -0
  129. package/bin/user.d.ts.map +1 -0
  130. package/bin/user.js +87 -0
  131. package/bin/user.js.map +1 -0
  132. package/package.json +3 -3
@@ -0,0 +1,120 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * A Vonage Network Registry application profile. Registering one is a submission that mobile operators review, so its status moves from pending towards accepted on its own. The API has no update call, so changing any input replaces the profile: the new one is created first, then the old one is deleted (Vonage deletes softly), and each account may hold at most 50 profiles. Shapes follow the published Network Registry OpenAPI definition and were not verified against a live account.
6
+ */
7
+ export declare class NetworkApplicationProfile extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing NetworkApplicationProfile resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NetworkApplicationProfile;
17
+ /**
18
+ * Returns true if the given object is an instance of NetworkApplicationProfile. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is NetworkApplicationProfile;
22
+ /**
23
+ * ID of the Vonage account that owns the profile.
24
+ */
25
+ readonly accountId: pulumi.Output<string>;
26
+ /**
27
+ * ID of the NetworkBusinessProfile that owns this application profile. Changing it replaces the profile.
28
+ */
29
+ readonly businessProfileId: pulumi.Output<string>;
30
+ /**
31
+ * Category of the application, from getNetworkRegistryCatalogue categories (for example finance). Changing it replaces the profile.
32
+ */
33
+ readonly categoryId: pulumi.Output<string>;
34
+ /**
35
+ * When the profile was created (RFC 3339).
36
+ */
37
+ readonly createdAt: pulumi.Output<string>;
38
+ /**
39
+ * Description of the application's use cases (at most 1000 characters). Optional fields left unset are not managed. Changing it replaces the profile.
40
+ */
41
+ readonly description: pulumi.Output<string | undefined>;
42
+ /**
43
+ * Two-letter ISO 3166 codes of the countries the application's infrastructure runs in. Changing them replaces the profile.
44
+ */
45
+ readonly infrastructureLocations: pulumi.Output<string[]>;
46
+ /**
47
+ * Name of the application (at most 100 characters). Changing it replaces the profile.
48
+ */
49
+ readonly name: pulumi.Output<string>;
50
+ /**
51
+ * The Network APIs the application uses and the purposes it states for each. Changing them replaces the profile.
52
+ */
53
+ readonly networkApis: pulumi.Output<outputs.NetworkApplicationProfileApi[]>;
54
+ /**
55
+ * URL of the application's privacy policy (at most 500 characters). Changing it replaces the profile.
56
+ */
57
+ readonly privacyPolicyUrl: pulumi.Output<string | undefined>;
58
+ /**
59
+ * Overall approval status: pending, provisioning, accepted, partially-accepted, rejected or failed. It changes as operators review the profile.
60
+ */
61
+ readonly status: pulumi.Output<string>;
62
+ /**
63
+ * Vonage's note about why the profile was rejected, when there is one.
64
+ */
65
+ readonly statusMessage: pulumi.Output<string | undefined>;
66
+ /**
67
+ * Whether you accept the Network Registry terms and conditions (see getNetworkTermsAndConditions). Sent only when set. Changing it replaces the profile.
68
+ */
69
+ readonly termsAndConditionsAccepted: pulumi.Output<boolean | undefined>;
70
+ /**
71
+ * When the profile was last updated (RFC 3339).
72
+ */
73
+ readonly updatedAt: pulumi.Output<string>;
74
+ /**
75
+ * Create a NetworkApplicationProfile resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name: string, args: NetworkApplicationProfileArgs, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * The set of arguments for constructing a NetworkApplicationProfile resource.
85
+ */
86
+ export interface NetworkApplicationProfileArgs {
87
+ /**
88
+ * ID of the NetworkBusinessProfile that owns this application profile. Changing it replaces the profile.
89
+ */
90
+ businessProfileId: pulumi.Input<string>;
91
+ /**
92
+ * Category of the application, from getNetworkRegistryCatalogue categories (for example finance). Changing it replaces the profile.
93
+ */
94
+ categoryId: pulumi.Input<string>;
95
+ /**
96
+ * Description of the application's use cases (at most 1000 characters). Optional fields left unset are not managed. Changing it replaces the profile.
97
+ */
98
+ description?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * Two-letter ISO 3166 codes of the countries the application's infrastructure runs in. Changing them replaces the profile.
101
+ */
102
+ infrastructureLocations: pulumi.Input<pulumi.Input<string>[]>;
103
+ /**
104
+ * Name of the application (at most 100 characters). Changing it replaces the profile.
105
+ */
106
+ name: pulumi.Input<string>;
107
+ /**
108
+ * The Network APIs the application uses and the purposes it states for each. Changing them replaces the profile.
109
+ */
110
+ networkApis: pulumi.Input<pulumi.Input<inputs.NetworkApplicationProfileApiArgs>[]>;
111
+ /**
112
+ * URL of the application's privacy policy (at most 500 characters). Changing it replaces the profile.
113
+ */
114
+ privacyPolicyUrl?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * Whether you accept the Network Registry terms and conditions (see getNetworkTermsAndConditions). Sent only when set. Changing it replaces the profile.
117
+ */
118
+ termsAndConditionsAccepted?: pulumi.Input<boolean | undefined>;
119
+ }
120
+ //# sourceMappingURL=networkApplicationProfile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkApplicationProfile.d.ts","sourceRoot":"","sources":["../networkApplicationProfile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAO5H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;IAOpE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,uBAAuB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,WAAW,EAAE,MA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gB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAClE"}
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NetworkApplicationProfile = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * A Vonage Network Registry application profile. Registering one is a submission that mobile operators review, so its status moves from pending towards accepted on its own. The API has no update call, so changing any input replaces the profile: the new one is created first, then the old one is deleted (Vonage deletes softly), and each account may hold at most 50 profiles. Shapes follow the published Network Registry OpenAPI definition and were not verified against a live account.
33
+ */
34
+ class NetworkApplicationProfile extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing NetworkApplicationProfile resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new NetworkApplicationProfile(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'vonage:index:NetworkApplicationProfile';
48
+ /**
49
+ * Returns true if the given object is an instance of NetworkApplicationProfile. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === NetworkApplicationProfile.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a NetworkApplicationProfile resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.businessProfileId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'businessProfileId'");
71
+ }
72
+ if (args?.categoryId === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'categoryId'");
74
+ }
75
+ if (args?.infrastructureLocations === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'infrastructureLocations'");
77
+ }
78
+ if (args?.name === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'name'");
80
+ }
81
+ if (args?.networkApis === undefined && !opts.urn) {
82
+ throw new Error("Missing required property 'networkApis'");
83
+ }
84
+ resourceInputs["businessProfileId"] = args?.businessProfileId;
85
+ resourceInputs["categoryId"] = args?.categoryId;
86
+ resourceInputs["description"] = args?.description;
87
+ resourceInputs["infrastructureLocations"] = args?.infrastructureLocations;
88
+ resourceInputs["name"] = args?.name;
89
+ resourceInputs["networkApis"] = args?.networkApis;
90
+ resourceInputs["privacyPolicyUrl"] = args?.privacyPolicyUrl;
91
+ resourceInputs["termsAndConditionsAccepted"] = args?.termsAndConditionsAccepted;
92
+ resourceInputs["accountId"] = undefined /*out*/;
93
+ resourceInputs["createdAt"] = undefined /*out*/;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ resourceInputs["statusMessage"] = undefined /*out*/;
96
+ resourceInputs["updatedAt"] = undefined /*out*/;
97
+ }
98
+ else {
99
+ resourceInputs["accountId"] = undefined /*out*/;
100
+ resourceInputs["businessProfileId"] = undefined /*out*/;
101
+ resourceInputs["categoryId"] = undefined /*out*/;
102
+ resourceInputs["createdAt"] = undefined /*out*/;
103
+ resourceInputs["description"] = undefined /*out*/;
104
+ resourceInputs["infrastructureLocations"] = undefined /*out*/;
105
+ resourceInputs["name"] = undefined /*out*/;
106
+ resourceInputs["networkApis"] = undefined /*out*/;
107
+ resourceInputs["privacyPolicyUrl"] = undefined /*out*/;
108
+ resourceInputs["status"] = undefined /*out*/;
109
+ resourceInputs["statusMessage"] = undefined /*out*/;
110
+ resourceInputs["termsAndConditionsAccepted"] = undefined /*out*/;
111
+ resourceInputs["updatedAt"] = undefined /*out*/;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(NetworkApplicationProfile.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.NetworkApplicationProfile = NetworkApplicationProfile;
118
+ //# sourceMappingURL=networkApplicationProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkApplicationProfile.js","sourceRoot":"","sources":["../networkApplicationProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,yBAA0B,S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,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,4BAA4B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAxIL,8DAyIC"}
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Shares a Network Registry application profile with another Vonage account. The resource ID is PROFILE_ID/ACCOUNT_ID. Vonage accepts the share asynchronously (HTTP 202), so a refresh right after creation may briefly not list it. Shapes follow the published Network Registry OpenAPI definition and were not verified against a live account.
4
+ */
5
+ export declare class NetworkApplicationProfileShare extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing NetworkApplicationProfileShare resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NetworkApplicationProfileShare;
15
+ /**
16
+ * Returns true if the given object is an instance of NetworkApplicationProfileShare. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is NetworkApplicationProfileShare;
20
+ /**
21
+ * ID (API key) of the Vonage account to share the profile with. Changing it replaces the share.
22
+ */
23
+ readonly accountId: pulumi.Output<string>;
24
+ /**
25
+ * ID of the application profile to share, which your account must own. Changing it replaces the share.
26
+ */
27
+ readonly profileId: pulumi.Output<string>;
28
+ /**
29
+ * Create a NetworkApplicationProfileShare resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name: string, args: NetworkApplicationProfileShareArgs, opts?: pulumi.CustomResourceOptions);
36
+ }
37
+ /**
38
+ * The set of arguments for constructing a NetworkApplicationProfileShare resource.
39
+ */
40
+ export interface NetworkApplicationProfileShareArgs {
41
+ /**
42
+ * ID (API key) of the Vonage account to share the profile with. Changing it replaces the share.
43
+ */
44
+ accountId: pulumi.Input<string>;
45
+ /**
46
+ * ID of the application profile to share, which your account must own. Changing it replaces the share.
47
+ */
48
+ profileId: pulumi.Input<string>;
49
+ }
50
+ //# sourceMappingURL=networkApplicationProfileShare.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkApplicationProfileShare.d.ts","sourceRoot":"","sources":["../networkApplicationProfileShare.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,8BAA8B;IAOjI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,8BAA8B;IAOzE;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEzD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB1G;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NetworkApplicationProfileShare = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Shares a Network Registry application profile with another Vonage account. The resource ID is PROFILE_ID/ACCOUNT_ID. Vonage accepts the share asynchronously (HTTP 202), so a refresh right after creation may briefly not list it. Shapes follow the published Network Registry OpenAPI definition and were not verified against a live account.
33
+ */
34
+ class NetworkApplicationProfileShare extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing NetworkApplicationProfileShare resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new NetworkApplicationProfileShare(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'vonage:index:NetworkApplicationProfileShare';
48
+ /**
49
+ * Returns true if the given object is an instance of NetworkApplicationProfileShare. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === NetworkApplicationProfileShare.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a NetworkApplicationProfileShare resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.accountId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'accountId'");
71
+ }
72
+ if (args?.profileId === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'profileId'");
74
+ }
75
+ resourceInputs["accountId"] = args?.accountId;
76
+ resourceInputs["profileId"] = args?.profileId;
77
+ }
78
+ else {
79
+ resourceInputs["accountId"] = undefined /*out*/;
80
+ resourceInputs["profileId"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(NetworkApplicationProfileShare.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.NetworkApplicationProfileShare = NetworkApplicationProfileShare;
87
+ //# sourceMappingURL=networkApplicationProfileShare.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkApplicationProfileShare.js","sourceRoot":"","sources":["../networkApplicationProfileShare.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IAWD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA7DL,wEA8DC"}
@@ -0,0 +1,200 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * A Vonage Network Registry business profile. Registering a profile is a legal submission that Vonage and mobile operators review: it is not an instant API call, and its status moves from pending towards accepted on its own. Vonage has no plain update: a changed input is submitted as a change request, which the profile reflects once approved (until then the resource reports the requested values). Destroying the resource deletes the profile (Vonage deletes softly and can undelete it). Shapes follow the published Network Registry OpenAPI definition and were not verified against a live account.
6
+ */
7
+ export declare class NetworkBusinessProfile extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing NetworkBusinessProfile resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NetworkBusinessProfile;
17
+ /**
18
+ * Returns true if the given object is an instance of NetworkBusinessProfile. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is NetworkBusinessProfile;
22
+ /**
23
+ * ID of the Vonage account that owns the profile.
24
+ */
25
+ readonly accountId: pulumi.Output<string>;
26
+ /**
27
+ * Postal address of the business.
28
+ */
29
+ readonly businessInformation: pulumi.Output<outputs.NetworkBusinessInformation>;
30
+ /**
31
+ * Company registration number.
32
+ */
33
+ readonly businessRegistrationId: pulumi.Output<string | undefined>;
34
+ /**
35
+ * Status of the latest change request (pending, accepted or rejected), when there is one.
36
+ */
37
+ readonly changeRequestStatus: pulumi.Output<string | undefined>;
38
+ /**
39
+ * Role of the person responsible for the profile, for example CTO (at most 100 characters).
40
+ */
41
+ readonly contactRole: pulumi.Output<string>;
42
+ /**
43
+ * Two-letter ISO 3166 codes of the countries the business will use Network APIs in. They decide which operators (CSPs) and vetting levels apply; see getNetworkRegistryCatalogue.
44
+ */
45
+ readonly countries: pulumi.Output<string[]>;
46
+ /**
47
+ * When the profile was created (RFC 3339).
48
+ */
49
+ readonly createdAt: pulumi.Output<string>;
50
+ /**
51
+ * Email address of the data protection officer.
52
+ */
53
+ readonly dpoEmail: pulumi.Output<string | undefined>;
54
+ /**
55
+ * Whether the business is required to have a data protection officer.
56
+ */
57
+ readonly dpoRequired: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * Whether Vonage emails status notifications about the profile.
60
+ */
61
+ readonly emailNotificationsEnabled: pulumi.Output<boolean | undefined>;
62
+ /**
63
+ * Authority that issued the registration.
64
+ */
65
+ readonly issuingAuthority: pulumi.Output<string | undefined>;
66
+ /**
67
+ * Legal name of the business (at most 100 characters).
68
+ */
69
+ readonly name: pulumi.Output<string>;
70
+ /**
71
+ * Kind of organisation: academicScientificOrganisation, forProfitOrganisation, governmentalOrganisation, industryConsortium, internationalOrganisation, nonProfitOrganisation, nonGovernmentalOrganisation or organisationalUnit.
72
+ */
73
+ readonly organisationType: pulumi.Output<string>;
74
+ /**
75
+ * Email address of the person managing the privacy policy.
76
+ */
77
+ readonly privacyPolicyManagerEmail: pulumi.Output<string>;
78
+ /**
79
+ * URL of the business's privacy policy.
80
+ */
81
+ readonly privacyPolicyUrl: pulumi.Output<string>;
82
+ /**
83
+ * Overall registration status: pending, reviewed, ready-to-provision, provisioning, accepted, partially-accepted, rejected or failed. It changes as operators review the profile.
84
+ */
85
+ readonly status: pulumi.Output<string>;
86
+ /**
87
+ * Vonage's note about the status, when there is one.
88
+ */
89
+ readonly statusMessage: pulumi.Output<string | undefined>;
90
+ /**
91
+ * Tax identification number of the business.
92
+ */
93
+ readonly taxNumber: pulumi.Output<string>;
94
+ /**
95
+ * Whether you accept the Network Registry terms and conditions (see getNetworkTermsAndConditions).
96
+ */
97
+ readonly termsAndConditionsAccepted: pulumi.Output<boolean>;
98
+ /**
99
+ * Trading name, when it differs from the legal name. Optional fields that are left unset are not managed: removing one from the program does not clear it at Vonage.
100
+ */
101
+ readonly tradingName: pulumi.Output<string | undefined>;
102
+ /**
103
+ * When the profile was last updated (RFC 3339).
104
+ */
105
+ readonly updatedAt: pulumi.Output<string>;
106
+ /**
107
+ * Extra fields required by the vetting levels that apply to the selected countries, as name to value (see getNetworkRegistryCatalogue vettingLevels extraFields).
108
+ */
109
+ readonly vettingExtraFields: pulumi.Output<{
110
+ [key: string]: string;
111
+ } | undefined>;
112
+ /**
113
+ * Whether you accept the vetting terms and conditions, when vetting applies.
114
+ */
115
+ readonly vettingTermsAndConditionsAccepted: pulumi.Output<boolean | undefined>;
116
+ /**
117
+ * Create a NetworkBusinessProfile resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: NetworkBusinessProfileArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * The set of arguments for constructing a NetworkBusinessProfile resource.
127
+ */
128
+ export interface NetworkBusinessProfileArgs {
129
+ /**
130
+ * Postal address of the business.
131
+ */
132
+ businessInformation: pulumi.Input<inputs.NetworkBusinessInformationArgs>;
133
+ /**
134
+ * Company registration number.
135
+ */
136
+ businessRegistrationId?: pulumi.Input<string | undefined>;
137
+ /**
138
+ * Role of the person responsible for the profile, for example CTO (at most 100 characters).
139
+ */
140
+ contactRole: pulumi.Input<string>;
141
+ /**
142
+ * Two-letter ISO 3166 codes of the countries the business will use Network APIs in. They decide which operators (CSPs) and vetting levels apply; see getNetworkRegistryCatalogue.
143
+ */
144
+ countries: pulumi.Input<pulumi.Input<string>[]>;
145
+ /**
146
+ * Email address of the data protection officer.
147
+ */
148
+ dpoEmail?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * Whether the business is required to have a data protection officer.
151
+ */
152
+ dpoRequired?: pulumi.Input<boolean | undefined>;
153
+ /**
154
+ * Whether Vonage emails status notifications about the profile.
155
+ */
156
+ emailNotificationsEnabled?: pulumi.Input<boolean | undefined>;
157
+ /**
158
+ * Authority that issued the registration.
159
+ */
160
+ issuingAuthority?: pulumi.Input<string | undefined>;
161
+ /**
162
+ * Legal name of the business (at most 100 characters).
163
+ */
164
+ name: pulumi.Input<string>;
165
+ /**
166
+ * Kind of organisation: academicScientificOrganisation, forProfitOrganisation, governmentalOrganisation, industryConsortium, internationalOrganisation, nonProfitOrganisation, nonGovernmentalOrganisation or organisationalUnit.
167
+ */
168
+ organisationType: pulumi.Input<string>;
169
+ /**
170
+ * Email address of the person managing the privacy policy.
171
+ */
172
+ privacyPolicyManagerEmail: pulumi.Input<string>;
173
+ /**
174
+ * URL of the business's privacy policy.
175
+ */
176
+ privacyPolicyUrl: pulumi.Input<string>;
177
+ /**
178
+ * Tax identification number of the business.
179
+ */
180
+ taxNumber: pulumi.Input<string>;
181
+ /**
182
+ * Whether you accept the Network Registry terms and conditions (see getNetworkTermsAndConditions).
183
+ */
184
+ termsAndConditionsAccepted: pulumi.Input<boolean>;
185
+ /**
186
+ * Trading name, when it differs from the legal name. Optional fields that are left unset are not managed: removing one from the program does not clear it at Vonage.
187
+ */
188
+ tradingName?: pulumi.Input<string | undefined>;
189
+ /**
190
+ * Extra fields required by the vetting levels that apply to the selected countries, as name to value (see getNetworkRegistryCatalogue vettingLevels extraFields).
191
+ */
192
+ vettingExtraFields?: pulumi.Input<{
193
+ [key: string]: pulumi.Input<string>;
194
+ } | undefined>;
195
+ /**
196
+ * Whether you accept the vetting terms and conditions, when vetting applies.
197
+ */
198
+ vettingTermsAndConditionsAccepted?: pulumi.Input<boolean | undefined>;
199
+ }
200
+ //# sourceMappingURL=networkBusinessProfile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkBusinessProfile.d.ts","sourceRoot":"","sources":["../networkBusinessProfile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sBAAsB;IAOzH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sBAAsB;IAOjE;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