@salable/sdk 1.0.53 → 1.0.54
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/index.es.js +79 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +79 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/owners/index.d.ts +21 -1
- package/dist/sdk/models/index.d.ts +111 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GetOwnerListSchema } from '../../models/index.js';
|
|
1
|
+
import { type CreateOwnerRequestSchema, type CreateOwnerResponseSchema, type GetOwnerListSchema } from '../../models/index.js';
|
|
2
2
|
import { type OwnersItemRequestBuilder } from './item/index.js';
|
|
3
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
4
|
export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
|
|
@@ -23,12 +23,32 @@ export interface OwnersRequestBuilder extends BaseRequestBuilder<OwnersRequestBu
|
|
|
23
23
|
* @throws {ErrorResponseBody} error when the service returns a 500 status code
|
|
24
24
|
*/
|
|
25
25
|
get(requestConfiguration?: RequestConfiguration<OwnersRequestBuilderGetQueryParameters> | undefined): Promise<GetOwnerListSchema | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create Owner
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<CreateOwnerResponseSchema>}
|
|
31
|
+
* @throws {ErrorResponseBody} error when the service returns a 400 status code
|
|
32
|
+
* @throws {ErrorResponseBody} error when the service returns a 401 status code
|
|
33
|
+
* @throws {ErrorResponseBody} error when the service returns a 405 status code
|
|
34
|
+
* @throws {ErrorResponseBody} error when the service returns a 409 status code
|
|
35
|
+
* @throws {ErrorResponseBody} error when the service returns a 429 status code
|
|
36
|
+
* @throws {ErrorResponseBody} error when the service returns a 500 status code
|
|
37
|
+
*/
|
|
38
|
+
post(body: CreateOwnerRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateOwnerResponseSchema | undefined>;
|
|
26
39
|
/**
|
|
27
40
|
* List Owners
|
|
28
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
42
|
* @returns {RequestInformation}
|
|
30
43
|
*/
|
|
31
44
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OwnersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Create Owner
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toPostRequestInformation(body: CreateOwnerRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
52
|
}
|
|
33
53
|
/**
|
|
34
54
|
* List Owners
|
|
@@ -715,6 +715,24 @@ export declare function createCreateOwnerPortalResponseSchema_dataFromDiscrimina
|
|
|
715
715
|
* @returns {CreateOwnerPortalResponseSchema}
|
|
716
716
|
*/
|
|
717
717
|
export declare function createCreateOwnerPortalResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
718
|
+
/**
|
|
719
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
720
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
721
|
+
* @returns {CreateOwnerRequestSchema}
|
|
722
|
+
*/
|
|
723
|
+
export declare function createCreateOwnerRequestSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
724
|
+
/**
|
|
725
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
726
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
727
|
+
* @returns {CreateOwnerResponseSchema_data}
|
|
728
|
+
*/
|
|
729
|
+
export declare function createCreateOwnerResponseSchema_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
730
|
+
/**
|
|
731
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
732
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
733
|
+
* @returns {CreateOwnerResponseSchema}
|
|
734
|
+
*/
|
|
735
|
+
export declare function createCreateOwnerResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
718
736
|
/**
|
|
719
737
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
720
738
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2980,6 +2998,60 @@ export interface CreateOwnerPortalResponseSchema_data extends AdditionalDataHold
|
|
|
2980
2998
|
*/
|
|
2981
2999
|
url?: string | null;
|
|
2982
3000
|
}
|
|
3001
|
+
export interface CreateOwnerRequestSchema extends Parsable {
|
|
3002
|
+
/**
|
|
3003
|
+
* The name property
|
|
3004
|
+
*/
|
|
3005
|
+
name?: string | null;
|
|
3006
|
+
/**
|
|
3007
|
+
* The value property
|
|
3008
|
+
*/
|
|
3009
|
+
value?: string | null;
|
|
3010
|
+
}
|
|
3011
|
+
export interface CreateOwnerResponseSchema extends Parsable {
|
|
3012
|
+
/**
|
|
3013
|
+
* The data property
|
|
3014
|
+
*/
|
|
3015
|
+
data?: CreateOwnerResponseSchema_data | null;
|
|
3016
|
+
/**
|
|
3017
|
+
* The type property
|
|
3018
|
+
*/
|
|
3019
|
+
type?: string | null;
|
|
3020
|
+
}
|
|
3021
|
+
export interface CreateOwnerResponseSchema_data extends Parsable {
|
|
3022
|
+
/**
|
|
3023
|
+
* The createdAt property
|
|
3024
|
+
*/
|
|
3025
|
+
createdAt?: string | null;
|
|
3026
|
+
/**
|
|
3027
|
+
* The emailAddress property
|
|
3028
|
+
*/
|
|
3029
|
+
emailAddress?: string | null;
|
|
3030
|
+
/**
|
|
3031
|
+
* The id property
|
|
3032
|
+
*/
|
|
3033
|
+
id?: string | null;
|
|
3034
|
+
/**
|
|
3035
|
+
* The name property
|
|
3036
|
+
*/
|
|
3037
|
+
name?: string | null;
|
|
3038
|
+
/**
|
|
3039
|
+
* The organisation property
|
|
3040
|
+
*/
|
|
3041
|
+
organisation?: string | null;
|
|
3042
|
+
/**
|
|
3043
|
+
* The stripeCustomerId property
|
|
3044
|
+
*/
|
|
3045
|
+
stripeCustomerId?: string | null;
|
|
3046
|
+
/**
|
|
3047
|
+
* The updatedAt property
|
|
3048
|
+
*/
|
|
3049
|
+
updatedAt?: string | null;
|
|
3050
|
+
/**
|
|
3051
|
+
* The value property
|
|
3052
|
+
*/
|
|
3053
|
+
value?: string | null;
|
|
3054
|
+
}
|
|
2983
3055
|
/**
|
|
2984
3056
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2985
3057
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3894,6 +3966,24 @@ export declare function deserializeIntoCreateOwnerPortalResponseSchema(createOwn
|
|
|
3894
3966
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3895
3967
|
*/
|
|
3896
3968
|
export declare function deserializeIntoCreateOwnerPortalResponseSchema_data(createOwnerPortalResponseSchema_data?: Partial<CreateOwnerPortalResponseSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3969
|
+
/**
|
|
3970
|
+
* The deserialization information for the current model
|
|
3971
|
+
* @param CreateOwnerRequestSchema The instance to deserialize into.
|
|
3972
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3973
|
+
*/
|
|
3974
|
+
export declare function deserializeIntoCreateOwnerRequestSchema(createOwnerRequestSchema?: Partial<CreateOwnerRequestSchema> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3975
|
+
/**
|
|
3976
|
+
* The deserialization information for the current model
|
|
3977
|
+
* @param CreateOwnerResponseSchema The instance to deserialize into.
|
|
3978
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3979
|
+
*/
|
|
3980
|
+
export declare function deserializeIntoCreateOwnerResponseSchema(createOwnerResponseSchema?: Partial<CreateOwnerResponseSchema> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3981
|
+
/**
|
|
3982
|
+
* The deserialization information for the current model
|
|
3983
|
+
* @param CreateOwnerResponseSchema_data The instance to deserialize into.
|
|
3984
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3985
|
+
*/
|
|
3986
|
+
export declare function deserializeIntoCreateOwnerResponseSchema_data(createOwnerResponseSchema_data?: Partial<CreateOwnerResponseSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3897
3987
|
/**
|
|
3898
3988
|
* The deserialization information for the current model
|
|
3899
3989
|
* @param CreatePlanResponseSchema The instance to deserialize into.
|
|
@@ -15085,6 +15175,27 @@ export declare function serializeCreateOwnerPortalResponseSchema(writer: Seriali
|
|
|
15085
15175
|
* @param writer Serialization writer to use to serialize this model
|
|
15086
15176
|
*/
|
|
15087
15177
|
export declare function serializeCreateOwnerPortalResponseSchema_data(writer: SerializationWriter, createOwnerPortalResponseSchema_data?: Partial<CreateOwnerPortalResponseSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15178
|
+
/**
|
|
15179
|
+
* Serializes information the current object
|
|
15180
|
+
* @param CreateOwnerRequestSchema The instance to serialize from.
|
|
15181
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15182
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15183
|
+
*/
|
|
15184
|
+
export declare function serializeCreateOwnerRequestSchema(writer: SerializationWriter, createOwnerRequestSchema?: Partial<CreateOwnerRequestSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15185
|
+
/**
|
|
15186
|
+
* Serializes information the current object
|
|
15187
|
+
* @param CreateOwnerResponseSchema The instance to serialize from.
|
|
15188
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15189
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15190
|
+
*/
|
|
15191
|
+
export declare function serializeCreateOwnerResponseSchema(writer: SerializationWriter, createOwnerResponseSchema?: Partial<CreateOwnerResponseSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15192
|
+
/**
|
|
15193
|
+
* Serializes information the current object
|
|
15194
|
+
* @param CreateOwnerResponseSchema_data The instance to serialize from.
|
|
15195
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15196
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15197
|
+
*/
|
|
15198
|
+
export declare function serializeCreateOwnerResponseSchema_data(writer: SerializationWriter, createOwnerResponseSchema_data?: Partial<CreateOwnerResponseSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15088
15199
|
/**
|
|
15089
15200
|
* Serializes information the current object
|
|
15090
15201
|
* @param CreatePlanResponseSchema The instance to serialize from.
|