@sailpoint/connector-sdk 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/commands/command.d.ts +21 -0
- package/dist/lib/commands/command.d.ts.map +1 -1
- package/dist/lib/commands/command.js.map +1 -1
- package/dist/lib/commands/std-account-create.d.ts +2 -1
- package/dist/lib/commands/std-account-create.d.ts.map +1 -1
- package/dist/lib/commands/std-account-delete.d.ts +4 -2
- package/dist/lib/commands/std-account-delete.d.ts.map +1 -1
- package/dist/lib/commands/std-account-disable.d.ts +4 -2
- package/dist/lib/commands/std-account-disable.d.ts.map +1 -1
- package/dist/lib/commands/std-account-discover-schema.d.ts +2 -7
- package/dist/lib/commands/std-account-discover-schema.d.ts.map +1 -1
- package/dist/lib/commands/std-account-enable.d.ts +4 -2
- package/dist/lib/commands/std-account-enable.d.ts.map +1 -1
- package/dist/lib/commands/std-account-list.d.ts +2 -1
- package/dist/lib/commands/std-account-list.d.ts.map +1 -1
- package/dist/lib/commands/std-account-read.d.ts +4 -2
- package/dist/lib/commands/std-account-read.d.ts.map +1 -1
- package/dist/lib/commands/std-account-unlock.d.ts +4 -2
- package/dist/lib/commands/std-account-unlock.d.ts.map +1 -1
- package/dist/lib/commands/std-account-update.d.ts +2 -1
- package/dist/lib/commands/std-account-update.d.ts.map +1 -1
- package/dist/lib/commands/std-entitlement-list.d.ts +2 -1
- package/dist/lib/commands/std-entitlement-list.d.ts.map +1 -1
- package/dist/lib/commands/std-entitlement-read.d.ts +2 -1
- package/dist/lib/commands/std-entitlement-read.d.ts.map +1 -1
- package/dist/lib/response/index.d.ts +9 -0
- package/dist/lib/response/index.d.ts.map +1 -1
- package/dist/lib/response/index.js +11 -0
- package/dist/lib/response/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -37,6 +37,7 @@ export declare type SchemaAttribute = {
|
|
|
37
37
|
name: string;
|
|
38
38
|
description: string;
|
|
39
39
|
type: string;
|
|
40
|
+
required?: boolean;
|
|
40
41
|
multi?: boolean;
|
|
41
42
|
managed?: boolean;
|
|
42
43
|
entitlement?: boolean;
|
|
@@ -80,4 +81,24 @@ export declare type ObjectOutput = {
|
|
|
80
81
|
export declare type CommandState = {
|
|
81
82
|
[key: string]: any;
|
|
82
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* The common schema
|
|
86
|
+
*/
|
|
87
|
+
export declare type Schema = {
|
|
88
|
+
displayAttribute: string;
|
|
89
|
+
identityAttribute: string;
|
|
90
|
+
attributes: SchemaAttribute[];
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Account schema
|
|
94
|
+
*/
|
|
95
|
+
export declare type AccountSchema = Schema & {
|
|
96
|
+
groupAttribute: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Entitlement schema
|
|
100
|
+
*/
|
|
101
|
+
export declare type EntitlementSchema = Schema & {
|
|
102
|
+
type: string;
|
|
103
|
+
};
|
|
83
104
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../lib/commands/command.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,eAAe;IAC1B,gBAAgB,uBAAuB;IACvC,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,wBAAwB,gCAAgC;IACxD,gBAAgB,uBAAuB;IACvC,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,gBAAgB,uBAAuB;IACvC,gBAAgB,uBAAuB;IACvC,kBAAkB,yBAAyB;IAC3C,kBAAkB,yBAAyB;IAC3C,WAAW,kBAAkB;IAC7B,iBAAiB,wBAAwB;IACzC,iBAAiB,wBAAwB;CACzC;AAED;;;;;;;;;GASG;AACH,oBAAY,UAAU,GAAG;IACxB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MA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command.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;AAE3E;;GAEG;AACH,IAAY,eAeX;AAfD,WAAY,eAAe;IAC1B,0DAAuC,CAAA;IACvC,0DAAuC,CAAA;IACvC,4DAAyC,CAAA;IACzC,2EAAwD,CAAA;IACxD,0DAAuC,CAAA;IACvC,sDAAmC,CAAA;IACnC,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,8DAA2C,CAAA;IAC3C,gDAA6B,CAAA;IAC7B,4DAAyC,CAAA;IACzC,4DAAyC,CAAA;AAC1C,CAAC,EAfW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAe1B;
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../../lib/commands/command.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;AAE3E;;GAEG;AACH,IAAY,eAeX;AAfD,WAAY,eAAe;IAC1B,0DAAuC,CAAA;IACvC,0DAAuC,CAAA;IACvC,4DAAyC,CAAA;IACzC,2EAAwD,CAAA;IACxD,0DAAuC,CAAA;IACvC,sDAAmC,CAAA;IACnC,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,8DAA2C,CAAA;IAC3C,gDAA6B,CAAA;IAC7B,4DAAyC,CAAA;IACzC,4DAAyC,CAAA;AAC1C,CAAC,EAfW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAe1B;AAmDD;;GAEG;AACH,SAAgB,KAAK,CAAC,KAAmB;IACxC,IAAI,QAAQ,IAAI,KAAK,CAAC,GAAG,EAAE;QAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;KAC1B;SAAM;QACN,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;KAC3C;AACF,CAAC;AAND,sBAMC;AAED;;GAEG;AACH,SAAgB,WAAW,CAAC,KAAmB;IAC9C,IAAI,UAAU,IAAI,KAAK,CAAC,GAAG,EAAE;QAC5B,OAAO,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAA;KAClC;SAAM;QACN,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;KAC7C;AACF,CAAC;AAND,kCAMC;AAED;;GAEG;AACH,SAAgB,WAAW,CAAC,KAAmB;IAC9C,IAAI,UAAU,IAAI,KAAK,CAAC,GAAG,EAAE;QAC5B,OAAO,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAA;KAClC;SAAM;QACN,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAA;KAC7C;AACF,CAAC;AAND,kCAMC;AAED;;GAEG;AACH,SAAgB,SAAS,CAAC,EAAU;IACnC,OAAO;QACN,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;KAClB,CAAA;AACF,CAAC;AAJD,8BAIC;AAED;;GAEG;AACH,SAAgB,WAAW,CAAC,QAAgB,EAAE,QAAgB;IAC7D,OAAO;QACN,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;KACpD,CAAA;AACF,CAAC;AAJD,kCAIC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Attributes, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:create` command
|
|
4
4
|
*/
|
|
5
5
|
export declare type StdAccountCreateInput = {
|
|
6
6
|
identity?: string;
|
|
7
7
|
attributes: any;
|
|
8
|
+
schema?: AccountSchema;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* Output object of `std:account:create` command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-create.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-create.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEnE;;GAEG;AACH,oBAAY,qBAAqB,GAAG;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG,YAAY,GAAG;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ObjectInput } from "./command";
|
|
1
|
+
import { AccountSchema, ObjectInput } from "./command";
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:delete` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountDeleteInput = ObjectInput
|
|
5
|
+
export declare type StdAccountDeleteInput = ObjectInput & {
|
|
6
|
+
schema?: AccountSchema;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Output object of `std:account:delete` command
|
|
8
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-delete.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-delete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-delete.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-delete.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,WAAW,CAAA;AAEpD;;GAEG;AACH,oBAAY,qBAAqB,GAAG,WAAW,GAAG;IACjD,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG,EAAE,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:disable` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountDisableInput = ObjectInput
|
|
5
|
+
export declare type StdAccountDisableInput = ObjectInput & {
|
|
6
|
+
schema?: AccountSchema;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Output object of `std:account:disable` command
|
|
8
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-disable.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-disable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-disable.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-disable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF;;GAEG;AACH,oBAAY,sBAAsB,GAAG,WAAW,GAAG;IAClD,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,uBAAuB,GAAG,YAAY,GAAG;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountSchema } from "./command";
|
|
2
2
|
/**
|
|
3
3
|
* Output object of `std:account:discover-schema` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountDiscoverSchemaOutput =
|
|
6
|
-
displayAttribute: string;
|
|
7
|
-
groupAttribute: string;
|
|
8
|
-
identityAttribute: string;
|
|
9
|
-
attributes: SchemaAttribute[];
|
|
10
|
-
};
|
|
5
|
+
export declare type StdAccountDiscoverSchemaOutput = AccountSchema;
|
|
11
6
|
//# sourceMappingURL=std-account-discover-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-discover-schema.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-discover-schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"std-account-discover-schema.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-discover-schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C;;GAEG;AACH,oBAAY,8BAA8B,GAAG,aAAa,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:enable` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountEnableInput = ObjectInput
|
|
5
|
+
export declare type StdAccountEnableInput = ObjectInput & {
|
|
6
|
+
schema?: AccountSchema;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Output object of `std:account:enable` command
|
|
8
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-enable.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-enable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-enable.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-enable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF;;GAEG;AACH,oBAAY,qBAAqB,GAAG,WAAW,GAAG;IACjD,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG,YAAY,GAAG;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Attributes, CommandState, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, CommandState, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:list` command
|
|
4
4
|
*/
|
|
5
5
|
export declare type StdAccountListInput = {
|
|
6
6
|
stateful?: boolean;
|
|
7
7
|
state?: CommandState;
|
|
8
|
+
schema?: AccountSchema;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* Output object of `std:account:list` command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-list.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-list.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEjF;;GAEG;AACH,oBAAY,mBAAmB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,oBAAoB,GAAG,YAAY,GAAG;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:read` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountReadInput = ObjectInput
|
|
5
|
+
export declare type StdAccountReadInput = ObjectInput & {
|
|
6
|
+
schema?: AccountSchema;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Output object of `std:account:read` command
|
|
8
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-read.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-read.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-read.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-read.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF;;GAEG;AACH,oBAAY,mBAAmB,GAAG,WAAW,GAAG;IAC/C,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,oBAAoB,GAAG,YAAY,GAAG;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:account:unlock` command
|
|
4
4
|
*/
|
|
5
|
-
export declare type StdAccountUnlockInput = ObjectInput
|
|
5
|
+
export declare type StdAccountUnlockInput = ObjectInput & {
|
|
6
|
+
schema?: AccountSchema;
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* Output object of `std:account:unlock` command
|
|
8
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-unlock.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-unlock.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-unlock.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-unlock.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF;;GAEG;AACH,oBAAY,qBAAqB,GAAG,WAAW,GAAG;IACjD,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG,YAAY,GAAG;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { AccountSchema, Attributes, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
export declare enum AttributeChangeOp {
|
|
3
3
|
Add = "Add",
|
|
4
4
|
Set = "Set",
|
|
@@ -17,6 +17,7 @@ export declare type AttributeChange = {
|
|
|
17
17
|
*/
|
|
18
18
|
export declare type StdAccountUpdateInput = ObjectInput & {
|
|
19
19
|
changes: AttributeChange[];
|
|
20
|
+
schema?: AccountSchema;
|
|
20
21
|
};
|
|
21
22
|
/**
|
|
22
23
|
* Output object of `std:account:update` command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-account-update.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-account-update.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-account-update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEhF,oBAAY,iBAAiB;IAC5B,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;CACjB;AAED;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC7B,EAAE,EAAE,iBAAiB,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,GAAG,CAAA;CACV,CAAA;AAED;;GAEG;AACH,oBAAY,qBAAqB,GAAG,WAAW,GAAG;IACjD,OAAO,EAAE,eAAe,EAAE,CAAA;IAC1B,MAAM,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;;;GAIG;AACH,oBAAY,sBAAsB,GAAG,CAAC,YAAY,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,UAAU,CAAA;CAAE,CAAC,GAAG,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Attributes, CommandState, ObjectOutput } from './command';
|
|
1
|
+
import { Attributes, CommandState, EntitlementSchema, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:entitlement:list` command
|
|
4
4
|
*/
|
|
@@ -6,6 +6,7 @@ export declare type StdEntitlementListInput = {
|
|
|
6
6
|
type: string;
|
|
7
7
|
stateful?: boolean;
|
|
8
8
|
state?: CommandState;
|
|
9
|
+
schema?: EntitlementSchema;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* Output object of `std:entitlement:list` command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-entitlement-list.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-entitlement-list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-entitlement-list.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-entitlement-list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAErF;;GAEG;AACH,oBAAY,uBAAuB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAED;;GAEG;AACH,oBAAY,wBAAwB,GAAG,YAAY,GAAG;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Attributes, ObjectInput, ObjectOutput } from './command';
|
|
1
|
+
import { Attributes, EntitlementSchema, ObjectInput, ObjectOutput } from './command';
|
|
2
2
|
/**
|
|
3
3
|
* Input object of `std:entitlement:read` command
|
|
4
4
|
*/
|
|
5
5
|
export declare type StdEntitlementReadInput = ObjectInput & {
|
|
6
6
|
type: string;
|
|
7
|
+
schema?: EntitlementSchema;
|
|
7
8
|
};
|
|
8
9
|
/**
|
|
9
10
|
* Output object of `std:entitlement:read` command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"std-entitlement-read.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-entitlement-read.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"std-entitlement-read.d.ts","sourceRoot":"","sources":["../../../lib/commands/std-entitlement-read.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAEpF;;GAEG;AACH,oBAAY,uBAAuB,GAAG,WAAW,GAAG;IACnD,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,iBAAiB,CAAA;CAC1B,CAAA;AAED;;GAEG;AACH,oBAAY,wBAAwB,GAAG,YAAY,GAAG;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;CACtB,CAAA"}
|
|
@@ -6,6 +6,7 @@ import { Writable } from 'stream';
|
|
|
6
6
|
export interface Response<T> {
|
|
7
7
|
send(output: T): void;
|
|
8
8
|
saveState(state: any): void;
|
|
9
|
+
keepAlive(): void;
|
|
9
10
|
}
|
|
10
11
|
/**
|
|
11
12
|
* Response implementation for sending command output in chunks
|
|
@@ -23,5 +24,13 @@ export declare class ResponseStream<T> implements Response<T> {
|
|
|
23
24
|
* @param state the end state of running the stateful command
|
|
24
25
|
*/
|
|
25
26
|
saveState(state: any): void;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates that the commands is still running.
|
|
29
|
+
*
|
|
30
|
+
* Can be used to avoid a timeout error in the case when a command
|
|
31
|
+
* is unable to return responses in a timely manner but is still
|
|
32
|
+
* actively processing the command.
|
|
33
|
+
*/
|
|
34
|
+
keepAlive(): void;
|
|
26
35
|
}
|
|
27
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/response/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,QAAQ,CAAC,CAAC;IAC1B,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAA;IACrB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/response/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,QAAQ,CAAC,CAAC;IAC1B,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAA;IACrB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAAA;IAC3B,SAAS,IAAI,IAAI,CAAA;CACjB;AAED;;GAEG;AACH,qBAAa,cAAc,CAAC,CAAC,CAAE,YAAW,QAAQ,CAAC,CAAC,CAAC;IACpD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAA;gBAE1B,QAAQ,EAAE,QAAQ;IAI9B;;;OAGG;IACH,IAAI,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI;IAIpB;;;OAGG;IACH,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAI3B;;;;;;OAMG;IACH,SAAS,IAAI,IAAI;CAGjB"}
|
|
@@ -23,6 +23,16 @@ class ResponseStream {
|
|
|
23
23
|
saveState(state) {
|
|
24
24
|
this._writable.write(new RawResponse(state, ResponseType.State));
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Indicates that the commands is still running.
|
|
28
|
+
*
|
|
29
|
+
* Can be used to avoid a timeout error in the case when a command
|
|
30
|
+
* is unable to return responses in a timely manner but is still
|
|
31
|
+
* actively processing the command.
|
|
32
|
+
*/
|
|
33
|
+
keepAlive() {
|
|
34
|
+
this._writable.write(new RawResponse({}, ResponseType.KeepAlive));
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
exports.ResponseStream = ResponseStream;
|
|
28
38
|
/**
|
|
@@ -32,6 +42,7 @@ var ResponseType;
|
|
|
32
42
|
(function (ResponseType) {
|
|
33
43
|
ResponseType["Output"] = "output";
|
|
34
44
|
ResponseType["State"] = "state";
|
|
45
|
+
ResponseType["KeepAlive"] = "keepAlive";
|
|
35
46
|
})(ResponseType || (ResponseType = {}));
|
|
36
47
|
/**
|
|
37
48
|
* RawResponse is the response that sdk sends out as command output
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/response/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/response/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;AAa3E;;GAEG;AACH,MAAa,cAAc;IAG1B,YAAY,QAAkB;QAC7B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAA;IAC1B,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,KAAQ;QACZ,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;IAC7C,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,KAAU;QACnB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAA;IACjE,CAAC;IAED;;;;;;OAMG;IACH,SAAS;QACR,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,EAAE,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC,CAAA;IAClE,CAAC;CACD;AAjCD,wCAiCC;AAED;;GAEG;AACH,IAAK,YAIJ;AAJD,WAAK,YAAY;IAChB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,uCAAuB,CAAA;AACxB,CAAC,EAJI,YAAY,KAAZ,YAAY,QAIhB;AAED;;GAEG;AACH,MAAM,WAAW;IAIb,YAAY,IAAS,EAAE,IAAI,GAAG,YAAY,CAAC,MAAM;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;IACjB,CAAC;CACD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sailpoint/connector-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "JavaScript framework to build SailPoint Connectors",
|
|
5
5
|
"author": "SailPoint Technologies, Inc.",
|
|
6
6
|
"license": "Copyright (c) 2023. SailPoint Technologies, Inc. All rights reserved.",
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"collectCoverage": true,
|
|
63
63
|
"coverageThreshold": {
|
|
64
64
|
"global": {
|
|
65
|
-
"statements":
|
|
66
|
-
"branches":
|
|
67
|
-
"functions":
|
|
68
|
-
"lines":
|
|
65
|
+
"statements": 88,
|
|
66
|
+
"branches": 88,
|
|
67
|
+
"functions": 88,
|
|
68
|
+
"lines": 88
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
},
|