@onereach/billing-shared 31.9.2 → 31.9.3-beta.13183.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.
@@ -5,5 +5,6 @@ var CustomerAccountAction;
5
5
  (function (CustomerAccountAction) {
6
6
  CustomerAccountAction["SUSPEND"] = "suspend";
7
7
  CustomerAccountAction["RESUME"] = "resume";
8
+ CustomerAccountAction["DEACTIVATE"] = "deactivate";
8
9
  })(CustomerAccountAction || (exports.CustomerAccountAction = CustomerAccountAction = {}));
9
10
  //# sourceMappingURL=customer-account-action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;AACnB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
1
+ {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
@@ -2,5 +2,6 @@ export var CustomerAccountAction;
2
2
  (function (CustomerAccountAction) {
3
3
  CustomerAccountAction["SUSPEND"] = "suspend";
4
4
  CustomerAccountAction["RESUME"] = "resume";
5
+ CustomerAccountAction["DEACTIVATE"] = "deactivate";
5
6
  })(CustomerAccountAction || (CustomerAccountAction = {}));
6
7
  //# sourceMappingURL=customer-account-action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;AACnB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC"}
1
+ {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
@@ -1,5 +1,6 @@
1
1
  export declare enum CustomerAccountAction {
2
2
  SUSPEND = "suspend",
3
- RESUME = "resume"
3
+ RESUME = "resume",
4
+ DEACTIVATE = "deactivate"
4
5
  }
5
6
  //# sourceMappingURL=customer-account-action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.d.ts","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"customer-account-action.d.ts","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC1B"}
@@ -5,4 +5,14 @@ export interface CustomerAccountActionQueuePayload {
5
5
  environmentId: string;
6
6
  jobId: string;
7
7
  }
8
+ export interface AccountDeactivationFlowResult {
9
+ flowId: string;
10
+ botId?: string;
11
+ label?: string;
12
+ deactivated: boolean;
13
+ errorMessage?: string;
14
+ }
15
+ export interface AccountDeactivationJobResult {
16
+ flows: AccountDeactivationFlowResult[];
17
+ }
8
18
  //# sourceMappingURL=customer-account-actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-actions.d.ts","sourceRoot":"","sources":["../../../src/types/customer-account-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"customer-account-actions.d.ts","sourceRoot":"","sources":["../../../src/types/customer-account-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,6BAA6B,EAAE,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "31.9.2",
3
+ "version": "31.9.3-beta.13183.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,4 +1,5 @@
1
1
  export enum CustomerAccountAction {
2
2
  SUSPEND = 'suspend',
3
3
  RESUME = 'resume',
4
+ DEACTIVATE = 'deactivate',
4
5
  }
@@ -6,3 +6,15 @@ export interface CustomerAccountActionQueuePayload {
6
6
  environmentId: string;
7
7
  jobId: string;
8
8
  }
9
+
10
+ export interface AccountDeactivationFlowResult {
11
+ flowId: string;
12
+ botId?: string;
13
+ label?: string;
14
+ deactivated: boolean;
15
+ errorMessage?: string;
16
+ }
17
+
18
+ export interface AccountDeactivationJobResult {
19
+ flows: AccountDeactivationFlowResult[];
20
+ }