@vendasta/billing 14.48.0 → 14.50.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/esm2022/lib/_internal/avalara-configuration.api.service.mjs +54 -0
- package/esm2022/lib/_internal/enums/index.mjs +2 -1
- package/esm2022/lib/_internal/enums/invoice.enum.mjs +4 -1
- package/esm2022/lib/_internal/enums/retail-subscription-group.enum.mjs +14 -0
- package/esm2022/lib/_internal/index.mjs +4 -1
- package/esm2022/lib/_internal/interfaces/avalara.interface.mjs +2 -0
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/retail-subscription-group.interface.mjs +8 -0
- package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +8 -0
- package/esm2022/lib/_internal/objects/avalara.mjs +198 -0
- package/esm2022/lib/_internal/objects/index.mjs +4 -1
- package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +80 -0
- package/esm2022/lib/_internal/objects/subscription-preset.mjs +4 -1
- package/esm2022/lib/_internal/objects/vendor-split.mjs +125 -0
- package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +40 -0
- package/esm2022/lib/_internal/vendor-split.api.service.mjs +45 -0
- package/fesm2022/vendasta-billing.mjs +852 -313
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/avalara-configuration.api.service.d.ts +17 -0
- package/lib/_internal/enums/index.d.ts +1 -0
- package/lib/_internal/enums/invoice.enum.d.ts +4 -1
- package/lib/_internal/enums/retail-subscription-group.enum.d.ts +6 -0
- package/lib/_internal/index.d.ts +3 -0
- package/lib/_internal/interfaces/avalara.interface.d.ts +29 -0
- package/lib/_internal/interfaces/index.d.ts +3 -0
- package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +12 -0
- package/lib/_internal/interfaces/subscription-preset.interface.d.ts +1 -0
- package/lib/_internal/interfaces/vendor-split.interface.d.ts +18 -0
- package/lib/_internal/objects/avalara.d.ts +55 -0
- package/lib/_internal/objects/index.d.ts +3 -0
- package/lib/_internal/objects/retail-subscription-group.d.ts +23 -0
- package/lib/_internal/objects/subscription-preset.d.ts +1 -0
- package/lib/_internal/objects/vendor-split.d.ts +35 -0
- package/lib/_internal/retail-subscription-group.api.service.d.ts +13 -0
- package/lib/_internal/vendor-split.api.service.d.ts +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, DeleteAvalaraConfigurationRequest, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse } from './objects/';
|
|
2
|
+
import { CreateAvalaraConfigurationRequestInterface, DeleteAvalaraConfigurationRequestInterface, GetAvalaraConfigurationRequestInterface, UpdateAvalaraConfigurationRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AvalaraConfigurationApiService {
|
|
7
|
+
private readonly hostService;
|
|
8
|
+
private readonly http;
|
|
9
|
+
private _host;
|
|
10
|
+
private apiOptions;
|
|
11
|
+
get(r: GetAvalaraConfigurationRequest | GetAvalaraConfigurationRequestInterface): Observable<GetAvalaraConfigurationResponse>;
|
|
12
|
+
create(r: CreateAvalaraConfigurationRequest | CreateAvalaraConfigurationRequestInterface): Observable<CreateAvalaraConfigurationResponse>;
|
|
13
|
+
update(r: UpdateAvalaraConfigurationRequest | UpdateAvalaraConfigurationRequestInterface): Observable<UpdateAvalaraConfigurationResponse>;
|
|
14
|
+
delete(r: DeleteAvalaraConfigurationRequest | DeleteAvalaraConfigurationRequestInterface): Observable<HttpResponse<null>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvalaraConfigurationApiService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AvalaraConfigurationApiService>;
|
|
17
|
+
}
|
|
@@ -30,3 +30,4 @@ export { TaxProviderType, TaxRuleEntityType, TaxRuleType, } from './tax-rule.enu
|
|
|
30
30
|
export { MerchantServicesReportRunStatus, MerchantServicesReportRunType, } from './report-run.enum';
|
|
31
31
|
export { EntityType, RelationshipType, } from './subscription-relationship.enum';
|
|
32
32
|
export { AppliedReferenceType, CreditNoteReason, } from './credit-note.enum';
|
|
33
|
+
export { DisplayOption, } from './retail-subscription-group.enum';
|
|
@@ -24,5 +24,8 @@ export declare enum Origin {
|
|
|
24
24
|
export declare enum ProcessingFailureCode {
|
|
25
25
|
PROCESSING_FAILURE_CODE_UNSET = 0,
|
|
26
26
|
PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS = 1,
|
|
27
|
-
PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR = 2
|
|
27
|
+
PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR = 2,
|
|
28
|
+
PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE_OR_SEND = 3,
|
|
29
|
+
PROCESSING_FAILURE_CODE_UNABLE_TO_SEND = 4,
|
|
30
|
+
PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE = 5
|
|
28
31
|
}
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './enums';
|
|
2
2
|
export * from './objects';
|
|
3
3
|
export * from './interfaces';
|
|
4
|
+
export { AvalaraConfigurationApiService } from './avalara-configuration.api.service';
|
|
4
5
|
export { BankReconciliationApiService } from './bank-reconciliation.api.service';
|
|
5
6
|
export { BillingApiService } from './billing.api.service';
|
|
6
7
|
export { BundleApiService } from './bundle.api.service';
|
|
@@ -20,8 +21,10 @@ export { PurchaseApiService } from './purchase.api.service';
|
|
|
20
21
|
export { RecurringInvoiceApiService } from './recurring-invoice.api.service';
|
|
21
22
|
export { RefundApiService } from './refund.api.service';
|
|
22
23
|
export { RetailCustomerConfigurationApiService } from './retail-customer-configuration.api.service';
|
|
24
|
+
export { RetailSubscriptionGroupApiService } from './retail-subscription-group.api.service';
|
|
23
25
|
export { SalesCreditNoteApiService } from './sales-credit-note.api.service';
|
|
24
26
|
export { SalesInvoiceApiService } from './sales-invoice.api.service';
|
|
25
27
|
export { SubscriptionRelationshipApiService } from './subscription-relationship.api.service';
|
|
26
28
|
export { TaxApiService } from './tax.api.service';
|
|
27
29
|
export { VendorApiService } from './vendor.api.service';
|
|
30
|
+
export { VendorSplitApiService } from './vendor-split.api.service';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FieldMaskInterface } from './field-mask.interface';
|
|
2
|
+
export interface AvalaraConfigurationInterface {
|
|
3
|
+
merchantId?: string;
|
|
4
|
+
companyCode?: string;
|
|
5
|
+
accountId?: string;
|
|
6
|
+
licenseKey?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CreateAvalaraConfigurationRequestInterface {
|
|
9
|
+
configuration?: AvalaraConfigurationInterface;
|
|
10
|
+
}
|
|
11
|
+
export interface CreateAvalaraConfigurationResponseInterface {
|
|
12
|
+
configuration?: AvalaraConfigurationInterface;
|
|
13
|
+
}
|
|
14
|
+
export interface DeleteAvalaraConfigurationRequestInterface {
|
|
15
|
+
merchantId?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetAvalaraConfigurationRequestInterface {
|
|
18
|
+
merchantId?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface GetAvalaraConfigurationResponseInterface {
|
|
21
|
+
configuration?: AvalaraConfigurationInterface;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateAvalaraConfigurationRequestInterface {
|
|
24
|
+
configuration?: AvalaraConfigurationInterface;
|
|
25
|
+
fieldMask?: FieldMaskInterface;
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateAvalaraConfigurationResponseInterface {
|
|
28
|
+
configuration?: AvalaraConfigurationInterface;
|
|
29
|
+
}
|
|
@@ -43,4 +43,7 @@ export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
|
43
43
|
export { ListSubscriptionRelationshipsRequestFiltersInterface, GetMultiSubscriptionRelationshipsRequestInterface, GetMultiSubscriptionRelationshipsResponseInterface, ListSubscriptionRelationshipsRequestInterface, ListSubscriptionRelationshipsResponseInterface, ReplaceSubscriptionRelationshipsRequestInterface, ReplaceSubscriptionRelationshipsResponseInterface, SubscriptionRelationshipInterface, } from './subscription-relationship.interface';
|
|
44
44
|
export { ReplaceSubscriptionPresetsRequestInterface, ReplaceSubscriptionPresetsResponseInterface, SubscriptionPresetInterface, } from './subscription-preset.interface';
|
|
45
45
|
export { AppliedToInterface, CalculateCreditNoteRequestInterface, CalculateCreditNoteResponseInterface, CreateCreditNoteRequestInterface, CreateCreditNoteResponseInterface, CreditNoteInterface, ListCreditNotesRequestFiltersInterface, GetCreditNoteRequestInterface, GetCreditNoteResponseInterface, GetMultiCreditNoteRequestInterface, GetMultiCreditNoteResponseInterface, LineItemInterface, ListCreditNotesRequestInterface, ListCreditNotesResponseInterface, SendCreditNoteRequestInterface, } from './credit-note.interface';
|
|
46
|
+
export { CreateRetailSubscriptionGroupRequestInterface, CreateRetailSubscriptionGroupResponseInterface, RetailSubscriptionGroupInterface, } from './retail-subscription-group.interface';
|
|
47
|
+
export { GetVendorSplitRequestInterface, GetVendorSplitResponseInterface, UpsertVendorSplitRequestInterface, UpsertVendorSplitResponseInterface, VendorSplitInterface, } from './vendor-split.interface';
|
|
48
|
+
export { AvalaraConfigurationInterface, CreateAvalaraConfigurationRequestInterface, CreateAvalaraConfigurationResponseInterface, DeleteAvalaraConfigurationRequestInterface, GetAvalaraConfigurationRequestInterface, GetAvalaraConfigurationResponseInterface, UpdateAvalaraConfigurationRequestInterface, UpdateAvalaraConfigurationResponseInterface, } from './avalara.interface';
|
|
46
49
|
export { DeleteRetailPricingRequestInterface, GenerateBillableItemsCSVRequestInterface, GenerateBillableItemsCSVResponseInterface, GenerateVendorReportRequestInterface, GenerateVendorReportResponseInterface, GetMultiBundleRetailPricingRequestInterface, GetMultiBundleRetailPricingResponseInterface, GetMultiProductPricingRequestInterface, GetMultiProductPricingResponseInterface, GetMultiRetailPricingRequestInterface, GetMultiRetailPricingResponseInterface, GetMultiWholesaleCostRequestInterface, GetMultiWholesaleCostResponseInterface, GetPurchaseCostRequestInterface, GetPurchaseCostResponseInterface, GetRevenueStatsRequestInterface, GetRevenueStatsResponseInterface, GetStatisticsRequestInterface, GetStatisticsResponseInterface, GetWholesaleComparisonRequestGetWholesaleComparisonFiltersInterface, GetWholesaleComparisonRequestInterface, GetWholesaleComparisonResponseInterface, GetWholesaleComparisonResponseGetWholesaleComparisonResultInterface, GetMultiBundleRetailPricingResponsePricesEntryInterface, UpsertRetailPricingRequestPricingEntryInterface, GetMultiRetailPricingResponseProductPricesEntryInterface, GetMultiProductPricingResponseProductPricesEntryInterface, SetWholesaleProductStrategyRequestInterface, SetWholesaleProductVolumeCommitmentRequestInterface, StartRevRecTemplateBackfillRequestInterface, UpsertRetailPricingRequestInterface, } from './api.interface';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as e from '../enums';
|
|
2
|
+
export interface CreateRetailSubscriptionGroupRequestInterface {
|
|
3
|
+
retailSubscriptionGroup?: RetailSubscriptionGroupInterface;
|
|
4
|
+
}
|
|
5
|
+
export interface CreateRetailSubscriptionGroupResponseInterface {
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface RetailSubscriptionGroupInterface {
|
|
9
|
+
id?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
displayOption?: e.DisplayOption;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface GetVendorSplitRequestInterface {
|
|
2
|
+
sku?: string;
|
|
3
|
+
}
|
|
4
|
+
export interface GetVendorSplitResponseInterface {
|
|
5
|
+
vendorSplit?: VendorSplitInterface;
|
|
6
|
+
}
|
|
7
|
+
export interface UpsertVendorSplitRequestInterface {
|
|
8
|
+
vendorSplit?: VendorSplitInterface;
|
|
9
|
+
}
|
|
10
|
+
export interface UpsertVendorSplitResponseInterface {
|
|
11
|
+
vendorSplit?: VendorSplitInterface;
|
|
12
|
+
}
|
|
13
|
+
export interface VendorSplitInterface {
|
|
14
|
+
sku?: string;
|
|
15
|
+
productPrice?: number;
|
|
16
|
+
setupFee?: number;
|
|
17
|
+
managementFee?: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { FieldMask } from './field-mask';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class AvalaraConfiguration implements i.AvalaraConfigurationInterface {
|
|
5
|
+
merchantId: string;
|
|
6
|
+
companyCode: string;
|
|
7
|
+
accountId: string;
|
|
8
|
+
licenseKey: string;
|
|
9
|
+
static fromProto(proto: any): AvalaraConfiguration;
|
|
10
|
+
constructor(kwargs?: i.AvalaraConfigurationInterface);
|
|
11
|
+
toApiJson(): object;
|
|
12
|
+
}
|
|
13
|
+
export declare class CreateAvalaraConfigurationRequest implements i.CreateAvalaraConfigurationRequestInterface {
|
|
14
|
+
configuration: AvalaraConfiguration;
|
|
15
|
+
static fromProto(proto: any): CreateAvalaraConfigurationRequest;
|
|
16
|
+
constructor(kwargs?: i.CreateAvalaraConfigurationRequestInterface);
|
|
17
|
+
toApiJson(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class CreateAvalaraConfigurationResponse implements i.CreateAvalaraConfigurationResponseInterface {
|
|
20
|
+
configuration: AvalaraConfiguration;
|
|
21
|
+
static fromProto(proto: any): CreateAvalaraConfigurationResponse;
|
|
22
|
+
constructor(kwargs?: i.CreateAvalaraConfigurationResponseInterface);
|
|
23
|
+
toApiJson(): object;
|
|
24
|
+
}
|
|
25
|
+
export declare class DeleteAvalaraConfigurationRequest implements i.DeleteAvalaraConfigurationRequestInterface {
|
|
26
|
+
merchantId: string;
|
|
27
|
+
static fromProto(proto: any): DeleteAvalaraConfigurationRequest;
|
|
28
|
+
constructor(kwargs?: i.DeleteAvalaraConfigurationRequestInterface);
|
|
29
|
+
toApiJson(): object;
|
|
30
|
+
}
|
|
31
|
+
export declare class GetAvalaraConfigurationRequest implements i.GetAvalaraConfigurationRequestInterface {
|
|
32
|
+
merchantId: string;
|
|
33
|
+
static fromProto(proto: any): GetAvalaraConfigurationRequest;
|
|
34
|
+
constructor(kwargs?: i.GetAvalaraConfigurationRequestInterface);
|
|
35
|
+
toApiJson(): object;
|
|
36
|
+
}
|
|
37
|
+
export declare class GetAvalaraConfigurationResponse implements i.GetAvalaraConfigurationResponseInterface {
|
|
38
|
+
configuration: AvalaraConfiguration;
|
|
39
|
+
static fromProto(proto: any): GetAvalaraConfigurationResponse;
|
|
40
|
+
constructor(kwargs?: i.GetAvalaraConfigurationResponseInterface);
|
|
41
|
+
toApiJson(): object;
|
|
42
|
+
}
|
|
43
|
+
export declare class UpdateAvalaraConfigurationRequest implements i.UpdateAvalaraConfigurationRequestInterface {
|
|
44
|
+
configuration: AvalaraConfiguration;
|
|
45
|
+
fieldMask: FieldMask;
|
|
46
|
+
static fromProto(proto: any): UpdateAvalaraConfigurationRequest;
|
|
47
|
+
constructor(kwargs?: i.UpdateAvalaraConfigurationRequestInterface);
|
|
48
|
+
toApiJson(): object;
|
|
49
|
+
}
|
|
50
|
+
export declare class UpdateAvalaraConfigurationResponse implements i.UpdateAvalaraConfigurationResponseInterface {
|
|
51
|
+
configuration: AvalaraConfiguration;
|
|
52
|
+
static fromProto(proto: any): UpdateAvalaraConfigurationResponse;
|
|
53
|
+
constructor(kwargs?: i.UpdateAvalaraConfigurationResponseInterface);
|
|
54
|
+
toApiJson(): object;
|
|
55
|
+
}
|
|
@@ -43,4 +43,7 @@ export { Access, MCPOptions, } from './annotations';
|
|
|
43
43
|
export { ListSubscriptionRelationshipsRequestFilters, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, SubscriptionRelationship, } from './subscription-relationship';
|
|
44
44
|
export { ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, SubscriptionPreset, } from './subscription-preset';
|
|
45
45
|
export { AppliedTo, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreditNote, ListCreditNotesRequestFilters, GetCreditNoteRequest, GetCreditNoteResponse, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, LineItem, ListCreditNotesRequest, ListCreditNotesResponse, SendCreditNoteRequest, } from './credit-note';
|
|
46
|
+
export { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, RetailSubscriptionGroup, } from './retail-subscription-group';
|
|
47
|
+
export { GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse, VendorSplit, } from './vendor-split';
|
|
48
|
+
export { AvalaraConfiguration, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, DeleteAvalaraConfigurationRequest, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, } from './avalara';
|
|
46
49
|
export { DeleteRetailPricingRequest, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetStatisticsRequest, GetStatisticsResponse, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonRequest, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetMultiBundleRetailPricingResponsePricesEntry, UpsertRetailPricingRequestPricingEntry, GetMultiRetailPricingResponseProductPricesEntry, GetMultiProductPricingResponseProductPricesEntry, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, StartRevRecTemplateBackfillRequest, UpsertRetailPricingRequest, } from './api';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class CreateRetailSubscriptionGroupRequest implements i.CreateRetailSubscriptionGroupRequestInterface {
|
|
5
|
+
retailSubscriptionGroup: RetailSubscriptionGroup;
|
|
6
|
+
static fromProto(proto: any): CreateRetailSubscriptionGroupRequest;
|
|
7
|
+
constructor(kwargs?: i.CreateRetailSubscriptionGroupRequestInterface);
|
|
8
|
+
toApiJson(): object;
|
|
9
|
+
}
|
|
10
|
+
export declare class CreateRetailSubscriptionGroupResponse implements i.CreateRetailSubscriptionGroupResponseInterface {
|
|
11
|
+
id: string;
|
|
12
|
+
static fromProto(proto: any): CreateRetailSubscriptionGroupResponse;
|
|
13
|
+
constructor(kwargs?: i.CreateRetailSubscriptionGroupResponseInterface);
|
|
14
|
+
toApiJson(): object;
|
|
15
|
+
}
|
|
16
|
+
export declare class RetailSubscriptionGroup implements i.RetailSubscriptionGroupInterface {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
displayOption: e.DisplayOption;
|
|
20
|
+
static fromProto(proto: any): RetailSubscriptionGroup;
|
|
21
|
+
constructor(kwargs?: i.RetailSubscriptionGroupInterface);
|
|
22
|
+
toApiJson(): object;
|
|
23
|
+
}
|
|
@@ -22,6 +22,7 @@ export declare class SubscriptionPreset implements i.SubscriptionPresetInterface
|
|
|
22
22
|
renewalStart: Date;
|
|
23
23
|
expiry: Date;
|
|
24
24
|
invoiceId: string;
|
|
25
|
+
retailSubscriptionGroupId: string;
|
|
25
26
|
static fromProto(proto: any): SubscriptionPreset;
|
|
26
27
|
constructor(kwargs?: i.SubscriptionPresetInterface);
|
|
27
28
|
toApiJson(): object;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class GetVendorSplitRequest implements i.GetVendorSplitRequestInterface {
|
|
4
|
+
sku: string;
|
|
5
|
+
static fromProto(proto: any): GetVendorSplitRequest;
|
|
6
|
+
constructor(kwargs?: i.GetVendorSplitRequestInterface);
|
|
7
|
+
toApiJson(): object;
|
|
8
|
+
}
|
|
9
|
+
export declare class GetVendorSplitResponse implements i.GetVendorSplitResponseInterface {
|
|
10
|
+
vendorSplit: VendorSplit;
|
|
11
|
+
static fromProto(proto: any): GetVendorSplitResponse;
|
|
12
|
+
constructor(kwargs?: i.GetVendorSplitResponseInterface);
|
|
13
|
+
toApiJson(): object;
|
|
14
|
+
}
|
|
15
|
+
export declare class UpsertVendorSplitRequest implements i.UpsertVendorSplitRequestInterface {
|
|
16
|
+
vendorSplit: VendorSplit;
|
|
17
|
+
static fromProto(proto: any): UpsertVendorSplitRequest;
|
|
18
|
+
constructor(kwargs?: i.UpsertVendorSplitRequestInterface);
|
|
19
|
+
toApiJson(): object;
|
|
20
|
+
}
|
|
21
|
+
export declare class UpsertVendorSplitResponse implements i.UpsertVendorSplitResponseInterface {
|
|
22
|
+
vendorSplit: VendorSplit;
|
|
23
|
+
static fromProto(proto: any): UpsertVendorSplitResponse;
|
|
24
|
+
constructor(kwargs?: i.UpsertVendorSplitResponseInterface);
|
|
25
|
+
toApiJson(): object;
|
|
26
|
+
}
|
|
27
|
+
export declare class VendorSplit implements i.VendorSplitInterface {
|
|
28
|
+
sku: string;
|
|
29
|
+
productPrice: number;
|
|
30
|
+
setupFee: number;
|
|
31
|
+
managementFee: number;
|
|
32
|
+
static fromProto(proto: any): VendorSplit;
|
|
33
|
+
constructor(kwargs?: i.VendorSplitInterface);
|
|
34
|
+
toApiJson(): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse } from './objects/';
|
|
2
|
+
import { CreateRetailSubscriptionGroupRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RetailSubscriptionGroupApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
createRetailSubscriptionGroup(r: CreateRetailSubscriptionGroupRequest | CreateRetailSubscriptionGroupRequestInterface): Observable<CreateRetailSubscriptionGroupResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RetailSubscriptionGroupApiService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RetailSubscriptionGroupApiService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse } from './objects/';
|
|
2
|
+
import { GetVendorSplitRequestInterface, UpsertVendorSplitRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VendorSplitApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
get(r: GetVendorSplitRequest | GetVendorSplitRequestInterface): Observable<GetVendorSplitResponse>;
|
|
11
|
+
upsert(r: UpsertVendorSplitRequest | UpsertVendorSplitRequestInterface): Observable<UpsertVendorSplitResponse>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VendorSplitApiService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VendorSplitApiService>;
|
|
14
|
+
}
|