@hypelabs-llc/ts-sdk 0.2.1 → 0.2.2
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/generated/connectApiClient.d.ts +5 -0
- package/dist/generated/connectApiClient.js +5 -0
- package/dist/generated/models/index.d.ts +96 -0
- package/dist/generated/models/index.js +88 -0
- package/dist/generated/organizations/branding/index.d.ts +27 -0
- package/dist/generated/organizations/branding/index.js +22 -0
- package/dist/generated/organizations/index.d.ts +24 -0
- package/dist/generated/organizations/index.js +24 -0
- package/dist/generated/organizations/store/index.d.ts +27 -0
- package/dist/generated/organizations/store/index.js +22 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { type CatalogRequestBuilder } from './catalog/index.js';
|
|
|
3
3
|
import { type CustomersRequestBuilder } from './customers/index.js';
|
|
4
4
|
import { type IncidentsRequestBuilder } from './incidents/index.js';
|
|
5
5
|
import { type OrdersRequestBuilder } from './orders/index.js';
|
|
6
|
+
import { type OrganizationsRequestBuilder } from './organizations/index.js';
|
|
6
7
|
import { type ProxiesRequestBuilder } from './proxies/index.js';
|
|
7
8
|
import { type ReviewsRequestBuilder } from './reviews/index.js';
|
|
8
9
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
@@ -30,6 +31,10 @@ export interface ConnectApiClient extends BaseRequestBuilder<ConnectApiClient> {
|
|
|
30
31
|
* The orders property
|
|
31
32
|
*/
|
|
32
33
|
get orders(): OrdersRequestBuilder;
|
|
34
|
+
/**
|
|
35
|
+
* The organizations property
|
|
36
|
+
*/
|
|
37
|
+
get organizations(): OrganizationsRequestBuilder;
|
|
33
38
|
/**
|
|
34
39
|
* The proxies property
|
|
35
40
|
*/
|
|
@@ -12,6 +12,8 @@ import { IncidentsRequestBuilderNavigationMetadata, IncidentsRequestBuilderReque
|
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
import { OrdersRequestBuilderNavigationMetadata, OrdersRequestBuilderRequestsMetadata } from './orders/index.js';
|
|
14
14
|
// @ts-ignore
|
|
15
|
+
import { OrganizationsRequestBuilderNavigationMetadata } from './organizations/index.js';
|
|
16
|
+
// @ts-ignore
|
|
15
17
|
import { ProxiesRequestBuilderNavigationMetadata, ProxiesRequestBuilderRequestsMetadata } from './proxies/index.js';
|
|
16
18
|
// @ts-ignore
|
|
17
19
|
import { ReviewsRequestBuilderNavigationMetadata, ReviewsRequestBuilderRequestsMetadata } from './reviews/index.js';
|
|
@@ -82,6 +84,9 @@ export const ConnectApiClientNavigationMetadata = {
|
|
|
82
84
|
requestsMetadata: OrdersRequestBuilderRequestsMetadata,
|
|
83
85
|
navigationMetadata: OrdersRequestBuilderNavigationMetadata,
|
|
84
86
|
},
|
|
87
|
+
organizations: {
|
|
88
|
+
navigationMetadata: OrganizationsRequestBuilderNavigationMetadata,
|
|
89
|
+
},
|
|
85
90
|
proxies: {
|
|
86
91
|
requestsMetadata: ProxiesRequestBuilderRequestsMetadata,
|
|
87
92
|
navigationMetadata: ProxiesRequestBuilderNavigationMetadata,
|
|
@@ -496,6 +496,18 @@ export interface CreateOrderResponse extends AdditionalDataHolder, Parsable {
|
|
|
496
496
|
*/
|
|
497
497
|
returnUrl?: string | null;
|
|
498
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
501
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
502
|
+
* @returns {OrganizationBranding}
|
|
503
|
+
*/
|
|
504
|
+
export declare function createOrganizationBrandingFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
505
|
+
/**
|
|
506
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
507
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
508
|
+
* @returns {OrganizationStore}
|
|
509
|
+
*/
|
|
510
|
+
export declare function createOrganizationStoreFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
499
511
|
/**
|
|
500
512
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
501
513
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1202,6 +1214,18 @@ export declare function deserializeIntoOrderItem(orderItem?: Partial<OrderItem>
|
|
|
1202
1214
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1203
1215
|
*/
|
|
1204
1216
|
export declare function deserializeIntoOrderItem_metadata(orderItem_metadata?: Partial<OrderItem_metadata> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1217
|
+
/**
|
|
1218
|
+
* The deserialization information for the current model
|
|
1219
|
+
* @param OrganizationBranding The instance to deserialize into.
|
|
1220
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1221
|
+
*/
|
|
1222
|
+
export declare function deserializeIntoOrganizationBranding(organizationBranding?: Partial<OrganizationBranding> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1223
|
+
/**
|
|
1224
|
+
* The deserialization information for the current model
|
|
1225
|
+
* @param OrganizationStore The instance to deserialize into.
|
|
1226
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1227
|
+
*/
|
|
1228
|
+
export declare function deserializeIntoOrganizationStore(organizationStore?: Partial<OrganizationStore> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1205
1229
|
/**
|
|
1206
1230
|
* The deserialization information for the current model
|
|
1207
1231
|
* @param PatchCustomerBillingRequest The instance to deserialize into.
|
|
@@ -1797,6 +1821,64 @@ export interface OrderItem extends AdditionalDataHolder, Parsable {
|
|
|
1797
1821
|
export interface OrderItem_metadata extends AdditionalDataHolder, Parsable {
|
|
1798
1822
|
}
|
|
1799
1823
|
export type OrderStatuses = (typeof OrderStatusesObject)[keyof typeof OrderStatusesObject];
|
|
1824
|
+
/**
|
|
1825
|
+
* White-label branding for an organization (colors, logos, icon). A value object owned byOrganization with no identity of its own. All fields optional.Naming convention: an organization's sub-aspects are `Organization<Aspect>` value objectsexposed as a same-named property on Organization (e.g. this `Branding`, or a future`OrganizationBilling` as `Billing`). Same shape every time.
|
|
1826
|
+
*/
|
|
1827
|
+
export interface OrganizationBranding extends AdditionalDataHolder, Parsable {
|
|
1828
|
+
/**
|
|
1829
|
+
* Accent color as a hex string (e.g. "#4F46E5"), used to theme the reseller's UI.
|
|
1830
|
+
*/
|
|
1831
|
+
accentColor?: string | null;
|
|
1832
|
+
/**
|
|
1833
|
+
* Icon / favicon (URL).
|
|
1834
|
+
*/
|
|
1835
|
+
iconUrl?: string | null;
|
|
1836
|
+
/**
|
|
1837
|
+
* Single logo to fall back on: the light variant if set, otherwise the dark one.
|
|
1838
|
+
*/
|
|
1839
|
+
logo?: string | null;
|
|
1840
|
+
/**
|
|
1841
|
+
* Logo shown on dark backgrounds (URL).
|
|
1842
|
+
*/
|
|
1843
|
+
logoDarkUrl?: string | null;
|
|
1844
|
+
/**
|
|
1845
|
+
* Logo shown on light backgrounds (URL).
|
|
1846
|
+
*/
|
|
1847
|
+
logoLightUrl?: string | null;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* An organization's white-label store: the customer-facing storefront served under its own domain. A valueobject owned by Organization with no identity of its own; an organization has at most one, andit is null until a store is created. Follows the same convention as OrganizationBranding andOrganizationBilling: an `Organization<Aspect>` value object exposed as a same-namedproperty on Organization (here `Store`).
|
|
1851
|
+
*/
|
|
1852
|
+
export interface OrganizationStore extends AdditionalDataHolder, Parsable {
|
|
1853
|
+
/**
|
|
1854
|
+
* Crisp workspace id for the store's live chat.
|
|
1855
|
+
*/
|
|
1856
|
+
crispWorkspaceId?: string | null;
|
|
1857
|
+
/**
|
|
1858
|
+
* Domain or subdomain the store is served on.
|
|
1859
|
+
*/
|
|
1860
|
+
domain?: string | null;
|
|
1861
|
+
/**
|
|
1862
|
+
* Whether the store shows the documentation tab.
|
|
1863
|
+
*/
|
|
1864
|
+
showDocumentationTab?: boolean | null;
|
|
1865
|
+
/**
|
|
1866
|
+
* Whether the store shows the reviews tab.
|
|
1867
|
+
*/
|
|
1868
|
+
showReviewsTab?: boolean | null;
|
|
1869
|
+
/**
|
|
1870
|
+
* Link to the reseller's support channel, such as Telegram or Discord.
|
|
1871
|
+
*/
|
|
1872
|
+
supportUrl?: string | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Short tagline shown on the store.
|
|
1875
|
+
*/
|
|
1876
|
+
tagline?: string | null;
|
|
1877
|
+
/**
|
|
1878
|
+
* Message shown in the store's top banner; empty/null hides the banner.
|
|
1879
|
+
*/
|
|
1880
|
+
topBannerMessage?: string | null;
|
|
1881
|
+
}
|
|
1800
1882
|
export type PasswordHashSchemes = (typeof PasswordHashSchemesObject)[keyof typeof PasswordHashSchemesObject];
|
|
1801
1883
|
/**
|
|
1802
1884
|
* Partial update of a customer's billing details: only the provided fields are changed, the rest are left as they are.
|
|
@@ -2576,6 +2658,20 @@ export declare function serializeOrderItem(writer: SerializationWriter, orderIte
|
|
|
2576
2658
|
* @param writer Serialization writer to use to serialize this model
|
|
2577
2659
|
*/
|
|
2578
2660
|
export declare function serializeOrderItem_metadata(writer: SerializationWriter, orderItem_metadata?: Partial<OrderItem_metadata> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
2661
|
+
/**
|
|
2662
|
+
* Serializes information the current object
|
|
2663
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
2664
|
+
* @param OrganizationBranding The instance to serialize from.
|
|
2665
|
+
* @param writer Serialization writer to use to serialize this model
|
|
2666
|
+
*/
|
|
2667
|
+
export declare function serializeOrganizationBranding(writer: SerializationWriter, organizationBranding?: Partial<OrganizationBranding> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
2668
|
+
/**
|
|
2669
|
+
* Serializes information the current object
|
|
2670
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
2671
|
+
* @param OrganizationStore The instance to serialize from.
|
|
2672
|
+
* @param writer Serialization writer to use to serialize this model
|
|
2673
|
+
*/
|
|
2674
|
+
export declare function serializeOrganizationStore(writer: SerializationWriter, organizationStore?: Partial<OrganizationStore> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
2579
2675
|
/**
|
|
2580
2676
|
* Serializes information the current object
|
|
2581
2677
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -318,6 +318,24 @@ export function createOrderItem_metadataFromDiscriminatorValue(parseNode) {
|
|
|
318
318
|
export function createOrderItemFromDiscriminatorValue(parseNode) {
|
|
319
319
|
return deserializeIntoOrderItem;
|
|
320
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
323
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
324
|
+
* @returns {OrganizationBranding}
|
|
325
|
+
*/
|
|
326
|
+
// @ts-ignore
|
|
327
|
+
export function createOrganizationBrandingFromDiscriminatorValue(parseNode) {
|
|
328
|
+
return deserializeIntoOrganizationBranding;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
332
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
333
|
+
* @returns {OrganizationStore}
|
|
334
|
+
*/
|
|
335
|
+
// @ts-ignore
|
|
336
|
+
export function createOrganizationStoreFromDiscriminatorValue(parseNode) {
|
|
337
|
+
return deserializeIntoOrganizationStore;
|
|
338
|
+
}
|
|
321
339
|
/**
|
|
322
340
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
323
341
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1177,6 +1195,38 @@ export function deserializeIntoOrderItem(orderItem = {}) {
|
|
|
1177
1195
|
export function deserializeIntoOrderItem_metadata(orderItem_metadata = {}) {
|
|
1178
1196
|
return {};
|
|
1179
1197
|
}
|
|
1198
|
+
/**
|
|
1199
|
+
* The deserialization information for the current model
|
|
1200
|
+
* @param OrganizationBranding The instance to deserialize into.
|
|
1201
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1202
|
+
*/
|
|
1203
|
+
// @ts-ignore
|
|
1204
|
+
export function deserializeIntoOrganizationBranding(organizationBranding = {}) {
|
|
1205
|
+
return {
|
|
1206
|
+
"accentColor": n => { organizationBranding.accentColor = n.getStringValue(); },
|
|
1207
|
+
"iconUrl": n => { organizationBranding.iconUrl = n.getStringValue(); },
|
|
1208
|
+
"logo": n => { organizationBranding.logo = n.getStringValue(); },
|
|
1209
|
+
"logoDarkUrl": n => { organizationBranding.logoDarkUrl = n.getStringValue(); },
|
|
1210
|
+
"logoLightUrl": n => { organizationBranding.logoLightUrl = n.getStringValue(); },
|
|
1211
|
+
};
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* The deserialization information for the current model
|
|
1215
|
+
* @param OrganizationStore The instance to deserialize into.
|
|
1216
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1217
|
+
*/
|
|
1218
|
+
// @ts-ignore
|
|
1219
|
+
export function deserializeIntoOrganizationStore(organizationStore = {}) {
|
|
1220
|
+
return {
|
|
1221
|
+
"crispWorkspaceId": n => { organizationStore.crispWorkspaceId = n.getStringValue(); },
|
|
1222
|
+
"domain": n => { organizationStore.domain = n.getStringValue(); },
|
|
1223
|
+
"showDocumentationTab": n => { organizationStore.showDocumentationTab = n.getBooleanValue(); },
|
|
1224
|
+
"showReviewsTab": n => { organizationStore.showReviewsTab = n.getBooleanValue(); },
|
|
1225
|
+
"supportUrl": n => { organizationStore.supportUrl = n.getStringValue(); },
|
|
1226
|
+
"tagline": n => { organizationStore.tagline = n.getStringValue(); },
|
|
1227
|
+
"topBannerMessage": n => { organizationStore.topBannerMessage = n.getStringValue(); },
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1180
1230
|
/**
|
|
1181
1231
|
* The deserialization information for the current model
|
|
1182
1232
|
* @param PatchCustomerBillingRequest The instance to deserialize into.
|
|
@@ -2294,6 +2344,44 @@ export function serializeOrderItem_metadata(writer, orderItem_metadata = {}, isS
|
|
|
2294
2344
|
}
|
|
2295
2345
|
writer.writeAdditionalData(orderItem_metadata.additionalData);
|
|
2296
2346
|
}
|
|
2347
|
+
/**
|
|
2348
|
+
* Serializes information the current object
|
|
2349
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
2350
|
+
* @param OrganizationBranding The instance to serialize from.
|
|
2351
|
+
* @param writer Serialization writer to use to serialize this model
|
|
2352
|
+
*/
|
|
2353
|
+
// @ts-ignore
|
|
2354
|
+
export function serializeOrganizationBranding(writer, organizationBranding = {}, isSerializingDerivedType = false) {
|
|
2355
|
+
if (!organizationBranding || isSerializingDerivedType) {
|
|
2356
|
+
return;
|
|
2357
|
+
}
|
|
2358
|
+
writer.writeStringValue("accentColor", organizationBranding.accentColor);
|
|
2359
|
+
writer.writeStringValue("iconUrl", organizationBranding.iconUrl);
|
|
2360
|
+
writer.writeStringValue("logo", organizationBranding.logo);
|
|
2361
|
+
writer.writeStringValue("logoDarkUrl", organizationBranding.logoDarkUrl);
|
|
2362
|
+
writer.writeStringValue("logoLightUrl", organizationBranding.logoLightUrl);
|
|
2363
|
+
writer.writeAdditionalData(organizationBranding.additionalData);
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* Serializes information the current object
|
|
2367
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
2368
|
+
* @param OrganizationStore The instance to serialize from.
|
|
2369
|
+
* @param writer Serialization writer to use to serialize this model
|
|
2370
|
+
*/
|
|
2371
|
+
// @ts-ignore
|
|
2372
|
+
export function serializeOrganizationStore(writer, organizationStore = {}, isSerializingDerivedType = false) {
|
|
2373
|
+
if (!organizationStore || isSerializingDerivedType) {
|
|
2374
|
+
return;
|
|
2375
|
+
}
|
|
2376
|
+
writer.writeStringValue("crispWorkspaceId", organizationStore.crispWorkspaceId);
|
|
2377
|
+
writer.writeStringValue("domain", organizationStore.domain);
|
|
2378
|
+
writer.writeBooleanValue("showDocumentationTab", organizationStore.showDocumentationTab);
|
|
2379
|
+
writer.writeBooleanValue("showReviewsTab", organizationStore.showReviewsTab);
|
|
2380
|
+
writer.writeStringValue("supportUrl", organizationStore.supportUrl);
|
|
2381
|
+
writer.writeStringValue("tagline", organizationStore.tagline);
|
|
2382
|
+
writer.writeStringValue("topBannerMessage", organizationStore.topBannerMessage);
|
|
2383
|
+
writer.writeAdditionalData(organizationStore.additionalData);
|
|
2384
|
+
}
|
|
2297
2385
|
/**
|
|
2298
2386
|
* Serializes information the current object
|
|
2299
2387
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type OrganizationBranding } from '../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /organizations/branding
|
|
5
|
+
*/
|
|
6
|
+
export interface BrandingRequestBuilder extends BaseRequestBuilder<BrandingRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the organization's branding (accent color, logos, icon), or null if none has been set.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<OrganizationBranding>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationBranding | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the organization's branding (accent color, logos, icon), or null if none has been set.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const BrandingRequestBuilderUriTemplate = "{+baseurl}/organizations/branding";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const BrandingRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createOrganizationBrandingFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const BrandingRequestBuilderUriTemplate = "{+baseurl}/organizations/branding";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const BrandingRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: BrandingRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json, text/plain;q=0.9",
|
|
17
|
+
adapterMethodName: "send",
|
|
18
|
+
responseBodyFactory: createOrganizationBrandingFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/* tslint:enable */
|
|
22
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type BrandingRequestBuilder } from './branding/index.js';
|
|
2
|
+
import { type StoreRequestBuilder } from './store/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /organizations
|
|
6
|
+
*/
|
|
7
|
+
export interface OrganizationsRequestBuilder extends BaseRequestBuilder<OrganizationsRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The branding property
|
|
10
|
+
*/
|
|
11
|
+
get branding(): BrandingRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* The store property
|
|
14
|
+
*/
|
|
15
|
+
get store(): StoreRequestBuilder;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Uri template for the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export declare const OrganizationsRequestBuilderUriTemplate = "{+baseurl}/organizations";
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export declare const OrganizationsRequestBuilderNavigationMetadata: Record<Exclude<keyof OrganizationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { BrandingRequestBuilderRequestsMetadata } from './branding/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { StoreRequestBuilderRequestsMetadata } from './store/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const OrganizationsRequestBuilderUriTemplate = "{+baseurl}/organizations";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the navigation properties in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const OrganizationsRequestBuilderNavigationMetadata = {
|
|
16
|
+
branding: {
|
|
17
|
+
requestsMetadata: BrandingRequestBuilderRequestsMetadata,
|
|
18
|
+
},
|
|
19
|
+
store: {
|
|
20
|
+
requestsMetadata: StoreRequestBuilderRequestsMetadata,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/* tslint:enable */
|
|
24
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type OrganizationStore } from '../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /organizations/store
|
|
5
|
+
*/
|
|
6
|
+
export interface StoreRequestBuilder extends BaseRequestBuilder<StoreRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the organization's white-label store, or null if none has been created.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<OrganizationStore>}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationStore | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns the organization's white-label store, or null if none has been created.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const StoreRequestBuilderUriTemplate = "{+baseurl}/organizations/store";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const StoreRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createOrganizationStoreFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const StoreRequestBuilderUriTemplate = "{+baseurl}/organizations/store";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const StoreRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: StoreRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json, text/plain;q=0.9",
|
|
17
|
+
adapterMethodName: "send",
|
|
18
|
+
responseBodyFactory: createOrganizationStoreFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/* tslint:enable */
|
|
22
|
+
/* eslint-enable */
|