@leadping/sdk 1.0.31 → 1.0.32
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/models/index.d.ts +93 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +87 -0
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +5 -0
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +5 -0
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/push/index.d.ts +20 -0
- package/dist/notifications/push/index.d.ts.map +1 -0
- package/dist/notifications/push/index.js +20 -0
- package/dist/notifications/push/index.js.map +1 -0
- package/dist/notifications/push/installations/current/index.d.ts +32 -0
- package/dist/notifications/push/installations/current/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/current/index.js +30 -0
- package/dist/notifications/push/installations/current/index.js.map +1 -0
- package/dist/notifications/push/installations/index.d.ts +27 -0
- package/dist/notifications/push/installations/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/index.js +26 -0
- package/dist/notifications/push/installations/index.js.map +1 -0
- package/dist/notifications/push/installations/item/index.d.ts +28 -0
- package/dist/notifications/push/installations/item/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/item/index.js +26 -0
- package/dist/notifications/push/installations/item/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -2547,6 +2547,18 @@ export declare function createPhoneNumberTrafficTrendPointFromDiscriminatorValue
|
|
|
2547
2547
|
* @returns {ProblemDetails}
|
|
2548
2548
|
*/
|
|
2549
2549
|
export declare function createProblemDetailsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2550
|
+
/**
|
|
2551
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2552
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2553
|
+
* @returns {PushInstallationRequest_metadata}
|
|
2554
|
+
*/
|
|
2555
|
+
export declare function createPushInstallationRequest_metadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2556
|
+
/**
|
|
2557
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2558
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2559
|
+
* @returns {PushInstallationRequest}
|
|
2560
|
+
*/
|
|
2561
|
+
export declare function createPushInstallationRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2550
2562
|
/**
|
|
2551
2563
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2552
2564
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4540,6 +4552,18 @@ export declare function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberT
|
|
|
4540
4552
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4541
4553
|
*/
|
|
4542
4554
|
export declare function deserializeIntoProblemDetails(problemDetails?: Partial<ProblemDetails> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4555
|
+
/**
|
|
4556
|
+
* The deserialization information for the current model
|
|
4557
|
+
* @param PushInstallationRequest The instance to deserialize into.
|
|
4558
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4559
|
+
*/
|
|
4560
|
+
export declare function deserializeIntoPushInstallationRequest(pushInstallationRequest?: Partial<PushInstallationRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4561
|
+
/**
|
|
4562
|
+
* The deserialization information for the current model
|
|
4563
|
+
* @param PushInstallationRequest_metadata The instance to deserialize into.
|
|
4564
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4565
|
+
*/
|
|
4566
|
+
export declare function deserializeIntoPushInstallationRequest_metadata(pushInstallationRequest_metadata?: Partial<PushInstallationRequest_metadata> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4543
4567
|
/**
|
|
4544
4568
|
* The deserialization information for the current model
|
|
4545
4569
|
* @param RangeFilter The instance to deserialize into.
|
|
@@ -6614,6 +6638,10 @@ export interface NotificationResponse extends AdditionalDataHolder, Parsable {
|
|
|
6614
6638
|
* The priority value for this notification.
|
|
6615
6639
|
*/
|
|
6616
6640
|
priority?: NotificationPriority | null;
|
|
6641
|
+
/**
|
|
6642
|
+
* Whether this notification should also be delivered as a device push notification.
|
|
6643
|
+
*/
|
|
6644
|
+
pushEnabled?: boolean | null;
|
|
6617
6645
|
/**
|
|
6618
6646
|
* The date and time for the read at value on this notification.
|
|
6619
6647
|
*/
|
|
@@ -9359,6 +9387,57 @@ export interface ProblemDetails extends AdditionalDataHolder, ApiError, Parsable
|
|
|
9359
9387
|
*/
|
|
9360
9388
|
type?: string | null;
|
|
9361
9389
|
}
|
|
9390
|
+
/**
|
|
9391
|
+
* Describes a mobile push installation. Identity and Azure tags are derived by the API.
|
|
9392
|
+
*/
|
|
9393
|
+
export interface PushInstallationRequest extends AdditionalDataHolder, Parsable {
|
|
9394
|
+
/**
|
|
9395
|
+
* The appBuild property
|
|
9396
|
+
*/
|
|
9397
|
+
appBuild?: string | null;
|
|
9398
|
+
/**
|
|
9399
|
+
* The appIdentifier property
|
|
9400
|
+
*/
|
|
9401
|
+
appIdentifier?: string | null;
|
|
9402
|
+
/**
|
|
9403
|
+
* The appName property
|
|
9404
|
+
*/
|
|
9405
|
+
appName?: string | null;
|
|
9406
|
+
/**
|
|
9407
|
+
* The appVersion property
|
|
9408
|
+
*/
|
|
9409
|
+
appVersion?: string | null;
|
|
9410
|
+
/**
|
|
9411
|
+
* The deviceModel property
|
|
9412
|
+
*/
|
|
9413
|
+
deviceModel?: string | null;
|
|
9414
|
+
/**
|
|
9415
|
+
* The devicePlatform property
|
|
9416
|
+
*/
|
|
9417
|
+
devicePlatform?: string | null;
|
|
9418
|
+
/**
|
|
9419
|
+
* The deviceVersion property
|
|
9420
|
+
*/
|
|
9421
|
+
deviceVersion?: string | null;
|
|
9422
|
+
/**
|
|
9423
|
+
* The installationId property
|
|
9424
|
+
*/
|
|
9425
|
+
installationId?: string | null;
|
|
9426
|
+
/**
|
|
9427
|
+
* The metadata property
|
|
9428
|
+
*/
|
|
9429
|
+
metadata?: PushInstallationRequest_metadata | null;
|
|
9430
|
+
/**
|
|
9431
|
+
* The platform property
|
|
9432
|
+
*/
|
|
9433
|
+
platform?: string | null;
|
|
9434
|
+
/**
|
|
9435
|
+
* The pushChannel property
|
|
9436
|
+
*/
|
|
9437
|
+
pushChannel?: string | null;
|
|
9438
|
+
}
|
|
9439
|
+
export interface PushInstallationRequest_metadata extends AdditionalDataHolder, Parsable {
|
|
9440
|
+
}
|
|
9362
9441
|
/**
|
|
9363
9442
|
* A generic object for handling range filtering during querying
|
|
9364
9443
|
*/
|
|
@@ -10831,6 +10910,20 @@ export declare function serializePhoneNumberTrafficTrendPoint(writer: Serializat
|
|
|
10831
10910
|
* @param writer Serialization writer to use to serialize this model
|
|
10832
10911
|
*/
|
|
10833
10912
|
export declare function serializeProblemDetails(writer: SerializationWriter, problemDetails?: Partial<ProblemDetails> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
10913
|
+
/**
|
|
10914
|
+
* Serializes information the current object
|
|
10915
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10916
|
+
* @param PushInstallationRequest The instance to serialize from.
|
|
10917
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10918
|
+
*/
|
|
10919
|
+
export declare function serializePushInstallationRequest(writer: SerializationWriter, pushInstallationRequest?: Partial<PushInstallationRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
10920
|
+
/**
|
|
10921
|
+
* Serializes information the current object
|
|
10922
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10923
|
+
* @param PushInstallationRequest_metadata The instance to serialize from.
|
|
10924
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10925
|
+
*/
|
|
10926
|
+
export declare function serializePushInstallationRequest_metadata(writer: SerializationWriter, pushInstallationRequest_metadata?: Partial<PushInstallationRequest_metadata> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
10834
10927
|
/**
|
|
10835
10928
|
* Serializes information the current object
|
|
10836
10929
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|