@vrplatform/kysely 1.3.45-stage.4812 → 1.3.45-stage.4823

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.
@@ -1,4 +1,4 @@
1
1
  export declare function getCalculatedBillingPartnerId({ billingPartnerId, partnerId, }: {
2
2
  billingPartnerId?: string | null;
3
3
  partnerId?: string | null;
4
- }): string | null | undefined;
4
+ }): string;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCalculatedBillingPartnerId = getCalculatedBillingPartnerId;
4
+ const VRP_TENANT_ID = '7bfec41f-aa3f-4602-95d2-f7996e4f0e59';
4
5
  function getCalculatedBillingPartnerId({ billingPartnerId, partnerId, }) {
5
- return billingPartnerId ?? partnerId;
6
+ return billingPartnerId ?? partnerId ?? VRP_TENANT_ID;
6
7
  }
7
8
  //# sourceMappingURL=billing-partner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"billing-partner.js","sourceRoot":"src/","sources":["query/tenant/billing-partner.ts"],"names":[],"mappings":";;AAAA,sEAQC;AARD,SAAgB,6BAA6B,CAAC,EAC5C,gBAAgB,EAChB,SAAS,GAIV;IACC,OAAO,gBAAgB,IAAI,SAAS,CAAC;AACvC,CAAC","sourcesContent":["export function getCalculatedBillingPartnerId({\n billingPartnerId,\n partnerId,\n}: {\n billingPartnerId?: string | null;\n partnerId?: string | null;\n}) {\n return billingPartnerId ?? partnerId;\n}\n"]}
1
+ {"version":3,"file":"billing-partner.js","sourceRoot":"src/","sources":["query/tenant/billing-partner.ts"],"names":[],"mappings":";;AAEA,sEAQC;AAVD,MAAM,aAAa,GAAG,sCAAsC,CAAC;AAE7D,SAAgB,6BAA6B,CAAC,EAC5C,gBAAgB,EAChB,SAAS,GAIV;IACC,OAAO,gBAAgB,IAAI,SAAS,IAAI,aAAa,CAAC;AACxD,CAAC","sourcesContent":["const VRP_TENANT_ID = '7bfec41f-aa3f-4602-95d2-f7996e4f0e59';\n\nexport function getCalculatedBillingPartnerId({\n billingPartnerId,\n partnerId,\n}: {\n billingPartnerId?: string | null;\n partnerId?: string | null;\n}) {\n return billingPartnerId ?? partnerId ?? VRP_TENANT_ID;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  export declare function getCalculatedBillingPartnerId({ billingPartnerId, partnerId, }: {
2
2
  billingPartnerId?: string | null;
3
3
  partnerId?: string | null;
4
- }): string | null | undefined;
4
+ }): string;
@@ -1,4 +1,5 @@
1
+ const VRP_TENANT_ID = '7bfec41f-aa3f-4602-95d2-f7996e4f0e59';
1
2
  export function getCalculatedBillingPartnerId({ billingPartnerId, partnerId, }) {
2
- return billingPartnerId ?? partnerId;
3
+ return billingPartnerId ?? partnerId ?? VRP_TENANT_ID;
3
4
  }
4
5
  //# sourceMappingURL=billing-partner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"billing-partner.js","sourceRoot":"src/","sources":["query/tenant/billing-partner.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,6BAA6B,CAAC,EAC5C,gBAAgB,EAChB,SAAS,GAIV;IACC,OAAO,gBAAgB,IAAI,SAAS,CAAC;AACvC,CAAC","sourcesContent":["export function getCalculatedBillingPartnerId({\n billingPartnerId,\n partnerId,\n}: {\n billingPartnerId?: string | null;\n partnerId?: string | null;\n}) {\n return billingPartnerId ?? partnerId;\n}\n"]}
1
+ {"version":3,"file":"billing-partner.js","sourceRoot":"src/","sources":["query/tenant/billing-partner.ts"],"names":[],"mappings":"AAAA,MAAM,aAAa,GAAG,sCAAsC,CAAC;AAE7D,MAAM,UAAU,6BAA6B,CAAC,EAC5C,gBAAgB,EAChB,SAAS,GAIV;IACC,OAAO,gBAAgB,IAAI,SAAS,IAAI,aAAa,CAAC;AACxD,CAAC","sourcesContent":["const VRP_TENANT_ID = '7bfec41f-aa3f-4602-95d2-f7996e4f0e59';\n\nexport function getCalculatedBillingPartnerId({\n billingPartnerId,\n partnerId,\n}: {\n billingPartnerId?: string | null;\n partnerId?: string | null;\n}) {\n return billingPartnerId ?? partnerId ?? VRP_TENANT_ID;\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.45-stage.4812",
6
+ "version": "1.3.45-stage.4823",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",