oci-onesubscription 2.31.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 (209) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +28 -0
  6. package/index.js +51 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +808 -0
  9. package/lib/client.js +2027 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/aggregated-computed-usage-summary.d.ts +82 -0
  12. package/lib/model/aggregated-computed-usage-summary.js +81 -0
  13. package/lib/model/aggregated-computed-usage-summary.js.map +1 -0
  14. package/lib/model/billing-schedule-product.d.ts +32 -0
  15. package/lib/model/billing-schedule-product.js +30 -0
  16. package/lib/model/billing-schedule-product.js.map +1 -0
  17. package/lib/model/billing-schedule-summary.d.ts +94 -0
  18. package/lib/model/billing-schedule-summary.js +66 -0
  19. package/lib/model/billing-schedule-summary.js.map +1 -0
  20. package/lib/model/commitment-service.d.ts +53 -0
  21. package/lib/model/commitment-service.js +30 -0
  22. package/lib/model/commitment-service.js.map +1 -0
  23. package/lib/model/commitment-summary.d.ts +64 -0
  24. package/lib/model/commitment-summary.js +30 -0
  25. package/lib/model/commitment-summary.js.map +1 -0
  26. package/lib/model/commitment.d.ts +64 -0
  27. package/lib/model/commitment.js +30 -0
  28. package/lib/model/commitment.js.map +1 -0
  29. package/lib/model/computed-usage-aggregation.d.ts +82 -0
  30. package/lib/model/computed-usage-aggregation.js +79 -0
  31. package/lib/model/computed-usage-aggregation.js.map +1 -0
  32. package/lib/model/computed-usage-product.d.ts +58 -0
  33. package/lib/model/computed-usage-product.js +30 -0
  34. package/lib/model/computed-usage-product.js.map +1 -0
  35. package/lib/model/computed-usage-summary.d.ts +163 -0
  36. package/lib/model/computed-usage-summary.js +85 -0
  37. package/lib/model/computed-usage-summary.js.map +1 -0
  38. package/lib/model/computed-usage.d.ts +163 -0
  39. package/lib/model/computed-usage.js +85 -0
  40. package/lib/model/computed-usage.js.map +1 -0
  41. package/lib/model/index.d.ts +87 -0
  42. package/lib/model/index.js +110 -0
  43. package/lib/model/index.js.map +1 -0
  44. package/lib/model/invoice-line-summary.d.ts +50 -0
  45. package/lib/model/invoice-line-summary.js +56 -0
  46. package/lib/model/invoice-line-summary.js.map +1 -0
  47. package/lib/model/invoice-summary.d.ts +95 -0
  48. package/lib/model/invoice-summary.js +96 -0
  49. package/lib/model/invoice-summary.js.map +1 -0
  50. package/lib/model/invoiceline-computed-usage-summary.d.ts +74 -0
  51. package/lib/model/invoiceline-computed-usage-summary.js +81 -0
  52. package/lib/model/invoiceline-computed-usage-summary.js.map +1 -0
  53. package/lib/model/invoicing-address.d.ts +65 -0
  54. package/lib/model/invoicing-address.js +56 -0
  55. package/lib/model/invoicing-address.js.map +1 -0
  56. package/lib/model/invoicing-business-partner.d.ts +68 -0
  57. package/lib/model/invoicing-business-partner.js +30 -0
  58. package/lib/model/invoicing-business-partner.js.map +1 -0
  59. package/lib/model/invoicing-currency.d.ts +38 -0
  60. package/lib/model/invoicing-currency.js +30 -0
  61. package/lib/model/invoicing-currency.js.map +1 -0
  62. package/lib/model/invoicing-location.d.ts +58 -0
  63. package/lib/model/invoicing-location.js +30 -0
  64. package/lib/model/invoicing-location.js.map +1 -0
  65. package/lib/model/invoicing-organization.d.ts +33 -0
  66. package/lib/model/invoicing-organization.js +30 -0
  67. package/lib/model/invoicing-organization.js.map +1 -0
  68. package/lib/model/invoicing-payment-term.d.ts +63 -0
  69. package/lib/model/invoicing-payment-term.js +30 -0
  70. package/lib/model/invoicing-payment-term.js.map +1 -0
  71. package/lib/model/invoicing-product.d.ts +53 -0
  72. package/lib/model/invoicing-product.js +30 -0
  73. package/lib/model/invoicing-product.js.map +1 -0
  74. package/lib/model/invoicing-user.d.ts +63 -0
  75. package/lib/model/invoicing-user.js +30 -0
  76. package/lib/model/invoicing-user.js.map +1 -0
  77. package/lib/model/organization-subscription-summary.d.ts +60 -0
  78. package/lib/model/organization-subscription-summary.js +58 -0
  79. package/lib/model/organization-subscription-summary.js.map +1 -0
  80. package/lib/model/orgnization-subs-currency.d.ts +38 -0
  81. package/lib/model/orgnization-subs-currency.js +30 -0
  82. package/lib/model/orgnization-subs-currency.js.map +1 -0
  83. package/lib/model/rate-card-product.d.ts +53 -0
  84. package/lib/model/rate-card-product.js +30 -0
  85. package/lib/model/rate-card-product.js.map +1 -0
  86. package/lib/model/rate-card-summary.d.ts +66 -0
  87. package/lib/model/rate-card-summary.js +70 -0
  88. package/lib/model/rate-card-summary.js.map +1 -0
  89. package/lib/model/rate-card-tier.d.ts +38 -0
  90. package/lib/model/rate-card-tier.js +30 -0
  91. package/lib/model/rate-card-tier.js.map +1 -0
  92. package/lib/model/subscribed-service-address.d.ts +65 -0
  93. package/lib/model/subscribed-service-address.js +58 -0
  94. package/lib/model/subscribed-service-address.js.map +1 -0
  95. package/lib/model/subscribed-service-business-partner.d.ts +68 -0
  96. package/lib/model/subscribed-service-business-partner.js +30 -0
  97. package/lib/model/subscribed-service-business-partner.js.map +1 -0
  98. package/lib/model/subscribed-service-location.d.ts +58 -0
  99. package/lib/model/subscribed-service-location.js +30 -0
  100. package/lib/model/subscribed-service-location.js.map +1 -0
  101. package/lib/model/subscribed-service-payment-term.d.ts +63 -0
  102. package/lib/model/subscribed-service-payment-term.js +30 -0
  103. package/lib/model/subscribed-service-payment-term.js.map +1 -0
  104. package/lib/model/subscribed-service-summary.d.ts +507 -0
  105. package/lib/model/subscribed-service-summary.js +146 -0
  106. package/lib/model/subscribed-service-summary.js.map +1 -0
  107. package/lib/model/subscribed-service-user.d.ts +63 -0
  108. package/lib/model/subscribed-service-user.js +30 -0
  109. package/lib/model/subscribed-service-user.js.map +1 -0
  110. package/lib/model/subscribed-service.d.ts +517 -0
  111. package/lib/model/subscribed-service.js +166 -0
  112. package/lib/model/subscribed-service.js.map +1 -0
  113. package/lib/model/subscription-currency.d.ts +38 -0
  114. package/lib/model/subscription-currency.js +30 -0
  115. package/lib/model/subscription-currency.js.map +1 -0
  116. package/lib/model/subscription-product.d.ts +43 -0
  117. package/lib/model/subscription-product.js +30 -0
  118. package/lib/model/subscription-product.js.map +1 -0
  119. package/lib/model/subscription-subscribed-service.d.ts +146 -0
  120. package/lib/model/subscription-subscribed-service.js +66 -0
  121. package/lib/model/subscription-subscribed-service.js.map +1 -0
  122. package/lib/model/subscription-summary.d.ts +60 -0
  123. package/lib/model/subscription-summary.js +66 -0
  124. package/lib/model/subscription-summary.js.map +1 -0
  125. package/lib/request/get-commitment-request.d.ts +27 -0
  126. package/lib/request/get-commitment-request.js +15 -0
  127. package/lib/request/get-commitment-request.js.map +1 -0
  128. package/lib/request/get-computed-usage-request.d.ts +39 -0
  129. package/lib/request/get-computed-usage-request.js +15 -0
  130. package/lib/request/get-computed-usage-request.js.map +1 -0
  131. package/lib/request/get-subscribed-service-request.d.ts +40 -0
  132. package/lib/request/get-subscribed-service-request.js +15 -0
  133. package/lib/request/get-subscribed-service-request.js.map +1 -0
  134. package/lib/request/index.d.ts +39 -0
  135. package/lib/request/index.js +56 -0
  136. package/lib/request/index.js.map +1 -0
  137. package/lib/request/list-aggregated-computed-usages-request.d.ts +72 -0
  138. package/lib/request/list-aggregated-computed-usages-request.js +26 -0
  139. package/lib/request/list-aggregated-computed-usages-request.js.map +1 -0
  140. package/lib/request/list-billing-schedules-request.d.ts +69 -0
  141. package/lib/request/list-billing-schedules-request.js +29 -0
  142. package/lib/request/list-billing-schedules-request.js.map +1 -0
  143. package/lib/request/list-commitments-request.d.ts +64 -0
  144. package/lib/request/list-commitments-request.js +29 -0
  145. package/lib/request/list-commitments-request.js.map +1 -0
  146. package/lib/request/list-computed-usages-request.d.ts +85 -0
  147. package/lib/request/list-computed-usages-request.js +30 -0
  148. package/lib/request/list-computed-usages-request.js.map +1 -0
  149. package/lib/request/list-invoiceline-computed-usages-request.d.ts +72 -0
  150. package/lib/request/list-invoiceline-computed-usages-request.js +29 -0
  151. package/lib/request/list-invoiceline-computed-usages-request.js.map +1 -0
  152. package/lib/request/list-invoices-request.d.ts +81 -0
  153. package/lib/request/list-invoices-request.js +29 -0
  154. package/lib/request/list-invoices-request.js.map +1 -0
  155. package/lib/request/list-organization-subscriptions-request.d.ts +59 -0
  156. package/lib/request/list-organization-subscriptions-request.js +29 -0
  157. package/lib/request/list-organization-subscriptions-request.js.map +1 -0
  158. package/lib/request/list-rate-cards-request.d.ts +75 -0
  159. package/lib/request/list-rate-cards-request.js +29 -0
  160. package/lib/request/list-rate-cards-request.js.map +1 -0
  161. package/lib/request/list-subscribed-services-request.d.ts +73 -0
  162. package/lib/request/list-subscribed-services-request.js +29 -0
  163. package/lib/request/list-subscribed-services-request.js.map +1 -0
  164. package/lib/request/list-subscriptions-request.d.ts +75 -0
  165. package/lib/request/list-subscriptions-request.js +29 -0
  166. package/lib/request/list-subscriptions-request.js.map +1 -0
  167. package/lib/response/get-commitment-response.d.ts +25 -0
  168. package/lib/response/get-commitment-response.js +15 -0
  169. package/lib/response/get-commitment-response.js.map +1 -0
  170. package/lib/response/get-computed-usage-response.d.ts +25 -0
  171. package/lib/response/get-computed-usage-response.js +15 -0
  172. package/lib/response/get-computed-usage-response.js.map +1 -0
  173. package/lib/response/get-subscribed-service-response.d.ts +25 -0
  174. package/lib/response/get-subscribed-service-response.js +15 -0
  175. package/lib/response/get-subscribed-service-response.js.map +1 -0
  176. package/lib/response/index.d.ts +39 -0
  177. package/lib/response/index.js +16 -0
  178. package/lib/response/index.js.map +1 -0
  179. package/lib/response/list-aggregated-computed-usages-response.d.ts +32 -0
  180. package/lib/response/list-aggregated-computed-usages-response.js +15 -0
  181. package/lib/response/list-aggregated-computed-usages-response.js.map +1 -0
  182. package/lib/response/list-billing-schedules-response.d.ts +32 -0
  183. package/lib/response/list-billing-schedules-response.js +15 -0
  184. package/lib/response/list-billing-schedules-response.js.map +1 -0
  185. package/lib/response/list-commitments-response.d.ts +32 -0
  186. package/lib/response/list-commitments-response.js +15 -0
  187. package/lib/response/list-commitments-response.js.map +1 -0
  188. package/lib/response/list-computed-usages-response.d.ts +32 -0
  189. package/lib/response/list-computed-usages-response.js +15 -0
  190. package/lib/response/list-computed-usages-response.js.map +1 -0
  191. package/lib/response/list-invoiceline-computed-usages-response.d.ts +32 -0
  192. package/lib/response/list-invoiceline-computed-usages-response.js +15 -0
  193. package/lib/response/list-invoiceline-computed-usages-response.js.map +1 -0
  194. package/lib/response/list-invoices-response.d.ts +32 -0
  195. package/lib/response/list-invoices-response.js +15 -0
  196. package/lib/response/list-invoices-response.js.map +1 -0
  197. package/lib/response/list-organization-subscriptions-response.d.ts +32 -0
  198. package/lib/response/list-organization-subscriptions-response.js +15 -0
  199. package/lib/response/list-organization-subscriptions-response.js.map +1 -0
  200. package/lib/response/list-rate-cards-response.d.ts +27 -0
  201. package/lib/response/list-rate-cards-response.js +15 -0
  202. package/lib/response/list-rate-cards-response.js.map +1 -0
  203. package/lib/response/list-subscribed-services-response.d.ts +32 -0
  204. package/lib/response/list-subscribed-services-response.js +15 -0
  205. package/lib/response/list-subscribed-services-response.js.map +1 -0
  206. package/lib/response/list-subscriptions-response.d.ts +32 -0
  207. package/lib/response/list-subscriptions-response.js +15 -0
  208. package/lib/response/list-subscriptions-response.js.map +1 -0
  209. package/package.json +29 -0
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription APIs
4
+ * OneSubscription APIs
5
+
6
+ * OpenAPI spec version: 20190111
7
+ * Contact: kuaskum_org_ww@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SubscribedService = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscribedService;
38
+ (function (SubscribedService) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "product": obj.product ? model.RateCardProduct.getJsonObj(obj.product) : undefined,
42
+ "billToCustomer": obj.billToCustomer
43
+ ? model.SubscribedServiceBusinessPartner.getJsonObj(obj.billToCustomer)
44
+ : undefined,
45
+ "billToContact": obj.billToContact
46
+ ? model.SubscribedServiceUser.getJsonObj(obj.billToContact)
47
+ : undefined,
48
+ "billToAddress": obj.billToAddress
49
+ ? model.SubscribedServiceAddress.getJsonObj(obj.billToAddress)
50
+ : undefined,
51
+ "paymentTerm": obj.paymentTerm
52
+ ? model.SubscribedServicePaymentTerm.getJsonObj(obj.paymentTerm)
53
+ : undefined,
54
+ "serviceToCustomer": obj.serviceToCustomer
55
+ ? model.SubscribedServiceBusinessPartner.getJsonObj(obj.serviceToCustomer)
56
+ : undefined,
57
+ "serviceToContact": obj.serviceToContact
58
+ ? model.SubscribedServiceUser.getJsonObj(obj.serviceToContact)
59
+ : undefined,
60
+ "serviceToAddress": obj.serviceToAddress
61
+ ? model.SubscribedServiceAddress.getJsonObj(obj.serviceToAddress)
62
+ : undefined,
63
+ "soldToCustomer": obj.soldToCustomer
64
+ ? model.SubscribedServiceBusinessPartner.getJsonObj(obj.soldToCustomer)
65
+ : undefined,
66
+ "soldToContact": obj.soldToContact
67
+ ? model.SubscribedServiceUser.getJsonObj(obj.soldToContact)
68
+ : undefined,
69
+ "endUserCustomer": obj.endUserCustomer
70
+ ? model.SubscribedServiceBusinessPartner.getJsonObj(obj.endUserCustomer)
71
+ : undefined,
72
+ "endUserContact": obj.endUserContact
73
+ ? model.SubscribedServiceUser.getJsonObj(obj.endUserContact)
74
+ : undefined,
75
+ "endUserAddress": obj.endUserAddress
76
+ ? model.SubscribedServiceAddress.getJsonObj(obj.endUserAddress)
77
+ : undefined,
78
+ "resellerCustomer": obj.resellerCustomer
79
+ ? model.SubscribedServiceBusinessPartner.getJsonObj(obj.resellerCustomer)
80
+ : undefined,
81
+ "resellerContact": obj.resellerContact
82
+ ? model.SubscribedServiceUser.getJsonObj(obj.resellerContact)
83
+ : undefined,
84
+ "resellerAddress": obj.resellerAddress
85
+ ? model.SubscribedServiceAddress.getJsonObj(obj.resellerAddress)
86
+ : undefined,
87
+ "commitmentServices": obj.commitmentServices
88
+ ? obj.commitmentServices.map(item => {
89
+ return model.CommitmentService.getJsonObj(item);
90
+ })
91
+ : undefined,
92
+ "rateCards": obj.rateCards
93
+ ? obj.rateCards.map(item => {
94
+ return model.RateCardSummary.getJsonObj(item);
95
+ })
96
+ : undefined
97
+ });
98
+ return jsonObj;
99
+ }
100
+ SubscribedService.getJsonObj = getJsonObj;
101
+ function getDeserializedJsonObj(obj) {
102
+ const jsonObj = Object.assign(Object.assign({}, obj), {
103
+ "product": obj.product
104
+ ? model.RateCardProduct.getDeserializedJsonObj(obj.product)
105
+ : undefined,
106
+ "billToCustomer": obj.billToCustomer
107
+ ? model.SubscribedServiceBusinessPartner.getDeserializedJsonObj(obj.billToCustomer)
108
+ : undefined,
109
+ "billToContact": obj.billToContact
110
+ ? model.SubscribedServiceUser.getDeserializedJsonObj(obj.billToContact)
111
+ : undefined,
112
+ "billToAddress": obj.billToAddress
113
+ ? model.SubscribedServiceAddress.getDeserializedJsonObj(obj.billToAddress)
114
+ : undefined,
115
+ "paymentTerm": obj.paymentTerm
116
+ ? model.SubscribedServicePaymentTerm.getDeserializedJsonObj(obj.paymentTerm)
117
+ : undefined,
118
+ "serviceToCustomer": obj.serviceToCustomer
119
+ ? model.SubscribedServiceBusinessPartner.getDeserializedJsonObj(obj.serviceToCustomer)
120
+ : undefined,
121
+ "serviceToContact": obj.serviceToContact
122
+ ? model.SubscribedServiceUser.getDeserializedJsonObj(obj.serviceToContact)
123
+ : undefined,
124
+ "serviceToAddress": obj.serviceToAddress
125
+ ? model.SubscribedServiceAddress.getDeserializedJsonObj(obj.serviceToAddress)
126
+ : undefined,
127
+ "soldToCustomer": obj.soldToCustomer
128
+ ? model.SubscribedServiceBusinessPartner.getDeserializedJsonObj(obj.soldToCustomer)
129
+ : undefined,
130
+ "soldToContact": obj.soldToContact
131
+ ? model.SubscribedServiceUser.getDeserializedJsonObj(obj.soldToContact)
132
+ : undefined,
133
+ "endUserCustomer": obj.endUserCustomer
134
+ ? model.SubscribedServiceBusinessPartner.getDeserializedJsonObj(obj.endUserCustomer)
135
+ : undefined,
136
+ "endUserContact": obj.endUserContact
137
+ ? model.SubscribedServiceUser.getDeserializedJsonObj(obj.endUserContact)
138
+ : undefined,
139
+ "endUserAddress": obj.endUserAddress
140
+ ? model.SubscribedServiceAddress.getDeserializedJsonObj(obj.endUserAddress)
141
+ : undefined,
142
+ "resellerCustomer": obj.resellerCustomer
143
+ ? model.SubscribedServiceBusinessPartner.getDeserializedJsonObj(obj.resellerCustomer)
144
+ : undefined,
145
+ "resellerContact": obj.resellerContact
146
+ ? model.SubscribedServiceUser.getDeserializedJsonObj(obj.resellerContact)
147
+ : undefined,
148
+ "resellerAddress": obj.resellerAddress
149
+ ? model.SubscribedServiceAddress.getDeserializedJsonObj(obj.resellerAddress)
150
+ : undefined,
151
+ "commitmentServices": obj.commitmentServices
152
+ ? obj.commitmentServices.map(item => {
153
+ return model.CommitmentService.getDeserializedJsonObj(item);
154
+ })
155
+ : undefined,
156
+ "rateCards": obj.rateCards
157
+ ? obj.rateCards.map(item => {
158
+ return model.RateCardSummary.getDeserializedJsonObj(item);
159
+ })
160
+ : undefined
161
+ });
162
+ return jsonObj;
163
+ }
164
+ SubscribedService.getDeserializedJsonObj = getDeserializedJsonObj;
165
+ })(SubscribedService = exports.SubscribedService || (exports.SubscribedService = {}));
166
+ //# sourceMappingURL=subscribed-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribed-service.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscribed-service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuflC,IAAiB,iBAAiB,CA6IjC;AA7ID,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAElF,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,C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AChC,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtEe,wCAAsB,yBAsErC,CAAA;AACH,CAAC,EA7IgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6IjC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * OneSubscription APIs
3
+ * OneSubscription APIs
4
+
5
+ * OpenAPI spec version: 20190111
6
+ * Contact: kuaskum_org_ww@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ /**
15
+ * Currency details
16
+ *
17
+ */
18
+ export interface SubscriptionCurrency {
19
+ /**
20
+ * Currency name
21
+ *
22
+ */
23
+ "name"?: string;
24
+ /**
25
+ * Currency Code
26
+ *
27
+ */
28
+ "isoCode": string;
29
+ /**
30
+ * Standard Precision of the Currency
31
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
+ */
33
+ "stdPrecision"?: number;
34
+ }
35
+ export declare namespace SubscriptionCurrency {
36
+ function getJsonObj(obj: SubscriptionCurrency): object;
37
+ function getDeserializedJsonObj(obj: SubscriptionCurrency): object;
38
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription APIs
4
+ * OneSubscription APIs
5
+
6
+ * OpenAPI spec version: 20190111
7
+ * Contact: kuaskum_org_ww@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SubscriptionCurrency = void 0;
17
+ var SubscriptionCurrency;
18
+ (function (SubscriptionCurrency) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ SubscriptionCurrency.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ SubscriptionCurrency.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(SubscriptionCurrency = exports.SubscriptionCurrency || (exports.SubscriptionCurrency = {}));
30
+ //# sourceMappingURL=subscription-currency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-currency.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-currency.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AA2BH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * OneSubscription APIs
3
+ * OneSubscription APIs
4
+
5
+ * OpenAPI spec version: 20190111
6
+ * Contact: kuaskum_org_ww@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ /**
15
+ * Product description
16
+ *
17
+ */
18
+ export interface SubscriptionProduct {
19
+ /**
20
+ * Product part numner
21
+ *
22
+ */
23
+ "partNumber": string;
24
+ /**
25
+ * Product name
26
+ *
27
+ */
28
+ "name": string;
29
+ /**
30
+ * Unit of measure
31
+ *
32
+ */
33
+ "unitOfMeasure": string;
34
+ /**
35
+ * Product provisioning group
36
+ *
37
+ */
38
+ "provisioningGroup"?: string;
39
+ }
40
+ export declare namespace SubscriptionProduct {
41
+ function getJsonObj(obj: SubscriptionProduct): object;
42
+ function getDeserializedJsonObj(obj: SubscriptionProduct): object;
43
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription APIs
4
+ * OneSubscription APIs
5
+
6
+ * OpenAPI spec version: 20190111
7
+ * Contact: kuaskum_org_ww@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SubscriptionProduct = void 0;
17
+ var SubscriptionProduct;
18
+ (function (SubscriptionProduct) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ SubscriptionProduct.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ SubscriptionProduct.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(SubscriptionProduct = exports.SubscriptionProduct || (exports.SubscriptionProduct = {}));
30
+ //# sourceMappingURL=subscription-product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-product.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-product.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAgCH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
@@ -0,0 +1,146 @@
1
+ /**
2
+ * OneSubscription APIs
3
+ * OneSubscription APIs
4
+
5
+ * OpenAPI spec version: 20190111
6
+ * Contact: kuaskum_org_ww@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ import * as model from "../model";
15
+ /**
16
+ * Subscribed Service summary
17
+ *
18
+ */
19
+ export interface SubscriptionSubscribedService {
20
+ /**
21
+ * SPM internal Subscribed Service ID
22
+ *
23
+ */
24
+ "id": string;
25
+ "product"?: model.SubscriptionProduct;
26
+ /**
27
+ * Subscribed service quantity
28
+ *
29
+ */
30
+ "quantity"?: string;
31
+ /**
32
+ * Subscribed service status
33
+ *
34
+ */
35
+ "status"?: string;
36
+ /**
37
+ * Subscribed service operation type
38
+ *
39
+ */
40
+ "operationType"?: string;
41
+ /**
42
+ * Subscribed service net unit price
43
+ *
44
+ */
45
+ "netUnitPrice"?: string;
46
+ /**
47
+ * Subscribed service used amount
48
+ *
49
+ */
50
+ "usedAmount"?: string;
51
+ /**
52
+ * Subscribed sercice available or remaining amount
53
+ *
54
+ */
55
+ "availableAmount"?: string;
56
+ /**
57
+ * Funded Allocation line value
58
+ * example: 12000.00
59
+ *
60
+ */
61
+ "fundedAllocationValue"?: string;
62
+ /**
63
+ * This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
64
+ *
65
+ */
66
+ "partnerTransactionType"?: string;
67
+ /**
68
+ * Term value in Months
69
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
70
+ */
71
+ "termValue"?: number;
72
+ /**
73
+ * Term value UOM
74
+ *
75
+ */
76
+ "termValueUom"?: string;
77
+ /**
78
+ * Booking Opportunity Number of Subscribed Service
79
+ *
80
+ */
81
+ "bookingOptyNumber"?: string;
82
+ /**
83
+ * Subscribed service total value
84
+ *
85
+ */
86
+ "totalValue"?: string;
87
+ /**
88
+ * Subscribed service Promotion Amount
89
+ *
90
+ */
91
+ "originalPromoAmount"?: string;
92
+ /**
93
+ * Sales Order Number associated to the subscribed service
94
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
95
+ */
96
+ "orderNumber"?: number;
97
+ /**
98
+ * Subscribed service data center region
99
+ *
100
+ */
101
+ "dataCenterRegion"?: string;
102
+ /**
103
+ * Subscribed service pricing model
104
+ *
105
+ */
106
+ "pricingModel"?: string;
107
+ /**
108
+ * Subscribed service program type
109
+ *
110
+ */
111
+ "programType"?: string;
112
+ /**
113
+ * Subscribed service promotion type
114
+ *
115
+ */
116
+ "promoType"?: string;
117
+ /**
118
+ * Subscribed service CSI number
119
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
120
+ */
121
+ "csi"?: number;
122
+ /**
123
+ * Subscribed service intent to pay flag
124
+ *
125
+ */
126
+ "isIntentToPay"?: boolean;
127
+ /**
128
+ * Subscribed service start date
129
+ *
130
+ */
131
+ "timeStart"?: Date;
132
+ /**
133
+ * Subscribed service end date
134
+ *
135
+ */
136
+ "timeEnd"?: Date;
137
+ /**
138
+ * List of Commitment services of a line
139
+ *
140
+ */
141
+ "commitmentServices"?: Array<model.CommitmentService>;
142
+ }
143
+ export declare namespace SubscriptionSubscribedService {
144
+ function getJsonObj(obj: SubscriptionSubscribedService): object;
145
+ function getDeserializedJsonObj(obj: SubscriptionSubscribedService): object;
146
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription APIs
4
+ * OneSubscription APIs
5
+
6
+ * OpenAPI spec version: 20190111
7
+ * Contact: kuaskum_org_ww@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SubscriptionSubscribedService = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscriptionSubscribedService;
38
+ (function (SubscriptionSubscribedService) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "product": obj.product ? model.SubscriptionProduct.getJsonObj(obj.product) : undefined,
42
+ "commitmentServices": obj.commitmentServices
43
+ ? obj.commitmentServices.map(item => {
44
+ return model.CommitmentService.getJsonObj(item);
45
+ })
46
+ : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ SubscriptionSubscribedService.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {
53
+ "product": obj.product
54
+ ? model.SubscriptionProduct.getDeserializedJsonObj(obj.product)
55
+ : undefined,
56
+ "commitmentServices": obj.commitmentServices
57
+ ? obj.commitmentServices.map(item => {
58
+ return model.CommitmentService.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ SubscriptionSubscribedService.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(SubscriptionSubscribedService = exports.SubscriptionSubscribedService || (exports.SubscriptionSubscribedService = {}));
66
+ //# sourceMappingURL=subscription-subscribed-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-subscribed-service.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-subscribed-service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoIlC,IAAiB,6BAA6B,CAmC7C;AAnCD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAEtF,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC/D,CAAC,CAAC,SAAS;YAEb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,oDAAsB,yBAiBrC,CAAA;AACH,CAAC,EAnCgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAmC7C"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * OneSubscription APIs
3
+ * OneSubscription APIs
4
+
5
+ * OpenAPI spec version: 20190111
6
+ * Contact: kuaskum_org_ww@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ import * as model from "../model";
15
+ /**
16
+ * Subscription summary
17
+ *
18
+ */
19
+ export interface SubscriptionSummary {
20
+ /**
21
+ * Status of the plan
22
+ *
23
+ */
24
+ "status"?: string;
25
+ /**
26
+ * Represents the date when the first service of the subscription was activated
27
+ *
28
+ */
29
+ "timeStart"?: Date;
30
+ /**
31
+ * Represents the date when the last service of the subscription ends
32
+ *
33
+ */
34
+ "timeEnd"?: Date;
35
+ "currency"?: model.SubscriptionCurrency;
36
+ /**
37
+ * Customer friendly service name provided by PRG
38
+ *
39
+ */
40
+ "serviceName"?: string;
41
+ /**
42
+ * Hold reason of the plan
43
+ *
44
+ */
45
+ "holdReason"?: string;
46
+ /**
47
+ * Represents the date of the hold release
48
+ *
49
+ */
50
+ "timeHoldReleaseEta"?: Date;
51
+ /**
52
+ * List of Subscribed Services of the plan
53
+ *
54
+ */
55
+ "subscribedServices"?: Array<model.SubscriptionSubscribedService>;
56
+ }
57
+ export declare namespace SubscriptionSummary {
58
+ function getJsonObj(obj: SubscriptionSummary): object;
59
+ function getDeserializedJsonObj(obj: SubscriptionSummary): object;
60
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /**
3
+ * OneSubscription APIs
4
+ * OneSubscription APIs
5
+
6
+ * OpenAPI spec version: 20190111
7
+ * Contact: kuaskum_org_ww@oracle.com
8
+ *
9
+ * NOTE: This class is auto generated by OracleSDKGenerator.
10
+ * Do not edit the class manually.
11
+ *
12
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
13
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
23
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
24
+ }) : function(o, v) {
25
+ o["default"] = v;
26
+ });
27
+ var __importStar = (this && this.__importStar) || function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ Object.defineProperty(exports, "__esModule", { value: true });
35
+ exports.SubscriptionSummary = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscriptionSummary;
38
+ (function (SubscriptionSummary) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "currency": obj.currency ? model.SubscriptionCurrency.getJsonObj(obj.currency) : undefined,
42
+ "subscribedServices": obj.subscribedServices
43
+ ? obj.subscribedServices.map(item => {
44
+ return model.SubscriptionSubscribedService.getJsonObj(item);
45
+ })
46
+ : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ SubscriptionSummary.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {
53
+ "currency": obj.currency
54
+ ? model.SubscriptionCurrency.getDeserializedJsonObj(obj.currency)
55
+ : undefined,
56
+ "subscribedServices": obj.subscribedServices
57
+ ? obj.subscribedServices.map(item => {
58
+ return model.SubscriptionSubscribedService.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ SubscriptionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(SubscriptionSummary = exports.SubscriptionSummary || (exports.SubscriptionSummary = {}));
66
+ //# sourceMappingURL=subscription-summary.js.map