@hypelabs-llc/ts-sdk 0.2.0 → 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/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  <p align="center">
2
- <img src="https://i.imgur.com/NtKvmk2.png" height="100" alt="HypeLabs" />
2
+ <img src="https://hypelabs.llc/logo.png" height="100" alt="HypeLabs" />
3
3
  </p>
4
4
  <h3 align="center">
5
5
  HypeLabs Connect SDK
6
6
  </h3>
7
7
  <p align="center">
8
- The TypeScript client for the HypeLabs Connect API, for internal services. 🚀
8
+ The TypeScript client for the HypeLabs Connect API.
9
9
  </p>
10
10
  <p align="center">
11
11
  <a href="https://www.npmjs.com/package/@hypelabs-llc/ts-sdk"><img src="https://img.shields.io/npm/v/@hypelabs-llc/ts-sdk?color=cb3837&label=npm" /></a>
@@ -25,9 +25,13 @@
25
25
 
26
26
  ## Install
27
27
 
28
- ```bash
29
- pnpm add @hypelabs-llc/ts-sdk
30
- ```
28
+ 1. **Add the package:**
29
+
30
+ ```bash
31
+ pnpm add @hypelabs-llc/ts-sdk
32
+ ```
33
+
34
+ 2. **Create your organization** on the [HypeLabs Console](https://console.hypelabs.network/?utm_source=github&utm_medium=readme&utm_campaign=ts-sdk) and generate an API key.
31
35
 
32
36
  ## Usage
33
37
 
@@ -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.
@@ -1700,6 +1724,10 @@ export interface Order extends AdditionalDataHolder, Parsable {
1700
1724
  * Reference of the last settlement already applied to this order, provider-prefixed (e.g. `stripe:in_...`, `nowpayments:...`). Webhooks are delivered at least once, so a renewal that carries this same reference has already been applied and is skipped, keeping a redelivered payment from adding a cycle twice. Provider-agnostic so it covers every settlement source, current and future.
1701
1725
  */
1702
1726
  lastSettlementReference?: string | null;
1727
+ /**
1728
+ * The `BalanceTransaction` that last paid this order from the organization's balance (its creation or its most recent extension). Lets a refund credit back exactly that payment without re-deriving its amount. Null for orders paid through a processor (Stripe, crypto) or for trials.
1729
+ */
1730
+ lastTransactionId?: Guid | null;
1703
1731
  /**
1704
1732
  * The metadata property
1705
1733
  */
@@ -1793,6 +1821,64 @@ export interface OrderItem extends AdditionalDataHolder, Parsable {
1793
1821
  export interface OrderItem_metadata extends AdditionalDataHolder, Parsable {
1794
1822
  }
1795
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&lt;Aspect&gt;` 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&lt;Aspect&gt;` 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
+ }
1796
1882
  export type PasswordHashSchemes = (typeof PasswordHashSchemesObject)[keyof typeof PasswordHashSchemesObject];
1797
1883
  /**
1798
1884
  * Partial update of a customer's billing details: only the provided fields are changed, the rest are left as they are.
@@ -2572,6 +2658,20 @@ export declare function serializeOrderItem(writer: SerializationWriter, orderIte
2572
2658
  * @param writer Serialization writer to use to serialize this model
2573
2659
  */
2574
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;
2575
2675
  /**
2576
2676
  * Serializes information the current object
2577
2677
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -2934,9 +3034,6 @@ export declare const BillingCyclesObject: {
2934
3034
  readonly Yearly: "Yearly";
2935
3035
  readonly OpenapiJsonNullSentinelValue2BF936000FE44250987AE5DDB203E464: "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464";
2936
3036
  };
2937
- /**
2938
- * Which capability this option is (e.g. IPv6, IP scoring).
2939
- */
2940
3037
  export declare const CapabilityTypesObject: {
2941
3038
  readonly IpScore: "IpScore";
2942
3039
  readonly Ipv6: "Ipv6";
@@ -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
@@ -1117,6 +1135,7 @@ export function deserializeIntoOrder(order = {}) {
1117
1135
  "isTrial": n => { order.isTrial = n.getBooleanValue(); },
1118
1136
  "items": n => { order.items = n.getCollectionOfObjectValues(createOrderItemFromDiscriminatorValue); },
1119
1137
  "lastSettlementReference": n => { order.lastSettlementReference = n.getStringValue(); },
1138
+ "lastTransactionId": n => { order.lastTransactionId = n.getGuidValue(); },
1120
1139
  "metadata": n => { order.metadata = n.getObjectValue(createOrder_metadataFromDiscriminatorValue); },
1121
1140
  "paymentMethod": n => { order.paymentMethod = n.getEnumValue(PaymentMethodsObject); },
1122
1141
  "paymentProcessor": n => { order.paymentProcessor = n.getEnumValue(PaymentProcessorsObject); },
@@ -1176,6 +1195,38 @@ export function deserializeIntoOrderItem(orderItem = {}) {
1176
1195
  export function deserializeIntoOrderItem_metadata(orderItem_metadata = {}) {
1177
1196
  return {};
1178
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
+ }
1179
1230
  /**
1180
1231
  * The deserialization information for the current model
1181
1232
  * @param PatchCustomerBillingRequest The instance to deserialize into.
@@ -2218,6 +2269,7 @@ export function serializeOrder(writer, order = {}, isSerializingDerivedType = fa
2218
2269
  writer.writeBooleanValue("isTrial", order.isTrial);
2219
2270
  writer.writeCollectionOfObjectValues("items", order.items, serializeOrderItem);
2220
2271
  writer.writeStringValue("lastSettlementReference", order.lastSettlementReference);
2272
+ writer.writeGuidValue("lastTransactionId", order.lastTransactionId);
2221
2273
  writer.writeObjectValue("metadata", order.metadata, serializeOrder_metadata);
2222
2274
  writer.writeEnumValue("paymentMethod", order.paymentMethod);
2223
2275
  writer.writeEnumValue("paymentProcessor", order.paymentProcessor);
@@ -2292,6 +2344,44 @@ export function serializeOrderItem_metadata(writer, orderItem_metadata = {}, isS
2292
2344
  }
2293
2345
  writer.writeAdditionalData(orderItem_metadata.additionalData);
2294
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
+ }
2295
2385
  /**
2296
2386
  * Serializes information the current object
2297
2387
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -2882,9 +2972,6 @@ export const BillingCyclesObject = {
2882
2972
  Yearly: "Yearly",
2883
2973
  OpenapiJsonNullSentinelValue2BF936000FE44250987AE5DDB203E464: "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464",
2884
2974
  };
2885
- /**
2886
- * Which capability this option is (e.g. IPv6, IP scoring).
2887
- */
2888
2975
  export const CapabilityTypesObject = {
2889
2976
  IpScore: "IpScore",
2890
2977
  Ipv6: "Ipv6",
@@ -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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypelabs-llc/ts-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "The TypeScript client for the HypeLabs Connect API, for internal services.",
5
5
  "license": "MIT",
6
6
  "repository": {