@pax2pay/model-banking 0.1.647 → 0.1.648

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.
Files changed (71) hide show
  1. package/Client/Accounts/index.ts +0 -3
  2. package/Client/Organizations/index.ts +0 -6
  3. package/Client/index.ts +0 -8
  4. package/dist/cjs/Client/Accounts/index.d.ts +0 -2
  5. package/dist/cjs/Client/Accounts/index.js +0 -3
  6. package/dist/cjs/Client/Accounts/index.js.map +1 -1
  7. package/dist/cjs/Client/Organizations/index.d.ts +0 -4
  8. package/dist/cjs/Client/Organizations/index.js +0 -6
  9. package/dist/cjs/Client/Organizations/index.js.map +1 -1
  10. package/dist/cjs/Client/index.d.ts +0 -5
  11. package/dist/cjs/Client/index.js +0 -8
  12. package/dist/cjs/Client/index.js.map +1 -1
  13. package/dist/cjs/pax2pay.d.ts +0 -1
  14. package/dist/cjs/pax2pay.js +1 -3
  15. package/dist/cjs/pax2pay.js.map +1 -1
  16. package/dist/mjs/Client/Accounts/index.d.ts +0 -2
  17. package/dist/mjs/Client/Accounts/index.js +0 -3
  18. package/dist/mjs/Client/Accounts/index.js.map +1 -1
  19. package/dist/mjs/Client/Organizations/index.d.ts +0 -4
  20. package/dist/mjs/Client/Organizations/index.js +0 -6
  21. package/dist/mjs/Client/Organizations/index.js.map +1 -1
  22. package/dist/mjs/Client/index.d.ts +0 -5
  23. package/dist/mjs/Client/index.js +0 -8
  24. package/dist/mjs/Client/index.js.map +1 -1
  25. package/dist/mjs/pax2pay.d.ts +0 -1
  26. package/dist/mjs/pax2pay.js +0 -1
  27. package/dist/mjs/pax2pay.js.map +1 -1
  28. package/package.json +1 -1
  29. package/pax2pay.ts +0 -1
  30. package/Client/Accounts/Rules.ts +0 -16
  31. package/Client/Labels.ts +0 -22
  32. package/Client/Organizations/Groups.ts +0 -12
  33. package/Client/Organizations/Rules.ts +0 -22
  34. package/Client/Rules.ts +0 -19
  35. package/Label.ts +0 -15
  36. package/dist/cjs/Client/Accounts/Rules.d.ts +0 -10
  37. package/dist/cjs/Client/Accounts/Rules.js +0 -20
  38. package/dist/cjs/Client/Accounts/Rules.js.map +0 -1
  39. package/dist/cjs/Client/Labels.d.ts +0 -12
  40. package/dist/cjs/Client/Labels.js +0 -25
  41. package/dist/cjs/Client/Labels.js.map +0 -1
  42. package/dist/cjs/Client/Organizations/Groups.d.ts +0 -8
  43. package/dist/cjs/Client/Organizations/Groups.js +0 -16
  44. package/dist/cjs/Client/Organizations/Groups.js.map +0 -1
  45. package/dist/cjs/Client/Organizations/Rules.d.ts +0 -10
  46. package/dist/cjs/Client/Organizations/Rules.js +0 -26
  47. package/dist/cjs/Client/Organizations/Rules.js.map +0 -1
  48. package/dist/cjs/Client/Rules.d.ts +0 -11
  49. package/dist/cjs/Client/Rules.js +0 -23
  50. package/dist/cjs/Client/Rules.js.map +0 -1
  51. package/dist/cjs/Label.d.ts +0 -14
  52. package/dist/cjs/Label.js +0 -14
  53. package/dist/cjs/Label.js.map +0 -1
  54. package/dist/mjs/Client/Accounts/Rules.d.ts +0 -10
  55. package/dist/mjs/Client/Accounts/Rules.js +0 -16
  56. package/dist/mjs/Client/Accounts/Rules.js.map +0 -1
  57. package/dist/mjs/Client/Labels.d.ts +0 -12
  58. package/dist/mjs/Client/Labels.js +0 -21
  59. package/dist/mjs/Client/Labels.js.map +0 -1
  60. package/dist/mjs/Client/Organizations/Groups.d.ts +0 -8
  61. package/dist/mjs/Client/Organizations/Groups.js +0 -12
  62. package/dist/mjs/Client/Organizations/Groups.js.map +0 -1
  63. package/dist/mjs/Client/Organizations/Rules.d.ts +0 -10
  64. package/dist/mjs/Client/Organizations/Rules.js +0 -22
  65. package/dist/mjs/Client/Organizations/Rules.js.map +0 -1
  66. package/dist/mjs/Client/Rules.d.ts +0 -11
  67. package/dist/mjs/Client/Rules.js +0 -19
  68. package/dist/mjs/Client/Rules.js.map +0 -1
  69. package/dist/mjs/Label.d.ts +0 -14
  70. package/dist/mjs/Label.js +0 -11
  71. package/dist/mjs/Label.js.map +0 -1
@@ -4,19 +4,16 @@ import { Account } from "../../Account"
4
4
  import { Charge } from "./Charge"
5
5
  import { Details } from "./Details"
6
6
  import { History } from "./History"
7
- import { Rules } from "./Rules"
8
7
  import { Status } from "./Status"
9
8
 
10
9
  export class Accounts {
11
10
  readonly charge: Charge
12
11
  readonly details: Details
13
- readonly rules: Rules
14
12
  readonly status: Status
15
13
  readonly history: History
16
14
  constructor(private readonly client: http.Client) {
17
15
  this.charge = new Charge(this.client)
18
16
  this.details = new Details(this.client)
19
- this.rules = new Rules(this.client)
20
17
  this.status = new Status(this.client)
21
18
  this.history = new History(this.client)
22
19
  }
@@ -2,19 +2,13 @@ import { gracely } from "gracely"
2
2
  import { http } from "cloudly-http"
3
3
  import { Organization } from "../../Organization"
4
4
  import { Fx } from "./Fx"
5
- import { Groups } from "./Groups"
6
5
  import { Risk } from "./Risk"
7
- import { Rules } from "./Rules"
8
6
 
9
7
  export class Organizations {
10
8
  readonly risk: Risk
11
- readonly Rules: Rules
12
- readonly groups: Groups
13
9
  readonly fx: Fx
14
10
  constructor(private readonly client: http.Client) {
15
11
  this.risk = new Risk(this.client)
16
- this.Rules = new Rules(this.client)
17
- this.groups = new Groups(this.client)
18
12
  this.fx = new Fx(this.client)
19
13
  }
20
14
 
package/Client/index.ts CHANGED
@@ -3,7 +3,6 @@ import { http } from "cloudly-http"
3
3
  import { Accounts } from "./Accounts"
4
4
  import { Audit } from "./Audit"
5
5
  import { Cards } from "./Cards"
6
- import { Labels } from "./Labels"
7
6
  import { Logs } from "./Logs"
8
7
  import { MCCPolicies } from "./MCCPolicies"
9
8
  import { Me } from "./Me"
@@ -11,7 +10,6 @@ import { Operations } from "./Operations"
11
10
  import { Organizations } from "./Organizations"
12
11
  import { Processor } from "./Processor"
13
12
  import { Reports } from "./Reports"
14
- import { Rules } from "./Rules"
15
13
  import { Settlements } from "./Settlements"
16
14
  import { Transactions as ClientTransactions } from "./Transactions"
17
15
  import { Treasury } from "./Treasury"
@@ -23,8 +21,6 @@ export class Client {
23
21
  readonly accounts: Accounts
24
22
  readonly audits: Audit
25
23
  readonly cards: Cards
26
- readonly flags: Labels
27
- readonly groups: Labels
28
24
  readonly logs: Logs
29
25
  readonly mccPolicies: MCCPolicies
30
26
  readonly me: Me
@@ -32,7 +28,6 @@ export class Client {
32
28
  readonly organizations: Organizations
33
29
  readonly processors: Processor
34
30
  readonly reports: Reports
35
- readonly rules: Rules
36
31
  readonly settlements: Settlements
37
32
  readonly transactions: ClientTransactions
38
33
  readonly treasury: Treasury
@@ -55,8 +50,6 @@ export class Client {
55
50
  this.accounts = new Accounts(this.client)
56
51
  this.audits = new Audit(this.client)
57
52
  this.cards = new Cards(this.client)
58
- this.flags = new Labels(this.client, "flag")
59
- this.groups = new Labels(this.client, "group")
60
53
  this.logs = new Logs(this.client)
61
54
  this.mccPolicies = new MCCPolicies(this.client)
62
55
  this.me = new Me(this.client)
@@ -64,7 +57,6 @@ export class Client {
64
57
  this.organizations = new Organizations(this.client)
65
58
  this.processors = new Processor(this.client)
66
59
  this.reports = new Reports(this.client)
67
- this.rules = new Rules(this.client)
68
60
  this.settlements = new Settlements(this.client)
69
61
  this.transactions = new ClientTransactions(this.client)
70
62
  this.treasury = new Treasury(this.client)
@@ -4,13 +4,11 @@ import { Account } from "../../Account";
4
4
  import { Charge } from "./Charge";
5
5
  import { Details } from "./Details";
6
6
  import { History } from "./History";
7
- import { Rules } from "./Rules";
8
7
  import { Status } from "./Status";
9
8
  export declare class Accounts {
10
9
  private readonly client;
11
10
  readonly charge: Charge;
12
11
  readonly details: Details;
13
- readonly rules: Rules;
14
12
  readonly status: Status;
15
13
  readonly history: History;
16
14
  constructor(client: http.Client);
@@ -4,20 +4,17 @@ exports.Accounts = void 0;
4
4
  const Charge_1 = require("./Charge");
5
5
  const Details_1 = require("./Details");
6
6
  const History_1 = require("./History");
7
- const Rules_1 = require("./Rules");
8
7
  const Status_1 = require("./Status");
9
8
  class Accounts {
10
9
  client;
11
10
  charge;
12
11
  details;
13
- rules;
14
12
  status;
15
13
  history;
16
14
  constructor(client) {
17
15
  this.client = client;
18
16
  this.charge = new Charge_1.Charge(this.client);
19
17
  this.details = new Details_1.Details(this.client);
20
- this.rules = new Rules_1.Rules(this.client);
21
18
  this.status = new Status_1.Status(this.client);
22
19
  this.history = new History_1.History(this.client);
23
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,uCAAmC;AACnC,uCAAmC;AACnC,mCAA+B;AAC/B,qCAAiC;AAEjC,MAAa,QAAQ;IAMS;IALpB,MAAM,CAAQ;IACd,OAAO,CAAS;IAChB,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,OAAO,CAAS;IACzB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAU,UAAU,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,YAAY,OAAO,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAIV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD;AA3BD,4BA2BC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,uCAAmC;AACnC,uCAAmC;AACnC,qCAAiC;AAEjC,MAAa,QAAQ;IAKS;IAJpB,MAAM,CAAQ;IACd,OAAO,CAAS;IAChB,MAAM,CAAQ;IACd,OAAO,CAAS;IACzB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAU,UAAU,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,YAAY,OAAO,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAIV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD;AAzBD,4BAyBC"}
@@ -2,14 +2,10 @@ import { gracely } from "gracely";
2
2
  import { http } from "cloudly-http";
3
3
  import { Organization } from "../../Organization";
4
4
  import { Fx } from "./Fx";
5
- import { Groups } from "./Groups";
6
5
  import { Risk } from "./Risk";
7
- import { Rules } from "./Rules";
8
6
  export declare class Organizations {
9
7
  private readonly client;
10
8
  readonly risk: Risk;
11
- readonly Rules: Rules;
12
- readonly groups: Groups;
13
9
  readonly fx: Fx;
14
10
  constructor(client: http.Client);
15
11
  list(options?: {
@@ -2,20 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Organizations = void 0;
4
4
  const Fx_1 = require("./Fx");
5
- const Groups_1 = require("./Groups");
6
5
  const Risk_1 = require("./Risk");
7
- const Rules_1 = require("./Rules");
8
6
  class Organizations {
9
7
  client;
10
8
  risk;
11
- Rules;
12
- groups;
13
9
  fx;
14
10
  constructor(client) {
15
11
  this.client = client;
16
12
  this.risk = new Risk_1.Risk(this.client);
17
- this.Rules = new Rules_1.Rules(this.client);
18
- this.groups = new Groups_1.Groups(this.client);
19
13
  this.fx = new Fx_1.Fx(this.client);
20
14
  }
21
15
  async list(options) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Organizations/index.ts"],"names":[],"mappings":";;;AAGA,6BAAyB;AACzB,qCAAiC;AACjC,iCAA6B;AAC7B,mCAA+B;AAE/B,MAAa,aAAa;IAKI;IAJpB,IAAI,CAAM;IACV,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,EAAE,CAAI;IACf,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,WAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACjC,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,EAAE,GAAG,IAAI,OAAE,CAAC,IAAI,CAAC,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C,CAAA;IACrE,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,UAAmC;QAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,iBAAiB,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;IAC1E,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,YAAoB;QACpC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAe,iBAAiB,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAA;IAC3F,CAAC;CACD;AAvBD,sCAuBC"}
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
2
2
  import { Accounts } from "./Accounts";
3
3
  import { Audit } from "./Audit";
4
4
  import { Cards } from "./Cards";
5
- import { Labels } from "./Labels";
6
5
  import { Logs } from "./Logs";
7
6
  import { MCCPolicies } from "./MCCPolicies";
8
7
  import { Me } from "./Me";
@@ -10,7 +9,6 @@ import { Operations } from "./Operations";
10
9
  import { Organizations } from "./Organizations";
11
10
  import { Processor } from "./Processor";
12
11
  import { Reports } from "./Reports";
13
- import { Rules } from "./Rules";
14
12
  import { Settlements } from "./Settlements";
15
13
  import { Transactions as ClientTransactions } from "./Transactions";
16
14
  import { Treasury } from "./Treasury";
@@ -23,8 +21,6 @@ export declare class Client {
23
21
  readonly accounts: Accounts;
24
22
  readonly audits: Audit;
25
23
  readonly cards: Cards;
26
- readonly flags: Labels;
27
- readonly groups: Labels;
28
24
  readonly logs: Logs;
29
25
  readonly mccPolicies: MCCPolicies;
30
26
  readonly me: Me;
@@ -32,7 +28,6 @@ export declare class Client {
32
28
  readonly organizations: Organizations;
33
29
  readonly processors: Processor;
34
30
  readonly reports: Reports;
35
- readonly rules: Rules;
36
31
  readonly settlements: Settlements;
37
32
  readonly transactions: ClientTransactions;
38
33
  readonly treasury: Treasury;
@@ -5,7 +5,6 @@ const cloudly_http_1 = require("cloudly-http");
5
5
  const Accounts_1 = require("./Accounts");
6
6
  const Audit_1 = require("./Audit");
7
7
  const Cards_1 = require("./Cards");
8
- const Labels_1 = require("./Labels");
9
8
  const Logs_1 = require("./Logs");
10
9
  const MCCPolicies_1 = require("./MCCPolicies");
11
10
  const Me_1 = require("./Me");
@@ -13,7 +12,6 @@ const Operations_1 = require("./Operations");
13
12
  const Organizations_1 = require("./Organizations");
14
13
  const Processor_1 = require("./Processor");
15
14
  const Reports_1 = require("./Reports");
16
- const Rules_1 = require("./Rules");
17
15
  const Settlements_1 = require("./Settlements");
18
16
  const Transactions_1 = require("./Transactions");
19
17
  const Treasury_1 = require("./Treasury");
@@ -26,8 +24,6 @@ class Client {
26
24
  accounts;
27
25
  audits;
28
26
  cards;
29
- flags;
30
- groups;
31
27
  logs;
32
28
  mccPolicies;
33
29
  me;
@@ -35,7 +31,6 @@ class Client {
35
31
  organizations;
36
32
  processors;
37
33
  reports;
38
- rules;
39
34
  settlements;
40
35
  transactions;
41
36
  treasury;
@@ -59,8 +54,6 @@ class Client {
59
54
  this.accounts = new Accounts_1.Accounts(this.client);
60
55
  this.audits = new Audit_1.Audit(this.client);
61
56
  this.cards = new Cards_1.Cards(this.client);
62
- this.flags = new Labels_1.Labels(this.client, "flag");
63
- this.groups = new Labels_1.Labels(this.client, "group");
64
57
  this.logs = new Logs_1.Logs(this.client);
65
58
  this.mccPolicies = new MCCPolicies_1.MCCPolicies(this.client);
66
59
  this.me = new Me_1.Me(this.client);
@@ -68,7 +61,6 @@ class Client {
68
61
  this.organizations = new Organizations_1.Organizations(this.client);
69
62
  this.processors = new Processor_1.Processor(this.client);
70
63
  this.reports = new Reports_1.Reports(this.client);
71
- this.rules = new Rules_1.Rules(this.client);
72
64
  this.settlements = new Settlements_1.Settlements(this.client);
73
65
  this.transactions = new Transactions_1.Transactions(this.client);
74
66
  this.treasury = new Treasury_1.Treasury(this.client);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":";;;AACA,+CAAmC;AACnC,yCAAqC;AACrC,mC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,UAAU,CAAC,CAAA;QAC7C,OAAO,MAAM,CAAA;IACd,CAAC;CACD;AA3ED,wBA2EC;AACD,WAAiB,MAAM;IACR,mBAAY,GAAG,2BAAkB,CAAA;AAChD,CAAC,EAFgB,MAAM,sBAAN,MAAM,QAEtB"}
@@ -12,7 +12,6 @@ export { Client } from "./Client";
12
12
  export { fx } from "./fx";
13
13
  export { Holidays } from "./Holidays";
14
14
  export { Identifier } from "./Identifier";
15
- export { Label } from "./Label";
16
15
  export { Log } from "./Log";
17
16
  export { MCCPolicy } from "./MCCPolicy";
18
17
  export { Merchant } from "./Merchant";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zodHelper = exports.Quarter = exports.Warning = exports.User = exports.Treasury = exports.Transaction = exports.Supplier = exports.Settlement = exports.Rule = exports.reports = exports.Report = exports.Realm = exports.Rail = exports.Organization = exports.Operation = exports.Merchant = exports.MCCPolicy = exports.Log = exports.Label = exports.Identifier = exports.Holidays = exports.fx = exports.Client = exports.Card = exports.Balances = exports.Balance = exports.Backup = exports.Authorization = exports.Audit = exports.Amounts = exports.Amount = exports.Acquirer = exports.Account = void 0;
3
+ exports.zodHelper = exports.Quarter = exports.Warning = exports.User = exports.Treasury = exports.Transaction = exports.Supplier = exports.Settlement = exports.Rule = exports.reports = exports.Report = exports.Realm = exports.Rail = exports.Organization = exports.Operation = exports.Merchant = exports.MCCPolicy = exports.Log = exports.Identifier = exports.Holidays = exports.fx = exports.Client = exports.Card = exports.Balances = exports.Balance = exports.Backup = exports.Authorization = exports.Audit = exports.Amounts = exports.Amount = exports.Acquirer = exports.Account = void 0;
4
4
  var Account_1 = require("./Account");
5
5
  Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Account_1.Account; } });
6
6
  var Acquirer_1 = require("./Acquirer");
@@ -29,8 +29,6 @@ var Holidays_1 = require("./Holidays");
29
29
  Object.defineProperty(exports, "Holidays", { enumerable: true, get: function () { return Holidays_1.Holidays; } });
30
30
  var Identifier_1 = require("./Identifier");
31
31
  Object.defineProperty(exports, "Identifier", { enumerable: true, get: function () { return Identifier_1.Identifier; } });
32
- var Label_1 = require("./Label");
33
- Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return Label_1.Label; } });
34
32
  var Log_1 = require("./Log");
35
33
  Object.defineProperty(exports, "Log", { enumerable: true, get: function () { return Log_1.Log; } });
36
34
  var MCCPolicy_1 = require("./MCCPolicy");
@@ -1 +1 @@
1
- {"version":3,"file":"pax2pay.js","sourceRoot":"","sources":["../../pax2pay.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,iCAA+B;AAAtB,8FAAA,KAAK,OAAA;AACd,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,2BAAyB;AAAhB,wFAAA,EAAE,OAAA;AACX,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,iCAA+B;AAAtB,8FAAA,KAAK,OAAA;AACd,6BAA2B;AAAlB,0FAAA,GAAG,OAAA;AACZ,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,+CAA6C;AAApC,4GAAA,YAAY,OAAA;AACrB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,iC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AAQ,OAAA;AACjB,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,+CAA6C;AAApC,4GAAA,YAAY,OAAA;AACrB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,iCAA+B;AAAtB,8FAAA,KAAK,OAAA;AACd,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,6BAAiC;AAAxB,gGAAA,SAAS,OAAA"}
@@ -4,13 +4,11 @@ import { Account } from "../../Account";
4
4
  import { Charge } from "./Charge";
5
5
  import { Details } from "./Details";
6
6
  import { History } from "./History";
7
- import { Rules } from "./Rules";
8
7
  import { Status } from "./Status";
9
8
  export declare class Accounts {
10
9
  private readonly client;
11
10
  readonly charge: Charge;
12
11
  readonly details: Details;
13
- readonly rules: Rules;
14
12
  readonly status: Status;
15
13
  readonly history: History;
16
14
  constructor(client: http.Client);
@@ -1,20 +1,17 @@
1
1
  import { Charge } from "./Charge";
2
2
  import { Details } from "./Details";
3
3
  import { History } from "./History";
4
- import { Rules } from "./Rules";
5
4
  import { Status } from "./Status";
6
5
  export class Accounts {
7
6
  client;
8
7
  charge;
9
8
  details;
10
- rules;
11
9
  status;
12
10
  history;
13
11
  constructor(client) {
14
12
  this.client = client;
15
13
  this.charge = new Charge(this.client);
16
14
  this.details = new Details(this.client);
17
- this.rules = new Rules(this.client);
18
15
  this.status = new Status(this.client);
19
16
  this.history = new History(this.client);
20
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,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,MAAM,OAAO,QAAQ;IAKS;IAJpB,MAAM,CAAQ;IACd,OAAO,CAAS;IAChB,MAAM,CAAQ;IACd,OAAO,CAAS;IACzB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAU,UAAU,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,YAAY,OAAO,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAIV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD"}
@@ -2,14 +2,10 @@ import { gracely } from "gracely";
2
2
  import { http } from "cloudly-http";
3
3
  import { Organization } from "../../Organization";
4
4
  import { Fx } from "./Fx";
5
- import { Groups } from "./Groups";
6
5
  import { Risk } from "./Risk";
7
- import { Rules } from "./Rules";
8
6
  export declare class Organizations {
9
7
  private readonly client;
10
8
  readonly risk: Risk;
11
- readonly Rules: Rules;
12
- readonly groups: Groups;
13
9
  readonly fx: Fx;
14
10
  constructor(client: http.Client);
15
11
  list(options?: {
@@ -1,18 +1,12 @@
1
1
  import { Fx } from "./Fx";
2
- import { Groups } from "./Groups";
3
2
  import { Risk } from "./Risk";
4
- import { Rules } from "./Rules";
5
3
  export class Organizations {
6
4
  client;
7
5
  risk;
8
- Rules;
9
- groups;
10
6
  fx;
11
7
  constructor(client) {
12
8
  this.client = client;
13
9
  this.risk = new Risk(this.client);
14
- this.Rules = new Rules(this.client);
15
- this.groups = new Groups(this.client);
16
10
  this.fx = new Fx(this.client);
17
11
  }
18
12
  async list(options) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Organizations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,OAAO,aAAa;IAKI;IAJpB,IAAI,CAAM;IACV,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,EAAE,CAAI;IACf,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACjC,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,IA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e,EAAE,OAAO,CAAC,CAAA;IACnG,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAAoC;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAe,eAAe,EAAE,YAAY,CAAC,CAAA;IACrE,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,UAAmC;QAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,iBAAiB,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;IAC1E,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,YAAoB;QACpC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAe,iBAAiB,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAA;IAC3F,CAAC;CACD"}
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
2
2
  import { Accounts } from "./Accounts";
3
3
  import { Audit } from "./Audit";
4
4
  import { Cards } from "./Cards";
5
- import { Labels } from "./Labels";
6
5
  import { Logs } from "./Logs";
7
6
  import { MCCPolicies } from "./MCCPolicies";
8
7
  import { Me } from "./Me";
@@ -10,7 +9,6 @@ import { Operations } from "./Operations";
10
9
  import { Organizations } from "./Organizations";
11
10
  import { Processor } from "./Processor";
12
11
  import { Reports } from "./Reports";
13
- import { Rules } from "./Rules";
14
12
  import { Settlements } from "./Settlements";
15
13
  import { Transactions as ClientTransactions } from "./Transactions";
16
14
  import { Treasury } from "./Treasury";
@@ -23,8 +21,6 @@ export declare class Client {
23
21
  readonly accounts: Accounts;
24
22
  readonly audits: Audit;
25
23
  readonly cards: Cards;
26
- readonly flags: Labels;
27
- readonly groups: Labels;
28
24
  readonly logs: Logs;
29
25
  readonly mccPolicies: MCCPolicies;
30
26
  readonly me: Me;
@@ -32,7 +28,6 @@ export declare class Client {
32
28
  readonly organizations: Organizations;
33
29
  readonly processors: Processor;
34
30
  readonly reports: Reports;
35
- readonly rules: Rules;
36
31
  readonly settlements: Settlements;
37
32
  readonly transactions: ClientTransactions;
38
33
  readonly treasury: Treasury;
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
2
2
  import { Accounts } from "./Accounts";
3
3
  import { Audit } from "./Audit";
4
4
  import { Cards } from "./Cards";
5
- import { Labels } from "./Labels";
6
5
  import { Logs } from "./Logs";
7
6
  import { MCCPolicies } from "./MCCPolicies";
8
7
  import { Me } from "./Me";
@@ -10,7 +9,6 @@ import { Operations } from "./Operations";
10
9
  import { Organizations } from "./Organizations";
11
10
  import { Processor } from "./Processor";
12
11
  import { Reports } from "./Reports";
13
- import { Rules } from "./Rules";
14
12
  import { Settlements } from "./Settlements";
15
13
  import { Transactions as ClientTransactions } from "./Transactions";
16
14
  import { Treasury } from "./Treasury";
@@ -23,8 +21,6 @@ export class Client {
23
21
  accounts;
24
22
  audits;
25
23
  cards;
26
- flags;
27
- groups;
28
24
  logs;
29
25
  mccPolicies;
30
26
  me;
@@ -32,7 +28,6 @@ export class Client {
32
28
  organizations;
33
29
  processors;
34
30
  reports;
35
- rules;
36
31
  settlements;
37
32
  transactions;
38
33
  treasury;
@@ -56,8 +51,6 @@ export class Client {
56
51
  this.accounts = new Accounts(this.client);
57
52
  this.audits = new Audit(this.client);
58
53
  this.cards = new Cards(this.client);
59
- this.flags = new Labels(this.client, "flag");
60
- this.groups = new Labels(this.client, "group");
61
54
  this.logs = new Logs(this.client);
62
55
  this.mccPolicies = new MCCPolicies(this.client);
63
56
  this.me = new Me(this.client);
@@ -65,7 +58,6 @@ export class Client {
65
58
  this.organizations = new Organizations(this.client);
66
59
  this.processors = new Processor(this.client);
67
60
  this.reports = new Reports(this.client);
68
- this.rules = new Rules(this.client);
69
61
  this.settlements = new Settlements(this.client);
70
62
  this.transactions = new ClientTransactions(this.client);
71
63
  this.treasury = new Treasury(this.client);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,O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AG,kBAAkB,CAAA;AAChD,CAAC,EAFgB,MAAM,KAAN,MAAM,QAEtB"}
@@ -12,7 +12,6 @@ export { Client } from "./Client";
12
12
  export { fx } from "./fx";
13
13
  export { Holidays } from "./Holidays";
14
14
  export { Identifier } from "./Identifier";
15
- export { Label } from "./Label";
16
15
  export { Log } from "./Log";
17
16
  export { MCCPolicy } from "./MCCPolicy";
18
17
  export { Merchant } from "./Merchant";
@@ -12,7 +12,6 @@ export { Client } from "./Client";
12
12
  export { fx } from "./fx";
13
13
  export { Holidays } from "./Holidays";
14
14
  export { Identifier } from "./Identifier";
15
- export { Label } from "./Label";
16
15
  export { Log } from "./Log";
17
16
  export { MCCPolicy } from "./MCCPolicy";
18
17
  export { Merchant } from "./Merchant";
@@ -1 +1 @@
1
- {"version":3,"file":"pax2pay.js","sourceRoot":"","sources":["../../pax2pay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAA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AAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.647",
3
+ "version": "0.1.648",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",
package/pax2pay.ts CHANGED
@@ -12,7 +12,6 @@ export { Client } from "./Client"
12
12
  export { fx } from "./fx"
13
13
  export { Holidays } from "./Holidays"
14
14
  export { Identifier } from "./Identifier"
15
- export { Label } from "./Label"
16
15
  export { Log } from "./Log"
17
16
  export { MCCPolicy } from "./MCCPolicy"
18
17
  export { Merchant } from "./Merchant"
@@ -1,16 +0,0 @@
1
- import { gracely } from "gracely"
2
- import { http } from "cloudly-http"
3
- import { Rule } from "../../Rule"
4
-
5
- export class Rules {
6
- constructor(private readonly client: http.Client) {}
7
- async create(account: string, rule: Rule): Promise<Rule | gracely.Error> {
8
- return this.client.post<Rule>(`/account/${account}/rule`, rule)
9
- }
10
- async replace(account: string, rule: Rule): Promise<Rule | gracely.Error> {
11
- return this.client.put<Rule>(`/account/${account}/rule/${rule.code}`, rule)
12
- }
13
- async remove(account: string, code: string): Promise<Rule | gracely.Error> {
14
- return this.client.delete<Rule>(`/account/${account}/rule/${code}`)
15
- }
16
- }
package/Client/Labels.ts DELETED
@@ -1,22 +0,0 @@
1
- import { gracely } from "gracely"
2
- import { http } from "cloudly-http"
3
- import { Label } from "../Label"
4
-
5
- export class Labels {
6
- constructor(
7
- private readonly client: http.Client,
8
- readonly type: Label.Type
9
- ) {}
10
- async create(label: Label): Promise<Label | gracely.Error> {
11
- return this.client.post<Label>(`/label/${this.type}`, label)
12
- }
13
- async replace(label: Label): Promise<Label | gracely.Error> {
14
- return this.client.put<Label>(`/label/${this.type}`, label)
15
- }
16
- async list(): Promise<Label[] | gracely.Error> {
17
- return this.client.get<Label[]>(`/label/${this.type}`)
18
- }
19
- async remove(name: string): Promise<Label | gracely.Error> {
20
- return this.client.delete(`/label/${this.type}/${name}`)
21
- }
22
- }
@@ -1,12 +0,0 @@
1
- import { gracely } from "gracely"
2
- import { http } from "cloudly-http"
3
- import { Organization } from "../../Organization"
4
-
5
- export class Groups {
6
- constructor(private readonly client: http.Client) {}
7
- async replace(organization: string, groups: string[]): Promise<Organization | gracely.Error> {
8
- return this.client.put<Organization>(`/organization/group`, groups, {
9
- organization,
10
- })
11
- }
12
- }
@@ -1,22 +0,0 @@
1
- import { gracely } from "gracely"
2
- import { http } from "cloudly-http"
3
- import { Rule } from "../../Rule"
4
-
5
- export class Rules {
6
- constructor(private readonly client: http.Client) {}
7
- async create(organization: string, rule: Rule): Promise<Rule | gracely.Error> {
8
- return this.client.post<Rule>(`/organization/rule`, rule, {
9
- organization,
10
- })
11
- }
12
- async replace(organization: string, rule: Rule): Promise<Rule | gracely.Error> {
13
- return this.client.put<Rule>(`/organization/rule/${rule.code}`, rule, {
14
- organization,
15
- })
16
- }
17
- async remove(organization: string, code: string): Promise<Rule | gracely.Error> {
18
- return this.client.delete<Rule>(`/organization/rule/${code}`, {
19
- organization,
20
- })
21
- }
22
- }
package/Client/Rules.ts DELETED
@@ -1,19 +0,0 @@
1
- import { gracely } from "gracely"
2
- import { http } from "cloudly-http"
3
- import { Rule } from "../Rule"
4
-
5
- export class Rules {
6
- constructor(private readonly client: http.Client) {}
7
- async create(rule: Rule): Promise<Rule | gracely.Error> {
8
- return this.client.post<Rule>(`/rule`, rule)
9
- }
10
- async list(): Promise<Rule[] | gracely.Error> {
11
- return this.client.get<Rule[]>(`/rule`)
12
- }
13
- async replace(rule: Rule): Promise<Rule | gracely.Error> {
14
- return this.client.put<Rule>(`/rule/${rule.code}`, rule)
15
- }
16
- async remove(code: string): Promise<Rule | gracely.Error> {
17
- return this.client.delete<Rule>(`/rule/${code}`)
18
- }
19
- }
package/Label.ts DELETED
@@ -1,15 +0,0 @@
1
- import { isly } from "isly"
2
-
3
- export interface Label {
4
- name: string
5
- color: string
6
- description: string
7
- }
8
- export namespace Label {
9
- export const type = isly.object<Label>({ name: isly.string(), color: isly.string(), description: isly.string() })
10
- export type Type = (typeof Type.values)[number]
11
- export namespace Type {
12
- export const values = ["flag", "group"] as const
13
- export const type = isly.string(values)
14
- }
15
- }
@@ -1,10 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(account: string, rule: Rule): Promise<Rule | gracely.Error>;
8
- replace(account: string, rule: Rule): Promise<Rule | gracely.Error>;
9
- remove(account: string, code: string): Promise<Rule | gracely.Error>;
10
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Rules = void 0;
4
- class Rules {
5
- client;
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async create(account, rule) {
10
- return this.client.post(`/account/${account}/rule`, rule);
11
- }
12
- async replace(account, rule) {
13
- return this.client.put(`/account/${account}/rule/${rule.code}`, rule);
14
- }
15
- async remove(account, code) {
16
- return this.client.delete(`/account/${account}/rule/${code}`);
17
- }
18
- }
19
- exports.Rules = Rules;
20
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAU;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,YAAY,OAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAChE,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,IAAU;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,YAAY,OAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IAC5E,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAY;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,YAAY,OAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACpE,CAAC;CACD;AAXD,sBAWC"}
@@ -1,12 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Label } from "../Label";
4
- export declare class Labels {
5
- private readonly client;
6
- readonly type: Label.Type;
7
- constructor(client: http.Client, type: Label.Type);
8
- create(label: Label): Promise<Label | gracely.Error>;
9
- replace(label: Label): Promise<Label | gracely.Error>;
10
- list(): Promise<Label[] | gracely.Error>;
11
- remove(name: string): Promise<Label | gracely.Error>;
12
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Labels = void 0;
4
- class Labels {
5
- client;
6
- type;
7
- constructor(client, type) {
8
- this.client = client;
9
- this.type = type;
10
- }
11
- async create(label) {
12
- return this.client.post(`/label/${this.type}`, label);
13
- }
14
- async replace(label) {
15
- return this.client.put(`/label/${this.type}`, label);
16
- }
17
- async list() {
18
- return this.client.get(`/label/${this.type}`);
19
- }
20
- async remove(name) {
21
- return this.client.delete(`/label/${this.type}/${name}`);
22
- }
23
- }
24
- exports.Labels = Labels;
25
- //# sourceMappingURL=Labels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Labels.js","sourceRoot":"","sources":["../../../Client/Labels.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IAEA;IACR;IAFV,YACkB,MAAmB,EAC3B,IAAgB;QADR,WAAM,GAAN,MAAM,CAAa;QAC3B,SAAI,GAAJ,IAAI,CAAY;IACvB,CAAC;IACJ,KAAK,CAAC,MAAM,CAAC,KAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC7D,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,KAAY;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC,CAAA;IACzD,CAAC;CACD;AAjBD,wBAiBC"}
@@ -1,8 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Organization } from "../../Organization";
4
- export declare class Groups {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- replace(organization: string, groups: string[]): Promise<Organization | gracely.Error>;
8
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Groups = void 0;
4
- class Groups {
5
- client;
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async replace(organization, groups) {
10
- return this.client.put(`/organization/group`, groups, {
11
- organization,
12
- });
13
- }
14
- }
15
- exports.Groups = Groups;
16
- //# sourceMappingURL=Groups.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Groups.js","sourceRoot":"","sources":["../../../../Client/Organizations/Groups.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IACW;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,MAAgB;QACnD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAe,qBAAqB,EAAE,MAAM,EAAE;YACnE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD;AAPD,wBAOC"}
@@ -1,10 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(organization: string, rule: Rule): Promise<Rule | gracely.Error>;
8
- replace(organization: string, rule: Rule): Promise<Rule | gracely.Error>;
9
- remove(organization: string, code: string): Promise<Rule | gracely.Error>;
10
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Rules = void 0;
4
- class Rules {
5
- client;
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async create(organization, rule) {
10
- return this.client.post(`/organization/rule`, rule, {
11
- organization,
12
- });
13
- }
14
- async replace(organization, rule) {
15
- return this.client.put(`/organization/rule/${rule.code}`, rule, {
16
- organization,
17
- });
18
- }
19
- async remove(organization, code) {
20
- return this.client.delete(`/organization/rule/${code}`, {
21
- organization,
22
- });
23
- }
24
- }
25
- exports.Rules = Rules;
26
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Organizations/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAU;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,oBAAoB,EAAE,IAAI,EAAE;YACzD,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,IAAU;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,sBAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE;YACrE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAY;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,sBAAsB,IAAI,EAAE,EAAE;YAC7D,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD;AAjBD,sBAiBC"}
@@ -1,11 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(rule: Rule): Promise<Rule | gracely.Error>;
8
- list(): Promise<Rule[] | gracely.Error>;
9
- replace(rule: Rule): Promise<Rule | gracely.Error>;
10
- remove(code: string): Promise<Rule | gracely.Error>;
11
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Rules = void 0;
4
- class Rules {
5
- client;
6
- constructor(client) {
7
- this.client = client;
8
- }
9
- async create(rule) {
10
- return this.client.post(`/rule`, rule);
11
- }
12
- async list() {
13
- return this.client.get(`/rule`);
14
- }
15
- async replace(rule) {
16
- return this.client.put(`/rule/${rule.code}`, rule);
17
- }
18
- async remove(code) {
19
- return this.client.delete(`/rule/${code}`);
20
- }
21
- }
22
- exports.Rules = Rules;
23
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../Client/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,IAAU;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,OAAO,CAAC,CAAA;IACxC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,IAAU;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IACzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACjD,CAAC;CACD;AAdD,sBAcC"}
@@ -1,14 +0,0 @@
1
- import { isly } from "isly";
2
- export interface Label {
3
- name: string;
4
- color: string;
5
- description: string;
6
- }
7
- export declare namespace Label {
8
- const type: import("isly/dist/cjs/object").IslyObject<Label, object>;
9
- type Type = (typeof Type.values)[number];
10
- namespace Type {
11
- const values: readonly ["flag", "group"];
12
- const type: isly.Type<"flag" | "group">;
13
- }
14
- }
package/dist/cjs/Label.js DELETED
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Label = void 0;
4
- const isly_1 = require("isly");
5
- var Label;
6
- (function (Label) {
7
- Label.type = isly_1.isly.object({ name: isly_1.isly.string(), color: isly_1.isly.string(), description: isly_1.isly.string() });
8
- let Type;
9
- (function (Type) {
10
- Type.values = ["flag", "group"];
11
- Type.type = isly_1.isly.string(Type.values);
12
- })(Type = Label.Type || (Label.Type = {}));
13
- })(Label || (exports.Label = Label = {}));
14
- //# sourceMappingURL=Label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.js","sourceRoot":"","sources":["../../Label.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAO3B,IAAiB,KAAK,CAOrB;AAPD,WAAiB,KAAK;IACR,UAAI,GAAG,WAAI,CAAC,MAAM,CAAQ,EAAE,IAAI,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IAEjH,IAAiB,IAAI,CAGpB;IAHD,WAAiB,IAAI;QACP,WAAM,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAA;QACnC,SAAI,GAAG,WAAI,CAAC,MAAM,CAAC,KAAA,MAAM,CAAC,CAAA;IACxC,CAAC,EAHgB,IAAI,GAAJ,UAAI,KAAJ,UAAI,QAGpB;AACF,CAAC,EAPgB,KAAK,qBAAL,KAAK,QAOrB"}
@@ -1,10 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(account: string, rule: Rule): Promise<Rule | gracely.Error>;
8
- replace(account: string, rule: Rule): Promise<Rule | gracely.Error>;
9
- remove(account: string, code: string): Promise<Rule | gracely.Error>;
10
- }
@@ -1,16 +0,0 @@
1
- export class Rules {
2
- client;
3
- constructor(client) {
4
- this.client = client;
5
- }
6
- async create(account, rule) {
7
- return this.client.post(`/account/${account}/rule`, rule);
8
- }
9
- async replace(account, rule) {
10
- return this.client.put(`/account/${account}/rule/${rule.code}`, rule);
11
- }
12
- async remove(account, code) {
13
- return this.client.delete(`/account/${account}/rule/${code}`);
14
- }
15
- }
16
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rules.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAU;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,YAAY,OAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAChE,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,IAAU;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,YAAY,OAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IAC5E,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAY;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,YAAY,OAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACpE,CAAC;CACD"}
@@ -1,12 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Label } from "../Label";
4
- export declare class Labels {
5
- private readonly client;
6
- readonly type: Label.Type;
7
- constructor(client: http.Client, type: Label.Type);
8
- create(label: Label): Promise<Label | gracely.Error>;
9
- replace(label: Label): Promise<Label | gracely.Error>;
10
- list(): Promise<Label[] | gracely.Error>;
11
- remove(name: string): Promise<Label | gracely.Error>;
12
- }
@@ -1,21 +0,0 @@
1
- export class Labels {
2
- client;
3
- type;
4
- constructor(client, type) {
5
- this.client = client;
6
- this.type = type;
7
- }
8
- async create(label) {
9
- return this.client.post(`/label/${this.type}`, label);
10
- }
11
- async replace(label) {
12
- return this.client.put(`/label/${this.type}`, label);
13
- }
14
- async list() {
15
- return this.client.get(`/label/${this.type}`);
16
- }
17
- async remove(name) {
18
- return this.client.delete(`/label/${this.type}/${name}`);
19
- }
20
- }
21
- //# sourceMappingURL=Labels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Labels.js","sourceRoot":"","sources":["../../../Client/Labels.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IAEA;IACR;IAFV,YACkB,MAAmB,EAC3B,IAAgB;QADR,WAAM,GAAN,MAAM,CAAa;QAC3B,SAAI,GAAJ,IAAI,CAAY;IACvB,CAAC;IACJ,KAAK,CAAC,MAAM,CAAC,KAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC7D,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,KAAY;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC,CAAA;IACzD,CAAC;CACD"}
@@ -1,8 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Organization } from "../../Organization";
4
- export declare class Groups {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- replace(organization: string, groups: string[]): Promise<Organization | gracely.Error>;
8
- }
@@ -1,12 +0,0 @@
1
- export class Groups {
2
- client;
3
- constructor(client) {
4
- this.client = client;
5
- }
6
- async replace(organization, groups) {
7
- return this.client.put(`/organization/group`, groups, {
8
- organization,
9
- });
10
- }
11
- }
12
- //# sourceMappingURL=Groups.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Groups.js","sourceRoot":"","sources":["../../../../Client/Organizations/Groups.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IACW;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,MAAgB;QACnD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAe,qBAAqB,EAAE,MAAM,EAAE;YACnE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD"}
@@ -1,10 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(organization: string, rule: Rule): Promise<Rule | gracely.Error>;
8
- replace(organization: string, rule: Rule): Promise<Rule | gracely.Error>;
9
- remove(organization: string, code: string): Promise<Rule | gracely.Error>;
10
- }
@@ -1,22 +0,0 @@
1
- export class Rules {
2
- client;
3
- constructor(client) {
4
- this.client = client;
5
- }
6
- async create(organization, rule) {
7
- return this.client.post(`/organization/rule`, rule, {
8
- organization,
9
- });
10
- }
11
- async replace(organization, rule) {
12
- return this.client.put(`/organization/rule/${rule.code}`, rule, {
13
- organization,
14
- });
15
- }
16
- async remove(organization, code) {
17
- return this.client.delete(`/organization/rule/${code}`, {
18
- organization,
19
- });
20
- }
21
- }
22
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Organizations/Rules.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAU;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,oBAAoB,EAAE,IAAI,EAAE;YACzD,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,IAAU;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,sBAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE;YACrE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAY;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,sBAAsB,IAAI,EAAE,EAAE;YAC7D,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD"}
@@ -1,11 +0,0 @@
1
- import { gracely } from "gracely";
2
- import { http } from "cloudly-http";
3
- import { Rule } from "../Rule";
4
- export declare class Rules {
5
- private readonly client;
6
- constructor(client: http.Client);
7
- create(rule: Rule): Promise<Rule | gracely.Error>;
8
- list(): Promise<Rule[] | gracely.Error>;
9
- replace(rule: Rule): Promise<Rule | gracely.Error>;
10
- remove(code: string): Promise<Rule | gracely.Error>;
11
- }
@@ -1,19 +0,0 @@
1
- export class Rules {
2
- client;
3
- constructor(client) {
4
- this.client = client;
5
- }
6
- async create(rule) {
7
- return this.client.post(`/rule`, rule);
8
- }
9
- async list() {
10
- return this.client.get(`/rule`);
11
- }
12
- async replace(rule) {
13
- return this.client.put(`/rule/${rule.code}`, rule);
14
- }
15
- async remove(code) {
16
- return this.client.delete(`/rule/${code}`);
17
- }
18
- }
19
- //# sourceMappingURL=Rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../Client/Rules.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,IAAU;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,OAAO,CAAC,CAAA;IACxC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,IAAU;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IACzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACjD,CAAC;CACD"}
@@ -1,14 +0,0 @@
1
- import { isly } from "isly";
2
- export interface Label {
3
- name: string;
4
- color: string;
5
- description: string;
6
- }
7
- export declare namespace Label {
8
- const type: import("isly/dist/cjs/object").IslyObject<Label, object>;
9
- type Type = (typeof Type.values)[number];
10
- namespace Type {
11
- const values: readonly ["flag", "group"];
12
- const type: isly.Type<"flag" | "group">;
13
- }
14
- }
package/dist/mjs/Label.js DELETED
@@ -1,11 +0,0 @@
1
- import { isly } from "isly";
2
- export var Label;
3
- (function (Label) {
4
- Label.type = isly.object({ name: isly.string(), color: isly.string(), description: isly.string() });
5
- let Type;
6
- (function (Type) {
7
- Type.values = ["flag", "group"];
8
- Type.type = isly.string(Type.values);
9
- })(Type = Label.Type || (Label.Type = {}));
10
- })(Label || (Label = {}));
11
- //# sourceMappingURL=Label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.js","sourceRoot":"","sources":["../../Label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,KAAK,CAOrB;AAPD,WAAiB,KAAK;IACR,UAAI,GAAG,IAAI,CAAC,MAAM,CAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IAEjH,IAAiB,IAAI,CAGpB;IAHD,WAAiB,IAAI;QACP,WAAM,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAA;QACnC,SAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAA,MAAM,CAAC,CAAA;IACxC,CAAC,EAHgB,IAAI,GAAJ,UAAI,KAAJ,UAAI,QAGpB;AACF,CAAC,EAPgB,KAAK,KAAL,KAAK,QAOrB"}