oci-usage 2.39.0 → 2.41.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 (35) hide show
  1. package/lib/client.d.ts +18 -8
  2. package/lib/client.js +80 -8
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-redeemable-user-details.d.ts +2 -2
  5. package/lib/model/index.d.ts +4 -0
  6. package/lib/model/index.js +5 -1
  7. package/lib/model/index.js.map +1 -1
  8. package/lib/model/redeemable-user-collection.d.ts +2 -2
  9. package/lib/model/redeemable-user-summary.d.ts +10 -2
  10. package/lib/model/redeemable-user-summary.js.map +1 -1
  11. package/lib/model/redeemable-user.d.ts +9 -1
  12. package/lib/model/redeemable-user.js.map +1 -1
  13. package/lib/model/redemption-collection.d.ts +26 -0
  14. package/lib/model/redemption-collection.js +61 -0
  15. package/lib/model/redemption-collection.js.map +1 -0
  16. package/lib/model/redemption-summary.d.ts +61 -0
  17. package/lib/model/redemption-summary.js +29 -0
  18. package/lib/model/redemption-summary.js.map +1 -0
  19. package/lib/model/reward-details.d.ts +1 -1
  20. package/lib/request/create-redeemable-user-request.d.ts +2 -2
  21. package/lib/request/delete-redeemable-user-request.d.ts +1 -1
  22. package/lib/request/index.d.ts +2 -0
  23. package/lib/request/index.js +3 -1
  24. package/lib/request/index.js.map +1 -1
  25. package/lib/request/list-products-request.d.ts +1 -1
  26. package/lib/request/list-redeemable-users-request.d.ts +1 -1
  27. package/lib/request/list-redemptions-request.d.ts +63 -0
  28. package/lib/request/list-redemptions-request.js +28 -0
  29. package/lib/request/list-redemptions-request.js.map +1 -0
  30. package/lib/request/list-rewards-request.d.ts +1 -1
  31. package/lib/response/index.d.ts +2 -0
  32. package/lib/response/list-redemptions-response.d.ts +32 -0
  33. package/lib/response/list-redemptions-response.js +15 -0
  34. package/lib/response/list-redemptions-response.js.map +1 -0
  35. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -55,23 +55,23 @@ export declare class RewardsClient {
55
55
  */
56
56
  set regionId(regionId: string);
57
57
  /**
58
- * Adds the list of redeemable user email IDs for a subscription ID.
58
+ * Adds the list of redeemable user summary for a subscription ID.
59
59
  *
60
60
  * This operation does not retry by default if the user has not defined a retry configuration.
61
61
  * @param CreateRedeemableUserRequest
62
62
  * @return CreateRedeemableUserResponse
63
63
  * @throws OciError when an error occurs
64
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUser API.
64
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUser API.
65
65
  */
66
66
  createRedeemableUser(createRedeemableUserRequest: requests.CreateRedeemableUserRequest): Promise<responses.CreateRedeemableUserResponse>;
67
67
  /**
68
- * Deletes the list of redeemable user email IDs for a subscription ID.
68
+ * Deletes the list of redeemable user email ID for a subscription ID.
69
69
  *
70
70
  * This operation does not retry by default if the user has not defined a retry configuration.
71
71
  * @param DeleteRedeemableUserRequest
72
72
  * @return DeleteRedeemableUserResponse
73
73
  * @throws OciError when an error occurs
74
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUser API.
74
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUser API.
75
75
  */
76
76
  deleteRedeemableUser(deleteRedeemableUserRequest: requests.DeleteRedeemableUserRequest): Promise<responses.DeleteRedeemableUserResponse>;
77
77
  /**
@@ -81,19 +81,29 @@ export declare class RewardsClient {
81
81
  * @param ListProductsRequest
82
82
  * @return ListProductsResponse
83
83
  * @throws OciError when an error occurs
84
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListProducts.ts.html |here} to see how to use ListProducts API.
84
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListProducts.ts.html |here} to see how to use ListProducts API.
85
85
  */
86
86
  listProducts(listProductsRequest: requests.ListProductsRequest): Promise<responses.ListProductsResponse>;
87
87
  /**
88
- * Provides the email IDs of users that can redeem rewards for the given subscription ID.
88
+ * Provides the list of user summary that can redeem rewards for the given subscription ID.
89
89
  *
90
90
  * This operation does not retry by default if the user has not defined a retry configuration.
91
91
  * @param ListRedeemableUsersRequest
92
92
  * @return ListRedeemableUsersResponse
93
93
  * @throws OciError when an error occurs
94
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsers API.
94
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsers API.
95
95
  */
96
96
  listRedeemableUsers(listRedeemableUsersRequest: requests.ListRedeemableUsersRequest): Promise<responses.ListRedeemableUsersResponse>;
97
+ /**
98
+ * Returns the list of redemption for the subscription ID.
99
+ *
100
+ * This operation does not retry by default if the user has not defined a retry configuration.
101
+ * @param ListRedemptionsRequest
102
+ * @return ListRedemptionsResponse
103
+ * @throws OciError when an error occurs
104
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedemptions.ts.html |here} to see how to use ListRedemptions API.
105
+ */
106
+ listRedemptions(listRedemptionsRequest: requests.ListRedemptionsRequest): Promise<responses.ListRedemptionsResponse>;
97
107
  /**
98
108
  * Returns the list of rewards for a subscription ID.
99
109
  *
@@ -101,7 +111,7 @@ export declare class RewardsClient {
101
111
  * @param ListRewardsRequest
102
112
  * @return ListRewardsResponse
103
113
  * @throws OciError when an error occurs
104
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRewards.ts.html |here} to see how to use ListRewards API.
114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRewards.ts.html |here} to see how to use ListRewards API.
105
115
  */
106
116
  listRewards(listRewardsRequest: requests.ListRewardsRequest): Promise<responses.ListRewardsResponse>;
107
117
  }
package/lib/client.js CHANGED
@@ -129,13 +129,13 @@ class RewardsClient {
129
129
  this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(RewardsClient.serviceEndpointTemplate, regionId, RewardsClient.endpointServiceName);
130
130
  }
131
131
  /**
132
- * Adds the list of redeemable user email IDs for a subscription ID.
132
+ * Adds the list of redeemable user summary for a subscription ID.
133
133
  *
134
134
  * This operation does not retry by default if the user has not defined a retry configuration.
135
135
  * @param CreateRedeemableUserRequest
136
136
  * @return CreateRedeemableUserResponse
137
137
  * @throws OciError when an error occurs
138
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUser API.
138
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUser API.
139
139
  */
140
140
  createRedeemableUser(createRedeemableUserRequest) {
141
141
  return __awaiter(this, void 0, void 0, function* () {
@@ -199,13 +199,13 @@ class RewardsClient {
199
199
  });
200
200
  }
201
201
  /**
202
- * Deletes the list of redeemable user email IDs for a subscription ID.
202
+ * Deletes the list of redeemable user email ID for a subscription ID.
203
203
  *
204
204
  * This operation does not retry by default if the user has not defined a retry configuration.
205
205
  * @param DeleteRedeemableUserRequest
206
206
  * @return DeleteRedeemableUserResponse
207
207
  * @throws OciError when an error occurs
208
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUser API.
208
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUser API.
209
209
  */
210
210
  deleteRedeemableUser(deleteRedeemableUserRequest) {
211
211
  return __awaiter(this, void 0, void 0, function* () {
@@ -264,7 +264,7 @@ class RewardsClient {
264
264
  * @param ListProductsRequest
265
265
  * @return ListProductsResponse
266
266
  * @throws OciError when an error occurs
267
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListProducts.ts.html |here} to see how to use ListProducts API.
267
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListProducts.ts.html |here} to see how to use ListProducts API.
268
268
  */
269
269
  listProducts(listProductsRequest) {
270
270
  return __awaiter(this, void 0, void 0, function* () {
@@ -330,13 +330,13 @@ class RewardsClient {
330
330
  });
331
331
  }
332
332
  /**
333
- * Provides the email IDs of users that can redeem rewards for the given subscription ID.
333
+ * Provides the list of user summary that can redeem rewards for the given subscription ID.
334
334
  *
335
335
  * This operation does not retry by default if the user has not defined a retry configuration.
336
336
  * @param ListRedeemableUsersRequest
337
337
  * @return ListRedeemableUsersResponse
338
338
  * @throws OciError when an error occurs
339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsers API.
339
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsers API.
340
340
  */
341
341
  listRedeemableUsers(listRedeemableUsersRequest) {
342
342
  return __awaiter(this, void 0, void 0, function* () {
@@ -399,6 +399,78 @@ class RewardsClient {
399
399
  }
400
400
  });
401
401
  }
402
+ /**
403
+ * Returns the list of redemption for the subscription ID.
404
+ *
405
+ * This operation does not retry by default if the user has not defined a retry configuration.
406
+ * @param ListRedemptionsRequest
407
+ * @return ListRedemptionsResponse
408
+ * @throws OciError when an error occurs
409
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedemptions.ts.html |here} to see how to use ListRedemptions API.
410
+ */
411
+ listRedemptions(listRedemptionsRequest) {
412
+ return __awaiter(this, void 0, void 0, function* () {
413
+ if (this.logger)
414
+ this.logger.debug("Calling operation RewardsClient#listRedemptions.");
415
+ const operationName = "listRedemptions";
416
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/usage-proxy/20190111/RedemptionSummary/ListRedemptions";
417
+ const pathParams = {
418
+ "{subscriptionId}": listRedemptionsRequest.subscriptionId
419
+ };
420
+ const queryParams = {
421
+ "tenancyId": listRedemptionsRequest.tenancyId,
422
+ "timeRedeemedGreaterThanOrEqualTo": listRedemptionsRequest.timeRedeemedGreaterThanOrEqualTo,
423
+ "timeRedeemedLessThan": listRedemptionsRequest.timeRedeemedLessThan,
424
+ "page": listRedemptionsRequest.page,
425
+ "limit": listRedemptionsRequest.limit,
426
+ "sortOrder": listRedemptionsRequest.sortOrder,
427
+ "sortBy": listRedemptionsRequest.sortBy
428
+ };
429
+ let headerParams = {
430
+ "Content-Type": common.Constants.APPLICATION_JSON,
431
+ "opc-request-id": listRedemptionsRequest.opcRequestId
432
+ };
433
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
434
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRedemptionsRequest.retryConfiguration, specRetryConfiguration);
435
+ if (this.logger)
436
+ retrier.logger = this.logger;
437
+ const request = yield oci_common_1.composeRequest({
438
+ baseEndpoint: this._endpoint,
439
+ defaultHeaders: this._defaultHeaders,
440
+ path: "/subscriptions/{subscriptionId}/redemptions",
441
+ method: "GET",
442
+ pathParams: pathParams,
443
+ headerParams: headerParams,
444
+ queryParams: queryParams
445
+ });
446
+ try {
447
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
448
+ const sdkResponse = oci_common_1.composeResponse({
449
+ responseObject: {},
450
+ body: yield response.json(),
451
+ bodyKey: "redemptionCollection",
452
+ bodyModel: model.RedemptionCollection,
453
+ type: "model.RedemptionCollection",
454
+ responseHeaders: [
455
+ {
456
+ value: response.headers.get("opc-request-id"),
457
+ key: "opcRequestId",
458
+ dataType: "string"
459
+ },
460
+ {
461
+ value: response.headers.get("opc-next-page"),
462
+ key: "opcNextPage",
463
+ dataType: "string"
464
+ }
465
+ ]
466
+ });
467
+ return sdkResponse;
468
+ }
469
+ catch (err) {
470
+ throw err;
471
+ }
472
+ });
473
+ }
402
474
  /**
403
475
  * Returns the list of rewards for a subscription ID.
404
476
  *
@@ -406,7 +478,7 @@ class RewardsClient {
406
478
  * @param ListRewardsRequest
407
479
  * @return ListRewardsResponse
408
480
  * @throws OciError when an error occurs
409
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRewards.ts.html |here} to see how to use ListRewards API.
481
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRewards.ts.html |here} to see how to use ListRewards API.
410
482
  */
411
483
  listRewards(listRewardsRequest) {
412
484
  return __awaiter(this, void 0, void 0, function* () {
package/lib/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/usage/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,cAAiB;AAA7B,WAAY,cAAc;AAAE,CAAC,EAAjB,cAAc,GAAd,sBAAc,KAAd,sBA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F,IAAI,IAAI,CAAC,MAAM;gBAAE,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;YAC9C,MAAM,OAAO,GAAG,MAAM,2BAAc,CAAC;gBACnC,YAAY,EAAE,IAAI,CAAC,SAAS;gBAC5B,cAAc,EAAE,IAAI,CAAC,eAAe;gBACpC,IAAI,EAAE,yCAAyC;gBAC/C,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE,UAAU;gBACtB,YAAY,EAAE,YAAY;gBAC1B,WAAW,EAAE,WAAW;aACzB,CAAC,CAAC;YACH,IAAI;gBACF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,eAAe,CAC5C,IAAI,CAAC,WAAW,EAChB,OAAO,EACP,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,gBAAgB,CACjB,CAAC;gBACF,MAAM,WAAW,GAAG,4BAAe,CAAC;oBAClC,cAAc,EAAiC,EAAE;oBACjD,IAAI,EAAE,MAAM,QAAQ,CAAC,IAAI,EAAE;oBAC3B,OAAO,EAAE,kBAAkB;oBAC3B,SAAS,EAAE,KAAK,CAAC,gBAAgB;oBACjC,IAAI,EAAE,wBAAwB;oBAC9B,eAAe,EAAE;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AAvkBH,sCAwkBC;AAvkBkB,qCAAuB,GAAG,mDAAmD,CAAC;AAC9E,iCAAmB,GAAG,EAAE,CAAC"}
@@ -12,11 +12,11 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * A list of email IDs to be added to the list of users that can redeem rewards.
15
+ * A list of new user to be added to the list of user that can redeem rewards.
16
16
  */
17
17
  export interface CreateRedeemableUserDetails {
18
18
  /**
19
- * The list of email IDs to be added to the list of users that can redeem rewards.
19
+ * The list of new user to be added to the list of user that can redeem rewards.
20
20
  */
21
21
  "items"?: Array<model.RedeemableUser>;
22
22
  }
@@ -24,6 +24,10 @@ import * as RedeemableUserCollection from "./redeemable-user-collection";
24
24
  export import RedeemableUserCollection = RedeemableUserCollection.RedeemableUserCollection;
25
25
  import * as RedeemableUserSummary from "./redeemable-user-summary";
26
26
  export import RedeemableUserSummary = RedeemableUserSummary.RedeemableUserSummary;
27
+ import * as RedemptionCollection from "./redemption-collection";
28
+ export import RedemptionCollection = RedemptionCollection.RedemptionCollection;
29
+ import * as RedemptionSummary from "./redemption-summary";
30
+ export import RedemptionSummary = RedemptionSummary.RedemptionSummary;
27
31
  import * as RewardCollection from "./reward-collection";
28
32
  export import RewardCollection = RewardCollection.RewardCollection;
29
33
  import * as RewardDetails from "./reward-details";
@@ -31,7 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
31
31
  return result;
32
32
  };
33
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
- exports.RewardDetails = exports.RewardCollection = exports.RedeemableUserSummary = exports.RedeemableUserCollection = exports.RedeemableUser = exports.ProductSummary = exports.ProductCollection = exports.MonthlyRewardSummary = exports.CreateRedeemableUserDetails = void 0;
34
+ exports.RewardDetails = exports.RewardCollection = exports.RedemptionSummary = exports.RedemptionCollection = exports.RedeemableUserSummary = exports.RedeemableUserCollection = exports.RedeemableUser = exports.ProductSummary = exports.ProductCollection = exports.MonthlyRewardSummary = exports.CreateRedeemableUserDetails = void 0;
35
35
  const CreateRedeemableUserDetails = __importStar(require("./create-redeemable-user-details"));
36
36
  exports.CreateRedeemableUserDetails = CreateRedeemableUserDetails.CreateRedeemableUserDetails;
37
37
  const MonthlyRewardSummary = __importStar(require("./monthly-reward-summary"));
@@ -46,6 +46,10 @@ const RedeemableUserCollection = __importStar(require("./redeemable-user-collect
46
46
  exports.RedeemableUserCollection = RedeemableUserCollection.RedeemableUserCollection;
47
47
  const RedeemableUserSummary = __importStar(require("./redeemable-user-summary"));
48
48
  exports.RedeemableUserSummary = RedeemableUserSummary.RedeemableUserSummary;
49
+ const RedemptionCollection = __importStar(require("./redemption-collection"));
50
+ exports.RedemptionCollection = RedemptionCollection.RedemptionCollection;
51
+ const RedemptionSummary = __importStar(require("./redemption-summary"));
52
+ exports.RedemptionSummary = RedemptionSummary.RedemptionSummary;
49
53
  const RewardCollection = __importStar(require("./reward-collection"));
50
54
  exports.RewardCollection = RewardCollection.RewardCollection;
51
55
  const RewardDetails = __importStar(require("./reward-details"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,8FAAgF;AAClE,QAAA,2BAA2B,GAAG,2BAA2B,CAAC,2BAA2B,CAAC;AACpG,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,8EAAgE;AAClD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,sEAAwD;AAC1C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC"}
@@ -12,11 +12,11 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * The email IDs of users that can redeem rewards.
15
+ * The list of user summary that can redeem rewards.
16
16
  */
17
17
  export interface RedeemableUserCollection {
18
18
  /**
19
- * The list of user email IDs that can redeem rewards.
19
+ * The list of user summary that can redeem rewards.
20
20
  */
21
21
  "items": Array<model.RedeemableUserSummary>;
22
22
  }
@@ -11,13 +11,21 @@
11
11
  * 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.
12
12
  */
13
13
  /**
14
- * Email ID information.
14
+ * User summary that can redeem rewards.
15
15
  */
16
16
  export interface RedeemableUserSummary {
17
17
  /**
18
- * The email ID of a user that can redeem rewards.
18
+ * The email ID of the user that can redeem rewards.
19
19
  */
20
20
  "emailId"?: string;
21
+ /**
22
+ * The first name of the user that can redeem rewards.
23
+ */
24
+ "firstName"?: string;
25
+ /**
26
+ * The last name of the user that can redeem rewards.
27
+ */
28
+ "lastName"?: string;
21
29
  }
22
30
  export declare namespace RedeemableUserSummary {
23
31
  function getJsonObj(obj: RedeemableUserSummary): object;
@@ -1 +1 @@
1
- {"version":3,"file":"redeemable-user-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redeemable-user-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
1
+ {"version":3,"file":"redeemable-user-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redeemable-user-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
@@ -11,13 +11,21 @@
11
11
  * 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.
12
12
  */
13
13
  /**
14
- * The email object for a user that can redeem rewards.
14
+ * The summary of a user that can redeem rewards.
15
15
  */
16
16
  export interface RedeemableUser {
17
17
  /**
18
18
  * The email ID for a user that can redeem rewards.
19
19
  */
20
20
  "emailId": string;
21
+ /**
22
+ * The first name of the user that can redeem rewards.
23
+ */
24
+ "firstName"?: string;
25
+ /**
26
+ * The last name of the user that can redeem rewards.
27
+ */
28
+ "lastName"?: string;
21
29
  }
22
30
  export declare namespace RedeemableUser {
23
31
  function getJsonObj(obj: RedeemableUser): object;
@@ -1 +1 @@
1
- {"version":3,"file":"redeemable-user.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redeemable-user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
1
+ {"version":3,"file":"redeemable-user.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redeemable-user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.htm).
4
+ * OpenAPI spec version: 20190111
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * The list of redemption summary for the requested subscription ID and date range.
16
+ */
17
+ export interface RedemptionCollection {
18
+ /**
19
+ * The list of redemption summary.
20
+ */
21
+ "items": Array<model.RedemptionSummary>;
22
+ }
23
+ export declare namespace RedemptionCollection {
24
+ function getJsonObj(obj: RedemptionCollection): object;
25
+ function getDeserializedJsonObj(obj: RedemptionCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.htm).
5
+ * OpenAPI spec version: 20190111
6
+ *
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.RedemptionCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RedemptionCollection;
37
+ (function (RedemptionCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.RedemptionSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ RedemptionCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.RedemptionSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ RedemptionCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(RedemptionCollection = exports.RedemptionCollection || (exports.RedemptionCollection = {}));
61
+ //# sourceMappingURL=redemption-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-collection.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redemption-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,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;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Usage Proxy API
3
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.htm).
4
+ * OpenAPI spec version: 20190111
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ /**
14
+ * The redemption summary for the requested subscription ID and date range.
15
+ */
16
+ export interface RedemptionSummary {
17
+ /**
18
+ * It provides redeem date.
19
+ */
20
+ "timeRedeemed"?: Date;
21
+ /**
22
+ * It provides the redemption email id.
23
+ */
24
+ "redemptionEmail"?: string;
25
+ /**
26
+ * The redemption code used in the Billing Center during the reward redemption process.
27
+ */
28
+ "redemptionCode"?: string;
29
+ /**
30
+ * It provides the invoice number against the redemption.
31
+ */
32
+ "invoiceNumber"?: string;
33
+ /**
34
+ * It provides the invoice total amount of given redemption. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
35
+ */
36
+ "invoiceTotalAmount"?: number;
37
+ /**
38
+ * The currency associated with invoice.
39
+ */
40
+ "invoiceCurrency"?: string;
41
+ /**
42
+ * It provides the redeemed rewards in invoice currency. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
43
+ */
44
+ "redeemedRewards"?: number;
45
+ /**
46
+ * It provides the redeemed rewards in base/subscription currency. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
47
+ */
48
+ "baseRewards"?: number;
49
+ /**
50
+ * It provides the fxRate between invoice currency and subscription currency. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
51
+ */
52
+ "fxRate"?: number;
53
+ /**
54
+ * It provides the invoice date.
55
+ */
56
+ "timeInvoiced"?: Date;
57
+ }
58
+ export declare namespace RedemptionSummary {
59
+ function getJsonObj(obj: RedemptionSummary): object;
60
+ function getDeserializedJsonObj(obj: RedemptionSummary): object;
61
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Usage Proxy API
4
+ * Use the Usage Proxy API to list Oracle Support Rewards, view related detailed usage information, and manage users who redeem rewards. For more information, see [Oracle Support Rewards Overview](/iaas/Content/Billing/Concepts/supportrewardsoverview.htm).
5
+ * OpenAPI spec version: 20190111
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.RedemptionSummary = void 0;
16
+ var RedemptionSummary;
17
+ (function (RedemptionSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RedemptionSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RedemptionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RedemptionSummary = exports.RedemptionSummary || (exports.RedemptionSummary = {}));
29
+ //# sourceMappingURL=redemption-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-summary.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/model/redemption-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmDH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
@@ -35,7 +35,7 @@ export interface RewardDetails {
35
35
  */
36
36
  "totalRewardsAvailable"?: number;
37
37
  /**
38
- * The redemption code used in the billing center during the reward redemption process
38
+ * The redemption code used in the Billing Center during the reward redemption process.
39
39
  */
40
40
  "redemptionCode"?: string;
41
41
  }
@@ -13,11 +13,11 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUserRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/CreateRedeemableUser.ts.html |here} to see how to use CreateRedeemableUserRequest.
17
17
  */
18
18
  export interface CreateRedeemableUserRequest extends common.BaseRequest {
19
19
  /**
20
- * CreateRedeemableUserDetails inforamtion.
20
+ * CreateRedeemableUserDetails information.
21
21
  *
22
22
  */
23
23
  "createRedeemableUserDetails": model.CreateRedeemableUserDetails;
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUserRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/DeleteRedeemableUser.ts.html |here} to see how to use DeleteRedeemableUserRequest.
16
16
  */
17
17
  export interface DeleteRedeemableUserRequest extends common.BaseRequest {
18
18
  /**
@@ -18,5 +18,7 @@ import * as ListProductsRequest from "./list-products-request";
18
18
  export import ListProductsRequest = ListProductsRequest.ListProductsRequest;
19
19
  import * as ListRedeemableUsersRequest from "./list-redeemable-users-request";
20
20
  export import ListRedeemableUsersRequest = ListRedeemableUsersRequest.ListRedeemableUsersRequest;
21
+ import * as ListRedemptionsRequest from "./list-redemptions-request";
22
+ export import ListRedemptionsRequest = ListRedemptionsRequest.ListRedemptionsRequest;
21
23
  import * as ListRewardsRequest from "./list-rewards-request";
22
24
  export import ListRewardsRequest = ListRewardsRequest.ListRewardsRequest;
@@ -31,9 +31,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
31
31
  return result;
32
32
  };
33
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
- exports.ListRedeemableUsersRequest = exports.ListProductsRequest = void 0;
34
+ exports.ListRedemptionsRequest = exports.ListRedeemableUsersRequest = exports.ListProductsRequest = void 0;
35
35
  const ListProductsRequest = __importStar(require("./list-products-request"));
36
36
  exports.ListProductsRequest = ListProductsRequest.ListProductsRequest;
37
37
  const ListRedeemableUsersRequest = __importStar(require("./list-redeemable-users-request"));
38
38
  exports.ListRedeemableUsersRequest = ListRedeemableUsersRequest.ListRedeemableUsersRequest;
39
+ const ListRedemptionsRequest = __importStar(require("./list-redemptions-request"));
40
+ exports.ListRedemptionsRequest = ListRedemptionsRequest.ListRedemptionsRequest;
39
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAMH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAMH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListProducts.ts.html |here} to see how to use ListProductsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListProducts.ts.html |here} to see how to use ListProductsRequest.
16
16
  */
17
17
  export interface ListProductsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsersRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedeemableUsers.ts.html |here} to see how to use ListRedeemableUsersRequest.
16
16
  */
17
17
  export interface ListRedeemableUsersRequest extends common.BaseRequest {
18
18
  /**
@@ -0,0 +1,63 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20190111
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRedemptions.ts.html |here} to see how to use ListRedemptionsRequest.
16
+ */
17
+ export interface ListRedemptionsRequest extends common.BaseRequest {
18
+ /**
19
+ * The OCID of the tenancy.
20
+ */
21
+ "tenancyId": string;
22
+ /**
23
+ * The subscription ID for which rewards information is requested for.
24
+ */
25
+ "subscriptionId": string;
26
+ /**
27
+ * The starting redeemed date filter for the redemption history.
28
+ */
29
+ "timeRedeemedGreaterThanOrEqualTo"?: Date;
30
+ /**
31
+ * The ending redeemed date filter for the redemption history.
32
+ */
33
+ "timeRedeemedLessThan"?: Date;
34
+ /**
35
+ * Unique, Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
36
+ */
37
+ "opcRequestId"?: string;
38
+ /**
39
+ * The value of the 'opc-next-page' response header from the previous call.
40
+ */
41
+ "page"?: string;
42
+ /**
43
+ * The maximum number of items to return in the paginated response.
44
+ */
45
+ "limit"?: number;
46
+ /**
47
+ * The sort order to use, which can be ascending (ASC) or descending (DESC).
48
+ */
49
+ "sortOrder"?: ListRedemptionsRequest.SortOrder;
50
+ /**
51
+ * The field to be used only for list redemptions API. Supports one sort order.
52
+ */
53
+ "sortBy"?: ListRedemptionsRequest.SortBy;
54
+ }
55
+ export declare namespace ListRedemptionsRequest {
56
+ enum SortOrder {
57
+ Asc = "ASC",
58
+ Desc = "DESC"
59
+ }
60
+ enum SortBy {
61
+ Timeredeemed = "TIMEREDEEMED"
62
+ }
63
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20190111
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ListRedemptionsRequest = void 0;
16
+ var ListRedemptionsRequest;
17
+ (function (ListRedemptionsRequest) {
18
+ let SortOrder;
19
+ (function (SortOrder) {
20
+ SortOrder["Asc"] = "ASC";
21
+ SortOrder["Desc"] = "DESC";
22
+ })(SortOrder = ListRedemptionsRequest.SortOrder || (ListRedemptionsRequest.SortOrder = {}));
23
+ let SortBy;
24
+ (function (SortBy) {
25
+ SortBy["Timeredeemed"] = "TIMEREDEEMED";
26
+ })(SortBy = ListRedemptionsRequest.SortBy || (ListRedemptionsRequest.SortBy = {}));
27
+ })(ListRedemptionsRequest = exports.ListRedemptionsRequest || (exports.ListRedemptionsRequest = {}));
28
+ //# sourceMappingURL=list-redemptions-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-redemptions-request.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/request/list-redemptions-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+CH,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACrC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,gCAAS,KAAT,gCAAS,QAGpB;IAED,IAAY,MAEX;IAFD,WAAY,MAAM;QAChB,uCAA6B,CAAA;IAC/B,CAAC,EAFW,MAAM,GAAN,6BAAM,KAAN,6BAAM,QAEjB;AACH,CAAC,EATgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAStC"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.39.0/usage/ListRewards.ts.html |here} to see how to use ListRewardsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.41.0/usage/ListRewards.ts.html |here} to see how to use ListRewardsRequest.
16
16
  */
17
17
  export interface ListRewardsRequest extends common.BaseRequest {
18
18
  /**
@@ -18,5 +18,7 @@ import * as ListProductsResponse from "./list-products-response";
18
18
  export import ListProductsResponse = ListProductsResponse.ListProductsResponse;
19
19
  import * as ListRedeemableUsersResponse from "./list-redeemable-users-response";
20
20
  export import ListRedeemableUsersResponse = ListRedeemableUsersResponse.ListRedeemableUsersResponse;
21
+ import * as ListRedemptionsResponse from "./list-redemptions-response";
22
+ export import ListRedemptionsResponse = ListRedemptionsResponse.ListRedemptionsResponse;
21
23
  import * as ListRewardsResponse from "./list-rewards-response";
22
24
  export import ListRewardsResponse = ListRewardsResponse.ListRewardsResponse;
@@ -0,0 +1,32 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20190111
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * 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.
12
+ */
13
+ import * as model from "../model";
14
+ export interface ListRedemptionsResponse {
15
+ /**
16
+ * Unique Oracle-assigned identifier for the request. If you need to contact
17
+ * Oracle about a particular request, please provide the request ID.
18
+ *
19
+ */
20
+ "opcRequestId": string;
21
+ /**
22
+ * For pagination of a list of items. When paging through a list, if this header appears in the response,
23
+ * then a partial list might have been returned. Include this value as the `page` parameter for the
24
+ * subsequent GET request to get the next batch of items.
25
+ *
26
+ */
27
+ "opcNextPage": string;
28
+ /**
29
+ * The returned model.RedemptionCollection instance.
30
+ */
31
+ "redemptionCollection": model.RedemptionCollection;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20190111
6
+ *
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=list-redemptions-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-redemptions-response.js","sourceRoot":"","sources":["../../../../../lib/usage/lib/response/list-redemptions-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-usage",
3
- "version": "2.39.0",
3
+ "version": "2.41.0",
4
4
  "description": "OCI NodeJS client for Usage Service",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.39.0",
19
- "oci-workrequests": "2.39.0"
18
+ "oci-common": "2.41.0",
19
+ "oci-workrequests": "2.41.0"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"