tremendous 4.6.0 → 4.8.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.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +24 -0
- package/dist/api.d.ts +44 -5
- package/dist/api.js +23 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.8.0](https://github.com/tremendous-rewards/tremendous-node/compare/tremendous-v4.7.0...tremendous-v4.8.0) (2026-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add `currency_code` field to invoices ([a8cc7b6](https://github.com/tremendous-rewards/tremendous-node/commit/a8cc7b6de752f0d6bc10af1ac5d2140501647de2))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* deprecate `currency` field on invoices ([a8cc7b6](https://github.com/tremendous-rewards/tremendous-node/commit/a8cc7b6de752f0d6bc10af1ac5d2140501647de2))
|
|
14
|
+
|
|
15
|
+
## [4.7.0](https://github.com/tremendous-rewards/tremendous-node/compare/tremendous-v4.6.0...tremendous-v4.7.0) (2026-04-16)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add `currency_code` field to create invoice ([0e8103d](https://github.com/tremendous-rewards/tremendous-node/commit/0e8103d0d89a911c8788821b08e5e378365335d9))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* deprecate `currency` in favor of `currency_code` ([0e8103d](https://github.com/tremendous-rewards/tremendous-node/commit/0e8103d0d89a911c8788821b08e5e378365335d9))
|
|
26
|
+
|
|
3
27
|
## [4.6.0](https://github.com/tremendous-rewards/tremendous-node/compare/tremendous-v4.5.1...tremendous-v4.6.0) (2026-04-15)
|
|
4
28
|
|
|
5
29
|
|
package/dist/api.d.ts
CHANGED
|
@@ -842,10 +842,17 @@ export interface CreateInvoiceRequest {
|
|
|
842
842
|
*/
|
|
843
843
|
'amount': number;
|
|
844
844
|
/**
|
|
845
|
-
* Currency of the invoice
|
|
845
|
+
* Currency of the invoice. Defaults to the organization\'s currency if not provided.
|
|
846
846
|
* @type {string}
|
|
847
847
|
* @memberof CreateInvoiceRequest
|
|
848
848
|
*/
|
|
849
|
+
'currency_code'?: CreateInvoiceRequestCurrencyCodeEnum;
|
|
850
|
+
/**
|
|
851
|
+
* Deprecated: Use `currency_code` instead.
|
|
852
|
+
* @type {string}
|
|
853
|
+
* @memberof CreateInvoiceRequest
|
|
854
|
+
* @deprecated
|
|
855
|
+
*/
|
|
849
856
|
'currency'?: CreateInvoiceRequestCurrencyEnum;
|
|
850
857
|
/**
|
|
851
858
|
* A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.
|
|
@@ -854,6 +861,12 @@ export interface CreateInvoiceRequest {
|
|
|
854
861
|
*/
|
|
855
862
|
'memo'?: string | null;
|
|
856
863
|
}
|
|
864
|
+
export declare const CreateInvoiceRequestCurrencyCodeEnum: {
|
|
865
|
+
readonly Usd: "USD";
|
|
866
|
+
readonly Eur: "EUR";
|
|
867
|
+
readonly Gbp: "GBP";
|
|
868
|
+
};
|
|
869
|
+
export type CreateInvoiceRequestCurrencyCodeEnum = typeof CreateInvoiceRequestCurrencyCodeEnum[keyof typeof CreateInvoiceRequestCurrencyCodeEnum];
|
|
857
870
|
export declare const CreateInvoiceRequestCurrencyEnum: {
|
|
858
871
|
readonly Usd: "USD";
|
|
859
872
|
readonly Eur: "EUR";
|
|
@@ -3383,6 +3396,13 @@ export interface Invoice {
|
|
|
3383
3396
|
* @type {string}
|
|
3384
3397
|
* @memberof Invoice
|
|
3385
3398
|
*/
|
|
3399
|
+
'currency_code'?: InvoiceCurrencyCodeEnum;
|
|
3400
|
+
/**
|
|
3401
|
+
* Deprecated: Use `currency_code` instead.
|
|
3402
|
+
* @type {string}
|
|
3403
|
+
* @memberof Invoice
|
|
3404
|
+
* @deprecated
|
|
3405
|
+
*/
|
|
3386
3406
|
'currency'?: InvoiceCurrencyEnum;
|
|
3387
3407
|
/**
|
|
3388
3408
|
*
|
|
@@ -3421,6 +3441,12 @@ export interface Invoice {
|
|
|
3421
3441
|
*/
|
|
3422
3442
|
'paid_at': string | null;
|
|
3423
3443
|
}
|
|
3444
|
+
export declare const InvoiceCurrencyCodeEnum: {
|
|
3445
|
+
readonly Usd: "USD";
|
|
3446
|
+
readonly Eur: "EUR";
|
|
3447
|
+
readonly Gbp: "GBP";
|
|
3448
|
+
};
|
|
3449
|
+
export type InvoiceCurrencyCodeEnum = typeof InvoiceCurrencyCodeEnum[keyof typeof InvoiceCurrencyCodeEnum];
|
|
3424
3450
|
export declare const InvoiceCurrencyEnum: {
|
|
3425
3451
|
readonly Usd: "USD";
|
|
3426
3452
|
readonly Eur: "EUR";
|
|
@@ -4555,6 +4581,13 @@ export interface ListInvoices200ResponseInvoicesInner {
|
|
|
4555
4581
|
* @type {string}
|
|
4556
4582
|
* @memberof ListInvoices200ResponseInvoicesInner
|
|
4557
4583
|
*/
|
|
4584
|
+
'currency_code'?: ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum;
|
|
4585
|
+
/**
|
|
4586
|
+
* Deprecated: Use `currency_code` instead.
|
|
4587
|
+
* @type {string}
|
|
4588
|
+
* @memberof ListInvoices200ResponseInvoicesInner
|
|
4589
|
+
* @deprecated
|
|
4590
|
+
*/
|
|
4558
4591
|
'currency'?: ListInvoices200ResponseInvoicesInnerCurrencyEnum;
|
|
4559
4592
|
/**
|
|
4560
4593
|
*
|
|
@@ -4593,6 +4626,12 @@ export interface ListInvoices200ResponseInvoicesInner {
|
|
|
4593
4626
|
*/
|
|
4594
4627
|
'paid_at': string | null;
|
|
4595
4628
|
}
|
|
4629
|
+
export declare const ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum: {
|
|
4630
|
+
readonly Usd: "USD";
|
|
4631
|
+
readonly Eur: "EUR";
|
|
4632
|
+
readonly Gbp: "GBP";
|
|
4633
|
+
};
|
|
4634
|
+
export type ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum = typeof ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum[keyof typeof ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum];
|
|
4596
4635
|
export declare const ListInvoices200ResponseInvoicesInnerCurrencyEnum: {
|
|
4597
4636
|
readonly Usd: "USD";
|
|
4598
4637
|
readonly Eur: "EUR";
|
|
@@ -9700,7 +9739,7 @@ export declare class FundingSourcesApi extends BaseAPI {
|
|
|
9700
9739
|
*/
|
|
9701
9740
|
export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9702
9741
|
/**
|
|
9703
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
9742
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
9704
9743
|
* @summary Create invoice
|
|
9705
9744
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
9706
9745
|
* @param {*} [options] Override http request option.
|
|
@@ -9755,7 +9794,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
9755
9794
|
*/
|
|
9756
9795
|
export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
9757
9796
|
/**
|
|
9758
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
9797
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
9759
9798
|
* @summary Create invoice
|
|
9760
9799
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
9761
9800
|
* @param {*} [options] Override http request option.
|
|
@@ -9810,7 +9849,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
9810
9849
|
*/
|
|
9811
9850
|
export declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9812
9851
|
/**
|
|
9813
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
9852
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
9814
9853
|
* @summary Create invoice
|
|
9815
9854
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
9816
9855
|
* @param {*} [options] Override http request option.
|
|
@@ -9867,7 +9906,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
9867
9906
|
*/
|
|
9868
9907
|
export declare class InvoicesApi extends BaseAPI {
|
|
9869
9908
|
/**
|
|
9870
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
9909
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
9871
9910
|
* @summary Create invoice
|
|
9872
9911
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
9873
9912
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -25,10 +25,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TopupsApi = exports.TopupsApiFactory = exports.TopupsApiFp = exports.TopupsApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RewardsApi = exports.RewardsApiFactory = exports.RewardsApiFp = exports.RewardsApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.FundingSourcesApi = exports.FundingSourcesApiFactory = exports.FundingSourcesApiFp = exports.FundingSourcesApiAxiosParamCreator = exports.UpdateFraudRuleListRuleTypeEnum = exports.FraudRuleRuleTypeEnum = void 0;
|
|
28
|
+
exports.FundingSourceTypeEnum = exports.FundingSourceStatusEnum = exports.FundingSourceUsagePermissionsEnum = exports.FundingSourceMethodEnum = exports.FraudRulesListItemRuleTypeEnum = exports.FraudRuleType = exports.FraudRuleRequestConfigPeriodEnum = exports.FraudRuleRequestConfigTypeEnum = exports.FraudReviewStatus = exports.FraudReviewRisk = exports.FraudReviewRedemptionMethod = exports.FraudReviewReason = exports.FraudReviewListItemRedemptionMethodEnum = exports.FraudReviewListItemReasonsEnum = exports.FraudReviewListItemStatusEnum = exports.FraudReviewBaseRedemptionMethodEnum = exports.FraudReviewBaseReasonsEnum = exports.FraudReviewBaseStatusEnum = exports.FraudReviewRiskEnum = exports.FraudReviewRedemptionMethodEnum = exports.FraudReviewReasonsEnum = exports.FraudReviewStatusEnum = exports.FraudConfigRedeemedRewardsCountPeriodEnum = exports.FraudConfigRedeemedRewardsAmountPeriodEnum = exports.FraudConfigCountryTypeEnum = exports.FieldDataTypeEnum = exports.DeliveryStatus = exports.DeliveryMethod = exports.DeliveryDetailsWithLinkStatusEnum = exports.DeliveryDetailsWithLinkMethodEnum = exports.DeliveryDetailsStatusEnum = exports.DeliveryDetailsMethodEnum = exports.CurrencyCodes = exports.CreateReportRequestFiltersDigitalRewardsStatusEnum = exports.CreateReportRequestFiltersDigitalRewardsOrderStatusEnum = exports.CreateReportRequestFiltersDigitalRewardsDeliveryMethodEnum = exports.CreateReportRequestFormatEnum = exports.CreateReportRequestReportTypeEnum = exports.CreateReport200ResponseReportStatusEnum = exports.CreateOrder200ResponseOrderRewardsInnerDeliveryStatusEnum = exports.CreateOrder200ResponseOrderRewardsInnerDeliveryMethodEnum = exports.CreateOrder200ResponseOrderChannelEnum = exports.CreateOrder200ResponseOrderStatusEnum = exports.CreateInvoiceRequestCurrencyEnum = exports.CreateInvoiceRequestCurrencyCodeEnum = exports.CreateFieldRequestDataTypeEnum = exports.CreateFieldDataTypeEnum = exports.ConnectedOrganizationOrganizationStatusEnum = exports.ConnectedOrganizationMemberMemberStatusEnum = exports.Channel = void 0;
|
|
29
|
+
exports.OrganizationStatusEnum = exports.OrderWithoutLinkChannelEnum = exports.OrderWithoutLinkStatusEnum = exports.OrderWithLinkChannelEnum = exports.OrderWithLinkStatusEnum = exports.OrderStatus = exports.OrderBaseChannelEnum = exports.OrderBaseStatusEnum = exports.OrderChannelEnum = exports.OrderStatusEnum = exports.MemberWithoutEventsStatusEnum = exports.MemberWithEventsStatusEnum = exports.MemberBaseStatusEnum = exports.MemberStatusEnum = exports.ListRewards200ResponseRewardsInnerValueCurrencyCodeEnum = exports.ListRewards200ResponseRewardsInnerDeliveryStatusEnum = exports.ListRewards200ResponseRewardsInnerDeliveryMethodEnum = exports.ListProductsResponseProductsInnerImagesInnerTypeEnum = exports.ListProductsResponseProductsInnerCurrencyCodesEnum = exports.ListProductsResponseProductsInnerSubcategoryEnum = exports.ListProductsResponseProductsInnerCategoryEnum = exports.ListOrganizations200ResponseOrganizationsInnerStatusEnum = exports.ListOrders200ResponseOrdersInnerChannelEnum = exports.ListOrders200ResponseOrdersInnerStatusEnum = exports.ListMembers200ResponseMembersInnerStatusEnum = exports.ListInvoices200ResponseInvoicesInnerStatusEnum = exports.ListInvoices200ResponseInvoicesInnerCurrencyEnum = exports.ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum = exports.ListFundingSources200ResponseFundingSourcesInnerMetaNetworkEnum = exports.ListFundingSources200ResponseFundingSourcesInnerMetaAccountTypeEnum = exports.ListFundingSources200ResponseFundingSourcesInnerTypeEnum = exports.ListFundingSources200ResponseFundingSourcesInnerStatusEnum = exports.ListFundingSources200ResponseFundingSourcesInnerUsagePermissionsEnum = exports.ListFundingSources200ResponseFundingSourcesInnerMethodEnum = exports.ListFraudRules200ResponseFraudRulesInnerRuleTypeEnum = exports.ListFraudReviews200ResponseFraudReviewsInnerRedemptionMethodEnum = exports.ListFraudReviews200ResponseFraudReviewsInnerReasonsEnum = exports.ListFraudReviews200ResponseFraudReviewsInnerStatusEnum = exports.ListFields200ResponseFieldsInnerDataTypeEnum = exports.ListConnectedOrganizations200ResponseConnectedOrganizationsInnerOrganizationStatusEnum = exports.ListConnectedOrganizationMembers200ResponseConnectedOrganizationMembersInnerMemberStatusEnum = exports.InvoiceStatusEnum = exports.InvoiceCurrencyEnum = exports.InvoiceCurrencyCodeEnum = exports.GetMember200ResponseMemberEventsInnerTypeEnum = exports.GetMember200ResponseMemberStatusEnum = exports.GetFraudReview200ResponseFraudReviewRiskEnum = exports.GetFraudReview200ResponseFraudReviewRedemptionMethodEnum = exports.GetFraudReview200ResponseFraudReviewReasonsEnum = exports.GetFraudReview200ResponseFraudReviewStatusEnum = void 0;
|
|
30
|
+
exports.FraudRulesApiFp = exports.FraudRulesApiAxiosParamCreator = exports.ListFraudReviewsStatusEnum = exports.FraudReviewsApi = exports.FraudReviewsApiFactory = exports.FraudReviewsApiFp = exports.FraudReviewsApiAxiosParamCreator = exports.ForexApi = exports.ForexApiFactory = exports.ForexApiFp = exports.ForexApiAxiosParamCreator = exports.FieldsApi = exports.FieldsApiFactory = exports.FieldsApiFp = exports.FieldsApiAxiosParamCreator = exports.ConnectedOrganizationsApi = exports.ConnectedOrganizationsApiFactory = exports.ConnectedOrganizationsApiFp = exports.ConnectedOrganizationsApiAxiosParamCreator = exports.ConnectedOrganizationMembersApi = exports.ConnectedOrganizationMembersApiFactory = exports.ConnectedOrganizationMembersApiFp = exports.ConnectedOrganizationMembersApiAxiosParamCreator = exports.CampaignsApi = exports.CampaignsApiFactory = exports.CampaignsApiFp = exports.CampaignsApiAxiosParamCreator = exports.BalanceTransactionsApi = exports.BalanceTransactionsApiFactory = exports.BalanceTransactionsApiFp = exports.BalanceTransactionsApiAxiosParamCreator = exports.UpdateFraudRuleListRequestOperationEnum = exports.SingleRewardOrderWithoutLinkOrderChannelEnum = exports.SingleRewardOrderWithoutLinkOrderStatusEnum = exports.SingleRewardOrderWithLinkOrderChannelEnum = exports.SingleRewardOrderWithLinkOrderStatusEnum = exports.SingleRewardOrderRewardDeliveryMethodEnum = exports.RewardWithoutLinkDeliveryStatusEnum = exports.RewardWithoutLinkDeliveryMethodEnum = exports.RewardWithLinkDeliveryStatusEnum = exports.RewardWithLinkDeliveryMethodEnum = exports.RewardValueCurrencyCodeEnum = exports.ReviewRedeemedRewardsCountPeriodEnum = exports.ReviewRedeemedRewardsAmountPeriodEnum = exports.ReviewCountryTypeEnum = exports.ReportStatusEnum = exports.ProductCurrencyCodesEnum = exports.ProductSubcategoryEnum = exports.ProductCategoryEnum = exports.PayoutStatusEnum = void 0;
|
|
31
|
+
exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TopupsApi = exports.TopupsApiFactory = exports.TopupsApiFp = exports.TopupsApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RewardsApi = exports.RewardsApiFactory = exports.RewardsApiFp = exports.RewardsApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.FundingSourcesApi = exports.FundingSourcesApiFactory = exports.FundingSourcesApiFp = exports.FundingSourcesApiAxiosParamCreator = exports.UpdateFraudRuleListRuleTypeEnum = exports.FraudRuleRuleTypeEnum = exports.DeleteFraudRuleRuleTypeEnum = exports.FraudRulesApi = exports.FraudRulesApiFactory = void 0;
|
|
32
32
|
const axios_1 = __importDefault(require("axios"));
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -83,6 +83,11 @@ exports.CreateFieldRequestDataTypeEnum = {
|
|
|
83
83
|
Text: 'Text',
|
|
84
84
|
TextArea: 'TextArea'
|
|
85
85
|
};
|
|
86
|
+
exports.CreateInvoiceRequestCurrencyCodeEnum = {
|
|
87
|
+
Usd: 'USD',
|
|
88
|
+
Eur: 'EUR',
|
|
89
|
+
Gbp: 'GBP'
|
|
90
|
+
};
|
|
86
91
|
exports.CreateInvoiceRequestCurrencyEnum = {
|
|
87
92
|
Usd: 'USD',
|
|
88
93
|
Eur: 'EUR',
|
|
@@ -639,6 +644,11 @@ exports.GetMember200ResponseMemberEventsInnerTypeEnum = {
|
|
|
639
644
|
Created: 'created',
|
|
640
645
|
LastLogin: 'last_login'
|
|
641
646
|
};
|
|
647
|
+
exports.InvoiceCurrencyCodeEnum = {
|
|
648
|
+
Usd: 'USD',
|
|
649
|
+
Eur: 'EUR',
|
|
650
|
+
Gbp: 'GBP'
|
|
651
|
+
};
|
|
642
652
|
exports.InvoiceCurrencyEnum = {
|
|
643
653
|
Usd: 'USD',
|
|
644
654
|
Eur: 'EUR',
|
|
@@ -759,6 +769,11 @@ exports.ListFundingSources200ResponseFundingSourcesInnerMetaNetworkEnum = {
|
|
|
759
769
|
Maestro: 'Maestro',
|
|
760
770
|
Solo: 'Solo'
|
|
761
771
|
};
|
|
772
|
+
exports.ListInvoices200ResponseInvoicesInnerCurrencyCodeEnum = {
|
|
773
|
+
Usd: 'USD',
|
|
774
|
+
Eur: 'EUR',
|
|
775
|
+
Gbp: 'GBP'
|
|
776
|
+
};
|
|
762
777
|
exports.ListInvoices200ResponseInvoicesInnerCurrencyEnum = {
|
|
763
778
|
Usd: 'USD',
|
|
764
779
|
Eur: 'EUR',
|
|
@@ -3883,7 +3898,7 @@ exports.FundingSourcesApi = FundingSourcesApi;
|
|
|
3883
3898
|
const InvoicesApiAxiosParamCreator = function (configuration) {
|
|
3884
3899
|
return {
|
|
3885
3900
|
/**
|
|
3886
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
3901
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
3887
3902
|
* @summary Create invoice
|
|
3888
3903
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
3889
3904
|
* @param {*} [options] Override http request option.
|
|
@@ -4090,7 +4105,7 @@ const InvoicesApiFp = function (configuration) {
|
|
|
4090
4105
|
const localVarAxiosParamCreator = (0, exports.InvoicesApiAxiosParamCreator)(configuration);
|
|
4091
4106
|
return {
|
|
4092
4107
|
/**
|
|
4093
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
4108
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
4094
4109
|
* @summary Create invoice
|
|
4095
4110
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
4096
4111
|
* @param {*} [options] Override http request option.
|
|
@@ -4197,7 +4212,7 @@ const InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
4197
4212
|
const localVarFp = (0, exports.InvoicesApiFp)(configuration);
|
|
4198
4213
|
return {
|
|
4199
4214
|
/**
|
|
4200
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
4215
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
4201
4216
|
* @summary Create invoice
|
|
4202
4217
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
4203
4218
|
* @param {*} [options] Override http request option.
|
|
@@ -4268,7 +4283,7 @@ exports.InvoicesApiFactory = InvoicesApiFactory;
|
|
|
4268
4283
|
*/
|
|
4269
4284
|
class InvoicesApi extends base_1.BaseAPI {
|
|
4270
4285
|
/**
|
|
4271
|
-
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
4286
|
+
* Creating an invoice is the way for your organization to fund your account\'s balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account\'s balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
4272
4287
|
* @summary Create invoice
|
|
4273
4288
|
* @param {CreateInvoiceRequest} createInvoiceRequest Invoice details
|
|
4274
4289
|
* @param {*} [options] Override http request option.
|