@sinch/provisioning 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +18 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/v1/index.d.ts +12 -0
- package/dist/models/v1/index.js +29 -0
- package/dist/models/v1/index.js.map +1 -0
- package/dist/models/v1/list-account-notifications-response/index.d.ts +1 -0
- package/dist/models/v1/list-account-notifications-response/index.js +18 -0
- package/dist/models/v1/list-account-notifications-response/index.js.map +1 -0
- package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.d.ts +13 -0
- package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.js +3 -0
- package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.js.map +1 -0
- package/dist/models/v1/list-webhooks-response/index.d.ts +1 -0
- package/dist/models/v1/list-webhooks-response/index.js +18 -0
- package/dist/models/v1/list-webhooks-response/index.js.map +1 -0
- package/dist/models/v1/list-webhooks-response/list-webhooks-response.d.ts +13 -0
- package/dist/models/v1/list-webhooks-response/list-webhooks-response.js +3 -0
- package/dist/models/v1/list-webhooks-response/list-webhooks-response.js.map +1 -0
- package/dist/models/v1/rcs-account-notification/index.d.ts +1 -0
- package/dist/models/v1/rcs-account-notification/index.js +18 -0
- package/dist/models/v1/rcs-account-notification/index.js.map +1 -0
- package/dist/models/v1/rcs-account-notification/rcs-account-notification.d.ts +11 -0
- package/dist/models/v1/rcs-account-notification/rcs-account-notification.js +3 -0
- package/dist/models/v1/rcs-account-notification/rcs-account-notification.js.map +1 -0
- package/dist/models/v1/rcs-account-notification-type/index.d.ts +1 -0
- package/dist/models/v1/rcs-account-notification-type/index.js +18 -0
- package/dist/models/v1/rcs-account-notification-type/index.js.map +1 -0
- package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.d.ts +4 -0
- package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.js +3 -0
- package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.js.map +1 -0
- package/dist/models/v1/rcs-comment/index.d.ts +1 -0
- package/dist/models/v1/rcs-comment/index.js +18 -0
- package/dist/models/v1/rcs-comment/index.js.map +1 -0
- package/dist/models/v1/rcs-comment/rcs-comment.d.ts +9 -0
- package/dist/models/v1/rcs-comment/rcs-comment.js +3 -0
- package/dist/models/v1/rcs-comment/rcs-comment.js.map +1 -0
- package/dist/models/v1/rcs-comment-create-request/index.d.ts +1 -0
- package/dist/models/v1/rcs-comment-create-request/index.js +18 -0
- package/dist/models/v1/rcs-comment-create-request/index.js.map +1 -0
- package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.d.ts +4 -0
- package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.js +3 -0
- package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.js.map +1 -0
- package/dist/models/v1/rcs-comment-type/index.d.ts +1 -0
- package/dist/models/v1/rcs-comment-type/index.js +18 -0
- package/dist/models/v1/rcs-comment-type/index.js.map +1 -0
- package/dist/models/v1/rcs-comment-type/rcs-comment-type.d.ts +4 -0
- package/dist/models/v1/rcs-comment-type/rcs-comment-type.js +3 -0
- package/dist/models/v1/rcs-comment-type/rcs-comment-type.js.map +1 -0
- package/dist/models/v1/requests/index.d.ts +2 -0
- package/dist/models/v1/requests/index.js +19 -0
- package/dist/models/v1/requests/index.js.map +1 -0
- package/dist/models/v1/requests/rcs/accounts/accounts-request-data.d.ts +11 -0
- package/dist/models/v1/requests/rcs/accounts/accounts-request-data.js +3 -0
- package/dist/models/v1/requests/rcs/accounts/accounts-request-data.js.map +1 -0
- package/dist/models/v1/requests/rcs/accounts/index.d.ts +1 -0
- package/dist/models/v1/requests/rcs/accounts/index.js +18 -0
- package/dist/models/v1/requests/rcs/accounts/index.js.map +1 -0
- package/dist/models/v1/requests/rcs/index.d.ts +1 -0
- package/dist/models/v1/requests/rcs/index.js +18 -0
- package/dist/models/v1/requests/rcs/index.js.map +1 -0
- package/dist/models/v1/requests/webhooks/index.d.ts +1 -0
- package/dist/models/v1/requests/webhooks/index.js +18 -0
- package/dist/models/v1/requests/webhooks/index.js.map +1 -0
- package/dist/models/v1/requests/webhooks/webhooks-request-data.d.ts +32 -0
- package/dist/models/v1/requests/webhooks/webhooks-request-data.js +3 -0
- package/dist/models/v1/requests/webhooks/webhooks-request-data.js.map +1 -0
- package/dist/models/v1/webhook/index.d.ts +1 -0
- package/dist/models/v1/webhook/index.js +18 -0
- package/dist/models/v1/webhook/index.js.map +1 -0
- package/dist/models/v1/webhook/webhook.d.ts +11 -0
- package/dist/models/v1/webhook/webhook.js +3 -0
- package/dist/models/v1/webhook/webhook.js.map +1 -0
- package/dist/models/v1/webhook-create-request/index.d.ts +1 -0
- package/dist/models/v1/webhook-create-request/index.js +18 -0
- package/dist/models/v1/webhook-create-request/index.js.map +1 -0
- package/dist/models/v1/webhook-create-request/webhook-create-request.d.ts +9 -0
- package/dist/models/v1/webhook-create-request/webhook-create-request.js +3 -0
- package/dist/models/v1/webhook-create-request/webhook-create-request.js.map +1 -0
- package/dist/models/v1/webhook-trigger/index.d.ts +1 -0
- package/dist/models/v1/webhook-trigger/index.js +18 -0
- package/dist/models/v1/webhook-trigger/index.js.map +1 -0
- package/dist/models/v1/webhook-trigger/webhook-trigger.d.ts +4 -0
- package/dist/models/v1/webhook-trigger/webhook-trigger.js +3 -0
- package/dist/models/v1/webhook-trigger/webhook-trigger.js.map +1 -0
- package/dist/models/v1/webhook-update-request/index.d.ts +1 -0
- package/dist/models/v1/webhook-update-request/index.js +18 -0
- package/dist/models/v1/webhook-update-request/index.js.map +1 -0
- package/dist/models/v1/webhook-update-request/webhook-update-request.d.ts +9 -0
- package/dist/models/v1/webhook-update-request/webhook-update-request.js +3 -0
- package/dist/models/v1/webhook-update-request/webhook-update-request.js.map +1 -0
- package/dist/rest/index.d.ts +1 -0
- package/dist/rest/index.js +18 -0
- package/dist/rest/index.js.map +1 -0
- package/dist/rest/v1/index.d.ts +4 -0
- package/dist/rest/v1/index.js +24 -0
- package/dist/rest/v1/index.js.map +1 -0
- package/dist/rest/v1/provisioning-domain-api.d.ts +18 -0
- package/dist/rest/v1/provisioning-domain-api.js +42 -0
- package/dist/rest/v1/provisioning-domain-api.js.map +1 -0
- package/dist/rest/v1/provisioning-service.d.ts +24 -0
- package/dist/rest/v1/provisioning-service.js +62 -0
- package/dist/rest/v1/provisioning-service.js.map +1 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.d.ts +20 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.d.ts +7 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.js +11 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.js +61 -0
- package/dist/rest/v1/rcs/accounts/accounts-api.js.map +1 -0
- package/dist/rest/v1/rcs/accounts/index.d.ts +2 -0
- package/dist/rest/v1/rcs/accounts/index.js +19 -0
- package/dist/rest/v1/rcs/accounts/index.js.map +1 -0
- package/dist/rest/v1/rcs/index.d.ts +2 -0
- package/dist/rest/v1/rcs/index.js +19 -0
- package/dist/rest/v1/rcs/index.js.map +1 -0
- package/dist/rest/v1/rcs/rcs-api.d.ts +9 -0
- package/dist/rest/v1/rcs/rcs-api.js +14 -0
- package/dist/rest/v1/rcs/rcs-api.js.map +1 -0
- package/dist/rest/v1/webhooks/index.d.ts +2 -0
- package/dist/rest/v1/webhooks/index.js +19 -0
- package/dist/rest/v1/webhooks/index.js.map +1 -0
- package/dist/rest/v1/webhooks/webhooks-api.d.ts +44 -0
- package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.d.ts +11 -0
- package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.js +15 -0
- package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.js.map +1 -0
- package/dist/rest/v1/webhooks/webhooks-api.js +153 -0
- package/dist/rest/v1/webhooks/webhooks-api.js.map +1 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Sinch Provisioning SDK for Node.js
|
|
2
|
+
|
|
3
|
+
This package contains the Sinch Provisioning SDK for Node.js for use with [Sinch APIs](https://developers.sinch.com/). To use it, you will need a Sinch account. Please [sign up](https://dashboard.sinch.com/signup) or [log in](https://dashboard.sinch.com/login) if you already have one.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
We recommend to use this SDK as part of the [`@sinch/sdk-core`](../../packages/sdk-core) package in order to make the most out of all the Sinch products.
|
|
8
|
+
|
|
9
|
+
However, it's still possible to use this SDK standalone is you need to access the Provisioning API only.
|
|
10
|
+
|
|
11
|
+
### With NPM
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @sinch/provisioning
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### With Yarn
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
yarn add @sinch/provisioning
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
### Credentials
|
|
26
|
+
|
|
27
|
+
The `Provisioning` API uses the Sinch unified authentication with OAuth2. You will need to provide the following credentials:
|
|
28
|
+
- projectId: can be found in the [Account Dashboard](https://dashboard.sinch.com/settings/access-keys)
|
|
29
|
+
- keyId:: can be found in your Access key list in the [Account Dashboard](https://dashboard.sinch.com/settings/access-keys)
|
|
30
|
+
- keySecret: can be found **ONLY** when generating a new access key: keep it safe!
|
|
31
|
+
|
|
32
|
+
### As part of the Sinch SDK
|
|
33
|
+
|
|
34
|
+
If you are using this SDK as part of the Sinch SDK (`@sinch/sdk-core`) you can access it as the `provisioning` property of the client that you would have instantiated.
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
// TODO: add snippet
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Standalone
|
|
41
|
+
|
|
42
|
+
The SDK can be used standalone if you need to use only the Provisioning APIs.
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
// TODO: add snippet
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Promises
|
|
49
|
+
|
|
50
|
+
All the methods that interact with the Sinch APIs use Promises. You can use `await` in an `async` method to wait for the response, or you can resolve them yourself with `then()` / `catch()`.
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
// TODO: add snippet
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Contact
|
|
57
|
+
Developer Experience team: [devexp@sinch.com](mailto:devexp@sinch.com)
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Provisioning = void 0;
|
|
40
|
+
exports.Provisioning = __importStar(require("./models"));
|
|
41
|
+
__exportStar(require("./rest"), exports);
|
|
42
|
+
__exportStar(require("@sinch/sdk-client"), exports);
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,QAAY,YAAY,qCAAiB;AACzC,yCAAuB;AACvB,oDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './v1';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./v1"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAqB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './webhook';
|
|
2
|
+
export * from './list-webhooks-response';
|
|
3
|
+
export * from './webhook-create-request';
|
|
4
|
+
export * from './webhook-update-request';
|
|
5
|
+
export * from './webhook-trigger';
|
|
6
|
+
export * from './rcs-comment';
|
|
7
|
+
export * from './rcs-comment-type';
|
|
8
|
+
export * from './rcs-comment-create-request';
|
|
9
|
+
export * from './rcs-account-notification';
|
|
10
|
+
export * from './rcs-account-notification-type';
|
|
11
|
+
export * from './list-account-notifications-response';
|
|
12
|
+
export * from './requests';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./webhook"), exports);
|
|
18
|
+
__exportStar(require("./list-webhooks-response"), exports);
|
|
19
|
+
__exportStar(require("./webhook-create-request"), exports);
|
|
20
|
+
__exportStar(require("./webhook-update-request"), exports);
|
|
21
|
+
__exportStar(require("./webhook-trigger"), exports);
|
|
22
|
+
__exportStar(require("./rcs-comment"), exports);
|
|
23
|
+
__exportStar(require("./rcs-comment-type"), exports);
|
|
24
|
+
__exportStar(require("./rcs-comment-create-request"), exports);
|
|
25
|
+
__exportStar(require("./rcs-account-notification"), exports);
|
|
26
|
+
__exportStar(require("./rcs-account-notification-type"), exports);
|
|
27
|
+
__exportStar(require("./list-account-notifications-response"), exports);
|
|
28
|
+
__exportStar(require("./requests"), exports);
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2DAAyC;AACzC,2DAAyC;AACzC,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;AAChD,wEAAsD;AACtD,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './list-account-notifications-response';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./list-account-notifications-response"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/list-account-notifications-response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
|
package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RcsAccountNotification } from '../rcs-account-notification';
|
|
2
|
+
export interface ListAccountNotificationsResponse {
|
|
3
|
+
/** Total size of the entries matching the search query. */
|
|
4
|
+
totalSize: number;
|
|
5
|
+
/** Requested size of the page. */
|
|
6
|
+
pageSize: number;
|
|
7
|
+
/** Encoded token to use in list request to fetch previous batch of entries. */
|
|
8
|
+
previousPageToken?: string;
|
|
9
|
+
/** Encoded token to use in list request to fetch next batch of entries. */
|
|
10
|
+
nextPageToken?: string;
|
|
11
|
+
/** List of RCS account notifications / activities. */
|
|
12
|
+
notifications: RcsAccountNotification[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-account-notifications-response.js","sourceRoot":"","sources":["../../../../src/models/v1/list-account-notifications-response/list-account-notifications-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './list-webhooks-response';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./list-webhooks-response"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/list-webhooks-response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Webhook } from '../webhook';
|
|
2
|
+
export interface ListWebhooksResponse {
|
|
3
|
+
/** Total size of the entries matching the search query. */
|
|
4
|
+
totalSize: number;
|
|
5
|
+
/** Requested size of the page. */
|
|
6
|
+
pageSize: number;
|
|
7
|
+
/** Encoded token to use in list request to fetch previous batch of entries. */
|
|
8
|
+
previousPageToken?: string;
|
|
9
|
+
/** Encoded token to use in list request to fetch next batch of entries. */
|
|
10
|
+
nextPageToken?: string;
|
|
11
|
+
/** List of Webhooks */
|
|
12
|
+
webhooks: Webhook[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks-response.js","sourceRoot":"","sources":["../../../../src/models/v1/list-webhooks-response/list-webhooks-response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rcs-account-notification';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rcs-account-notification"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-account-notification/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RcsAccountNotificationType } from '../rcs-account-notification-type';
|
|
2
|
+
export interface RcsAccountNotification {
|
|
3
|
+
/** @see RcsAccountNotificationType */
|
|
4
|
+
type: RcsAccountNotificationType;
|
|
5
|
+
/** When the activity occurred. */
|
|
6
|
+
created?: Date;
|
|
7
|
+
/** Author of the activity. */
|
|
8
|
+
author?: string;
|
|
9
|
+
/** Comment text when type is COMMENT_ADDED. */
|
|
10
|
+
comment?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcs-account-notification.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-account-notification/rcs-account-notification.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rcs-account-notification-type';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rcs-account-notification-type"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-account-notification-type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcs-account-notification-type.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-account-notification-type/rcs-account-notification-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rcs-comment';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rcs-comment"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcs-comment.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment/rcs-comment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rcs-comment-create-request';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rcs-comment-create-request"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment-create-request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcs-comment-create-request.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment-create-request/rcs-comment-create-request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rcs-comment-type';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./rcs-comment-type"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment-type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rcs-comment-type.js","sourceRoot":"","sources":["../../../../src/models/v1/rcs-comment-type/rcs-comment-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./webhooks"), exports);
|
|
18
|
+
__exportStar(require("./rcs"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/v1/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,wCAAsB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RcsCommentCreateRequest } from '../../../rcs-comment-create-request';
|
|
2
|
+
export interface CreateCommentRequestData {
|
|
3
|
+
/** Comment data */
|
|
4
|
+
rcsCommentCreateRequestBody: RcsCommentCreateRequest;
|
|
5
|
+
}
|
|
6
|
+
export interface ListActivitiesRequestData {
|
|
7
|
+
/** The page token if retrieving the next page from a previous query. */
|
|
8
|
+
pageToken?: string;
|
|
9
|
+
/** The page size requested (1-100). */
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts-request-data.js","sourceRoot":"","sources":["../../../../../../src/models/v1/requests/rcs/accounts/accounts-request-data.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './accounts-request-data';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./accounts-request-data"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/models/v1/requests/rcs/accounts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './accounts';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./accounts"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/v1/requests/rcs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './webhooks-request-data';
|