pingram 1.0.40-alpha.1693 → 1.0.40-alpha.1696

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.
@@ -237,6 +237,12 @@ export interface LogsGetResponseLogsInner {
237
237
  * @memberof LogsGetResponseLogsInner
238
238
  */
239
239
  email_delivered_webhook_res?: string;
240
+ /**
241
+ *
242
+ * @type {string}
243
+ * @memberof LogsGetResponseLogsInner
244
+ */
245
+ email_delivered_internal?: string;
240
246
  /**
241
247
  *
242
248
  * @type {string}
@@ -436,6 +436,9 @@ function LogsGetResponseLogsInnerFromJSONTyped(json, ignoreDiscriminator) {
436
436
  email_delivered_webhook_res: json['email_delivered_webhook_res'] == null
437
437
  ? undefined
438
438
  : json['email_delivered_webhook_res'],
439
+ email_delivered_internal: json['email_delivered_internal'] == null
440
+ ? undefined
441
+ : json['email_delivered_internal'],
439
442
  email_failed_at: json['email_failed_at'] == null ? undefined : json['email_failed_at'],
440
443
  email_failed_code: json['email_failed_code'] == null ? undefined : json['email_failed_code'],
441
444
  email_failed_recipient: json['email_failed_recipient'] == null
@@ -784,6 +787,7 @@ function LogsGetResponseLogsInnerToJSONTyped(value, ignoreDiscriminator = false)
784
787
  email_delivered_recipients: value['email_delivered_recipients'],
785
788
  email_delivered_after: value['email_delivered_after'],
786
789
  email_delivered_webhook_res: value['email_delivered_webhook_res'],
790
+ email_delivered_internal: value['email_delivered_internal'],
787
791
  email_failed_at: value['email_failed_at'],
788
792
  email_failed_code: value['email_failed_code'],
789
793
  email_failed_recipient: value['email_failed_recipient'],
@@ -0,0 +1,38 @@
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
+ * Whether the signed-in user can set a first password.
14
+ * @export
15
+ * @interface PasswordStatusResponse
16
+ */
17
+ export interface PasswordStatusResponse {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof PasswordStatusResponse
22
+ */
23
+ canSetPassword: boolean;
24
+ /**
25
+ * Linked social sign-in providers, such as Google.
26
+ * @type {Array<string>}
27
+ * @memberof PasswordStatusResponse
28
+ */
29
+ providers: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PasswordStatusResponse interface.
33
+ */
34
+ export declare function instanceOfPasswordStatusResponse(value: object): value is PasswordStatusResponse;
35
+ export declare function PasswordStatusResponseFromJSON(json: any): PasswordStatusResponse;
36
+ export declare function PasswordStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordStatusResponse;
37
+ export declare function PasswordStatusResponseToJSON(json: any): PasswordStatusResponse;
38
+ export declare function PasswordStatusResponseToJSONTyped(value?: PasswordStatusResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfPasswordStatusResponse = instanceOfPasswordStatusResponse;
17
+ exports.PasswordStatusResponseFromJSON = PasswordStatusResponseFromJSON;
18
+ exports.PasswordStatusResponseFromJSONTyped = PasswordStatusResponseFromJSONTyped;
19
+ exports.PasswordStatusResponseToJSON = PasswordStatusResponseToJSON;
20
+ exports.PasswordStatusResponseToJSONTyped = PasswordStatusResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PasswordStatusResponse interface.
23
+ */
24
+ function instanceOfPasswordStatusResponse(value) {
25
+ if (!('canSetPassword' in value) || value['canSetPassword'] === undefined)
26
+ return false;
27
+ if (!('providers' in value) || value['providers'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PasswordStatusResponseFromJSON(json) {
32
+ return PasswordStatusResponseFromJSONTyped(json, false);
33
+ }
34
+ function PasswordStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ canSetPassword: json['canSetPassword'],
40
+ providers: json['providers']
41
+ };
42
+ }
43
+ function PasswordStatusResponseToJSON(json) {
44
+ return PasswordStatusResponseToJSONTyped(json, false);
45
+ }
46
+ function PasswordStatusResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ canSetPassword: value['canSetPassword'],
52
+ providers: value['providers']
53
+ };
54
+ }
@@ -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
+ *
14
+ * @export
15
+ * @interface SetPasswordRequest
16
+ */
17
+ export interface SetPasswordRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SetPasswordRequest
22
+ */
23
+ password: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SetPasswordRequest interface.
27
+ */
28
+ export declare function instanceOfSetPasswordRequest(value: object): value is SetPasswordRequest;
29
+ export declare function SetPasswordRequestFromJSON(json: any): SetPasswordRequest;
30
+ export declare function SetPasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetPasswordRequest;
31
+ export declare function SetPasswordRequestToJSON(json: any): SetPasswordRequest;
32
+ export declare function SetPasswordRequestToJSONTyped(value?: SetPasswordRequest | 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.instanceOfSetPasswordRequest = instanceOfSetPasswordRequest;
17
+ exports.SetPasswordRequestFromJSON = SetPasswordRequestFromJSON;
18
+ exports.SetPasswordRequestFromJSONTyped = SetPasswordRequestFromJSONTyped;
19
+ exports.SetPasswordRequestToJSON = SetPasswordRequestToJSON;
20
+ exports.SetPasswordRequestToJSONTyped = SetPasswordRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SetPasswordRequest interface.
23
+ */
24
+ function instanceOfSetPasswordRequest(value) {
25
+ if (!('password' in value) || value['password'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SetPasswordRequestFromJSON(json) {
30
+ return SetPasswordRequestFromJSONTyped(json, false);
31
+ }
32
+ function SetPasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ password: json['password']
38
+ };
39
+ }
40
+ function SetPasswordRequestToJSON(json) {
41
+ return SetPasswordRequestToJSONTyped(json, false);
42
+ }
43
+ function SetPasswordRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ password: value['password']
49
+ };
50
+ }
@@ -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
+ *
14
+ * @export
15
+ * @interface SignInUsernameRequest
16
+ */
17
+ export interface SignInUsernameRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SignInUsernameRequest
22
+ */
23
+ email: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SignInUsernameRequest interface.
27
+ */
28
+ export declare function instanceOfSignInUsernameRequest(value: object): value is SignInUsernameRequest;
29
+ export declare function SignInUsernameRequestFromJSON(json: any): SignInUsernameRequest;
30
+ export declare function SignInUsernameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInUsernameRequest;
31
+ export declare function SignInUsernameRequestToJSON(json: any): SignInUsernameRequest;
32
+ export declare function SignInUsernameRequestToJSONTyped(value?: SignInUsernameRequest | 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.instanceOfSignInUsernameRequest = instanceOfSignInUsernameRequest;
17
+ exports.SignInUsernameRequestFromJSON = SignInUsernameRequestFromJSON;
18
+ exports.SignInUsernameRequestFromJSONTyped = SignInUsernameRequestFromJSONTyped;
19
+ exports.SignInUsernameRequestToJSON = SignInUsernameRequestToJSON;
20
+ exports.SignInUsernameRequestToJSONTyped = SignInUsernameRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignInUsernameRequest interface.
23
+ */
24
+ function instanceOfSignInUsernameRequest(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SignInUsernameRequestFromJSON(json) {
30
+ return SignInUsernameRequestFromJSONTyped(json, false);
31
+ }
32
+ function SignInUsernameRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ email: json['email']
38
+ };
39
+ }
40
+ function SignInUsernameRequestToJSON(json) {
41
+ return SignInUsernameRequestToJSONTyped(json, false);
42
+ }
43
+ function SignInUsernameRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ email: value['email']
49
+ };
50
+ }
@@ -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
+ * Cognito username to pass to sign-in and password reset.
14
+ * @export
15
+ * @interface SignInUsernameResponse
16
+ */
17
+ export interface SignInUsernameResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SignInUsernameResponse
22
+ */
23
+ username: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SignInUsernameResponse interface.
27
+ */
28
+ export declare function instanceOfSignInUsernameResponse(value: object): value is SignInUsernameResponse;
29
+ export declare function SignInUsernameResponseFromJSON(json: any): SignInUsernameResponse;
30
+ export declare function SignInUsernameResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignInUsernameResponse;
31
+ export declare function SignInUsernameResponseToJSON(json: any): SignInUsernameResponse;
32
+ export declare function SignInUsernameResponseToJSONTyped(value?: SignInUsernameResponse | 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.instanceOfSignInUsernameResponse = instanceOfSignInUsernameResponse;
17
+ exports.SignInUsernameResponseFromJSON = SignInUsernameResponseFromJSON;
18
+ exports.SignInUsernameResponseFromJSONTyped = SignInUsernameResponseFromJSONTyped;
19
+ exports.SignInUsernameResponseToJSON = SignInUsernameResponseToJSON;
20
+ exports.SignInUsernameResponseToJSONTyped = SignInUsernameResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SignInUsernameResponse interface.
23
+ */
24
+ function instanceOfSignInUsernameResponse(value) {
25
+ if (!('username' in value) || value['username'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SignInUsernameResponseFromJSON(json) {
30
+ return SignInUsernameResponseFromJSONTyped(json, false);
31
+ }
32
+ function SignInUsernameResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ username: json['username']
38
+ };
39
+ }
40
+ function SignInUsernameResponseToJSON(json) {
41
+ return SignInUsernameResponseToJSONTyped(json, false);
42
+ }
43
+ function SignInUsernameResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ username: value['username']
49
+ };
50
+ }
@@ -212,6 +212,7 @@ export * from './OpenaiGptRealtime21';
212
212
  export * from './OpenaiGptRealtime21Mini';
213
213
  export * from './OrderPhoneNumberRequest';
214
214
  export * from './OrderPhoneNumberResponse';
215
+ export * from './PasswordStatusResponse';
215
216
  export * from './PhoneVerifyConfirmRequest';
216
217
  export * from './PhoneVerifyConfirmResponse';
217
218
  export * from './PhoneVerifyStartRequest';
@@ -260,6 +261,9 @@ export * from './SenderPostBodyUser';
260
261
  export * from './SenderPostBodyWebPush';
261
262
  export * from './SenderPostResponse';
262
263
  export * from './SetDefaultTemplateRequest';
264
+ export * from './SetPasswordRequest';
265
+ export * from './SignInUsernameRequest';
266
+ export * from './SignInUsernameResponse';
263
267
  export * from './SignOutRequest';
264
268
  export * from './SlackConnectInviteResponse';
265
269
  export * from './SlackInteractivityResponse';
@@ -230,6 +230,7 @@ __exportStar(require("./OpenaiGptRealtime21"), exports);
230
230
  __exportStar(require("./OpenaiGptRealtime21Mini"), exports);
231
231
  __exportStar(require("./OrderPhoneNumberRequest"), exports);
232
232
  __exportStar(require("./OrderPhoneNumberResponse"), exports);
233
+ __exportStar(require("./PasswordStatusResponse"), exports);
233
234
  __exportStar(require("./PhoneVerifyConfirmRequest"), exports);
234
235
  __exportStar(require("./PhoneVerifyConfirmResponse"), exports);
235
236
  __exportStar(require("./PhoneVerifyStartRequest"), exports);
@@ -278,6 +279,9 @@ __exportStar(require("./SenderPostBodyUser"), exports);
278
279
  __exportStar(require("./SenderPostBodyWebPush"), exports);
279
280
  __exportStar(require("./SenderPostResponse"), exports);
280
281
  __exportStar(require("./SetDefaultTemplateRequest"), exports);
282
+ __exportStar(require("./SetPasswordRequest"), exports);
283
+ __exportStar(require("./SignInUsernameRequest"), exports);
284
+ __exportStar(require("./SignInUsernameResponse"), exports);
281
285
  __exportStar(require("./SignOutRequest"), exports);
282
286
  __exportStar(require("./SlackConnectInviteResponse"), exports);
283
287
  __exportStar(require("./SlackInteractivityResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.40-alpha.1693",
3
+ "version": "1.0.40-alpha.1696",
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",