@juhuu/sdk-ts 1.2.82 → 1.2.83

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.d.mts CHANGED
@@ -619,6 +619,7 @@ declare class PropertiesService extends Service {
619
619
  retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
620
620
  list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
621
621
  update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
622
+ onboarding(PropertyOnboardingParams: JUHUU.Property.Onboarding.Params, PropertyOnboardingOptions?: JUHUU.Property.Onboarding.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Onboarding.Response>>;
622
623
  stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
623
624
  }
624
625
 
@@ -1901,6 +1902,18 @@ declare namespace JUHUU {
1901
1902
  property: JUHUU.Property.Object;
1902
1903
  };
1903
1904
  }
1905
+ export namespace Onboarding {
1906
+ type Params = {
1907
+ propertyId: string;
1908
+ logo: string;
1909
+ primaryColor?: string;
1910
+ backgroundColor?: Partial<Address>;
1911
+ };
1912
+ type Options = JUHUU.RequestOptions;
1913
+ type Response = {
1914
+ property: JUHUU.Property.Object;
1915
+ };
1916
+ }
1904
1917
  export { };
1905
1918
  }
1906
1919
  namespace Point {
package/dist/index.d.ts CHANGED
@@ -619,6 +619,7 @@ declare class PropertiesService extends Service {
619
619
  retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
620
620
  list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
621
621
  update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
622
+ onboarding(PropertyOnboardingParams: JUHUU.Property.Onboarding.Params, PropertyOnboardingOptions?: JUHUU.Property.Onboarding.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Onboarding.Response>>;
622
623
  stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
623
624
  }
624
625
 
@@ -1901,6 +1902,18 @@ declare namespace JUHUU {
1901
1902
  property: JUHUU.Property.Object;
1902
1903
  };
1903
1904
  }
1905
+ export namespace Onboarding {
1906
+ type Params = {
1907
+ propertyId: string;
1908
+ logo: string;
1909
+ primaryColor?: string;
1910
+ backgroundColor?: Partial<Address>;
1911
+ };
1912
+ type Options = JUHUU.RequestOptions;
1913
+ type Response = {
1914
+ property: JUHUU.Property.Object;
1915
+ };
1916
+ }
1904
1917
  export { };
1905
1918
  }
1906
1919
  namespace Point {
package/dist/index.js CHANGED
@@ -823,6 +823,21 @@ var PropertiesService = class extends Service {
823
823
  PropertyUpdateOptions
824
824
  );
825
825
  }
826
+ async onboarding(PropertyOnboardingParams, PropertyOnboardingOptions) {
827
+ return await super.sendRequest(
828
+ {
829
+ method: "PATCH",
830
+ url: "properties/" + PropertyOnboardingParams.propertyId + "/onboarding",
831
+ body: {
832
+ primaryColor: PropertyOnboardingParams.primaryColor,
833
+ backgroundColor: PropertyOnboardingParams.backgroundColor,
834
+ logo: PropertyOnboardingParams.logo
835
+ },
836
+ authenticationNotOptional: true
837
+ },
838
+ PropertyOnboardingOptions
839
+ );
840
+ }
826
841
  async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
827
842
  return await super.sendRequest(
828
843
  {
package/dist/index.mjs CHANGED
@@ -779,6 +779,21 @@ var PropertiesService = class extends Service {
779
779
  PropertyUpdateOptions
780
780
  );
781
781
  }
782
+ async onboarding(PropertyOnboardingParams, PropertyOnboardingOptions) {
783
+ return await super.sendRequest(
784
+ {
785
+ method: "PATCH",
786
+ url: "properties/" + PropertyOnboardingParams.propertyId + "/onboarding",
787
+ body: {
788
+ primaryColor: PropertyOnboardingParams.primaryColor,
789
+ backgroundColor: PropertyOnboardingParams.backgroundColor,
790
+ logo: PropertyOnboardingParams.logo
791
+ },
792
+ authenticationNotOptional: true
793
+ },
794
+ PropertyOnboardingOptions
795
+ );
796
+ }
782
797
  async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
783
798
  return await super.sendRequest(
784
799
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.82",
3
+ "version": "1.2.83",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",