@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.
Files changed (131) hide show
  1. package/README.md +57 -0
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.js +43 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/models/index.d.ts +1 -0
  6. package/dist/models/index.js +18 -0
  7. package/dist/models/index.js.map +1 -0
  8. package/dist/models/v1/index.d.ts +12 -0
  9. package/dist/models/v1/index.js +29 -0
  10. package/dist/models/v1/index.js.map +1 -0
  11. package/dist/models/v1/list-account-notifications-response/index.d.ts +1 -0
  12. package/dist/models/v1/list-account-notifications-response/index.js +18 -0
  13. package/dist/models/v1/list-account-notifications-response/index.js.map +1 -0
  14. package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.d.ts +13 -0
  15. package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.js +3 -0
  16. package/dist/models/v1/list-account-notifications-response/list-account-notifications-response.js.map +1 -0
  17. package/dist/models/v1/list-webhooks-response/index.d.ts +1 -0
  18. package/dist/models/v1/list-webhooks-response/index.js +18 -0
  19. package/dist/models/v1/list-webhooks-response/index.js.map +1 -0
  20. package/dist/models/v1/list-webhooks-response/list-webhooks-response.d.ts +13 -0
  21. package/dist/models/v1/list-webhooks-response/list-webhooks-response.js +3 -0
  22. package/dist/models/v1/list-webhooks-response/list-webhooks-response.js.map +1 -0
  23. package/dist/models/v1/rcs-account-notification/index.d.ts +1 -0
  24. package/dist/models/v1/rcs-account-notification/index.js +18 -0
  25. package/dist/models/v1/rcs-account-notification/index.js.map +1 -0
  26. package/dist/models/v1/rcs-account-notification/rcs-account-notification.d.ts +11 -0
  27. package/dist/models/v1/rcs-account-notification/rcs-account-notification.js +3 -0
  28. package/dist/models/v1/rcs-account-notification/rcs-account-notification.js.map +1 -0
  29. package/dist/models/v1/rcs-account-notification-type/index.d.ts +1 -0
  30. package/dist/models/v1/rcs-account-notification-type/index.js +18 -0
  31. package/dist/models/v1/rcs-account-notification-type/index.js.map +1 -0
  32. package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.d.ts +4 -0
  33. package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.js +3 -0
  34. package/dist/models/v1/rcs-account-notification-type/rcs-account-notification-type.js.map +1 -0
  35. package/dist/models/v1/rcs-comment/index.d.ts +1 -0
  36. package/dist/models/v1/rcs-comment/index.js +18 -0
  37. package/dist/models/v1/rcs-comment/index.js.map +1 -0
  38. package/dist/models/v1/rcs-comment/rcs-comment.d.ts +9 -0
  39. package/dist/models/v1/rcs-comment/rcs-comment.js +3 -0
  40. package/dist/models/v1/rcs-comment/rcs-comment.js.map +1 -0
  41. package/dist/models/v1/rcs-comment-create-request/index.d.ts +1 -0
  42. package/dist/models/v1/rcs-comment-create-request/index.js +18 -0
  43. package/dist/models/v1/rcs-comment-create-request/index.js.map +1 -0
  44. package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.d.ts +4 -0
  45. package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.js +3 -0
  46. package/dist/models/v1/rcs-comment-create-request/rcs-comment-create-request.js.map +1 -0
  47. package/dist/models/v1/rcs-comment-type/index.d.ts +1 -0
  48. package/dist/models/v1/rcs-comment-type/index.js +18 -0
  49. package/dist/models/v1/rcs-comment-type/index.js.map +1 -0
  50. package/dist/models/v1/rcs-comment-type/rcs-comment-type.d.ts +4 -0
  51. package/dist/models/v1/rcs-comment-type/rcs-comment-type.js +3 -0
  52. package/dist/models/v1/rcs-comment-type/rcs-comment-type.js.map +1 -0
  53. package/dist/models/v1/requests/index.d.ts +2 -0
  54. package/dist/models/v1/requests/index.js +19 -0
  55. package/dist/models/v1/requests/index.js.map +1 -0
  56. package/dist/models/v1/requests/rcs/accounts/accounts-request-data.d.ts +11 -0
  57. package/dist/models/v1/requests/rcs/accounts/accounts-request-data.js +3 -0
  58. package/dist/models/v1/requests/rcs/accounts/accounts-request-data.js.map +1 -0
  59. package/dist/models/v1/requests/rcs/accounts/index.d.ts +1 -0
  60. package/dist/models/v1/requests/rcs/accounts/index.js +18 -0
  61. package/dist/models/v1/requests/rcs/accounts/index.js.map +1 -0
  62. package/dist/models/v1/requests/rcs/index.d.ts +1 -0
  63. package/dist/models/v1/requests/rcs/index.js +18 -0
  64. package/dist/models/v1/requests/rcs/index.js.map +1 -0
  65. package/dist/models/v1/requests/webhooks/index.d.ts +1 -0
  66. package/dist/models/v1/requests/webhooks/index.js +18 -0
  67. package/dist/models/v1/requests/webhooks/index.js.map +1 -0
  68. package/dist/models/v1/requests/webhooks/webhooks-request-data.d.ts +32 -0
  69. package/dist/models/v1/requests/webhooks/webhooks-request-data.js +3 -0
  70. package/dist/models/v1/requests/webhooks/webhooks-request-data.js.map +1 -0
  71. package/dist/models/v1/webhook/index.d.ts +1 -0
  72. package/dist/models/v1/webhook/index.js +18 -0
  73. package/dist/models/v1/webhook/index.js.map +1 -0
  74. package/dist/models/v1/webhook/webhook.d.ts +11 -0
  75. package/dist/models/v1/webhook/webhook.js +3 -0
  76. package/dist/models/v1/webhook/webhook.js.map +1 -0
  77. package/dist/models/v1/webhook-create-request/index.d.ts +1 -0
  78. package/dist/models/v1/webhook-create-request/index.js +18 -0
  79. package/dist/models/v1/webhook-create-request/index.js.map +1 -0
  80. package/dist/models/v1/webhook-create-request/webhook-create-request.d.ts +9 -0
  81. package/dist/models/v1/webhook-create-request/webhook-create-request.js +3 -0
  82. package/dist/models/v1/webhook-create-request/webhook-create-request.js.map +1 -0
  83. package/dist/models/v1/webhook-trigger/index.d.ts +1 -0
  84. package/dist/models/v1/webhook-trigger/index.js +18 -0
  85. package/dist/models/v1/webhook-trigger/index.js.map +1 -0
  86. package/dist/models/v1/webhook-trigger/webhook-trigger.d.ts +4 -0
  87. package/dist/models/v1/webhook-trigger/webhook-trigger.js +3 -0
  88. package/dist/models/v1/webhook-trigger/webhook-trigger.js.map +1 -0
  89. package/dist/models/v1/webhook-update-request/index.d.ts +1 -0
  90. package/dist/models/v1/webhook-update-request/index.js +18 -0
  91. package/dist/models/v1/webhook-update-request/index.js.map +1 -0
  92. package/dist/models/v1/webhook-update-request/webhook-update-request.d.ts +9 -0
  93. package/dist/models/v1/webhook-update-request/webhook-update-request.js +3 -0
  94. package/dist/models/v1/webhook-update-request/webhook-update-request.js.map +1 -0
  95. package/dist/rest/index.d.ts +1 -0
  96. package/dist/rest/index.js +18 -0
  97. package/dist/rest/index.js.map +1 -0
  98. package/dist/rest/v1/index.d.ts +4 -0
  99. package/dist/rest/v1/index.js +24 -0
  100. package/dist/rest/v1/index.js.map +1 -0
  101. package/dist/rest/v1/provisioning-domain-api.d.ts +18 -0
  102. package/dist/rest/v1/provisioning-domain-api.js +42 -0
  103. package/dist/rest/v1/provisioning-domain-api.js.map +1 -0
  104. package/dist/rest/v1/provisioning-service.d.ts +24 -0
  105. package/dist/rest/v1/provisioning-service.js +62 -0
  106. package/dist/rest/v1/provisioning-service.js.map +1 -0
  107. package/dist/rest/v1/rcs/accounts/accounts-api.d.ts +20 -0
  108. package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.d.ts +7 -0
  109. package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.js +11 -0
  110. package/dist/rest/v1/rcs/accounts/accounts-api.jest.fixture.js.map +1 -0
  111. package/dist/rest/v1/rcs/accounts/accounts-api.js +61 -0
  112. package/dist/rest/v1/rcs/accounts/accounts-api.js.map +1 -0
  113. package/dist/rest/v1/rcs/accounts/index.d.ts +2 -0
  114. package/dist/rest/v1/rcs/accounts/index.js +19 -0
  115. package/dist/rest/v1/rcs/accounts/index.js.map +1 -0
  116. package/dist/rest/v1/rcs/index.d.ts +2 -0
  117. package/dist/rest/v1/rcs/index.js +19 -0
  118. package/dist/rest/v1/rcs/index.js.map +1 -0
  119. package/dist/rest/v1/rcs/rcs-api.d.ts +9 -0
  120. package/dist/rest/v1/rcs/rcs-api.js +14 -0
  121. package/dist/rest/v1/rcs/rcs-api.js.map +1 -0
  122. package/dist/rest/v1/webhooks/index.d.ts +2 -0
  123. package/dist/rest/v1/webhooks/index.js +19 -0
  124. package/dist/rest/v1/webhooks/index.js.map +1 -0
  125. package/dist/rest/v1/webhooks/webhooks-api.d.ts +44 -0
  126. package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.d.ts +11 -0
  127. package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.js +15 -0
  128. package/dist/rest/v1/webhooks/webhooks-api.jest.fixture.js.map +1 -0
  129. package/dist/rest/v1/webhooks/webhooks-api.js +153 -0
  130. package/dist/rest/v1/webhooks/webhooks-api.js.map +1 -0
  131. 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)
@@ -0,0 +1,3 @@
1
+ export * as Provisioning from './models';
2
+ export * from './rest';
3
+ export * from '@sinch/sdk-client';
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"}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-account-notifications-response.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=list-webhooks-response.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rcs-account-notification.js.map
@@ -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,4 @@
1
+ /**
2
+ * Type of RCS account notification / activity.
3
+ */
4
+ export type RcsAccountNotificationType = 'COMMENT_ADDED' | 'CREATED' | string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rcs-account-notification-type.js.map
@@ -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,9 @@
1
+ import { RcsCommentType } from '../rcs-comment-type';
2
+ export interface RcsComment {
3
+ /** @see RcsCommentType */
4
+ type: RcsCommentType;
5
+ /** The comment text. */
6
+ comment: string;
7
+ /** When the comment was created. */
8
+ created?: Date;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rcs-comment.js.map
@@ -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,4 @@
1
+ export interface RcsCommentCreateRequest {
2
+ /** The comment text. */
3
+ comment: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rcs-comment-create-request.js.map
@@ -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,4 @@
1
+ /**
2
+ * Type of RCS comment.
3
+ */
4
+ export type RcsCommentType = 'CREATED' | string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=rcs-comment-type.js.map
@@ -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,2 @@
1
+ export * from './webhooks';
2
+ export * from './rcs';
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=accounts-request-data.js.map
@@ -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';