oci-ospgateway 2.10.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 (92) 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 +1521 -0
  5. package/index.d.ts +20 -0
  6. package/index.js +43 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +99 -0
  9. package/lib/client.js +477 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/address.d.ts +75 -0
  12. package/lib/model/address.js +53 -0
  13. package/lib/model/address.js.map +1 -0
  14. package/lib/model/country.d.ts +41 -0
  15. package/lib/model/country.js +29 -0
  16. package/lib/model/country.js.map +1 -0
  17. package/lib/model/credit-card-payment-detail.d.ts +24 -0
  18. package/lib/model/credit-card-payment-detail.js +52 -0
  19. package/lib/model/credit-card-payment-detail.js.map +1 -0
  20. package/lib/model/currency.d.ts +41 -0
  21. package/lib/model/currency.js +29 -0
  22. package/lib/model/currency.js.map +1 -0
  23. package/lib/model/index.d.ts +40 -0
  24. package/lib/model/index.js +63 -0
  25. package/lib/model/index.js.map +1 -0
  26. package/lib/model/invoice-collection.d.ts +26 -0
  27. package/lib/model/invoice-collection.js +61 -0
  28. package/lib/model/invoice-collection.js.map +1 -0
  29. package/lib/model/invoice-line-collection.d.ts +26 -0
  30. package/lib/model/invoice-line-collection.js +61 -0
  31. package/lib/model/invoice-line-collection.js.map +1 -0
  32. package/lib/model/invoice-line-summary.d.ts +55 -0
  33. package/lib/model/invoice-line-summary.js +53 -0
  34. package/lib/model/invoice-line-summary.js.map +1 -0
  35. package/lib/model/invoice-summary.d.ts +146 -0
  36. package/lib/model/invoice-summary.js +87 -0
  37. package/lib/model/invoice-summary.js.map +1 -0
  38. package/lib/model/invoice.d.ts +139 -0
  39. package/lib/model/invoice.js +91 -0
  40. package/lib/model/invoice.js.map +1 -0
  41. package/lib/model/other-payment-detail.d.ts +24 -0
  42. package/lib/model/other-payment-detail.js +52 -0
  43. package/lib/model/other-payment-detail.js.map +1 -0
  44. package/lib/model/pay-invoice-details.d.ts +33 -0
  45. package/lib/model/pay-invoice-details.js +29 -0
  46. package/lib/model/pay-invoice-details.js.map +1 -0
  47. package/lib/model/pay-invoice-receipt.d.ts +33 -0
  48. package/lib/model/pay-invoice-receipt.js +29 -0
  49. package/lib/model/pay-invoice-receipt.js.map +1 -0
  50. package/lib/model/payment-detail.d.ts +34 -0
  51. package/lib/model/payment-detail.js +73 -0
  52. package/lib/model/payment-detail.js.map +1 -0
  53. package/lib/model/paypal-payment-detail.d.ts +24 -0
  54. package/lib/model/paypal-payment-detail.js +52 -0
  55. package/lib/model/paypal-payment-detail.js.map +1 -0
  56. package/lib/request/download-pdf-content-request.d.ts +38 -0
  57. package/lib/request/download-pdf-content-request.js +15 -0
  58. package/lib/request/download-pdf-content-request.js.map +1 -0
  59. package/lib/request/get-invoice-request.d.ts +38 -0
  60. package/lib/request/get-invoice-request.js +15 -0
  61. package/lib/request/get-invoice-request.js.map +1 -0
  62. package/lib/request/index.d.ts +22 -0
  63. package/lib/request/index.js +37 -0
  64. package/lib/request/index.js.map +1 -0
  65. package/lib/request/list-invoice-lines-request.d.ts +48 -0
  66. package/lib/request/list-invoice-lines-request.js +15 -0
  67. package/lib/request/list-invoice-lines-request.js.map +1 -0
  68. package/lib/request/list-invoices-request.d.ts +129 -0
  69. package/lib/request/list-invoices-request.js +54 -0
  70. package/lib/request/list-invoices-request.js.map +1 -0
  71. package/lib/request/pay-invoice-request.d.ts +58 -0
  72. package/lib/request/pay-invoice-request.js +15 -0
  73. package/lib/request/pay-invoice-request.js.map +1 -0
  74. package/lib/response/download-pdf-content-response.d.ts +30 -0
  75. package/lib/response/download-pdf-content-response.js +15 -0
  76. package/lib/response/download-pdf-content-response.js.map +1 -0
  77. package/lib/response/get-invoice-response.d.ts +29 -0
  78. package/lib/response/get-invoice-response.js +15 -0
  79. package/lib/response/get-invoice-response.js.map +1 -0
  80. package/lib/response/index.d.ts +22 -0
  81. package/lib/response/index.js +15 -0
  82. package/lib/response/index.js.map +1 -0
  83. package/lib/response/list-invoice-lines-response.d.ts +40 -0
  84. package/lib/response/list-invoice-lines-response.js +15 -0
  85. package/lib/response/list-invoice-lines-response.js.map +1 -0
  86. package/lib/response/list-invoices-response.d.ts +36 -0
  87. package/lib/response/list-invoices-response.js +15 -0
  88. package/lib/response/list-invoices-response.js.map +1 -0
  89. package/lib/response/pay-invoice-response.d.ts +29 -0
  90. package/lib/response/pay-invoice-response.js +15 -0
  91. package/lib/response/pay-invoice-response.js.map +1 -0
  92. package/package.json +29 -0
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Billing Center Gateway API
3
+ * This site describes all the Rest endpoints of Billing Center Gateway.
4
+ * OpenAPI spec version: 20191001
5
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ * Request object for invoice payment
15
+ */
16
+ export interface PayInvoiceDetails {
17
+ /**
18
+ * Language code
19
+ */
20
+ "languageCode"?: string;
21
+ /**
22
+ * Callback URL
23
+ */
24
+ "returnUrl"?: string;
25
+ /**
26
+ * User email
27
+ */
28
+ "email": string;
29
+ }
30
+ export declare namespace PayInvoiceDetails {
31
+ function getJsonObj(obj: PayInvoiceDetails): object;
32
+ function getDeserializedJsonObj(obj: PayInvoiceDetails): object;
33
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Billing Center Gateway API
4
+ * This site describes all the Rest endpoints of Billing Center Gateway.
5
+ * OpenAPI spec version: 20191001
6
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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.PayInvoiceDetails = void 0;
16
+ var PayInvoiceDetails;
17
+ (function (PayInvoiceDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ PayInvoiceDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ PayInvoiceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(PayInvoiceDetails = exports.PayInvoiceDetails || (exports.PayInvoiceDetails = {}));
29
+ //# sourceMappingURL=pay-invoice-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pay-invoice-details.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/pay-invoice-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,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"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Billing Center Gateway API
3
+ * This site describes all the Rest endpoints of Billing Center Gateway.
4
+ * OpenAPI spec version: 20191001
5
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ * Invoice payment action response
15
+ */
16
+ export interface PayInvoiceReceipt {
17
+ /**
18
+ * Url of the Payment Service
19
+ */
20
+ "url"?: string;
21
+ /**
22
+ * Payment header id
23
+ */
24
+ "headerId": string;
25
+ /**
26
+ * Token created for Payment Service
27
+ */
28
+ "token"?: string;
29
+ }
30
+ export declare namespace PayInvoiceReceipt {
31
+ function getJsonObj(obj: PayInvoiceReceipt): object;
32
+ function getDeserializedJsonObj(obj: PayInvoiceReceipt): object;
33
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Billing Center Gateway API
4
+ * This site describes all the Rest endpoints of Billing Center Gateway.
5
+ * OpenAPI spec version: 20191001
6
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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.PayInvoiceReceipt = void 0;
16
+ var PayInvoiceReceipt;
17
+ (function (PayInvoiceReceipt) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ PayInvoiceReceipt.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ PayInvoiceReceipt.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(PayInvoiceReceipt = exports.PayInvoiceReceipt || (exports.PayInvoiceReceipt = {}));
29
+ //# sourceMappingURL=pay-invoice-receipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pay-invoice-receipt.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/pay-invoice-receipt.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,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"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Billing Center Gateway API
3
+ * This site describes all the Rest endpoints of Billing Center Gateway.
4
+ * OpenAPI spec version: 20191001
5
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ * Payment related details
15
+ */
16
+ export interface PaymentDetail {
17
+ /**
18
+ * Paid the invoice on this day
19
+ */
20
+ "timePaidOn"?: Date;
21
+ /**
22
+ * example
23
+ */
24
+ "paidBy"?: string;
25
+ /**
26
+ * Amount that paid Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
27
+ */
28
+ "amountPaid"?: number;
29
+ "paymentMethod": string;
30
+ }
31
+ export declare namespace PaymentDetail {
32
+ function getJsonObj(obj: PaymentDetail): object;
33
+ function getDeserializedJsonObj(obj: PaymentDetail): object;
34
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ /**
3
+ * Billing Center Gateway API
4
+ * This site describes all the Rest endpoints of Billing Center Gateway.
5
+ * OpenAPI spec version: 20191001
6
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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.PaymentDetail = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PaymentDetail;
37
+ (function (PaymentDetail) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
40
+ if ("paymentMethod" in obj && obj.paymentMethod) {
41
+ switch (obj.paymentMethod) {
42
+ case "OTHER":
43
+ return model.OtherPaymentDetail.getJsonObj(jsonObj, true);
44
+ case "PAYPAL":
45
+ return model.PaypalPaymentDetail.getJsonObj(jsonObj, true);
46
+ case "CREDIT_CARD":
47
+ return model.CreditCardPaymentDetail.getJsonObj(jsonObj, true);
48
+ default:
49
+ throw Error("Unknown value for: " + obj.paymentMethod);
50
+ }
51
+ }
52
+ return jsonObj;
53
+ }
54
+ PaymentDetail.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
57
+ if ("paymentMethod" in obj && obj.paymentMethod) {
58
+ switch (obj.paymentMethod) {
59
+ case "OTHER":
60
+ return model.OtherPaymentDetail.getDeserializedJsonObj(jsonObj, true);
61
+ case "PAYPAL":
62
+ return model.PaypalPaymentDetail.getDeserializedJsonObj(jsonObj, true);
63
+ case "CREDIT_CARD":
64
+ return model.CreditCardPaymentDetail.getDeserializedJsonObj(jsonObj, true);
65
+ default:
66
+ throw Error("Unknown value for: " + obj.paymentMethod);
67
+ }
68
+ }
69
+ return jsonObj;
70
+ }
71
+ PaymentDetail.getDeserializedJsonObj = getDeserializedJsonObj;
72
+ })(PaymentDetail = exports.PaymentDetail || (exports.PaymentDetail = {}));
73
+ //# sourceMappingURL=payment-detail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-detail.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/payment-detail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuBlC,IAAiB,aAAa,CAqD7B;AArDD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YAC/C,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CACL,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CACL,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;aAC1D;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,wBAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,eAAe,IAAI,GAAG,IAAI,GAAG,CAAC,aAAa,EAAE;YAC/C,QAAQ,GAAG,CAAC,aAAa,EAAE;gBACzB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CACjB,OAAQ,EAC3C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CACjB,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ,KAAK,aAAa;oBAChB,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC;aAC1D;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,oCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqD7B"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Billing Center Gateway API
3
+ * This site describes all the Rest endpoints of Billing Center Gateway.
4
+ * OpenAPI spec version: 20191001
5
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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
+ * PayPal Payment related details
16
+ */
17
+ export interface PaypalPaymentDetail extends model.PaymentDetail {
18
+ "paymentMethod": string;
19
+ }
20
+ export declare namespace PaypalPaymentDetail {
21
+ function getJsonObj(obj: PaypalPaymentDetail, isParentJsonObj?: boolean): object;
22
+ const paymentMethod = "PAYPAL";
23
+ function getDeserializedJsonObj(obj: PaypalPaymentDetail, isParentJsonObj?: boolean): object;
24
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * Billing Center Gateway API
4
+ * This site describes all the Rest endpoints of Billing Center Gateway.
5
+ * OpenAPI spec version: 20191001
6
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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.PaypalPaymentDetail = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var PaypalPaymentDetail;
37
+ (function (PaypalPaymentDetail) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.PaymentDetail.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ PaypalPaymentDetail.getJsonObj = getJsonObj;
43
+ PaypalPaymentDetail.paymentMethod = "PAYPAL";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.PaymentDetail.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ PaypalPaymentDetail.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(PaypalPaymentDetail = exports.PaypalPaymentDetail || (exports.PaypalPaymentDetail = {}));
52
+ //# sourceMappingURL=paypal-payment-detail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paypal-payment-detail.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/model/paypal-payment-detail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,mBAAmB,CAuBnC;AAvBD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB,EAAE,eAAyB;QAC5E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAyB,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,8BAAU,aAOzB,CAAA;IACY,iCAAa,GAAG,QAAQ,CAAC;IACtC,SAAgB,sBAAsB,CACpC,GAAwB,EACxB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,GAAG,CAAyB,CAAC,GAC1E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuBnC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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.10.0/ospgateway/DownloadPdfContent.ts.html |here} to see how to use DownloadPdfContentRequest.
16
+ */
17
+ export interface DownloadPdfContentRequest extends common.BaseRequest {
18
+ /**
19
+ * The home region's public name of the logged in user.
20
+ *
21
+ */
22
+ "ospHomeRegion": string;
23
+ /**
24
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
25
+ *
26
+ */
27
+ "compartmentId": string;
28
+ /**
29
+ * The identifier of the invoice.
30
+ */
31
+ "internalInvoiceId": string;
32
+ /**
33
+ * The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
34
+ * particular request, please provide the request ID.
35
+ *
36
+ */
37
+ "opcRequestId"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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=download-pdf-content-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download-pdf-content-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/download-pdf-content-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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.10.0/ospgateway/GetInvoice.ts.html |here} to see how to use GetInvoiceRequest.
16
+ */
17
+ export interface GetInvoiceRequest extends common.BaseRequest {
18
+ /**
19
+ * The home region's public name of the logged in user.
20
+ *
21
+ */
22
+ "ospHomeRegion": string;
23
+ /**
24
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
25
+ *
26
+ */
27
+ "compartmentId": string;
28
+ /**
29
+ * The identifier of the invoice.
30
+ */
31
+ "internalInvoiceId": string;
32
+ /**
33
+ * The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
34
+ * particular request, please provide the request ID.
35
+ *
36
+ */
37
+ "opcRequestId"?: string;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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=get-invoice-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/get-invoice-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Billing Center Gateway API
3
+ * This site describes all the Rest endpoints of Billing Center Gateway.
4
+ * OpenAPI spec version: 20191001
5
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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 DownloadPdfContentRequest from "./download-pdf-content-request";
14
+ export import DownloadPdfContentRequest = DownloadPdfContentRequest.DownloadPdfContentRequest;
15
+ import * as GetInvoiceRequest from "./get-invoice-request";
16
+ export import GetInvoiceRequest = GetInvoiceRequest.GetInvoiceRequest;
17
+ import * as ListInvoiceLinesRequest from "./list-invoice-lines-request";
18
+ export import ListInvoiceLinesRequest = ListInvoiceLinesRequest.ListInvoiceLinesRequest;
19
+ import * as ListInvoicesRequest from "./list-invoices-request";
20
+ export import ListInvoicesRequest = ListInvoicesRequest.ListInvoicesRequest;
21
+ import * as PayInvoiceRequest from "./pay-invoice-request";
22
+ export import PayInvoiceRequest = PayInvoiceRequest.PayInvoiceRequest;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ /**
3
+ * Billing Center Gateway API
4
+ * This site describes all the Rest endpoints of Billing Center Gateway.
5
+ * OpenAPI spec version: 20191001
6
+ * Contact: osp_team_oci_cam_ww_grp@oracle.com
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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.ListInvoicesRequest = void 0;
35
+ const ListInvoicesRequest = __importStar(require("./list-invoices-request"));
36
+ exports.ListInvoicesRequest = ListInvoicesRequest.ListInvoicesRequest;
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAQH,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20191001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2021, 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.10.0/ospgateway/ListInvoiceLines.ts.html |here} to see how to use ListInvoiceLinesRequest.
16
+ */
17
+ export interface ListInvoiceLinesRequest extends common.BaseRequest {
18
+ /**
19
+ * The home region's public name of the logged in user.
20
+ *
21
+ */
22
+ "ospHomeRegion": string;
23
+ /**
24
+ * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
25
+ *
26
+ */
27
+ "compartmentId": string;
28
+ /**
29
+ * The identifier of the invoice.
30
+ */
31
+ "internalInvoiceId": string;
32
+ /**
33
+ * The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
34
+ * particular request, please provide the request ID.
35
+ *
36
+ */
37
+ "opcRequestId"?: string;
38
+ /**
39
+ * For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
40
+ *
41
+ */
42
+ "page"?: string;
43
+ /**
44
+ * For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
45
+ *
46
+ */
47
+ "limit"?: number;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20191001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2021, 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-invoice-lines-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-invoice-lines-request.js","sourceRoot":"","sources":["../../../../../lib/ospgateway/lib/request/list-invoice-lines-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}