@pax2pay/model-banking 0.1.647 → 0.1.649

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 (85) hide show
  1. package/Card/Preset.ts +3 -0
  2. package/Card/Stack.ts +2 -0
  3. package/Client/Accounts/index.ts +0 -3
  4. package/Client/Organizations/index.ts +0 -6
  5. package/Client/index.ts +0 -8
  6. package/dist/cjs/Card/Preset.d.ts +2 -2
  7. package/dist/cjs/Card/Preset.js +3 -0
  8. package/dist/cjs/Card/Preset.js.map +1 -1
  9. package/dist/cjs/Card/Stack.d.ts +2 -2
  10. package/dist/cjs/Card/Stack.js +2 -0
  11. package/dist/cjs/Card/Stack.js.map +1 -1
  12. package/dist/cjs/Client/Accounts/index.d.ts +0 -2
  13. package/dist/cjs/Client/Accounts/index.js +0 -3
  14. package/dist/cjs/Client/Accounts/index.js.map +1 -1
  15. package/dist/cjs/Client/Organizations/index.d.ts +0 -4
  16. package/dist/cjs/Client/Organizations/index.js +0 -6
  17. package/dist/cjs/Client/Organizations/index.js.map +1 -1
  18. package/dist/cjs/Client/index.d.ts +0 -5
  19. package/dist/cjs/Client/index.js +0 -8
  20. package/dist/cjs/Client/index.js.map +1 -1
  21. package/dist/cjs/pax2pay.d.ts +0 -1
  22. package/dist/cjs/pax2pay.js +1 -3
  23. package/dist/cjs/pax2pay.js.map +1 -1
  24. package/dist/mjs/Card/Preset.d.ts +2 -2
  25. package/dist/mjs/Card/Preset.js +3 -0
  26. package/dist/mjs/Card/Preset.js.map +1 -1
  27. package/dist/mjs/Card/Stack.d.ts +2 -2
  28. package/dist/mjs/Card/Stack.js +2 -0
  29. package/dist/mjs/Card/Stack.js.map +1 -1
  30. package/dist/mjs/Client/Accounts/index.d.ts +0 -2
  31. package/dist/mjs/Client/Accounts/index.js +0 -3
  32. package/dist/mjs/Client/Accounts/index.js.map +1 -1
  33. package/dist/mjs/Client/Organizations/index.d.ts +0 -4
  34. package/dist/mjs/Client/Organizations/index.js +0 -6
  35. package/dist/mjs/Client/Organizations/index.js.map +1 -1
  36. package/dist/mjs/Client/index.d.ts +0 -5
  37. package/dist/mjs/Client/index.js +0 -8
  38. package/dist/mjs/Client/index.js.map +1 -1
  39. package/dist/mjs/pax2pay.d.ts +0 -1
  40. package/dist/mjs/pax2pay.js +0 -1
  41. package/dist/mjs/pax2pay.js.map +1 -1
  42. package/package.json +1 -1
  43. package/pax2pay.ts +0 -1
  44. package/Client/Accounts/Rules.ts +0 -16
  45. package/Client/Labels.ts +0 -22
  46. package/Client/Organizations/Groups.ts +0 -12
  47. package/Client/Organizations/Rules.ts +0 -22
  48. package/Client/Rules.ts +0 -19
  49. package/Label.ts +0 -15
  50. package/dist/cjs/Client/Accounts/Rules.d.ts +0 -10
  51. package/dist/cjs/Client/Accounts/Rules.js +0 -20
  52. package/dist/cjs/Client/Accounts/Rules.js.map +0 -1
  53. package/dist/cjs/Client/Labels.d.ts +0 -12
  54. package/dist/cjs/Client/Labels.js +0 -25
  55. package/dist/cjs/Client/Labels.js.map +0 -1
  56. package/dist/cjs/Client/Organizations/Groups.d.ts +0 -8
  57. package/dist/cjs/Client/Organizations/Groups.js +0 -16
  58. package/dist/cjs/Client/Organizations/Groups.js.map +0 -1
  59. package/dist/cjs/Client/Organizations/Rules.d.ts +0 -10
  60. package/dist/cjs/Client/Organizations/Rules.js +0 -26
  61. package/dist/cjs/Client/Organizations/Rules.js.map +0 -1
  62. package/dist/cjs/Client/Rules.d.ts +0 -11
  63. package/dist/cjs/Client/Rules.js +0 -23
  64. package/dist/cjs/Client/Rules.js.map +0 -1
  65. package/dist/cjs/Label.d.ts +0 -14
  66. package/dist/cjs/Label.js +0 -14
  67. package/dist/cjs/Label.js.map +0 -1
  68. package/dist/mjs/Client/Accounts/Rules.d.ts +0 -10
  69. package/dist/mjs/Client/Accounts/Rules.js +0 -16
  70. package/dist/mjs/Client/Accounts/Rules.js.map +0 -1
  71. package/dist/mjs/Client/Labels.d.ts +0 -12
  72. package/dist/mjs/Client/Labels.js +0 -21
  73. package/dist/mjs/Client/Labels.js.map +0 -1
  74. package/dist/mjs/Client/Organizations/Groups.d.ts +0 -8
  75. package/dist/mjs/Client/Organizations/Groups.js +0 -12
  76. package/dist/mjs/Client/Organizations/Groups.js.map +0 -1
  77. package/dist/mjs/Client/Organizations/Rules.d.ts +0 -10
  78. package/dist/mjs/Client/Organizations/Rules.js +0 -22
  79. package/dist/mjs/Client/Organizations/Rules.js.map +0 -1
  80. package/dist/mjs/Client/Rules.d.ts +0 -11
  81. package/dist/mjs/Client/Rules.js +0 -19
  82. package/dist/mjs/Client/Rules.js.map +0 -1
  83. package/dist/mjs/Label.d.ts +0 -14
  84. package/dist/mjs/Label.js +0 -11
  85. package/dist/mjs/Label.js.map +0 -1
@@ -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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GAAG,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,C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,MAAM,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.649",
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"}