@otr-app/shared-backend-generated-client 2.5.80 → 2.5.81
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/dist/angular/model/saveBillingProductOptionRequest.ts +6 -0
- package/dist/typescript/model/SaveBillingProductOptionRequest.d.ts +5 -0
- package/dist/typescript/model/SaveBillingProductOptionRequest.js +5 -0
- package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.d.ts +14 -0
- package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.js +11 -0
- package/dist/typescript-open-api/otr-backend.d.ts +2 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
export interface SaveBillingProductOptionRequest {
|
|
15
15
|
interval?: SaveBillingProductOptionRequest.IntervalEnum;
|
|
16
|
+
offerType?: SaveBillingProductOptionRequest.OfferTypeEnum;
|
|
16
17
|
}
|
|
17
18
|
export namespace SaveBillingProductOptionRequest {
|
|
18
19
|
export type IntervalEnum = 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY';
|
|
@@ -23,6 +24,11 @@ export namespace SaveBillingProductOptionRequest {
|
|
|
23
24
|
Weekly: 'WEEKLY' as IntervalEnum,
|
|
24
25
|
Yearly: 'YEARLY' as IntervalEnum
|
|
25
26
|
};
|
|
27
|
+
export type OfferTypeEnum = 'TRIAL_1M_MONTHLY' | 'TRIAL_2M_YEARLY_UPFRONT';
|
|
28
|
+
export const OfferTypeEnum = {
|
|
29
|
+
_1MMonthly: 'TRIAL_1M_MONTHLY' as OfferTypeEnum,
|
|
30
|
+
_2MYearlyUpfront: 'TRIAL_2M_YEARLY_UPFRONT' as OfferTypeEnum
|
|
31
|
+
};
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export interface SaveBillingProductOptionRequest {
|
|
13
13
|
"interval"?: SaveBillingProductOptionRequest.IntervalEnum;
|
|
14
|
+
"offerType"?: SaveBillingProductOptionRequest.OfferTypeEnum;
|
|
14
15
|
}
|
|
15
16
|
export declare namespace SaveBillingProductOptionRequest {
|
|
16
17
|
enum IntervalEnum {
|
|
@@ -20,4 +21,8 @@ export declare namespace SaveBillingProductOptionRequest {
|
|
|
20
21
|
WEEKLY,
|
|
21
22
|
YEARLY
|
|
22
23
|
}
|
|
24
|
+
enum OfferTypeEnum {
|
|
25
|
+
_1MMONTHLY,
|
|
26
|
+
_2MYEARLYUPFRONT
|
|
27
|
+
}
|
|
23
28
|
}
|
|
@@ -19,4 +19,9 @@ export var SaveBillingProductOptionRequest;
|
|
|
19
19
|
IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
|
|
20
20
|
IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
|
|
21
21
|
})(IntervalEnum = SaveBillingProductOptionRequest.IntervalEnum || (SaveBillingProductOptionRequest.IntervalEnum = {}));
|
|
22
|
+
let OfferTypeEnum;
|
|
23
|
+
(function (OfferTypeEnum) {
|
|
24
|
+
OfferTypeEnum[OfferTypeEnum["_1MMONTHLY"] = 'TRIAL_1M_MONTHLY'] = "_1MMONTHLY";
|
|
25
|
+
OfferTypeEnum[OfferTypeEnum["_2MYEARLYUPFRONT"] = 'TRIAL_2M_YEARLY_UPFRONT'] = "_2MYEARLYUPFRONT";
|
|
26
|
+
})(OfferTypeEnum = SaveBillingProductOptionRequest.OfferTypeEnum || (SaveBillingProductOptionRequest.OfferTypeEnum = {}));
|
|
22
27
|
})(SaveBillingProductOptionRequest || (SaveBillingProductOptionRequest = {}));
|
|
@@ -21,6 +21,12 @@ export interface SaveBillingProductOptionRequest {
|
|
|
21
21
|
* @memberof SaveBillingProductOptionRequest
|
|
22
22
|
*/
|
|
23
23
|
interval?: SaveBillingProductOptionRequestIntervalEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SaveBillingProductOptionRequest
|
|
28
|
+
*/
|
|
29
|
+
offerType?: SaveBillingProductOptionRequestOfferTypeEnum;
|
|
24
30
|
}
|
|
25
31
|
export declare function SaveBillingProductOptionRequestFromJSON(json: any): SaveBillingProductOptionRequest;
|
|
26
32
|
export declare function SaveBillingProductOptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveBillingProductOptionRequest;
|
|
@@ -36,3 +42,11 @@ export declare enum SaveBillingProductOptionRequestIntervalEnum {
|
|
|
36
42
|
WEEKLY = "WEEKLY",
|
|
37
43
|
YEARLY = "YEARLY"
|
|
38
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
* @enum {string}
|
|
48
|
+
*/
|
|
49
|
+
export declare enum SaveBillingProductOptionRequestOfferTypeEnum {
|
|
50
|
+
_1MMONTHLY = "TRIAL_1M_MONTHLY",
|
|
51
|
+
_2MYEARLYUPFRONT = "TRIAL_2M_YEARLY_UPFRONT"
|
|
52
|
+
}
|
|
@@ -21,6 +21,7 @@ export function SaveBillingProductOptionRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'interval': !exists(json, 'interval') ? undefined : json['interval'],
|
|
24
|
+
'offerType': !exists(json, 'offerType') ? undefined : json['offerType'],
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
export function SaveBillingProductOptionRequestToJSON(value) {
|
|
@@ -32,6 +33,7 @@ export function SaveBillingProductOptionRequestToJSON(value) {
|
|
|
32
33
|
}
|
|
33
34
|
return {
|
|
34
35
|
'interval': value.interval,
|
|
36
|
+
'offerType': value.offerType,
|
|
35
37
|
};
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
@@ -46,3 +48,12 @@ export var SaveBillingProductOptionRequestIntervalEnum;
|
|
|
46
48
|
SaveBillingProductOptionRequestIntervalEnum["WEEKLY"] = "WEEKLY";
|
|
47
49
|
SaveBillingProductOptionRequestIntervalEnum["YEARLY"] = "YEARLY";
|
|
48
50
|
})(SaveBillingProductOptionRequestIntervalEnum || (SaveBillingProductOptionRequestIntervalEnum = {}));
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export var SaveBillingProductOptionRequestOfferTypeEnum;
|
|
56
|
+
(function (SaveBillingProductOptionRequestOfferTypeEnum) {
|
|
57
|
+
SaveBillingProductOptionRequestOfferTypeEnum["_1MMONTHLY"] = "TRIAL_1M_MONTHLY";
|
|
58
|
+
SaveBillingProductOptionRequestOfferTypeEnum["_2MYEARLYUPFRONT"] = "TRIAL_2M_YEARLY_UPFRONT";
|
|
59
|
+
})(SaveBillingProductOptionRequestOfferTypeEnum || (SaveBillingProductOptionRequestOfferTypeEnum = {}));
|
|
@@ -14195,6 +14195,8 @@ export interface components {
|
|
|
14195
14195
|
SaveBillingProductOptionRequest: {
|
|
14196
14196
|
/** @enum {string} */
|
|
14197
14197
|
interval?: PathsApiV1CasesCaseIdCustomerCostGetParametersQueryPeriod;
|
|
14198
|
+
/** @enum {string} */
|
|
14199
|
+
offerType?: CreateBillingSubscriptionRequestPromoOfferType;
|
|
14198
14200
|
};
|
|
14199
14201
|
/** SaveCaseNotesRequest */
|
|
14200
14202
|
SaveCaseNotesRequest: {
|