@d19n/youfibre-odin-sdk 1.0.197 → 1.0.198

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.
@@ -5,6 +5,10 @@ interface CreateRecontractOrderItemProperties {
5
5
  Quantity?: number;
6
6
  UnitPrice?: string;
7
7
  NetworkServiceId?: string;
8
+ Taxable?: string;
9
+ TaxIncluded?: string;
10
+ TaxRate?: number;
11
+ TotalPrice?: string;
8
12
  }
9
13
  export declare class CreateRecontractOrderItemDto extends OdinRecordCreateDto<CreateRecontractOrderItemProperties> {
10
14
  readonly actionName: string;
@@ -6,14 +6,6 @@ import { FileProperties } from './File';
6
6
  export declare enum BillingAdjustmentEntityTypes {
7
7
  DEFAULT = "DEFAULT"
8
8
  }
9
- export declare enum BillingAdjustmentDiscountType {
10
- AMOUNT = "AMOUNT",
11
- PERCENT = "PERCENT"
12
- }
13
- export declare enum BillingAdjustmentProrationType {
14
- CHARGE = "CHARGE",
15
- CREDIT = "CREDIT"
16
- }
17
9
  export declare enum BillingAdjustmentReason {
18
10
  BILLING_DAY_ADJUSMENT_LEGACY = "BILLING_DAY_ADJUSTMENT",
19
11
  BILLING_DATE_CHANGE = "BILLING_DATE_CHANGE",
@@ -29,29 +21,37 @@ export declare enum BillingAdjustmentReason {
29
21
  SALES_MISSELLING_ADJUSTMENT = "SALES_MISSELLING_ADJUSTMENT",
30
22
  OUTAGE_COMPENSATION = "OUTAGE_COMPENSATION"
31
23
  }
24
+ export declare enum BillingAdjustmentDiscountType {
25
+ AMOUNT = "AMOUNT",
26
+ PERCENT = "PERCENT"
27
+ }
28
+ export declare enum BillingAdjustmentProrationType {
29
+ CHARGE = "CHARGE",
30
+ CREDIT = "CREDIT"
31
+ }
32
32
  export declare enum BillingAdjustmentPropertyKeys {
33
- Description = "Description",
33
+ FreePeriodLength = "FreePeriodLength",
34
+ Reason = "Reason",
34
35
  DiscountLength = "DiscountLength",
35
36
  DiscountType = "DiscountType",
36
37
  DiscountValue = "DiscountValue",
37
- FreePeriodLength = "FreePeriodLength",
38
- ProrationBillableDays = "ProrationBillableDays",
39
38
  ProrationType = "ProrationType",
40
- Reason = "Reason",
41
- Source = "Source",
42
- Title = "Title"
39
+ ProrationBillableDays = "ProrationBillableDays",
40
+ Title = "Title",
41
+ Description = "Description",
42
+ Source = "Source"
43
43
  }
44
44
  export interface BillingAdjustmentProperties {
45
- Description: string;
45
+ FreePeriodLength: number;
46
+ Reason: BillingAdjustmentReason;
46
47
  DiscountLength: number;
47
48
  DiscountType: BillingAdjustmentDiscountType;
48
49
  DiscountValue: number;
49
- FreePeriodLength: number;
50
- ProrationBillableDays: number;
51
50
  ProrationType: BillingAdjustmentProrationType;
52
- Reason: BillingAdjustmentReason;
53
- Source: string;
51
+ ProrationBillableDays: number;
54
52
  Title: string;
53
+ Description: string;
54
+ Source: string;
55
55
  }
56
56
  export declare class BillingAdjustment extends OdinRecord<BillingAdjustmentProperties> {
57
57
  entity: 'OrderModule:BillingAdjustment';
@@ -1,21 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_CREATED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_CREATED = exports.BillingAdjustment = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentReason = exports.BillingAdjustmentProrationType = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentEntityTypes = void 0;
3
+ exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_FILE_CREATED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_DELETED = exports.ROUTING_KEY_LINK_BILLING_ADJUSTMENT_NOTE_CREATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_UPDATED = exports.ROUTING_KEY_BILLING_ADJUSTMENT_CREATED = exports.BillingAdjustment = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentProrationType = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentReason = exports.BillingAdjustmentEntityTypes = void 0;
4
4
  const core_1 = require("@d19n/odin-types/dist/core");
5
5
  var BillingAdjustmentEntityTypes;
6
6
  (function (BillingAdjustmentEntityTypes) {
7
7
  BillingAdjustmentEntityTypes["DEFAULT"] = "DEFAULT";
8
8
  })(BillingAdjustmentEntityTypes = exports.BillingAdjustmentEntityTypes || (exports.BillingAdjustmentEntityTypes = {}));
9
- var BillingAdjustmentDiscountType;
10
- (function (BillingAdjustmentDiscountType) {
11
- BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
12
- BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
13
- })(BillingAdjustmentDiscountType = exports.BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = {}));
14
- var BillingAdjustmentProrationType;
15
- (function (BillingAdjustmentProrationType) {
16
- BillingAdjustmentProrationType["CHARGE"] = "CHARGE";
17
- BillingAdjustmentProrationType["CREDIT"] = "CREDIT";
18
- })(BillingAdjustmentProrationType = exports.BillingAdjustmentProrationType || (exports.BillingAdjustmentProrationType = {}));
19
9
  var BillingAdjustmentReason;
20
10
  (function (BillingAdjustmentReason) {
21
11
  BillingAdjustmentReason["BILLING_DAY_ADJUSMENT_LEGACY"] = "BILLING_DAY_ADJUSTMENT";
@@ -32,18 +22,28 @@ var BillingAdjustmentReason;
32
22
  BillingAdjustmentReason["SALES_MISSELLING_ADJUSTMENT"] = "SALES_MISSELLING_ADJUSTMENT";
33
23
  BillingAdjustmentReason["OUTAGE_COMPENSATION"] = "OUTAGE_COMPENSATION";
34
24
  })(BillingAdjustmentReason = exports.BillingAdjustmentReason || (exports.BillingAdjustmentReason = {}));
25
+ var BillingAdjustmentDiscountType;
26
+ (function (BillingAdjustmentDiscountType) {
27
+ BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
28
+ BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
29
+ })(BillingAdjustmentDiscountType = exports.BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = {}));
30
+ var BillingAdjustmentProrationType;
31
+ (function (BillingAdjustmentProrationType) {
32
+ BillingAdjustmentProrationType["CHARGE"] = "CHARGE";
33
+ BillingAdjustmentProrationType["CREDIT"] = "CREDIT";
34
+ })(BillingAdjustmentProrationType = exports.BillingAdjustmentProrationType || (exports.BillingAdjustmentProrationType = {}));
35
35
  var BillingAdjustmentPropertyKeys;
36
36
  (function (BillingAdjustmentPropertyKeys) {
37
- BillingAdjustmentPropertyKeys["Description"] = "Description";
37
+ BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
38
+ BillingAdjustmentPropertyKeys["Reason"] = "Reason";
38
39
  BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
39
40
  BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
40
41
  BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
41
- BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
42
- BillingAdjustmentPropertyKeys["ProrationBillableDays"] = "ProrationBillableDays";
43
42
  BillingAdjustmentPropertyKeys["ProrationType"] = "ProrationType";
44
- BillingAdjustmentPropertyKeys["Reason"] = "Reason";
45
- BillingAdjustmentPropertyKeys["Source"] = "Source";
43
+ BillingAdjustmentPropertyKeys["ProrationBillableDays"] = "ProrationBillableDays";
46
44
  BillingAdjustmentPropertyKeys["Title"] = "Title";
45
+ BillingAdjustmentPropertyKeys["Description"] = "Description";
46
+ BillingAdjustmentPropertyKeys["Source"] = "Source";
47
47
  })(BillingAdjustmentPropertyKeys = exports.BillingAdjustmentPropertyKeys || (exports.BillingAdjustmentPropertyKeys = {}));
48
48
  class BillingAdjustment extends core_1.OdinRecord {
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.197",
3
+ "version": "1.0.198",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -31,6 +31,10 @@ interface CreateRecontractOrderItemProperties {
31
31
  Quantity?: number,
32
32
  UnitPrice?: string,
33
33
  NetworkServiceId?: string,
34
+ Taxable?: string,
35
+ TaxIncluded?: string,
36
+ TaxRate?: number,
37
+ TotalPrice?: string,
34
38
  }
35
39
  export class CreateRecontractOrderItemDto extends OdinRecordCreateDto<CreateRecontractOrderItemProperties> {
36
40
  public readonly actionName: string = 'CreateRecontractOrderItem';
@@ -20,14 +20,6 @@ export enum BillingAdjustmentEntityTypes {
20
20
  DEFAULT = 'DEFAULT',
21
21
  }
22
22
 
23
- export enum BillingAdjustmentDiscountType {
24
- AMOUNT = 'AMOUNT',
25
- PERCENT = 'PERCENT',
26
- }
27
- export enum BillingAdjustmentProrationType {
28
- CHARGE = 'CHARGE',
29
- CREDIT = 'CREDIT',
30
- }
31
23
  export enum BillingAdjustmentReason {
32
24
  BILLING_DAY_ADJUSMENT_LEGACY = 'BILLING_DAY_ADJUSTMENT',
33
25
  BILLING_DATE_CHANGE = 'BILLING_DATE_CHANGE',
@@ -43,43 +35,51 @@ export enum BillingAdjustmentReason {
43
35
  SALES_MISSELLING_ADJUSTMENT = 'SALES_MISSELLING_ADJUSTMENT',
44
36
  OUTAGE_COMPENSATION = 'OUTAGE_COMPENSATION',
45
37
  }
38
+ export enum BillingAdjustmentDiscountType {
39
+ AMOUNT = 'AMOUNT',
40
+ PERCENT = 'PERCENT',
41
+ }
42
+ export enum BillingAdjustmentProrationType {
43
+ CHARGE = 'CHARGE',
44
+ CREDIT = 'CREDIT',
45
+ }
46
46
 
47
47
 
48
48
  export enum BillingAdjustmentPropertyKeys {
49
- Description = 'Description',
49
+ FreePeriodLength = 'FreePeriodLength',
50
+ Reason = 'Reason',
50
51
  DiscountLength = 'DiscountLength',
51
52
  DiscountType = 'DiscountType',
52
53
  DiscountValue = 'DiscountValue',
53
- FreePeriodLength = 'FreePeriodLength',
54
- ProrationBillableDays = 'ProrationBillableDays',
55
54
  ProrationType = 'ProrationType',
56
- Reason = 'Reason',
57
- Source = 'Source',
55
+ ProrationBillableDays = 'ProrationBillableDays',
58
56
  Title = 'Title',
57
+ Description = 'Description',
58
+ Source = 'Source',
59
59
  }
60
60
 
61
61
 
62
62
  export interface BillingAdjustmentProperties {
63
- //Describe why this billing adjustment being applied
64
- Description: string
63
+ //The number of future invoices that should be free of charge
64
+ FreePeriodLength: number
65
+ //the billing adjustment reason
66
+ Reason: BillingAdjustmentReason
65
67
  //the length of the discount
66
68
  DiscountLength: number
67
69
  //the type of discount
68
70
  DiscountType: BillingAdjustmentDiscountType
69
71
  //the value of the discount to be applied
70
72
  DiscountValue: number
71
- //The number of future invoices that should be free of charge
72
- FreePeriodLength: number
73
- //The number of days being prorated
74
- ProrationBillableDays: number
75
73
  //proration type charge or credit
76
74
  ProrationType: BillingAdjustmentProrationType
77
- //the billing adjustment reason
78
- Reason: BillingAdjustmentReason
79
- //Source of payment date update
80
- Source: string
75
+ //The number of days being prorated
76
+ ProrationBillableDays: number
81
77
  //Billing Adjustment Title
82
78
  Title: string
79
+ //Describe why this billing adjustment being applied
80
+ Description: string
81
+ //Source of payment date update
82
+ Source: string
83
83
  }
84
84
 
85
85