pingram 1.0.39-alpha.1659 → 1.0.39-alpha.1661

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.
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Pingram
3
+ * Internal API for notification delivery and management
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * This browser's Cognito refresh token, revoked on dashboard sign-out.
14
+ * @export
15
+ * @interface SignOutRequest
16
+ */
17
+ export interface SignOutRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SignOutRequest
22
+ */
23
+ refreshToken: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SignOutRequest interface.
27
+ */
28
+ export declare function instanceOfSignOutRequest(value: object): value is SignOutRequest;
29
+ export declare function SignOutRequestFromJSON(json: any): SignOutRequest;
30
+ export declare function SignOutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignOutRequest;
31
+ export declare function SignOutRequestToJSON(json: any): SignOutRequest;
32
+ export declare function SignOutRequestToJSONTyped(value?: SignOutRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pingram
6
+ * Internal API for notification delivery and management
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSignOutRequest = instanceOfSignOutRequest;
17
+ exports.SignOutRequestFromJSON = SignOutRequestFromJSON;
18
+ exports.SignOutRequestFromJSONTyped = SignOutRequestFromJSONTyped;
19
+ exports.SignOutRequestToJSON = SignOutRequestToJSON;
20
+ exports.SignOutRequestToJSONTyped = SignOutRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignOutRequest interface.
23
+ */
24
+ function instanceOfSignOutRequest(value) {
25
+ if (!('refreshToken' in value) || value['refreshToken'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SignOutRequestFromJSON(json) {
30
+ return SignOutRequestFromJSONTyped(json, false);
31
+ }
32
+ function SignOutRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ refreshToken: json['refreshToken']
38
+ };
39
+ }
40
+ function SignOutRequestToJSON(json) {
41
+ return SignOutRequestToJSONTyped(json, false);
42
+ }
43
+ function SignOutRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ refreshToken: value['refreshToken']
49
+ };
50
+ }
@@ -252,6 +252,7 @@ export * from './SenderPostBodyUser';
252
252
  export * from './SenderPostBodyWebPush';
253
253
  export * from './SenderPostResponse';
254
254
  export * from './SetDefaultTemplateRequest';
255
+ export * from './SignOutRequest';
255
256
  export * from './SlackConnectInviteResponse';
256
257
  export * from './SlackInteractivityResponse';
257
258
  export * from './StartChangeEmailRequest';
@@ -270,6 +270,7 @@ __exportStar(require("./SenderPostBodyUser"), exports);
270
270
  __exportStar(require("./SenderPostBodyWebPush"), exports);
271
271
  __exportStar(require("./SenderPostResponse"), exports);
272
272
  __exportStar(require("./SetDefaultTemplateRequest"), exports);
273
+ __exportStar(require("./SignOutRequest"), exports);
273
274
  __exportStar(require("./SlackConnectInviteResponse"), exports);
274
275
  __exportStar(require("./SlackInteractivityResponse"), exports);
275
276
  __exportStar(require("./StartChangeEmailRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.39-alpha.1659",
3
+ "version": "1.0.39-alpha.1661",
4
4
  "description": "Official Node.js SDK for Pingram - Send notifications via Email, SMS, Push, In-App, and more",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",